Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-01-22 23:59:03.744798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/09/image_20012025_06_09_45_10361.jpg', '/home/pi/Desktop/images/20012025/06/09/image_20012025_06_09_56_10450.jpg', '/home/pi/Desktop/images/20012025/06/09/image_20012025_06_10_05_9451.jpg', '/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_15_10337.jpg', '/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_26_10369.jpg', '/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_35_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/09/image_20012025_06_09_45_10361.jpg
/home/pi/Desktop/images/20012025/06/09/image_20012025_06_09_56_10450.jpg
/home/pi/Desktop/images/20012025/06/09/image_20012025_06_10_05_9451.jpg
/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_15_10337.jpg
/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_26_10369.jpg
/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_35_9420.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":["1330694299","1330694272","1330694277","1330694262","1330694286","1330694267"],"photo_ids_order":["1330694262","1330694267","1330694272","1330694277","1330694286","1330694299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6936473da426a6c4d36e9a0cacbb7a3.jpg","text":"TemporaryFile(/tmp/multipartBody4376941954053271106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586879775,"filename":"image_20012025_06_10_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e1c3fc7834750ac7bfffe119314c207.jpg","text":"TemporaryFile(/tmp/multipartBody5283918724890698639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586879775,"filename":"image_20012025_06_10_05_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f958f71642a491d3729af8210ea1dd12.jpg","text":"TemporaryFile(/tmp/multipartBody7699538851240196793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586879775,"filename":"image_20012025_06_10_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01b6a11f0657dc56d2748e993f1f6c49.jpg","text":"TemporaryFile(/tmp/multipartBody9108716380067848891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586879775,"filename":"image_20012025_06_09_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab50f84730a6632e270ea68611a39ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2875413094622160978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586879775,"filename":"image_20012025_06_10_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c15a8812607d33f786072701dd3ef560.jpg","text":"TemporaryFile(/tmp/multipartBody4016745649015284774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586879775,"filename":"image_20012025_06_09_56_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694272","file1":"1330694267","file0":"1330694262","file4":"1330694286","file5":"1330694299","file3":"1330694277"},"map_files_photo_id_array":[{"photo_id":"1330694299","filename":"file5"},{"photo_id":"1330694272","filename":"file2"},{"photo_id":"1330694286","filename":"file4"},{"photo_id":"1330694267","filename":"file1"},{"photo_id":"1330694262","filename":"file0"},{"photo_id":"1330694277","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330694299":["hashtag1","hashtag2"]},{"1330694272":["hashtag1","hashtag2"]},{"1330694277":["hashtag1","hashtag2"]},{"1330694262":["hashtag1","hashtag2"]},{"1330694286":["hashtag1","hashtag2"]},{"1330694267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330694299, 1330694272, 1330694277, 1330694262, 1330694286, 1330694267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 114.56709146499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:01:05.470035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_46_10407.jpg', '/home/pi/Desktop/images/20012025/06/10/image_20012025_06_11_05_10410.jpg', '/home/pi/Desktop/images/20012025/06/11/image_20012025_06_11_25_9392.jpg', '/home/pi/Desktop/images/20012025/06/11/image_20012025_06_11_35_10346.jpg', '/home/pi/Desktop/images/20012025/06/12/image_20012025_06_12_45_9352.jpg', '/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_15_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/10/image_20012025_06_10_46_10407.jpg
/home/pi/Desktop/images/20012025/06/10/image_20012025_06_11_05_10410.jpg
/home/pi/Desktop/images/20012025/06/11/image_20012025_06_11_25_9392.jpg
/home/pi/Desktop/images/20012025/06/11/image_20012025_06_11_35_10346.jpg
/home/pi/Desktop/images/20012025/06/12/image_20012025_06_12_45_9352.jpg
/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_15_9345.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":["1330694339","1330694395","1330694335","1330694370","1330694393","1330694381"],"photo_ids_order":["1330694335","1330694339","1330694370","1330694381","1330694393","1330694395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e69fffde5887db17be70e31e811f2de3.jpg","text":"TemporaryFile(/tmp/multipartBody791215362068028632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586928250,"filename":"image_20012025_06_11_05_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ea7776236c031a35ec07a8bb7c1a4ee.jpg","text":"TemporaryFile(/tmp/multipartBody855940414887547779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586928250,"filename":"image_20012025_06_13_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e458704cb7c520c0792c134e7d5af7c.jpg","text":"TemporaryFile(/tmp/multipartBody2554139752532759114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586928250,"filename":"image_20012025_06_10_46_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4848b92024e4845afdf66b2c1d22231.jpg","text":"TemporaryFile(/tmp/multipartBody3656144513330555863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586928250,"filename":"image_20012025_06_11_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a79b69ab55bdce64c98d426ef594b71a.jpg","text":"TemporaryFile(/tmp/multipartBody6246929938765699495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586928250,"filename":"image_20012025_06_12_45_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea6cbfd3c02f4156b7cf623042fb6e69.jpg","text":"TemporaryFile(/tmp/multipartBody8145492541094446707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586928250,"filename":"image_20012025_06_11_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694370","file1":"1330694339","file0":"1330694335","file4":"1330694393","file5":"1330694395","file3":"1330694381"},"map_files_photo_id_array":[{"photo_id":"1330694395","filename":"file5"},{"photo_id":"1330694370","filename":"file2"},{"photo_id":"1330694393","filename":"file4"},{"photo_id":"1330694339","filename":"file1"},{"photo_id":"1330694335","filename":"file0"},{"photo_id":"1330694381","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330694339":["hashtag1","hashtag2"]},{"1330694395":["hashtag1","hashtag2"]},{"1330694335":["hashtag1","hashtag2"]},{"1330694370":["hashtag1","hashtag2"]},{"1330694393":["hashtag1","hashtag2"]},{"1330694381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330694339, 1330694395, 1330694335, 1330694370, 1330694393, 1330694381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.925191164016724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:02:03.769278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_23012025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 19839053, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737586986000}
4310
2505709
4310
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_17_10303.jpg', '/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_27_10347.jpg', '/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_36_9397.jpg', '/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_47_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_17_10303.jpg
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_27_10347.jpg
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_36_9397.jpg
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_47_10329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330694450","1330694446","1330694443","1330694439"],"photo_ids_order":["1330694439","1330694443","1330694446","1330694450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad2e2392efddc99d65375b55130afb67.jpg","text":"TemporaryFile(/tmp/multipartBody3009497898161063446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586989383,"filename":"image_23012025_00_01_47_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5efe990beb5b794641268a3907ae22ff.jpg","text":"TemporaryFile(/tmp/multipartBody9067924227117928050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586989383,"filename":"image_23012025_00_01_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11ba027b9b1dc3bac161df7c835cb483.jpg","text":"TemporaryFile(/tmp/multipartBody678840801869945914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586989383,"filename":"image_23012025_00_01_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/745b5993119537ea68dff62dc4697185.jpg","text":"TemporaryFile(/tmp/multipartBody5094492759486007374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737586989383,"filename":"image_23012025_00_01_17_10303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694446","file1":"1330694443","file0":"1330694439","file3":"1330694450"},"map_files_photo_id_array":[{"photo_id":"1330694446","filename":"file2"},{"photo_id":"1330694443","filename":"file1"},{"photo_id":"1330694439","filename":"file0"},{"photo_id":"1330694450","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330694450":["hashtag1","hashtag2"]},{"1330694446":["hashtag1","hashtag2"]},{"1330694443":["hashtag1","hashtag2"]},{"1330694439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330694450, 1330694446, 1330694443, 1330694439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.44394659996033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:02:42.942764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_25_10360.jpg', '/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_36_10320.jpg', '/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_45_9381.jpg', '/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_55_10347.jpg', '/home/pi/Desktop/images/20012025/06/14/image_20012025_06_14_25_10356.jpg', '/home/pi/Desktop/images/20012025/06/14/image_20012025_06_14_35_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_25_10360.jpg
/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_36_10320.jpg
/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_45_9381.jpg
/home/pi/Desktop/images/20012025/06/13/image_20012025_06_13_55_10347.jpg
/home/pi/Desktop/images/20012025/06/14/image_20012025_06_14_25_10356.jpg
/home/pi/Desktop/images/20012025/06/14/image_20012025_06_14_35_9384.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":["1330694516","1330694504","1330694530","1330694533","1330694493","1330694520"],"photo_ids_order":["1330694493","1330694504","1330694516","1330694520","1330694530","1330694533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a42ec8ca1a54fe2cddc84b58a38a3265.jpg","text":"TemporaryFile(/tmp/multipartBody227676322582000084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587025273,"filename":"image_20012025_06_13_45_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c2d4e817d9849ea4592ed140d8fab18.jpg","text":"TemporaryFile(/tmp/multipartBody5712140863698612595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587025273,"filename":"image_20012025_06_13_36_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/957b8929a9c37b6fd0b13c29bd9ff8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4707894537385809716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587025273,"filename":"image_20012025_06_14_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07ccd8b6448fdfa29c32cd8ccd2244f1.jpg","text":"TemporaryFile(/tmp/multipartBody6486504690240544101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587025273,"filename":"image_20012025_06_14_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b269538df4d11c3699f03d2f7511d645.jpg","text":"TemporaryFile(/tmp/multipartBody3777415331588269998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587025273,"filename":"image_20012025_06_13_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6044160ad60fa756ded728121d2e7ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1022651939605735374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587025273,"filename":"image_20012025_06_13_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694516","file1":"1330694504","file0":"1330694493","file4":"1330694530","file5":"1330694533","file3":"1330694520"},"map_files_photo_id_array":[{"photo_id":"1330694533","filename":"file5"},{"photo_id":"1330694516","filename":"file2"},{"photo_id":"1330694530","filename":"file4"},{"photo_id":"1330694504","filename":"file1"},{"photo_id":"1330694493","filename":"file0"},{"photo_id":"1330694520","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330694516":["hashtag1","hashtag2"]},{"1330694504":["hashtag1","hashtag2"]},{"1330694530":["hashtag1","hashtag2"]},{"1330694533":["hashtag1","hashtag2"]},{"1330694493":["hashtag1","hashtag2"]},{"1330694520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330694516, 1330694504, 1330694530, 1330694533, 1330694493, 1330694520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32889437675476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:03:43.212192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/14/image_20012025_06_14_45_10371.jpg', '/home/pi/Desktop/images/20012025/06/14/image_20012025_06_15_05_9347.jpg', '/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_15_10336.jpg', '/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_26_10345.jpg', '/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_35_9347.jpg', '/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_56_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/14/image_20012025_06_14_45_10371.jpg
/home/pi/Desktop/images/20012025/06/14/image_20012025_06_15_05_9347.jpg
/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_15_10336.jpg
/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_26_10345.jpg
/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_35_9347.jpg
/home/pi/Desktop/images/20012025/06/15/image_20012025_06_15_56_10346.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":["1330694581","1330694566","1330694598","1330694586","1330694571","1330694594"],"photo_ids_order":["1330694566","1330694571","1330694581","1330694586","1330694594","1330694598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3be838d974a9f3d749f72c9ae68ac148.jpg","text":"TemporaryFile(/tmp/multipartBody4582505759389457841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587085535,"filename":"image_20012025_06_15_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86a74b75104374b356fbae7a3f80fd76.jpg","text":"TemporaryFile(/tmp/multipartBody5204523872891349004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587085535,"filename":"image_20012025_06_14_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/700313ff34e601bc2df94ea67017f06a.jpg","text":"TemporaryFile(/tmp/multipartBody1452923077904936120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587085535,"filename":"image_20012025_06_15_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ec1e8ac91f3321dab378c5ff6493229.jpg","text":"TemporaryFile(/tmp/multipartBody8484526273322618332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587085535,"filename":"image_20012025_06_15_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f16de5280199a3e83042c642c26fb86.jpg","text":"TemporaryFile(/tmp/multipartBody9025575201456525313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587085535,"filename":"image_20012025_06_15_05_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ecdb5b3720c05047a15524b8b1c16ca.jpg","text":"TemporaryFile(/tmp/multipartBody4839767120888829813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587085535,"filename":"image_20012025_06_15_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694581","file1":"1330694571","file0":"1330694566","file4":"1330694594","file5":"1330694598","file3":"1330694586"},"map_files_photo_id_array":[{"photo_id":"1330694598","filename":"file5"},{"photo_id":"1330694581","filename":"file2"},{"photo_id":"1330694594","filename":"file4"},{"photo_id":"1330694571","filename":"file1"},{"photo_id":"1330694566","filename":"file0"},{"photo_id":"1330694586","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330694581":["hashtag1","hashtag2"]},{"1330694566":["hashtag1","hashtag2"]},{"1330694598":["hashtag1","hashtag2"]},{"1330694586":["hashtag1","hashtag2"]},{"1330694571":["hashtag1","hashtag2"]},{"1330694594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330694581, 1330694566, 1330694598, 1330694586, 1330694571, 1330694594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.339173555374146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:04:42.386799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/15/image_20012025_06_16_05_9407.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_15_10326.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_26_10348.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_35_9394.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_45_10331.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_55_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/15/image_20012025_06_16_05_9407.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_15_10326.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_26_10348.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_35_9394.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_45_10331.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_55_9351.jpg
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: 1.946610450744629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:05:04.182210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_56_9728.jpg', '/home/pi/Desktop/images/23012025/00/01/image_23012025_00_02_07_10351.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_17_10414.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_26_9348.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_37_10358.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_47_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_01_56_9728.jpg
/home/pi/Desktop/images/23012025/00/01/image_23012025_00_02_07_10351.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_17_10414.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_26_9348.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_37_10358.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_47_10420.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":["1330694747","1330694633","1330694627","1330694642","1330694638","1330694646"],"photo_ids_order":["1330694627","1330694633","1330694638","1330694642","1330694646","1330694747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cc33b154dfc9ae2819b92deacf9157a.jpg","text":"TemporaryFile(/tmp/multipartBody3401419062638219080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587165254,"filename":"image_23012025_00_02_47_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22b665a7e34aecb490eb5c95a3c190ad.jpg","text":"TemporaryFile(/tmp/multipartBody3865348577797417612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587165254,"filename":"image_23012025_00_02_07_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0936319e7675dd038c5266870e3acd1d.jpg","text":"TemporaryFile(/tmp/multipartBody7978819338222607709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587165254,"filename":"image_23012025_00_01_56_9728.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1efa2059eb1119ce9f67d1bb0db8791.jpg","text":"TemporaryFile(/tmp/multipartBody5807663275507247092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587165254,"filename":"image_23012025_00_02_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e89c409b840975fb0485c68f0868181.jpg","text":"TemporaryFile(/tmp/multipartBody4382870698370287430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587165254,"filename":"image_23012025_00_02_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2a9114c58f50aa470a3426f32fb0f87.jpg","text":"TemporaryFile(/tmp/multipartBody8376880055946086245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587165254,"filename":"image_23012025_00_02_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330694638","file1":"1330694633","file0":"1330694627","file4":"1330694646","file5":"1330694747","file3":"1330694642"},"map_files_photo_id_array":[{"photo_id":"1330694747","filename":"file5"},{"photo_id":"1330694638","filename":"file2"},{"photo_id":"1330694646","filename":"file4"},{"photo_id":"1330694633","filename":"file1"},{"photo_id":"1330694627","filename":"file0"},{"photo_id":"1330694642","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330694747":["hashtag1","hashtag2"]},{"1330694633":["hashtag1","hashtag2"]},{"1330694627":["hashtag1","hashtag2"]},{"1330694642":["hashtag1","hashtag2"]},{"1330694638":["hashtag1","hashtag2"]},{"1330694646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330694747, 1330694633, 1330694627, 1330694642, 1330694638, 1330694646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17484641075134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:06:03.415023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_57_9980.jpg', '/home/pi/Desktop/images/23012025/00/02/image_23012025_00_03_07_9333.jpg', '/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_27_9442.jpg', '/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_37_10341.jpg', '/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_46_9425.jpg', '/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_57_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_02_57_9980.jpg
/home/pi/Desktop/images/23012025/00/02/image_23012025_00_03_07_9333.jpg
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_27_9442.jpg
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_37_10341.jpg
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_46_9425.jpg
/home/pi/Desktop/images/23012025/00/03/image_23012025_00_03_57_10384.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":["1330695607","1330695585","1330695621","1330695618","1330695612","1330695598"],"photo_ids_order":["1330695585","1330695598","1330695607","1330695612","1330695618","1330695621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dc1a377ac798acfe25137f1a473a8b6.jpg","text":"TemporaryFile(/tmp/multipartBody814039722622757213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587224330,"filename":"image_23012025_00_03_27_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9684fa35697c9d6668e5f2858da3b212.jpg","text":"TemporaryFile(/tmp/multipartBody7103153043843873646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587224330,"filename":"image_23012025_00_02_57_9980.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c948fe8a89aa902f080f95c19eb220f9.jpg","text":"TemporaryFile(/tmp/multipartBody2745939702981165601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587224330,"filename":"image_23012025_00_03_57_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9474f7e9206e0e185f773d6188b6257.jpg","text":"TemporaryFile(/tmp/multipartBody7801715304438855759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587224330,"filename":"image_23012025_00_03_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a34a1652c0fbfa977c4dbe620fe3ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4427918576511372640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587224330,"filename":"image_23012025_00_03_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9086cacf1406a98979945207aaf604b2.jpg","text":"TemporaryFile(/tmp/multipartBody7504631072426010838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587224330,"filename":"image_23012025_00_03_07_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330695607","file1":"1330695598","file0":"1330695585","file4":"1330695618","file5":"1330695621","file3":"1330695612"},"map_files_photo_id_array":[{"photo_id":"1330695621","filename":"file5"},{"photo_id":"1330695607","filename":"file2"},{"photo_id":"1330695618","filename":"file4"},{"photo_id":"1330695598","filename":"file1"},{"photo_id":"1330695585","filename":"file0"},{"photo_id":"1330695612","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330695607":["hashtag1","hashtag2"]},{"1330695585":["hashtag1","hashtag2"]},{"1330695621":["hashtag1","hashtag2"]},{"1330695618":["hashtag1","hashtag2"]},{"1330695612":["hashtag1","hashtag2"]},{"1330695598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330695607, 1330695585, 1330695621, 1330695618, 1330695612, 1330695598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37612247467041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:07:04.763161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_27_10345.jpg', '/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_37_10389.jpg', '/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_47_9354.jpg', '/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_57_10347.jpg', '/home/pi/Desktop/images/23012025/00/04/image_23012025_00_05_07_10331.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_17_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_27_10345.jpg
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_37_10389.jpg
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_47_9354.jpg
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_04_57_10347.jpg
/home/pi/Desktop/images/23012025/00/04/image_23012025_00_05_07_10331.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_17_9341.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":["1330696024","1330696021","1330696009","1330695999","1330695977","1330696016"],"photo_ids_order":["1330695977","1330695999","1330696009","1330696016","1330696021","1330696024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee127501716ad6f6c543a473b002f791.jpg","text":"TemporaryFile(/tmp/multipartBody437762021252288857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587285851,"filename":"image_23012025_00_05_17_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea4a91c5b33c4cdb1ce436cc15ebb387.jpg","text":"TemporaryFile(/tmp/multipartBody5052547251070912637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587285851,"filename":"image_23012025_00_05_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73115978ce997cac0dbfe6f084d49b3a.jpg","text":"TemporaryFile(/tmp/multipartBody8947916687823086299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587285851,"filename":"image_23012025_00_04_47_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ea32026eb1a3308fe9e0473416cfcfb.jpg","text":"TemporaryFile(/tmp/multipartBody6571842091411827371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587285851,"filename":"image_23012025_00_04_37_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0859ebb85f6317dd8e9f4f111ec9bf44.jpg","text":"TemporaryFile(/tmp/multipartBody5709894908913050629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587285851,"filename":"image_23012025_00_04_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e47214bb8f6184ebd2f06b914d41c26a.jpg","text":"TemporaryFile(/tmp/multipartBody3576963593269423529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587285851,"filename":"image_23012025_00_04_57_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696009","file1":"1330695999","file0":"1330695977","file4":"1330696021","file5":"1330696024","file3":"1330696016"},"map_files_photo_id_array":[{"photo_id":"1330696024","filename":"file5"},{"photo_id":"1330696009","filename":"file2"},{"photo_id":"1330696021","filename":"file4"},{"photo_id":"1330695999","filename":"file1"},{"photo_id":"1330695977","filename":"file0"},{"photo_id":"1330696016","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330696024":["hashtag1","hashtag2"]},{"1330696021":["hashtag1","hashtag2"]},{"1330696009":["hashtag1","hashtag2"]},{"1330695999":["hashtag1","hashtag2"]},{"1330695977":["hashtag1","hashtag2"]},{"1330696016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330696024, 1330696021, 1330696009, 1330695999, 1330695977, 1330696016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07604479789734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:08:03.773735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_27_10339.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_36_9363.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_47_10346.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_57_10348.jpg', '/home/pi/Desktop/images/23012025/00/05/image_23012025_00_06_06_9405.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_17_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_27_10339.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_36_9363.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_47_10346.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_05_57_10348.jpg
/home/pi/Desktop/images/23012025/00/05/image_23012025_00_06_06_9405.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_17_10349.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":["1330696039","1330696035","1330696032","1330696052","1330696046","1330696042"],"photo_ids_order":["1330696032","1330696035","1330696039","1330696042","1330696046","1330696052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d052870f8f2dc0354f633a7f5649c9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8529932545845118548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587344736,"filename":"image_23012025_00_05_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91455f865efb8acbb0bed26577a90b52.jpg","text":"TemporaryFile(/tmp/multipartBody8808288153394202726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587344736,"filename":"image_23012025_00_05_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc8b5f6ec4d5f36e7fb1e64bf04e657c.jpg","text":"TemporaryFile(/tmp/multipartBody2048508461052679467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587344736,"filename":"image_23012025_00_05_27_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6761152a9058c23cbf31831507ef7882.jpg","text":"TemporaryFile(/tmp/multipartBody8255464982966694059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587344736,"filename":"image_23012025_00_06_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3df2e754a17db1100ffd0cd17faee255.jpg","text":"TemporaryFile(/tmp/multipartBody1907476840999800349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587344736,"filename":"image_23012025_00_06_06_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dca859c6c767d27cad349702992cfd3a.jpg","text":"TemporaryFile(/tmp/multipartBody8753427271763363988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587344736,"filename":"image_23012025_00_05_57_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696039","file1":"1330696035","file0":"1330696032","file4":"1330696046","file5":"1330696052","file3":"1330696042"},"map_files_photo_id_array":[{"photo_id":"1330696052","filename":"file5"},{"photo_id":"1330696039","filename":"file2"},{"photo_id":"1330696046","filename":"file4"},{"photo_id":"1330696035","filename":"file1"},{"photo_id":"1330696032","filename":"file0"},{"photo_id":"1330696042","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330696039":["hashtag1","hashtag2"]},{"1330696035":["hashtag1","hashtag2"]},{"1330696032":["hashtag1","hashtag2"]},{"1330696052":["hashtag1","hashtag2"]},{"1330696046":["hashtag1","hashtag2"]},{"1330696042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330696039, 1330696035, 1330696032, 1330696052, 1330696046, 1330696042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26164174079895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:09:04.332971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_27_10417.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_47_10443.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_56_9432.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_07_07_10331.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_17_10358.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_26_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_27_10417.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_47_10443.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_56_9432.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_07_07_10331.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_17_10358.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_26_9395.jpg
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: 0.8796486854553223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:09:12.894885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/15/image_20012025_06_16_05_9407.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_15_10326.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_26_10348.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_35_9394.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_45_10331.jpg', '/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_55_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/15/image_20012025_06_16_05_9407.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_15_10326.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_26_10348.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_35_9394.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_45_10331.jpg
/home/pi/Desktop/images/20012025/06/16/image_20012025_06_16_55_9351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330696089","1330696074","1330696085","1330696087","1330696081","1330696078"],"photo_ids_order":["1330696074","1330696078","1330696081","1330696085","1330696087","1330696089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0650639d756ee7ed5ee3912e0dec0512.jpg","text":"TemporaryFile(/tmp/multipartBody1752134691877332993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587415142,"filename":"image_20012025_06_16_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a03bcb3c432437145aeff4bd55ac12a5.jpg","text":"TemporaryFile(/tmp/multipartBody237317199079886591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587415142,"filename":"image_20012025_06_16_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42f2b397f751fc9605f53fd23f186a56.jpg","text":"TemporaryFile(/tmp/multipartBody8195533579400816167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587415142,"filename":"image_20012025_06_16_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6f260a3398718155894ed7b967bd0e5.jpg","text":"TemporaryFile(/tmp/multipartBody2032385375142055212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587415142,"filename":"image_20012025_06_16_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c33921b33d574b46818d6e30598a768a.jpg","text":"TemporaryFile(/tmp/multipartBody6904363788226134430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587415142,"filename":"image_20012025_06_16_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f70b276002436c42cc7ed9024b926d1.jpg","text":"TemporaryFile(/tmp/multipartBody7052781715376853152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587415142,"filename":"image_20012025_06_16_15_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696081","file1":"1330696078","file0":"1330696074","file4":"1330696087","file5":"1330696089","file3":"1330696085"},"map_files_photo_id_array":[{"photo_id":"1330696089","filename":"file5"},{"photo_id":"1330696081","filename":"file2"},{"photo_id":"1330696087","filename":"file4"},{"photo_id":"1330696078","filename":"file1"},{"photo_id":"1330696074","filename":"file0"},{"photo_id":"1330696085","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330696089":["hashtag1","hashtag2"]},{"1330696074":["hashtag1","hashtag2"]},{"1330696085":["hashtag1","hashtag2"]},{"1330696087":["hashtag1","hashtag2"]},{"1330696081":["hashtag1","hashtag2"]},{"1330696078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330696089, 1330696074, 1330696085, 1330696087, 1330696081, 1330696078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39914608001709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:10:03.491996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_27_10417.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_47_10443.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_56_9432.jpg', '/home/pi/Desktop/images/23012025/00/06/image_23012025_00_07_07_10331.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_17_10358.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_26_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_27_10417.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_47_10443.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_06_56_9432.jpg
/home/pi/Desktop/images/23012025/00/06/image_23012025_00_07_07_10331.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_17_10358.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_26_9395.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":["1330696126","1330696135","1330696098","1330696139","1330696130","1330696142"],"photo_ids_order":["1330696098","1330696126","1330696130","1330696135","1330696139","1330696142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e292db29cbbcd90abd1dbef2f8d4b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody5502485396379549258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587464406,"filename":"image_23012025_00_06_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80d433336917ed4be73cf6c84a653da6.jpg","text":"TemporaryFile(/tmp/multipartBody3612830307175971571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587464406,"filename":"image_23012025_00_07_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e360c860d9d63d3e7ee7d7a2b2264af.jpg","text":"TemporaryFile(/tmp/multipartBody1044874762307102041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587464406,"filename":"image_23012025_00_06_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ad628e312e22cc36d4170c9b6a2f305.jpg","text":"TemporaryFile(/tmp/multipartBody9219696623044351517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587464406,"filename":"image_23012025_00_07_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/830514682a295fed2c561ee9f5ff0dc3.jpg","text":"TemporaryFile(/tmp/multipartBody426306224177551444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587464406,"filename":"image_23012025_00_06_56_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/821efaf5f725be2d26323746725c4a2e.jpg","text":"TemporaryFile(/tmp/multipartBody5008490629308093962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587464406,"filename":"image_23012025_00_07_26_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696130","file1":"1330696126","file0":"1330696098","file4":"1330696139","file5":"1330696142","file3":"1330696135"},"map_files_photo_id_array":[{"photo_id":"1330696142","filename":"file5"},{"photo_id":"1330696130","filename":"file2"},{"photo_id":"1330696139","filename":"file4"},{"photo_id":"1330696126","filename":"file1"},{"photo_id":"1330696098","filename":"file0"},{"photo_id":"1330696135","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330696126":["hashtag1","hashtag2"]},{"1330696135":["hashtag1","hashtag2"]},{"1330696098":["hashtag1","hashtag2"]},{"1330696139":["hashtag1","hashtag2"]},{"1330696130":["hashtag1","hashtag2"]},{"1330696142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330696126, 1330696135, 1330696098, 1330696139, 1330696130, 1330696142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.151318311691284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:11:04.707324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_37_10333.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_47_10407.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_57_9345.jpg', '/home/pi/Desktop/images/23012025/00/07/image_23012025_00_08_07_10338.jpg', '/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_17_10387.jpg', '/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_27_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_37_10333.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_47_10407.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_07_57_9345.jpg
/home/pi/Desktop/images/23012025/00/07/image_23012025_00_08_07_10338.jpg
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_17_10387.jpg
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_27_9375.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":["1330696228","1330696201","1330696196","1330696250","1330696241","1330696189"],"photo_ids_order":["1330696189","1330696196","1330696201","1330696228","1330696241","1330696250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ecd8882f37a32df67a4f2ccd07c8733.jpg","text":"TemporaryFile(/tmp/multipartBody7694154107605676181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587525852,"filename":"image_23012025_00_08_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/759a2a228599cd421bb9c957c895790d.jpg","text":"TemporaryFile(/tmp/multipartBody4596124839629061038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587525852,"filename":"image_23012025_00_07_57_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a88b78ba4773cd88de36bb9970e49d6.jpg","text":"TemporaryFile(/tmp/multipartBody7442123217943868025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587525852,"filename":"image_23012025_00_07_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2df539fc778aedbb32ffa615a0cfb421.jpg","text":"TemporaryFile(/tmp/multipartBody4223916018801351522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587525852,"filename":"image_23012025_00_08_27_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61fb65d37456615e1947ddcf19aca202.jpg","text":"TemporaryFile(/tmp/multipartBody1311100669109679645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587525852,"filename":"image_23012025_00_08_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f8967a8820d7b245b3ae82edb8e3905.jpg","text":"TemporaryFile(/tmp/multipartBody1131553023338200696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587525852,"filename":"image_23012025_00_07_37_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696201","file1":"1330696196","file0":"1330696189","file4":"1330696241","file5":"1330696250","file3":"1330696228"},"map_files_photo_id_array":[{"photo_id":"1330696250","filename":"file5"},{"photo_id":"1330696201","filename":"file2"},{"photo_id":"1330696241","filename":"file4"},{"photo_id":"1330696196","filename":"file1"},{"photo_id":"1330696189","filename":"file0"},{"photo_id":"1330696228","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330696228":["hashtag1","hashtag2"]},{"1330696201":["hashtag1","hashtag2"]},{"1330696196":["hashtag1","hashtag2"]},{"1330696250":["hashtag1","hashtag2"]},{"1330696241":["hashtag1","hashtag2"]},{"1330696189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330696228, 1330696201, 1330696196, 1330696250, 1330696241, 1330696189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.71928668022156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:12:03.029351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_37_10362.jpg', '/home/pi/Desktop/images/23012025/00/08/image_23012025_00_09_07_10416.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_27_10355.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_37_9817.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_47_10343.jpg', '/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_56_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_08_37_10362.jpg
/home/pi/Desktop/images/23012025/00/08/image_23012025_00_09_07_10416.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_27_10355.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_37_9817.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_47_10343.jpg
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_09_56_9425.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":["1330696330","1330696389","1330696298","1330696319","1330696313","1330696378"],"photo_ids_order":["1330696298","1330696313","1330696319","1330696330","1330696378","1330696389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ba766b842d7224153870c65a4e1117b.jpg","text":"TemporaryFile(/tmp/multipartBody830361354229774626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587583951,"filename":"image_23012025_00_09_37_9817.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e187e10e788ec3b3c929837436921f8d.jpg","text":"TemporaryFile(/tmp/multipartBody7954013783922017986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587583951,"filename":"image_23012025_00_09_56_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd0d9ccb81323d147fef1b872ed04f97.jpg","text":"TemporaryFile(/tmp/multipartBody2705707863356587422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587583951,"filename":"image_23012025_00_08_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b0c7edddbe12fba39648fc652c30f32.jpg","text":"TemporaryFile(/tmp/multipartBody5337484659404178777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587583951,"filename":"image_23012025_00_09_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc64594bd42e091a35e3ed1313724b5e.jpg","text":"TemporaryFile(/tmp/multipartBody49859637837403216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587583951,"filename":"image_23012025_00_09_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ea60bb875f7a135754a7c6b0b2ed927.jpg","text":"TemporaryFile(/tmp/multipartBody1484166754943664915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587583951,"filename":"image_23012025_00_09_47_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696319","file1":"1330696313","file0":"1330696298","file4":"1330696378","file5":"1330696389","file3":"1330696330"},"map_files_photo_id_array":[{"photo_id":"1330696389","filename":"file5"},{"photo_id":"1330696319","filename":"file2"},{"photo_id":"1330696378","filename":"file4"},{"photo_id":"1330696313","filename":"file1"},{"photo_id":"1330696298","filename":"file0"},{"photo_id":"1330696330","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330696330":["hashtag1","hashtag2"]},{"1330696389":["hashtag1","hashtag2"]},{"1330696298":["hashtag1","hashtag2"]},{"1330696319":["hashtag1","hashtag2"]},{"1330696313":["hashtag1","hashtag2"]},{"1330696378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330696330, 1330696389, 1330696298, 1330696319, 1330696313, 1330696378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.195794343948364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:13:03.918845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/09/image_23012025_00_10_07_10332.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_16_9502.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_27_10362.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_37_10336.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_57_10378.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_17_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_10_07_10332.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_16_9502.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_27_10362.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_37_10336.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_57_10378.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_17_10333.jpg
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: 0.7693655490875244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:13:12.671844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_15_10342.jpg', '/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_25_9400.jpg', '/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_46_10416.jpg', '/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_55_9357.jpg', '/home/pi/Desktop/images/20012025/06/18/image_20012025_06_18_35_10380.jpg', '/home/pi/Desktop/images/20012025/06/18/image_20012025_06_18_55_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_15_10342.jpg
/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_25_9400.jpg
/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_46_10416.jpg
/home/pi/Desktop/images/20012025/06/17/image_20012025_06_17_55_9357.jpg
/home/pi/Desktop/images/20012025/06/18/image_20012025_06_18_35_10380.jpg
/home/pi/Desktop/images/20012025/06/18/image_20012025_06_18_55_9331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330696494","1330696476","1330696490","1330696493","1330696469","1330696483"],"photo_ids_order":["1330696469","1330696476","1330696483","1330696490","1330696493","1330696494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a22fa8b1f62ac69ec4695452d6b147c.jpg","text":"TemporaryFile(/tmp/multipartBody1633946528900153504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587655018,"filename":"image_20012025_06_18_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/112f74dc1ab0b17eefb57a594906a2c8.jpg","text":"TemporaryFile(/tmp/multipartBody2078234042043557346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587655018,"filename":"image_20012025_06_17_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41d524967bbdb09f8b3a9d6b426582a3.jpg","text":"TemporaryFile(/tmp/multipartBody7840647529464391140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587655018,"filename":"image_20012025_06_17_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e9b7f7c0c35389501f538fea05237bc.jpg","text":"TemporaryFile(/tmp/multipartBody4732538764792971291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587655018,"filename":"image_20012025_06_18_35_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b4d50dfd54685715e7dafef9b30b53f.jpg","text":"TemporaryFile(/tmp/multipartBody5158940068008933337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587655018,"filename":"image_20012025_06_17_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbb71f36189c229bb51777f43d31b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody5520351192775629672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587655018,"filename":"image_20012025_06_17_46_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696483","file1":"1330696476","file0":"1330696469","file4":"1330696493","file5":"1330696494","file3":"1330696490"},"map_files_photo_id_array":[{"photo_id":"1330696494","filename":"file5"},{"photo_id":"1330696483","filename":"file2"},{"photo_id":"1330696493","filename":"file4"},{"photo_id":"1330696476","filename":"file1"},{"photo_id":"1330696469","filename":"file0"},{"photo_id":"1330696490","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330696494":["hashtag1","hashtag2"]},{"1330696476":["hashtag1","hashtag2"]},{"1330696490":["hashtag1","hashtag2"]},{"1330696493":["hashtag1","hashtag2"]},{"1330696469":["hashtag1","hashtag2"]},{"1330696483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330696494, 1330696476, 1330696490, 1330696493, 1330696469, 1330696483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.254605293273926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:14:03.256952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/09/image_23012025_00_10_07_10332.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_16_9502.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_27_10362.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_37_10336.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_57_10378.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_17_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_10_07_10332.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_16_9502.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_27_10362.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_37_10336.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_57_10378.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_17_10333.jpg
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: 4.656816482543945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:14:13.020416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/18/image_20012025_06_19_05_10319.jpg', '/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_16_10347.jpg', '/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_25_9337.jpg', '/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_35_10424.jpg', '/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_45_9392.jpg', '/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_55_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/18/image_20012025_06_19_05_10319.jpg
/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_16_10347.jpg
/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_25_9337.jpg
/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_35_10424.jpg
/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_45_9392.jpg
/home/pi/Desktop/images/20012025/06/19/image_20012025_06_19_55_10383.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330696534","1330696528","1330696543","1330696551","1330696547","1330696552"],"photo_ids_order":["1330696528","1330696534","1330696543","1330696547","1330696551","1330696552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e442975dde0c2889a3c557a4962b5763.jpg","text":"TemporaryFile(/tmp/multipartBody9176769392217227715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587715446,"filename":"image_20012025_06_19_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adefa39e1f7db4c42d900a81e302fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody585179059574643592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587715446,"filename":"image_20012025_06_19_05_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6c585e27e9b2cbbfc14b7e81e4befa1.jpg","text":"TemporaryFile(/tmp/multipartBody2745430824244937611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587715446,"filename":"image_20012025_06_19_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce7e9b64513f2986b560f16ca3b84f77.jpg","text":"TemporaryFile(/tmp/multipartBody8783634580628942126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587715446,"filename":"image_20012025_06_19_45_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a4cc7c7c5b741d24a425e719e110f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4121122143355789872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587715446,"filename":"image_20012025_06_19_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55d73775d47838473ae664a2f79a8549.jpg","text":"TemporaryFile(/tmp/multipartBody6821400885323523965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587715446,"filename":"image_20012025_06_19_55_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696543","file1":"1330696534","file0":"1330696528","file4":"1330696551","file5":"1330696552","file3":"1330696547"},"map_files_photo_id_array":[{"photo_id":"1330696552","filename":"file5"},{"photo_id":"1330696543","filename":"file2"},{"photo_id":"1330696551","filename":"file4"},{"photo_id":"1330696534","filename":"file1"},{"photo_id":"1330696528","filename":"file0"},{"photo_id":"1330696547","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330696534":["hashtag1","hashtag2"]},{"1330696528":["hashtag1","hashtag2"]},{"1330696543":["hashtag1","hashtag2"]},{"1330696551":["hashtag1","hashtag2"]},{"1330696547":["hashtag1","hashtag2"]},{"1330696552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330696534, 1330696528, 1330696543, 1330696551, 1330696547, 1330696552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.886170864105225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:15:04.485697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/09/image_23012025_00_10_07_10332.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_16_9502.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_27_10362.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_37_10336.jpg', '/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_57_10378.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_17_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/09/image_23012025_00_10_07_10332.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_16_9502.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_27_10362.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_37_10336.jpg
/home/pi/Desktop/images/23012025/00/10/image_23012025_00_10_57_10378.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_17_10333.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":["1330696753","1330696600","1330696593","1330696587","1330696710","1330696847"],"photo_ids_order":["1330696587","1330696593","1330696600","1330696710","1330696753","1330696847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2ccef9ad6e03d159a5a89b6bdd7cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody6099673002003318831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587765656,"filename":"image_23012025_00_10_57_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2dee8ee9e6ea3ed86bf02b6169f56d8.jpg","text":"TemporaryFile(/tmp/multipartBody3336795371016850574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587765656,"filename":"image_23012025_00_10_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6013eff5b10f9519b261a4b4fee566f.jpg","text":"TemporaryFile(/tmp/multipartBody7797453637693875608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587765656,"filename":"image_23012025_00_10_16_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d459abf1f1ea627b479147543ecdbf87.jpg","text":"TemporaryFile(/tmp/multipartBody7999236497293251917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587765656,"filename":"image_23012025_00_10_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cee2fec18f18420f7b6ce732d0d09f1.jpg","text":"TemporaryFile(/tmp/multipartBody3528062501157850290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587765656,"filename":"image_23012025_00_10_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a967e4e6103a3a64c78721f8eb7898c.jpg","text":"TemporaryFile(/tmp/multipartBody2337157618075301296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587765656,"filename":"image_23012025_00_11_17_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330696600","file1":"1330696593","file0":"1330696587","file4":"1330696753","file5":"1330696847","file3":"1330696710"},"map_files_photo_id_array":[{"photo_id":"1330696847","filename":"file5"},{"photo_id":"1330696600","filename":"file2"},{"photo_id":"1330696753","filename":"file4"},{"photo_id":"1330696593","filename":"file1"},{"photo_id":"1330696587","filename":"file0"},{"photo_id":"1330696710","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330696753":["hashtag1","hashtag2"]},{"1330696600":["hashtag1","hashtag2"]},{"1330696593":["hashtag1","hashtag2"]},{"1330696587":["hashtag1","hashtag2"]},{"1330696710":["hashtag1","hashtag2"]},{"1330696847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330696753, 1330696600, 1330696593, 1330696587, 1330696710, 1330696847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75279450416565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:16:03.874400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_27_10367.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_36_9340.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_47_10350.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_57_10343.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_12_06_9339.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_17_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_27_10367.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_36_9340.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_47_10350.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_57_10343.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_12_06_9339.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_17_10339.jpg
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: 0.5598618984222412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:16:13.064792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/19/image_20012025_06_20_06_10349.jpg', '/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_15_9357.jpg', '/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_25_10347.jpg', '/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_36_10427.jpg', '/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_45_9428.jpg', '/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_55_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/19/image_20012025_06_20_06_10349.jpg
/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_15_9357.jpg
/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_25_10347.jpg
/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_36_10427.jpg
/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_45_9428.jpg
/home/pi/Desktop/images/20012025/06/20/image_20012025_06_20_55_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330697088","1330697103","1330697106","1330697099","1330697083","1330697092"],"photo_ids_order":["1330697083","1330697088","1330697092","1330697099","1330697103","1330697106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ab7fe2acb47507d1a4a699a4ed82a0d.jpg","text":"TemporaryFile(/tmp/multipartBody598781586907187740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587835413,"filename":"image_20012025_06_20_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd5aad98f202695316ffb062fb18d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody2194330755678007639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587835413,"filename":"image_20012025_06_20_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/247cfebf82f5b3373d18d62433129efb.jpg","text":"TemporaryFile(/tmp/multipartBody3598968897714295936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587835413,"filename":"image_20012025_06_20_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be083a623293fa1863cb367281945294.jpg","text":"TemporaryFile(/tmp/multipartBody3915912618652514548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587835413,"filename":"image_20012025_06_20_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5f9e02411fb425cfd8f2016ee489221.jpg","text":"TemporaryFile(/tmp/multipartBody4409617173469786931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587835413,"filename":"image_20012025_06_20_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/023b15ea4de4fae801b328aeac77debb.jpg","text":"TemporaryFile(/tmp/multipartBody7453396613666733732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587835413,"filename":"image_20012025_06_20_25_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697092","file1":"1330697088","file0":"1330697083","file4":"1330697103","file5":"1330697106","file3":"1330697099"},"map_files_photo_id_array":[{"photo_id":"1330697106","filename":"file5"},{"photo_id":"1330697092","filename":"file2"},{"photo_id":"1330697103","filename":"file4"},{"photo_id":"1330697088","filename":"file1"},{"photo_id":"1330697083","filename":"file0"},{"photo_id":"1330697099","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330697088":["hashtag1","hashtag2"]},{"1330697103":["hashtag1","hashtag2"]},{"1330697106":["hashtag1","hashtag2"]},{"1330697099":["hashtag1","hashtag2"]},{"1330697083":["hashtag1","hashtag2"]},{"1330697092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330697088, 1330697103, 1330697106, 1330697099, 1330697083, 1330697092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12163257598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:17:03.472884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_27_10367.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_36_9340.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_47_10350.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_57_10343.jpg', '/home/pi/Desktop/images/23012025/00/11/image_23012025_00_12_06_9339.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_17_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_27_10367.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_36_9340.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_47_10350.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_11_57_10343.jpg
/home/pi/Desktop/images/23012025/00/11/image_23012025_00_12_06_9339.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_17_10339.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":["1330697113","1330697130","1330697141","1330697138","1330697120","1330697117"],"photo_ids_order":["1330697113","1330697117","1330697120","1330697130","1330697138","1330697141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6c01b8c63edb230fd5f8b9fd65ff974.jpg","text":"TemporaryFile(/tmp/multipartBody4789302108268975958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587885829,"filename":"image_23012025_00_11_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16c329b3c617c0b0446d25fce9e3f6f2.jpg","text":"TemporaryFile(/tmp/multipartBody7753482746835353835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587885829,"filename":"image_23012025_00_11_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/474b0e2445c8c3aab052f0771278686f.jpg","text":"TemporaryFile(/tmp/multipartBody4575251624722066361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587885829,"filename":"image_23012025_00_12_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5364ebc98f949532e1107700d28aafa1.jpg","text":"TemporaryFile(/tmp/multipartBody2551624271837675074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587885829,"filename":"image_23012025_00_12_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d9636e480e44338e433360374d48676.jpg","text":"TemporaryFile(/tmp/multipartBody5920762522985456162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587885829,"filename":"image_23012025_00_11_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a636ffe7c52ef726f1ad4683c2386fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4194666635121024500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587885829,"filename":"image_23012025_00_11_36_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697120","file1":"1330697117","file0":"1330697113","file4":"1330697138","file5":"1330697141","file3":"1330697130"},"map_files_photo_id_array":[{"photo_id":"1330697141","filename":"file5"},{"photo_id":"1330697120","filename":"file2"},{"photo_id":"1330697138","filename":"file4"},{"photo_id":"1330697117","filename":"file1"},{"photo_id":"1330697113","filename":"file0"},{"photo_id":"1330697130","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330697113":["hashtag1","hashtag2"]},{"1330697130":["hashtag1","hashtag2"]},{"1330697141":["hashtag1","hashtag2"]},{"1330697138":["hashtag1","hashtag2"]},{"1330697120":["hashtag1","hashtag2"]},{"1330697117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330697113, 1330697130, 1330697141, 1330697138, 1330697120, 1330697117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0337917804718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:18:03.018020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_27_10394.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_36_9329.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_47_10337.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_57_10394.jpg', '/home/pi/Desktop/images/23012025/00/12/image_23012025_00_13_07_9340.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_17_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_27_10394.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_36_9329.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_47_10337.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_12_57_10394.jpg
/home/pi/Desktop/images/23012025/00/12/image_23012025_00_13_07_9340.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_17_10327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330697175","1330697178","1330697172","1330697168","1330697164","1330697161"],"photo_ids_order":["1330697161","1330697164","1330697168","1330697172","1330697175","1330697178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1bf238eb79ef7d17b868dc3ebe00e8a.jpg","text":"TemporaryFile(/tmp/multipartBody8202602754236807645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587943951,"filename":"image_23012025_00_13_07_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd55e49492145e3c947463de428fba86.jpg","text":"TemporaryFile(/tmp/multipartBody3264599759974155144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587943951,"filename":"image_23012025_00_13_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17d42ea76feba63018079f24d5743142.jpg","text":"TemporaryFile(/tmp/multipartBody5248840307793603077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587943951,"filename":"image_23012025_00_12_57_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/489a7f00ff0fc2462ab7ec0076860e7a.jpg","text":"TemporaryFile(/tmp/multipartBody895859322732573625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587943951,"filename":"image_23012025_00_12_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e591c0920b59d187f7e7c753f9a9457.jpg","text":"TemporaryFile(/tmp/multipartBody3651318493816134850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587943951,"filename":"image_23012025_00_12_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86ee2074efd49b574057ee9581c19730.jpg","text":"TemporaryFile(/tmp/multipartBody4233552177086686236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587943951,"filename":"image_23012025_00_12_27_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697168","file1":"1330697164","file0":"1330697161","file4":"1330697175","file5":"1330697178","file3":"1330697172"},"map_files_photo_id_array":[{"photo_id":"1330697178","filename":"file5"},{"photo_id":"1330697168","filename":"file2"},{"photo_id":"1330697175","filename":"file4"},{"photo_id":"1330697164","filename":"file1"},{"photo_id":"1330697161","filename":"file0"},{"photo_id":"1330697172","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330697175":["hashtag1","hashtag2"]},{"1330697178":["hashtag1","hashtag2"]},{"1330697172":["hashtag1","hashtag2"]},{"1330697168":["hashtag1","hashtag2"]},{"1330697164":["hashtag1","hashtag2"]},{"1330697161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330697175, 1330697178, 1330697172, 1330697168, 1330697164, 1330697161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.004902601242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:18:42.440516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/20/image_20012025_06_21_05_9391.jpg', '/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_15_10336.jpg', '/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_26_10368.jpg', '/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_35_9343.jpg', '/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_45_10329.jpg', '/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_56_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/20/image_20012025_06_21_05_9391.jpg
/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_15_10336.jpg
/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_26_10368.jpg
/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_35_9343.jpg
/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_45_10329.jpg
/home/pi/Desktop/images/20012025/06/21/image_20012025_06_21_56_10367.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":["1330697186","1330697195","1330697207","1330697191","1330697188","1330697224"],"photo_ids_order":["1330697186","1330697188","1330697191","1330697195","1330697207","1330697224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a02cfd15c458475f09a86d71a38920a3.jpg","text":"TemporaryFile(/tmp/multipartBody5578959318001919317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587984771,"filename":"image_20012025_06_21_05_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51afd53196caea5b14b81d65028f5992.jpg","text":"TemporaryFile(/tmp/multipartBody7140152510430514673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587984771,"filename":"image_20012025_06_21_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f023a9d3dbf2be68d60a4d58774db7e3.jpg","text":"TemporaryFile(/tmp/multipartBody2145103709790170260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587984771,"filename":"image_20012025_06_21_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06c14b003c12f4ab792054251090542f.jpg","text":"TemporaryFile(/tmp/multipartBody4894011773237956756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587984771,"filename":"image_20012025_06_21_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01128b165dce745e8349f51c8afd5d67.jpg","text":"TemporaryFile(/tmp/multipartBody946596485604932589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587984771,"filename":"image_20012025_06_21_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aec312024d5093af44ea547a51be209a.jpg","text":"TemporaryFile(/tmp/multipartBody474971801562802782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737587984771,"filename":"image_20012025_06_21_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697191","file1":"1330697188","file0":"1330697186","file4":"1330697207","file5":"1330697224","file3":"1330697195"},"map_files_photo_id_array":[{"photo_id":"1330697224","filename":"file5"},{"photo_id":"1330697191","filename":"file2"},{"photo_id":"1330697207","filename":"file4"},{"photo_id":"1330697188","filename":"file1"},{"photo_id":"1330697186","filename":"file0"},{"photo_id":"1330697195","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330697186":["hashtag1","hashtag2"]},{"1330697195":["hashtag1","hashtag2"]},{"1330697207":["hashtag1","hashtag2"]},{"1330697191":["hashtag1","hashtag2"]},{"1330697188":["hashtag1","hashtag2"]},{"1330697224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330697186, 1330697195, 1330697207, 1330697191, 1330697188, 1330697224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96285367012024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:19:42.597794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/21/image_20012025_06_22_05_9348.jpg', '/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_15_10333.jpg', '/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_26_10366.jpg', '/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_35_9414.jpg', '/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_45_10334.jpg', '/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_55_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/21/image_20012025_06_22_05_9348.jpg
/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_15_10333.jpg
/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_26_10366.jpg
/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_35_9414.jpg
/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_45_10334.jpg
/home/pi/Desktop/images/20012025/06/22/image_20012025_06_22_55_9396.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":["1330697280","1330697250","1330697258","1330697252","1330697287","1330697254"],"photo_ids_order":["1330697250","1330697252","1330697254","1330697258","1330697280","1330697287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f952ec21e7557c17e55437c61b028f5.jpg","text":"TemporaryFile(/tmp/multipartBody4697957036291310600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588044918,"filename":"image_20012025_06_22_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7f788411811024251b457b094ce9cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1207108605299214617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588044918,"filename":"image_20012025_06_22_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5e38322587a7ebde5251916894572af.jpg","text":"TemporaryFile(/tmp/multipartBody6264644178067477650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588044918,"filename":"image_20012025_06_22_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24812a31285f61a12570a6c35b113243.jpg","text":"TemporaryFile(/tmp/multipartBody937814400308346241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588044918,"filename":"image_20012025_06_22_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11629fb5a0644664b0df0e8251ab03bb.jpg","text":"TemporaryFile(/tmp/multipartBody8607802921536665019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588044918,"filename":"image_20012025_06_22_55_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eec4ebc69ae820038e1569082fffcead.jpg","text":"TemporaryFile(/tmp/multipartBody14404452655836512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588044918,"filename":"image_20012025_06_22_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697254","file1":"1330697252","file0":"1330697250","file4":"1330697280","file5":"1330697287","file3":"1330697258"},"map_files_photo_id_array":[{"photo_id":"1330697287","filename":"file5"},{"photo_id":"1330697254","filename":"file2"},{"photo_id":"1330697280","filename":"file4"},{"photo_id":"1330697252","filename":"file1"},{"photo_id":"1330697250","filename":"file0"},{"photo_id":"1330697258","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330697280":["hashtag1","hashtag2"]},{"1330697250":["hashtag1","hashtag2"]},{"1330697258":["hashtag1","hashtag2"]},{"1330697252":["hashtag1","hashtag2"]},{"1330697287":["hashtag1","hashtag2"]},{"1330697254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330697280, 1330697250, 1330697258, 1330697252, 1330697287, 1330697254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.09550595283508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:20:42.773102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/22/image_20012025_06_23_05_10340.jpg', '/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_15_10328.jpg', '/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_25_9412.jpg', '/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_35_10346.jpg', '/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_46_10335.jpg', '/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_55_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/22/image_20012025_06_23_05_10340.jpg
/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_15_10328.jpg
/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_25_9412.jpg
/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_35_10346.jpg
/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_46_10335.jpg
/home/pi/Desktop/images/20012025/06/23/image_20012025_06_23_55_9398.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":["1330697343","1330697310","1330697307","1330697360","1330697353","1330697308"],"photo_ids_order":["1330697307","1330697308","1330697310","1330697343","1330697353","1330697360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00d41ce7b91c61643cf5b94af333f900.jpg","text":"TemporaryFile(/tmp/multipartBody2596375131956221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588105118,"filename":"image_20012025_06_23_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1b496704b0f1aa97c3b170810e65199.jpg","text":"TemporaryFile(/tmp/multipartBody6412201314678105572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588105118,"filename":"image_20012025_06_23_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59ba4d78d992e48bf4853ad36ed8ad52.jpg","text":"TemporaryFile(/tmp/multipartBody3919749572517559241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588105118,"filename":"image_20012025_06_23_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34ca57a52f42230198eb49c4561519e1.jpg","text":"TemporaryFile(/tmp/multipartBody4726354292638280217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588105118,"filename":"image_20012025_06_23_55_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ca1da5ad67eea0b391237f7371fffb4.jpg","text":"TemporaryFile(/tmp/multipartBody8067082517153154165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588105118,"filename":"image_20012025_06_23_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1dc38c1af379c0ac2fb3c40956ccda52.jpg","text":"TemporaryFile(/tmp/multipartBody3267990185443907587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588105118,"filename":"image_20012025_06_23_15_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697310","file1":"1330697308","file0":"1330697307","file4":"1330697353","file5":"1330697360","file3":"1330697343"},"map_files_photo_id_array":[{"photo_id":"1330697360","filename":"file5"},{"photo_id":"1330697310","filename":"file2"},{"photo_id":"1330697353","filename":"file4"},{"photo_id":"1330697308","filename":"file1"},{"photo_id":"1330697307","filename":"file0"},{"photo_id":"1330697343","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330697343":["hashtag1","hashtag2"]},{"1330697310":["hashtag1","hashtag2"]},{"1330697307":["hashtag1","hashtag2"]},{"1330697360":["hashtag1","hashtag2"]},{"1330697353":["hashtag1","hashtag2"]},{"1330697308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330697343, 1330697310, 1330697307, 1330697360, 1330697353, 1330697308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.44382405281067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:21:42.996338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/23/image_20012025_06_24_05_10352.jpg', '/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_25_9331.jpg', '/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_35_10331.jpg', '/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_46_10348.jpg', '/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_55_9342.jpg', '/home/pi/Desktop/images/20012025/06/24/image_20012025_06_25_05_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/23/image_20012025_06_24_05_10352.jpg
/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_25_9331.jpg
/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_35_10331.jpg
/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_46_10348.jpg
/home/pi/Desktop/images/20012025/06/24/image_20012025_06_24_55_9342.jpg
/home/pi/Desktop/images/20012025/06/24/image_20012025_06_25_05_10417.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":["1330697466","1330697460","1330697454","1330697453","1330697456","1330697473"],"photo_ids_order":["1330697453","1330697454","1330697456","1330697460","1330697466","1330697473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b966835be283c3200c5306c9fef6729.jpg","text":"TemporaryFile(/tmp/multipartBody5753662760560886533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588165321,"filename":"image_20012025_06_24_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3edbea224837e9b8763ba28b8ecfaee.jpg","text":"TemporaryFile(/tmp/multipartBody2183902522106667690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588165321,"filename":"image_20012025_06_24_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/295628417f4ceb01d884142ef9101bb3.jpg","text":"TemporaryFile(/tmp/multipartBody3183702377070425203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588165321,"filename":"image_20012025_06_24_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e9e1c6d09fc404bc5df3fc1ea1bdd1d.jpg","text":"TemporaryFile(/tmp/multipartBody6260031074710982820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588165321,"filename":"image_20012025_06_24_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdad8799ac1e5bcc31c947d86a0d6d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2476277785193336352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588165321,"filename":"image_20012025_06_24_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb7532a5493b0a0067e76a59edcc4a06.jpg","text":"TemporaryFile(/tmp/multipartBody8152076118232110784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588165321,"filename":"image_20012025_06_25_05_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697456","file1":"1330697454","file0":"1330697453","file4":"1330697466","file5":"1330697473","file3":"1330697460"},"map_files_photo_id_array":[{"photo_id":"1330697473","filename":"file5"},{"photo_id":"1330697456","filename":"file2"},{"photo_id":"1330697466","filename":"file4"},{"photo_id":"1330697454","filename":"file1"},{"photo_id":"1330697453","filename":"file0"},{"photo_id":"1330697460","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330697466":["hashtag1","hashtag2"]},{"1330697460":["hashtag1","hashtag2"]},{"1330697454":["hashtag1","hashtag2"]},{"1330697453":["hashtag1","hashtag2"]},{"1330697456":["hashtag1","hashtag2"]},{"1330697473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330697466, 1330697460, 1330697454, 1330697453, 1330697456, 1330697473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39247679710388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:22:42.235413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_15_9387.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_25_10341.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_35_10345.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_45_9366.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_55_10377.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_26_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_15_9387.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_25_10341.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_35_10345.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_45_9366.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_55_10377.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_26_06_10340.jpg
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: 1.9603064060211182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:23:03.886404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_26_9434.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_37_10399.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_47_10359.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_56_9352.jpg', '/home/pi/Desktop/images/23012025/00/13/image_23012025_00_14_07_10339.jpg', '/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_17_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_26_9434.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_37_10399.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_47_10359.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_13_56_9352.jpg
/home/pi/Desktop/images/23012025/00/13/image_23012025_00_14_07_10339.jpg
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_17_10403.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":["1330697526","1330697514","1330697502","1330697522","1330697519","1330697510"],"photo_ids_order":["1330697502","1330697510","1330697514","1330697519","1330697522","1330697526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c32fd098aff2e8b7192326762963f3e2.jpg","text":"TemporaryFile(/tmp/multipartBody1749513837766236404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588244980,"filename":"image_23012025_00_14_17_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4a5931ba1f077fadf5286f839413872.jpg","text":"TemporaryFile(/tmp/multipartBody4341904608433901309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588244980,"filename":"image_23012025_00_13_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca2b6d71ce4b983483af5fe7a383dfde.jpg","text":"TemporaryFile(/tmp/multipartBody1514102971215750356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588244980,"filename":"image_23012025_00_13_26_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2345af668649299bc76c1aa7479e9bba.jpg","text":"TemporaryFile(/tmp/multipartBody139525453851076841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588244980,"filename":"image_23012025_00_14_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afeed851839dff392da2cbf581b5649a.jpg","text":"TemporaryFile(/tmp/multipartBody4460766567989336963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588244980,"filename":"image_23012025_00_13_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/817bc0055be67f2c22fd7046f2efb2c9.jpg","text":"TemporaryFile(/tmp/multipartBody8071551427858702891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588244980,"filename":"image_23012025_00_13_37_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697514","file1":"1330697510","file0":"1330697502","file4":"1330697522","file5":"1330697526","file3":"1330697519"},"map_files_photo_id_array":[{"photo_id":"1330697526","filename":"file5"},{"photo_id":"1330697514","filename":"file2"},{"photo_id":"1330697522","filename":"file4"},{"photo_id":"1330697510","filename":"file1"},{"photo_id":"1330697502","filename":"file0"},{"photo_id":"1330697519","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330697526":["hashtag1","hashtag2"]},{"1330697514":["hashtag1","hashtag2"]},{"1330697502":["hashtag1","hashtag2"]},{"1330697522":["hashtag1","hashtag2"]},{"1330697519":["hashtag1","hashtag2"]},{"1330697510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330697526, 1330697514, 1330697502, 1330697522, 1330697519, 1330697510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47582674026489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:24:03.090060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_27_9431.jpg', '/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_37_10358.jpg', '/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_57_10350.jpg', '/home/pi/Desktop/images/23012025/00/14/image_23012025_00_15_07_10331.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_16_9333.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_27_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_27_9431.jpg
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_37_10358.jpg
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_14_57_10350.jpg
/home/pi/Desktop/images/23012025/00/14/image_23012025_00_15_07_10331.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_16_9333.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_27_10349.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":["1330697592","1330697601","1330697544","1330697633","1330697575","1330697629"],"photo_ids_order":["1330697544","1330697575","1330697592","1330697601","1330697629","1330697633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/065bdddb7f8e7a382a63e8f8327ae901.jpg","text":"TemporaryFile(/tmp/multipartBody7965380486050490184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588303997,"filename":"image_23012025_00_14_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c95386648c74a2b9efc97e391e91ca0a.jpg","text":"TemporaryFile(/tmp/multipartBody6227387506318892024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588303997,"filename":"image_23012025_00_15_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51c1c4c9777fe3ab7e9518b9fa36b99b.jpg","text":"TemporaryFile(/tmp/multipartBody6481234037682598510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588303997,"filename":"image_23012025_00_14_27_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2aaa37874905b83aebc06a4b6f82fa60.jpg","text":"TemporaryFile(/tmp/multipartBody7300705490433824450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588303997,"filename":"image_23012025_00_15_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1d61253c6472a5b5162adeabfd8a459.jpg","text":"TemporaryFile(/tmp/multipartBody731095347206249032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588303997,"filename":"image_23012025_00_14_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e28e4a893af9722b21788f20bd3e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody5647686556454885343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588303997,"filename":"image_23012025_00_15_16_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697592","file1":"1330697575","file0":"1330697544","file4":"1330697629","file5":"1330697633","file3":"1330697601"},"map_files_photo_id_array":[{"photo_id":"1330697633","filename":"file5"},{"photo_id":"1330697592","filename":"file2"},{"photo_id":"1330697629","filename":"file4"},{"photo_id":"1330697575","filename":"file1"},{"photo_id":"1330697544","filename":"file0"},{"photo_id":"1330697601","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330697592":["hashtag1","hashtag2"]},{"1330697601":["hashtag1","hashtag2"]},{"1330697544":["hashtag1","hashtag2"]},{"1330697633":["hashtag1","hashtag2"]},{"1330697575":["hashtag1","hashtag2"]},{"1330697629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330697592, 1330697601, 1330697544, 1330697633, 1330697575, 1330697629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.730790853500366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:25:04.635239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_37_10360.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_46_9353.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_57_10349.jpg', '/home/pi/Desktop/images/23012025/00/15/image_23012025_00_16_07_10315.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_16_9392.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_27_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_37_10360.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_46_9353.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_15_57_10349.jpg
/home/pi/Desktop/images/23012025/00/15/image_23012025_00_16_07_10315.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_16_9392.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_27_10349.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":["1330697664","1330697733","1330697703","1330697747","1330697711","1330697669"],"photo_ids_order":["1330697664","1330697669","1330697703","1330697711","1330697733","1330697747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e04a55456f7a90779f581851e7097fa.jpg","text":"TemporaryFile(/tmp/multipartBody6121524806763467700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588365712,"filename":"image_23012025_00_15_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/147b0ae89b5007710294e9715077e12d.jpg","text":"TemporaryFile(/tmp/multipartBody223278906268755950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588365712,"filename":"image_23012025_00_16_16_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85e8aa1130b7fc7287432116f5fbb177.jpg","text":"TemporaryFile(/tmp/multipartBody2318738765397110787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588365712,"filename":"image_23012025_00_15_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d02332a0b8f18f1a015ea8f29334947.jpg","text":"TemporaryFile(/tmp/multipartBody4187614497300857142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588365712,"filename":"image_23012025_00_16_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a35a01dd72506259ee19fbae07382548.jpg","text":"TemporaryFile(/tmp/multipartBody6434968154193440471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588365712,"filename":"image_23012025_00_16_07_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7f1488062dbdb7f9389efd5fad163a9.jpg","text":"TemporaryFile(/tmp/multipartBody3007887843684971984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588365712,"filename":"image_23012025_00_15_46_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697703","file1":"1330697669","file0":"1330697664","file4":"1330697733","file5":"1330697747","file3":"1330697711"},"map_files_photo_id_array":[{"photo_id":"1330697747","filename":"file5"},{"photo_id":"1330697703","filename":"file2"},{"photo_id":"1330697733","filename":"file4"},{"photo_id":"1330697669","filename":"file1"},{"photo_id":"1330697664","filename":"file0"},{"photo_id":"1330697711","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330697664":["hashtag1","hashtag2"]},{"1330697733":["hashtag1","hashtag2"]},{"1330697703":["hashtag1","hashtag2"]},{"1330697747":["hashtag1","hashtag2"]},{"1330697711":["hashtag1","hashtag2"]},{"1330697669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330697664, 1330697733, 1330697703, 1330697747, 1330697711, 1330697669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.648640871047974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:26:03.496354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_36_9556.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_47_10376.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_57_10345.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_17_06_9389.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_17_10399.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_27_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_36_9556.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_47_10376.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_57_10345.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_17_06_9389.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_17_10399.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_27_10366.jpg
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: 0.5549752712249756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:26:12.944730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_15_9387.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_25_10341.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_35_10345.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_45_9366.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_55_10377.jpg', '/home/pi/Desktop/images/20012025/06/25/image_20012025_06_26_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_15_9387.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_25_10341.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_35_10345.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_45_9366.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_25_55_10377.jpg
/home/pi/Desktop/images/20012025/06/25/image_20012025_06_26_06_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330697970","1330697967","1330697940","1330697924","1330697956","1330697905"],"photo_ids_order":["1330697905","1330697924","1330697940","1330697956","1330697967","1330697970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90caad2709f734f5d5a15cc28dc138c1.jpg","text":"TemporaryFile(/tmp/multipartBody2711387982470316056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588435192,"filename":"image_20012025_06_26_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88573f91f9d3fc8d357460d6a59d7946.jpg","text":"TemporaryFile(/tmp/multipartBody2038022789429572487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588435192,"filename":"image_20012025_06_25_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20d4ff5c9349a05fcd7428276345d6ff.jpg","text":"TemporaryFile(/tmp/multipartBody7063793592114600323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588435192,"filename":"image_20012025_06_25_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bd50b3faacd26690821885d582531af.jpg","text":"TemporaryFile(/tmp/multipartBody4528324118604568070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588435192,"filename":"image_20012025_06_25_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2c3e77b1d0383ba48753051d24da771.jpg","text":"TemporaryFile(/tmp/multipartBody8834978059096976641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588435192,"filename":"image_20012025_06_25_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ffbe37098dd86f9d9d974842d9a370f.jpg","text":"TemporaryFile(/tmp/multipartBody1557541540526844374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588435192,"filename":"image_20012025_06_25_15_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330697940","file1":"1330697924","file0":"1330697905","file4":"1330697967","file5":"1330697970","file3":"1330697956"},"map_files_photo_id_array":[{"photo_id":"1330697970","filename":"file5"},{"photo_id":"1330697940","filename":"file2"},{"photo_id":"1330697967","filename":"file4"},{"photo_id":"1330697924","filename":"file1"},{"photo_id":"1330697905","filename":"file0"},{"photo_id":"1330697956","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330697970":["hashtag1","hashtag2"]},{"1330697967":["hashtag1","hashtag2"]},{"1330697940":["hashtag1","hashtag2"]},{"1330697924":["hashtag1","hashtag2"]},{"1330697956":["hashtag1","hashtag2"]},{"1330697905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330697970, 1330697967, 1330697940, 1330697924, 1330697956, 1330697905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54338812828064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:27:04.444117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_36_9556.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_47_10376.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_57_10345.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_17_06_9389.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_17_10399.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_27_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_36_9556.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_47_10376.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_57_10345.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_17_06_9389.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_17_10399.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_27_10366.jpg
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: 0.8166344165802002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 00:27:12.982051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_15_9438.jpg', '/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_25_10359.jpg', '/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_35_9343.jpg', '/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_45_10386.jpg', '/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_56_10407.jpg', '/home/pi/Desktop/images/20012025/06/26/image_20012025_06_27_05_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_15_9438.jpg
/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_25_10359.jpg
/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_35_9343.jpg
/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_45_10386.jpg
/home/pi/Desktop/images/20012025/06/26/image_20012025_06_26_56_10407.jpg
/home/pi/Desktop/images/20012025/06/26/image_20012025_06_27_05_9340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330697996","1330698011","1330698020","1330698022","1330698016","1330698025"],"photo_ids_order":["1330697996","1330698011","1330698016","1330698020","1330698022","1330698025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8f5338773b2044e8d37eea88177a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody4161686630569136473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588495310,"filename":"image_20012025_06_26_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/782d7c8cbfcb8a7ca145f6515ba78635.jpg","text":"TemporaryFile(/tmp/multipartBody905167932522208161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588495310,"filename":"image_20012025_06_26_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/413f7ce7ba2e99b9c9c9e8df615252ad.jpg","text":"TemporaryFile(/tmp/multipartBody493789254242715444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588495310,"filename":"image_20012025_06_26_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9428a0970c796e2f9a3975449a85d3a7.jpg","text":"TemporaryFile(/tmp/multipartBody2474878718199351702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588495310,"filename":"image_20012025_06_26_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/825db8d34b19667fa1997e57d67e439a.jpg","text":"TemporaryFile(/tmp/multipartBody3961691631393107411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588495310,"filename":"image_20012025_06_26_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77b044129f134ea20b22cf8e61e8e43b.jpg","text":"TemporaryFile(/tmp/multipartBody7522399097743007589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588495310,"filename":"image_20012025_06_27_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698016","file1":"1330698011","file0":"1330697996","file4":"1330698022","file5":"1330698025","file3":"1330698020"},"map_files_photo_id_array":[{"photo_id":"1330698025","filename":"file5"},{"photo_id":"1330698016","filename":"file2"},{"photo_id":"1330698022","filename":"file4"},{"photo_id":"1330698011","filename":"file1"},{"photo_id":"1330697996","filename":"file0"},{"photo_id":"1330698020","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330697996":["hashtag1","hashtag2"]},{"1330698011":["hashtag1","hashtag2"]},{"1330698020":["hashtag1","hashtag2"]},{"1330698022":["hashtag1","hashtag2"]},{"1330698016":["hashtag1","hashtag2"]},{"1330698025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330697996, 1330698011, 1330698020, 1330698022, 1330698016, 1330698025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.813249826431274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:28:03.063040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_36_9556.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_47_10376.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_57_10345.jpg', '/home/pi/Desktop/images/23012025/00/16/image_23012025_00_17_06_9389.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_17_10399.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_27_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_36_9556.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_47_10376.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_16_57_10345.jpg
/home/pi/Desktop/images/23012025/00/16/image_23012025_00_17_06_9389.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_17_10399.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_27_10366.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":["1330698101","1330698082","1330698076","1330698112","1330698093","1330698087"],"photo_ids_order":["1330698076","1330698082","1330698087","1330698093","1330698101","1330698112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e444c210243ed92487c2faf7c6e2a055.jpg","text":"TemporaryFile(/tmp/multipartBody293015137597819010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588543978,"filename":"image_23012025_00_17_17_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ee9e1ad2485c421f75c84607536ad66.jpg","text":"TemporaryFile(/tmp/multipartBody3391463855575385443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588543978,"filename":"image_23012025_00_16_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/375ceaa2037830c4bbe176f4ad7b7074.jpg","text":"TemporaryFile(/tmp/multipartBody1255048428141173029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588543978,"filename":"image_23012025_00_16_36_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c018b129ecc3944718f960a82dd61f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4449148556019845160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588543978,"filename":"image_23012025_00_17_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/378c3e7bc0af238fba74ca4b59d71af9.jpg","text":"TemporaryFile(/tmp/multipartBody5683164315780076149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588543978,"filename":"image_23012025_00_17_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bdca64f3a956329b827586f6fe094f3.jpg","text":"TemporaryFile(/tmp/multipartBody2255137208693278728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588543978,"filename":"image_23012025_00_16_57_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698087","file1":"1330698082","file0":"1330698076","file4":"1330698101","file5":"1330698112","file3":"1330698093"},"map_files_photo_id_array":[{"photo_id":"1330698112","filename":"file5"},{"photo_id":"1330698087","filename":"file2"},{"photo_id":"1330698101","filename":"file4"},{"photo_id":"1330698082","filename":"file1"},{"photo_id":"1330698076","filename":"file0"},{"photo_id":"1330698093","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698101":["hashtag1","hashtag2"]},{"1330698082":["hashtag1","hashtag2"]},{"1330698076":["hashtag1","hashtag2"]},{"1330698112":["hashtag1","hashtag2"]},{"1330698093":["hashtag1","hashtag2"]},{"1330698087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698101, 1330698082, 1330698076, 1330698112, 1330698093, 1330698087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78169226646423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:29:04.031213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_37_9355.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_47_10344.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_56_9438.jpg', '/home/pi/Desktop/images/23012025/00/17/image_23012025_00_18_07_10356.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_17_10446.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_27_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_37_9355.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_47_10344.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_17_56_9438.jpg
/home/pi/Desktop/images/23012025/00/17/image_23012025_00_18_07_10356.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_17_10446.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_27_9438.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698159","1330698152","1330698178","1330698166","1330698171","1330698183"],"photo_ids_order":["1330698152","1330698159","1330698166","1330698171","1330698178","1330698183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5c6f23629aa4339b00c8100179b7cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7894614992047178196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588605154,"filename":"image_23012025_00_17_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/714dd0e25c2e95257a7c0c6464e5bcec.jpg","text":"TemporaryFile(/tmp/multipartBody4724184288062248679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588605154,"filename":"image_23012025_00_17_37_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36797c239a8b1b44651e83fec71fd0ca.jpg","text":"TemporaryFile(/tmp/multipartBody3750794629937573927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588605154,"filename":"image_23012025_00_18_17_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00d078dffe6f0c95e48853efd591f13f.jpg","text":"TemporaryFile(/tmp/multipartBody7954321592528860449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588605154,"filename":"image_23012025_00_17_56_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6c67b9765eb58b053c665c25c61e724.jpg","text":"TemporaryFile(/tmp/multipartBody5592747880992948417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588605154,"filename":"image_23012025_00_18_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d24fa7b7a270b987eea7b5eb1a1f9ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4044670537252392983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588605154,"filename":"image_23012025_00_18_27_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698166","file1":"1330698159","file0":"1330698152","file4":"1330698178","file5":"1330698183","file3":"1330698171"},"map_files_photo_id_array":[{"photo_id":"1330698183","filename":"file5"},{"photo_id":"1330698166","filename":"file2"},{"photo_id":"1330698178","filename":"file4"},{"photo_id":"1330698159","filename":"file1"},{"photo_id":"1330698152","filename":"file0"},{"photo_id":"1330698171","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698159":["hashtag1","hashtag2"]},{"1330698152":["hashtag1","hashtag2"]},{"1330698178":["hashtag1","hashtag2"]},{"1330698166":["hashtag1","hashtag2"]},{"1330698171":["hashtag1","hashtag2"]},{"1330698183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698159, 1330698152, 1330698178, 1330698166, 1330698171, 1330698183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71074676513672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:30:02.804286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_37_10341.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_46_9423.jpg', '/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_57_10361.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_17_9362.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_27_10342.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_37_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_37_10341.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_46_9423.jpg
/home/pi/Desktop/images/23012025/00/18/image_23012025_00_18_57_10361.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_17_9362.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_27_10342.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_37_10365.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698225","1330698292","1330698230","1330698297","1330698235","1330698304"],"photo_ids_order":["1330698225","1330698230","1330698235","1330698292","1330698297","1330698304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/262458cbda5f015003e23f213e2a835e.jpg","text":"TemporaryFile(/tmp/multipartBody3017030419704716098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588663745,"filename":"image_23012025_00_18_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fc774e44c4ce59d24a6d16f16ae440a.jpg","text":"TemporaryFile(/tmp/multipartBody7155546027526641902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588663745,"filename":"image_23012025_00_19_17_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b2eec3d13fe2f3e6aaea5ccccb69332.jpg","text":"TemporaryFile(/tmp/multipartBody8938860768681408471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588663745,"filename":"image_23012025_00_18_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d219175132f5ef77852ea3299a12b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4080223840202478356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588663745,"filename":"image_23012025_00_19_27_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb6cd89ca30ffd3a2be0ed852a8ae1f3.jpg","text":"TemporaryFile(/tmp/multipartBody4751459124134686175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588663745,"filename":"image_23012025_00_18_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b72f14cc63106d8e9b20189c03b1143b.jpg","text":"TemporaryFile(/tmp/multipartBody4723649901305745403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588663745,"filename":"image_23012025_00_19_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698235","file1":"1330698230","file0":"1330698225","file4":"1330698297","file5":"1330698304","file3":"1330698292"},"map_files_photo_id_array":[{"photo_id":"1330698304","filename":"file5"},{"photo_id":"1330698235","filename":"file2"},{"photo_id":"1330698297","filename":"file4"},{"photo_id":"1330698230","filename":"file1"},{"photo_id":"1330698225","filename":"file0"},{"photo_id":"1330698292","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698225":["hashtag1","hashtag2"]},{"1330698292":["hashtag1","hashtag2"]},{"1330698230":["hashtag1","hashtag2"]},{"1330698297":["hashtag1","hashtag2"]},{"1330698235":["hashtag1","hashtag2"]},{"1330698304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698225, 1330698292, 1330698230, 1330698297, 1330698235, 1330698304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81598782539368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:31:04.944147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_47_9345.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_57_10345.jpg', '/home/pi/Desktop/images/23012025/00/19/image_23012025_00_20_06_9380.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_17_10366.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_27_10367.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_36_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_47_9345.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_19_57_10345.jpg
/home/pi/Desktop/images/23012025/00/19/image_23012025_00_20_06_9380.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_17_10366.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_27_10367.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_36_9433.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698540","1330698543","1330698537","1330698506","1330698500","1330698547"],"photo_ids_order":["1330698500","1330698506","1330698537","1330698540","1330698543","1330698547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/531562437c593779999f6956bf94f193.jpg","text":"TemporaryFile(/tmp/multipartBody4104383374705809715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588726002,"filename":"image_23012025_00_20_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3d9a4d91efb29011e3f111fe753cab6.jpg","text":"TemporaryFile(/tmp/multipartBody7852253670554064595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588726002,"filename":"image_23012025_00_20_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d3248cfd23a83771fe5d65091e850ac.jpg","text":"TemporaryFile(/tmp/multipartBody3407708938342770660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588726002,"filename":"image_23012025_00_20_06_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6339234a6efbeff6944ecdab826809fd.jpg","text":"TemporaryFile(/tmp/multipartBody6874015504149781277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588726002,"filename":"image_23012025_00_19_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fe2b6474727ddd28f5eacb97a59387b.jpg","text":"TemporaryFile(/tmp/multipartBody7171881864178134711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588726002,"filename":"image_23012025_00_19_47_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3203c41cd4207dfc9e88becca9ce9460.jpg","text":"TemporaryFile(/tmp/multipartBody511722849812977689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588726002,"filename":"image_23012025_00_20_36_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698537","file1":"1330698506","file0":"1330698500","file4":"1330698543","file5":"1330698547","file3":"1330698540"},"map_files_photo_id_array":[{"photo_id":"1330698547","filename":"file5"},{"photo_id":"1330698537","filename":"file2"},{"photo_id":"1330698543","filename":"file4"},{"photo_id":"1330698506","filename":"file1"},{"photo_id":"1330698500","filename":"file0"},{"photo_id":"1330698540","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698540":["hashtag1","hashtag2"]},{"1330698543":["hashtag1","hashtag2"]},{"1330698537":["hashtag1","hashtag2"]},{"1330698506":["hashtag1","hashtag2"]},{"1330698500":["hashtag1","hashtag2"]},{"1330698547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698540, 1330698543, 1330698537, 1330698506, 1330698500, 1330698547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27261924743652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:32:03.448163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_47_10357.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_57_10414.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_21_07_9349.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_26_9465.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_37_10337.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_47_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_47_10357.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_57_10414.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_21_07_9349.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_26_9465.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_37_10337.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_47_10426.jpg
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: 0.5482392311096191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:33:04.018414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_47_10357.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_57_10414.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_21_07_9349.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_26_9465.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_37_10337.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_47_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_47_10357.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_57_10414.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_21_07_9349.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_26_9465.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_37_10337.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_47_10426.jpg
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: 0.8835198879241943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:34:03.364573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_47_10357.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_57_10414.jpg', '/home/pi/Desktop/images/23012025/00/20/image_23012025_00_21_07_9349.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_26_9465.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_37_10337.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_47_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_47_10357.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_20_57_10414.jpg
/home/pi/Desktop/images/23012025/00/20/image_23012025_00_21_07_9349.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_26_9465.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_37_10337.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_47_10426.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698797","1330698801","1330698794","1330698788","1330698790","1330698792"],"photo_ids_order":["1330698788","1330698790","1330698792","1330698794","1330698797","1330698801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/450dbcc6b918d713383022406fc2520a.jpg","text":"TemporaryFile(/tmp/multipartBody9106929390584689498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588904287,"filename":"image_23012025_00_21_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2acb7bfdd252afa517fdb4e74ab095bf.jpg","text":"TemporaryFile(/tmp/multipartBody8739902433335779908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588904287,"filename":"image_23012025_00_21_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4ff9d17f679f3024a1e4d81bbdb2886.jpg","text":"TemporaryFile(/tmp/multipartBody3995877626910571427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588904287,"filename":"image_23012025_00_21_26_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6cbd70c5fa2bfa3cc5d91cc50caf029.jpg","text":"TemporaryFile(/tmp/multipartBody7664307781707951745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588904287,"filename":"image_23012025_00_20_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ea9380a6c4731cae51292e6f960a52b.jpg","text":"TemporaryFile(/tmp/multipartBody3349587934416206369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588904287,"filename":"image_23012025_00_20_57_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee90ff7e68e96eb80c01c7732cce93a6.jpg","text":"TemporaryFile(/tmp/multipartBody4549191407527862743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588904287,"filename":"image_23012025_00_21_07_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698792","file1":"1330698790","file0":"1330698788","file4":"1330698797","file5":"1330698801","file3":"1330698794"},"map_files_photo_id_array":[{"photo_id":"1330698801","filename":"file5"},{"photo_id":"1330698792","filename":"file2"},{"photo_id":"1330698797","filename":"file4"},{"photo_id":"1330698790","filename":"file1"},{"photo_id":"1330698788","filename":"file0"},{"photo_id":"1330698794","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698797":["hashtag1","hashtag2"]},{"1330698801":["hashtag1","hashtag2"]},{"1330698794":["hashtag1","hashtag2"]},{"1330698788":["hashtag1","hashtag2"]},{"1330698790":["hashtag1","hashtag2"]},{"1330698792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698797, 1330698801, 1330698794, 1330698788, 1330698790, 1330698792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.159350872039795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:35:03.988180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_57_9357.jpg', '/home/pi/Desktop/images/23012025/00/21/image_23012025_00_22_07_10345.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_17_10261.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_27_9382.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_46_9450.jpg', '/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_57_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_21_57_9357.jpg
/home/pi/Desktop/images/23012025/00/21/image_23012025_00_22_07_10345.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_17_10261.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_27_9382.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_46_9450.jpg
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_22_57_10360.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698828","1330698830","1330698827","1330698832","1330698826","1330698823"],"photo_ids_order":["1330698823","1330698826","1330698827","1330698828","1330698830","1330698832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09fabacfd95c497df2a6e2c335cd57eb.jpg","text":"TemporaryFile(/tmp/multipartBody5556845746834180769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588965196,"filename":"image_23012025_00_22_27_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/304f020c495cbec2a62944cb6bc849c3.jpg","text":"TemporaryFile(/tmp/multipartBody725451240880362154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588965196,"filename":"image_23012025_00_22_46_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc62426ddca6dcb513c9028601ab5caf.jpg","text":"TemporaryFile(/tmp/multipartBody5206804038787234890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588965196,"filename":"image_23012025_00_22_17_10261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fff904d570e827625d25fcd825bbc74f.jpg","text":"TemporaryFile(/tmp/multipartBody8323756000630953049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588965196,"filename":"image_23012025_00_22_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8aac8f5349c02d6128cc1a3245222d99.jpg","text":"TemporaryFile(/tmp/multipartBody2508465853109691253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588965196,"filename":"image_23012025_00_22_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2c41172ec45fd3cf8380ccace36afa3.jpg","text":"TemporaryFile(/tmp/multipartBody170726820233665493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737588965196,"filename":"image_23012025_00_21_57_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698827","file1":"1330698826","file0":"1330698823","file4":"1330698830","file5":"1330698832","file3":"1330698828"},"map_files_photo_id_array":[{"photo_id":"1330698832","filename":"file5"},{"photo_id":"1330698827","filename":"file2"},{"photo_id":"1330698830","filename":"file4"},{"photo_id":"1330698826","filename":"file1"},{"photo_id":"1330698823","filename":"file0"},{"photo_id":"1330698828","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698828":["hashtag1","hashtag2"]},{"1330698830":["hashtag1","hashtag2"]},{"1330698827":["hashtag1","hashtag2"]},{"1330698832":["hashtag1","hashtag2"]},{"1330698826":["hashtag1","hashtag2"]},{"1330698823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698828, 1330698830, 1330698827, 1330698832, 1330698826, 1330698823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.886571407318115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:36:03.802551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/22/image_23012025_00_23_07_10446.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_17_9395.jpg', '/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_57_10421.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_47_10366.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_56_9465.jpg', '/home/pi/Desktop/images/23012025/00/24/image_23012025_00_25_07_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/22/image_23012025_00_23_07_10446.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_17_9395.jpg
/home/pi/Desktop/images/23012025/00/23/image_23012025_00_23_57_10421.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_47_10366.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_24_56_9465.jpg
/home/pi/Desktop/images/23012025/00/24/image_23012025_00_25_07_10344.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698851","1330698860","1330698857","1330698859","1330698853","1330698855"],"photo_ids_order":["1330698851","1330698853","1330698855","1330698857","1330698859","1330698860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97a44a45a6d7796392f5730563c44934.jpg","text":"TemporaryFile(/tmp/multipartBody4718758533001906837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589026130,"filename":"image_23012025_00_23_07_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c33be4ebfeee6c0c552957b9e0d8f9ed.jpg","text":"TemporaryFile(/tmp/multipartBody4524741647962136958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589026130,"filename":"image_23012025_00_25_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35b53ca6722eb1a6a550d322628310ab.jpg","text":"TemporaryFile(/tmp/multipartBody1868232226205420849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589026130,"filename":"image_23012025_00_24_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa384252691195ff63c90466c0beeb08.jpg","text":"TemporaryFile(/tmp/multipartBody2576491279934378317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589026130,"filename":"image_23012025_00_24_56_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af0a5020365e9c6feecd396ca6252cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6087840536133686461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589026130,"filename":"image_23012025_00_23_17_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a231b78c61db40cf7a837e05362d710.jpg","text":"TemporaryFile(/tmp/multipartBody2251266049245723516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589026130,"filename":"image_23012025_00_23_57_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698855","file1":"1330698853","file0":"1330698851","file4":"1330698859","file5":"1330698860","file3":"1330698857"},"map_files_photo_id_array":[{"photo_id":"1330698860","filename":"file5"},{"photo_id":"1330698855","filename":"file2"},{"photo_id":"1330698859","filename":"file4"},{"photo_id":"1330698853","filename":"file1"},{"photo_id":"1330698851","filename":"file0"},{"photo_id":"1330698857","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698851":["hashtag1","hashtag2"]},{"1330698860":["hashtag1","hashtag2"]},{"1330698857":["hashtag1","hashtag2"]},{"1330698859":["hashtag1","hashtag2"]},{"1330698853":["hashtag1","hashtag2"]},{"1330698855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698851, 1330698860, 1330698857, 1330698859, 1330698853, 1330698855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.60651350021362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:37:03.984773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_17_10473.jpg', '/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_27_9374.jpg', '/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_37_10359.jpg', '/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_46_9362.jpg', '/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_17_9445.jpg', '/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_46_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_17_10473.jpg
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_27_9374.jpg
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_37_10359.jpg
/home/pi/Desktop/images/23012025/00/25/image_23012025_00_25_46_9362.jpg
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_17_9445.jpg
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_46_9387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698884","1330698875","1330698871","1330698888","1330698867","1330698879"],"photo_ids_order":["1330698867","1330698871","1330698875","1330698879","1330698884","1330698888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e9ad17e18b543c76b2d3018206fa8a2.jpg","text":"TemporaryFile(/tmp/multipartBody7143872307339321424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589085074,"filename":"image_23012025_00_26_17_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/703cb8cae34655f7bac9f16e04f65ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5799336172072771536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589085074,"filename":"image_23012025_00_25_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39402ad3d4cef73d46d0ba77718daac6.jpg","text":"TemporaryFile(/tmp/multipartBody8799663820929888874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589085074,"filename":"image_23012025_00_25_27_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/194a5789b7541b1a74eaeb4e5d33d9a0.jpg","text":"TemporaryFile(/tmp/multipartBody1823461658455104557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589085074,"filename":"image_23012025_00_26_46_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5eb6ff9675735a6561ab4ebc8b906b93.jpg","text":"TemporaryFile(/tmp/multipartBody4593436586879020112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589085074,"filename":"image_23012025_00_25_17_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43ab4e19e75da6de9615b0924f58b900.jpg","text":"TemporaryFile(/tmp/multipartBody2229287626490999764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589085074,"filename":"image_23012025_00_25_46_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698875","file1":"1330698871","file0":"1330698867","file4":"1330698884","file5":"1330698888","file3":"1330698879"},"map_files_photo_id_array":[{"photo_id":"1330698888","filename":"file5"},{"photo_id":"1330698875","filename":"file2"},{"photo_id":"1330698884","filename":"file4"},{"photo_id":"1330698871","filename":"file1"},{"photo_id":"1330698867","filename":"file0"},{"photo_id":"1330698879","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698884":["hashtag1","hashtag2"]},{"1330698875":["hashtag1","hashtag2"]},{"1330698871":["hashtag1","hashtag2"]},{"1330698888":["hashtag1","hashtag2"]},{"1330698867":["hashtag1","hashtag2"]},{"1330698879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698884, 1330698875, 1330698871, 1330698888, 1330698867, 1330698879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02177309989929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:38:03.812087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_57_10339.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_17_9339.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_27_10358.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_37_10345.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_47_9355.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_57_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_57_10339.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_17_9339.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_27_10358.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_37_10345.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_47_9355.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_57_10345.jpg
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: 0.5710854530334473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:39:04.592907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_57_10339.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_17_9339.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_27_10358.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_37_10345.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_47_9355.jpg', '/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_57_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/26/image_23012025_00_26_57_10339.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_17_9339.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_27_10358.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_37_10345.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_47_9355.jpg
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_27_57_10345.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330698998","1330699001","1330699004","1330699007","1330698993","1330698996"],"photo_ids_order":["1330698993","1330698996","1330698998","1330699001","1330699004","1330699007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c567c806bd8f29903b5d6fee113b71f.jpg","text":"TemporaryFile(/tmp/multipartBody4253063556217925741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589205672,"filename":"image_23012025_00_27_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c5fb11106d2297bdef59bb5da6a3d52.jpg","text":"TemporaryFile(/tmp/multipartBody3865618700496160876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589205672,"filename":"image_23012025_00_27_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0552f3a44e820cb39910bd74afb78286.jpg","text":"TemporaryFile(/tmp/multipartBody1494521407246178067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589205672,"filename":"image_23012025_00_27_47_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d6a890c0dc5cc332d8be1988afea3cd.jpg","text":"TemporaryFile(/tmp/multipartBody7195953853065763273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589205672,"filename":"image_23012025_00_27_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e836b84e4e78ac45d573f68c07c80ac3.jpg","text":"TemporaryFile(/tmp/multipartBody9128463158745500317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589205672,"filename":"image_23012025_00_26_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7d0aaea742e9dd48c889e058f44c7b8.jpg","text":"TemporaryFile(/tmp/multipartBody8562384859377738846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589205672,"filename":"image_23012025_00_27_17_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330698998","file1":"1330698996","file0":"1330698993","file4":"1330699004","file5":"1330699007","file3":"1330699001"},"map_files_photo_id_array":[{"photo_id":"1330699007","filename":"file5"},{"photo_id":"1330698998","filename":"file2"},{"photo_id":"1330699004","filename":"file4"},{"photo_id":"1330698996","filename":"file1"},{"photo_id":"1330698993","filename":"file0"},{"photo_id":"1330699001","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330698998":["hashtag1","hashtag2"]},{"1330699001":["hashtag1","hashtag2"]},{"1330699004":["hashtag1","hashtag2"]},{"1330699007":["hashtag1","hashtag2"]},{"1330698993":["hashtag1","hashtag2"]},{"1330698996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330698998, 1330699001, 1330699004, 1330699007, 1330698993, 1330698996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5242714881897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:40:02.930371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/27/image_23012025_00_28_06_9373.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_17_10324.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_27_10348.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_36_9411.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_47_10366.jpg', '/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_57_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/27/image_23012025_00_28_06_9373.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_17_10324.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_27_10348.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_36_9411.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_47_10366.jpg
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_28_57_10461.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699091","1330699051","1330699102","1330699122","1330699116","1330699119"],"photo_ids_order":["1330699051","1330699091","1330699102","1330699116","1330699119","1330699122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d7524fd557f947a44988f08eae0612a.jpg","text":"TemporaryFile(/tmp/multipartBody5199477546409900136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589263876,"filename":"image_23012025_00_28_17_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df2f1b5b559ddf9bfe5e372295be0cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8858174215124167485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589263876,"filename":"image_23012025_00_28_06_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af56eeca5ee1ed0366038b79a99b8bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8254566390223417899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589263876,"filename":"image_23012025_00_28_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfac7977b2e9e6e45ee5828acd0fd4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8038305796701579834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589263876,"filename":"image_23012025_00_28_57_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9239d359c3486003f57ca9a94156d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody120496622995970575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589263876,"filename":"image_23012025_00_28_36_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3e8b5930b1694f3bbb7d7273b28cb48.jpg","text":"TemporaryFile(/tmp/multipartBody1740844554069952335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589263876,"filename":"image_23012025_00_28_47_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330699102","file1":"1330699091","file0":"1330699051","file4":"1330699119","file5":"1330699122","file3":"1330699116"},"map_files_photo_id_array":[{"photo_id":"1330699122","filename":"file5"},{"photo_id":"1330699102","filename":"file2"},{"photo_id":"1330699119","filename":"file4"},{"photo_id":"1330699091","filename":"file1"},{"photo_id":"1330699051","filename":"file0"},{"photo_id":"1330699116","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330699091":["hashtag1","hashtag2"]},{"1330699051":["hashtag1","hashtag2"]},{"1330699102":["hashtag1","hashtag2"]},{"1330699122":["hashtag1","hashtag2"]},{"1330699116":["hashtag1","hashtag2"]},{"1330699119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330699091, 1330699051, 1330699102, 1330699122, 1330699116, 1330699119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.060603857040405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:41:04.640491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/28/image_23012025_00_29_07_9344.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_17_10362.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_26_9427.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_37_10330.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_47_10492.jpg', '/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_57_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/28/image_23012025_00_29_07_9344.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_17_10362.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_26_9427.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_37_10330.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_47_10492.jpg
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_29_57_9347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699157","1330699153","1330699170","1330699167","1330699152","1330699155"],"photo_ids_order":["1330699152","1330699153","1330699155","1330699157","1330699167","1330699170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05ce8f9dbeff8276021d6b2d0099c083.jpg","text":"TemporaryFile(/tmp/multipartBody10292440045995820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589325833,"filename":"image_23012025_00_29_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3281087cf20431cfce20deeec185debc.jpg","text":"TemporaryFile(/tmp/multipartBody6023462343998941655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589325833,"filename":"image_23012025_00_29_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd5b7156f804697c183b992f354df509.jpg","text":"TemporaryFile(/tmp/multipartBody8732279700499221708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589325833,"filename":"image_23012025_00_29_57_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/839791dd11b1c971bf6f892045a6137c.jpg","text":"TemporaryFile(/tmp/multipartBody7891456702772624312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589325833,"filename":"image_23012025_00_29_47_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb2c4ae0a09d501953ef143ce5239a0b.jpg","text":"TemporaryFile(/tmp/multipartBody604672989947993106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589325833,"filename":"image_23012025_00_29_07_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fa135c9773c0445d3352f172746ddec.jpg","text":"TemporaryFile(/tmp/multipartBody7744083204332782011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589325833,"filename":"image_23012025_00_29_26_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330699155","file1":"1330699153","file0":"1330699152","file4":"1330699167","file5":"1330699170","file3":"1330699157"},"map_files_photo_id_array":[{"photo_id":"1330699170","filename":"file5"},{"photo_id":"1330699155","filename":"file2"},{"photo_id":"1330699167","filename":"file4"},{"photo_id":"1330699153","filename":"file1"},{"photo_id":"1330699152","filename":"file0"},{"photo_id":"1330699157","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330699157":["hashtag1","hashtag2"]},{"1330699153":["hashtag1","hashtag2"]},{"1330699170":["hashtag1","hashtag2"]},{"1330699167":["hashtag1","hashtag2"]},{"1330699152":["hashtag1","hashtag2"]},{"1330699155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330699157, 1330699153, 1330699170, 1330699167, 1330699152, 1330699155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28954887390137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:42:03.377915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/29/image_23012025_00_30_07_10334.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_17_10356.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_27_9347.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_57_10417.jpg', '/home/pi/Desktop/images/23012025/00/30/image_23012025_00_31_07_10362.jpg', '/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_16_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/29/image_23012025_00_30_07_10334.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_17_10356.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_27_9347.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_30_57_10417.jpg
/home/pi/Desktop/images/23012025/00/30/image_23012025_00_31_07_10362.jpg
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_16_9342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699222","1330699233","1330699227","1330699242","1330699239","1330699230"],"photo_ids_order":["1330699222","1330699227","1330699230","1330699233","1330699239","1330699242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fae625f090bea3afa0c3c895dcbc7d31.jpg","text":"TemporaryFile(/tmp/multipartBody3603733004386491605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589384308,"filename":"image_23012025_00_30_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/436e2fad072e0cbb7420402e7d2f2fb8.jpg","text":"TemporaryFile(/tmp/multipartBody5909064058467783453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589384308,"filename":"image_23012025_00_30_57_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68434b0dc2cb329080e82d4a92e4dfe6.jpg","text":"TemporaryFile(/tmp/multipartBody630094092540941464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589384308,"filename":"image_23012025_00_30_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80287a7091794a0cf8e6392dc493b760.jpg","text":"TemporaryFile(/tmp/multipartBody1431013658844755417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589384308,"filename":"image_23012025_00_31_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6213c26982947cbf941aff11ef30427c.jpg","text":"TemporaryFile(/tmp/multipartBody1928679354199512194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589384308,"filename":"image_23012025_00_31_07_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f65ae2a543ccc01704c6a33f43309a1.jpg","text":"TemporaryFile(/tmp/multipartBody7984156806131937174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589384308,"filename":"image_23012025_00_30_27_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330699230","file1":"1330699227","file0":"1330699222","file4":"1330699239","file5":"1330699242","file3":"1330699233"},"map_files_photo_id_array":[{"photo_id":"1330699242","filename":"file5"},{"photo_id":"1330699230","filename":"file2"},{"photo_id":"1330699239","filename":"file4"},{"photo_id":"1330699227","filename":"file1"},{"photo_id":"1330699222","filename":"file0"},{"photo_id":"1330699233","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330699222":["hashtag1","hashtag2"]},{"1330699233":["hashtag1","hashtag2"]},{"1330699227":["hashtag1","hashtag2"]},{"1330699242":["hashtag1","hashtag2"]},{"1330699239":["hashtag1","hashtag2"]},{"1330699230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330699222, 1330699233, 1330699227, 1330699242, 1330699239, 1330699230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97952198982239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:43:03.928568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_37_10359.jpg', '/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_47_9358.jpg', '/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_57_10354.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_17_10328.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_27_10359.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_47_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_37_10359.jpg
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_47_9358.jpg
/home/pi/Desktop/images/23012025/00/31/image_23012025_00_31_57_10354.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_17_10328.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_27_10359.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_47_10450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699262","1330699267","1330699276","1330699272","1330699251","1330699257"],"photo_ids_order":["1330699251","1330699257","1330699262","1330699267","1330699272","1330699276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/047c59010aadcb24dbabf2d28d3144f0.jpg","text":"TemporaryFile(/tmp/multipartBody847259387648992869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589444986,"filename":"image_23012025_00_31_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92721ab04ee22845a16b479cef966a3b.jpg","text":"TemporaryFile(/tmp/multipartBody8226277150487328122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589444986,"filename":"image_23012025_00_32_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e3347668e055a26b09ac18070dfd11d.jpg","text":"TemporaryFile(/tmp/multipartBody3268633496764480437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589444986,"filename":"image_23012025_00_32_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c82c52d3023b5cdbd00191bf5c7e5073.jpg","text":"TemporaryFile(/tmp/multipartBody4414417236965798797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589444986,"filename":"image_23012025_00_32_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/646c9ed6fd17de2f5d296be24333411b.jpg","text":"TemporaryFile(/tmp/multipartBody1415611467884348536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589444986,"filename":"image_23012025_00_31_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2f3a430f33a8c0fe96a748202e8f8a4.jpg","text":"TemporaryFile(/tmp/multipartBody7768600228465181432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589444986,"filename":"image_23012025_00_31_47_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330699262","file1":"1330699257","file0":"1330699251","file4":"1330699272","file5":"1330699276","file3":"1330699267"},"map_files_photo_id_array":[{"photo_id":"1330699276","filename":"file5"},{"photo_id":"1330699262","filename":"file2"},{"photo_id":"1330699272","filename":"file4"},{"photo_id":"1330699257","filename":"file1"},{"photo_id":"1330699251","filename":"file0"},{"photo_id":"1330699267","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330699262":["hashtag1","hashtag2"]},{"1330699267":["hashtag1","hashtag2"]},{"1330699276":["hashtag1","hashtag2"]},{"1330699272":["hashtag1","hashtag2"]},{"1330699251":["hashtag1","hashtag2"]},{"1330699257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330699262, 1330699267, 1330699276, 1330699272, 1330699251, 1330699257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90666842460632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:44:02.988370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_57_10431.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_33_07_9325.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_17_10401.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_26_9327.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_56_9345.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_34_07_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_57_10431.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_33_07_9325.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_17_10401.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_26_9327.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_56_9345.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_34_07_10354.jpg
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: 0.5706403255462646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:45:04.553387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_57_10431.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_33_07_9325.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_17_10401.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_26_9327.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_56_9345.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_34_07_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_57_10431.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_33_07_9325.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_17_10401.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_26_9327.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_56_9345.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_34_07_10354.jpg
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: 0.7210159301757812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:46:03.612988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_57_10431.jpg', '/home/pi/Desktop/images/23012025/00/32/image_23012025_00_33_07_9325.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_17_10401.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_26_9327.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_56_9345.jpg', '/home/pi/Desktop/images/23012025/00/33/image_23012025_00_34_07_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_32_57_10431.jpg
/home/pi/Desktop/images/23012025/00/32/image_23012025_00_33_07_9325.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_17_10401.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_26_9327.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_33_56_9345.jpg
/home/pi/Desktop/images/23012025/00/33/image_23012025_00_34_07_10354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699410","1330699412","1330699459","1330699462","1330699414","1330699473"],"photo_ids_order":["1330699410","1330699412","1330699414","1330699459","1330699462","1330699473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/541bec9596a408b7431fa6da3c5f98b8.jpg","text":"TemporaryFile(/tmp/multipartBody6952997620465875047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589624532,"filename":"image_23012025_00_32_57_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89a40b3f847bde2312768080de11da49.jpg","text":"TemporaryFile(/tmp/multipartBody3669320885399829472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589624532,"filename":"image_23012025_00_33_07_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/268efcf61591f0a3c92c18d35874f1c3.jpg","text":"TemporaryFile(/tmp/multipartBody329770740921050317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589624532,"filename":"image_23012025_00_33_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31eeaa2018f911510fc6cebec1b267df.jpg","text":"TemporaryFile(/tmp/multipartBody7559474184850480171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589624532,"filename":"image_23012025_00_33_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce34d9dc4b135023814e4decbb567606.jpg","text":"TemporaryFile(/tmp/multipartBody731816952010470252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589624532,"filename":"image_23012025_00_33_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/537bbd947c38cbfb707953dc27c711ee.jpg","text":"TemporaryFile(/tmp/multipartBody5070855015718978915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589624532,"filename":"image_23012025_00_34_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330699414","file1":"1330699412","file0":"1330699410","file4":"1330699462","file5":"1330699473","file3":"1330699459"},"map_files_photo_id_array":[{"photo_id":"1330699473","filename":"file5"},{"photo_id":"1330699414","filename":"file2"},{"photo_id":"1330699462","filename":"file4"},{"photo_id":"1330699412","filename":"file1"},{"photo_id":"1330699410","filename":"file0"},{"photo_id":"1330699459","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330699410":["hashtag1","hashtag2"]},{"1330699412":["hashtag1","hashtag2"]},{"1330699459":["hashtag1","hashtag2"]},{"1330699462":["hashtag1","hashtag2"]},{"1330699414":["hashtag1","hashtag2"]},{"1330699473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330699410, 1330699412, 1330699459, 1330699462, 1330699414, 1330699473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.206987619400024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:47:04.200751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_37_10450.jpg', '/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_17_9397.jpg', '/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_27_10342.jpg', '/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_57_10356.jpg', '/home/pi/Desktop/images/23012025/00/35/image_23012025_00_36_06_9327.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_17_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/34/image_23012025_00_34_37_10450.jpg
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_17_9397.jpg
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_27_10342.jpg
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_35_57_10356.jpg
/home/pi/Desktop/images/23012025/00/35/image_23012025_00_36_06_9327.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_17_10336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330699664","1330699687","1330699672","1330699668","1330699662","1330699659"],"photo_ids_order":["1330699659","1330699662","1330699664","1330699668","1330699672","1330699687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f31c46debd83996341fcdc167a194d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4286011328225141099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589685266,"filename":"image_23012025_00_35_27_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13a38f9fdb2c37225fbd7af5588ead8c.jpg","text":"TemporaryFile(/tmp/multipartBody8644758980787190127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589685266,"filename":"image_23012025_00_36_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dd48a964b6fe9f111c20f98cbe3285f.jpg","text":"TemporaryFile(/tmp/multipartBody1945507570934898684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589685266,"filename":"image_23012025_00_36_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdf5ca75c7306641171ac242d77badcc.jpg","text":"TemporaryFile(/tmp/multipartBody4601794358404019444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589685266,"filename":"image_23012025_00_35_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63ecb92683f7c697600b31c79095a2d0.jpg","text":"TemporaryFile(/tmp/multipartBody1292516586393439546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589685266,"filename":"image_23012025_00_35_17_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e2e6212476ae50d5a0a34bdfeef676e.jpg","text":"TemporaryFile(/tmp/multipartBody1655684340273984593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589685266,"filename":"image_23012025_00_34_37_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330699664","file1":"1330699662","file0":"1330699659","file4":"1330699672","file5":"1330699687","file3":"1330699668"},"map_files_photo_id_array":[{"photo_id":"1330699687","filename":"file5"},{"photo_id":"1330699664","filename":"file2"},{"photo_id":"1330699672","filename":"file4"},{"photo_id":"1330699662","filename":"file1"},{"photo_id":"1330699659","filename":"file0"},{"photo_id":"1330699668","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330699664":["hashtag1","hashtag2"]},{"1330699687":["hashtag1","hashtag2"]},{"1330699672":["hashtag1","hashtag2"]},{"1330699668":["hashtag1","hashtag2"]},{"1330699662":["hashtag1","hashtag2"]},{"1330699659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330699664, 1330699687, 1330699672, 1330699668, 1330699662, 1330699659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19964957237244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:48:03.097397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_37_9998.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_46_9428.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_57_10346.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_37_07_10391.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_17_9564.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_27_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_37_9998.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_46_9428.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_57_10346.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_37_07_10391.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_17_9564.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_27_10400.jpg
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: 0.5709812641143799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:49:03.533590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_37_9998.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_46_9428.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_57_10346.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_37_07_10391.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_17_9564.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_27_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_37_9998.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_46_9428.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_57_10346.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_37_07_10391.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_17_9564.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_27_10400.jpg
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: 0.6409070491790771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:50:03.592771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_37_9998.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_46_9428.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_57_10346.jpg', '/home/pi/Desktop/images/23012025/00/36/image_23012025_00_37_07_10391.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_17_9564.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_27_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_37_9998.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_46_9428.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_36_57_10346.jpg
/home/pi/Desktop/images/23012025/00/36/image_23012025_00_37_07_10391.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_17_9564.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_27_10400.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700350","1330700347","1330700343","1330700357","1330700339","1330700354"],"photo_ids_order":["1330700339","1330700343","1330700347","1330700350","1330700354","1330700357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/105466af70fdefa72edb3864cc46062e.jpg","text":"TemporaryFile(/tmp/multipartBody4371330209778513790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589864506,"filename":"image_23012025_00_37_07_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bd9cb706cd604c61c70719f48cdde3a.jpg","text":"TemporaryFile(/tmp/multipartBody8908474345825900740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589864506,"filename":"image_23012025_00_36_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b719104372dd4f6d02e3e57b778efab5.jpg","text":"TemporaryFile(/tmp/multipartBody3572595103805573651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589864506,"filename":"image_23012025_00_36_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe04782361d7a712f53d023ebe3ef344.jpg","text":"TemporaryFile(/tmp/multipartBody3391734811529632830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589864506,"filename":"image_23012025_00_37_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/378b3f8e5cc66821f4ed1099a7fd0c60.jpg","text":"TemporaryFile(/tmp/multipartBody6767327302923213873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589864506,"filename":"image_23012025_00_36_37_9998.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81ddeea3aa009544fe473a1533e10543.jpg","text":"TemporaryFile(/tmp/multipartBody5655426683972643242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589864506,"filename":"image_23012025_00_37_17_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330700347","file1":"1330700343","file0":"1330700339","file4":"1330700354","file5":"1330700357","file3":"1330700350"},"map_files_photo_id_array":[{"photo_id":"1330700357","filename":"file5"},{"photo_id":"1330700347","filename":"file2"},{"photo_id":"1330700354","filename":"file4"},{"photo_id":"1330700343","filename":"file1"},{"photo_id":"1330700339","filename":"file0"},{"photo_id":"1330700350","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330700350":["hashtag1","hashtag2"]},{"1330700347":["hashtag1","hashtag2"]},{"1330700343":["hashtag1","hashtag2"]},{"1330700357":["hashtag1","hashtag2"]},{"1330700339":["hashtag1","hashtag2"]},{"1330700354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330700350, 1330700347, 1330700343, 1330700357, 1330700339, 1330700354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71619892120361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:51:03.997155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_37_9345.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_46_9936.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_57_10361.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_38_07_10471.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_17_9331.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_27_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_37_9345.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_46_9936.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_57_10361.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_38_07_10471.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_17_9331.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_27_10354.jpg
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: 0.7180864810943604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:52:03.041402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_37_9345.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_46_9936.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_57_10361.jpg', '/home/pi/Desktop/images/23012025/00/37/image_23012025_00_38_07_10471.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_17_9331.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_27_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_37_9345.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_46_9936.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_37_57_10361.jpg
/home/pi/Desktop/images/23012025/00/37/image_23012025_00_38_07_10471.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_17_9331.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_27_10354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700407","1330700484","1330700445","1330700460","1330700448","1330700432"],"photo_ids_order":["1330700407","1330700432","1330700445","1330700448","1330700460","1330700484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e66b61e5356186a522300d24f742c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4752724571698587551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589985809,"filename":"image_23012025_00_37_37_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d2a0630e81d5d26b887ae44b7768e2f.jpg","text":"TemporaryFile(/tmp/multipartBody2633195405964278359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589985809,"filename":"image_23012025_00_38_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c374f66476bbddcc6e14cd4eca29c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2921123428452897981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589985809,"filename":"image_23012025_00_37_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01b5b0877aabc54ee5024972f46324ac.jpg","text":"TemporaryFile(/tmp/multipartBody4169386218203554707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589985809,"filename":"image_23012025_00_38_17_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0b7abf1eaae76b8aee464319ee6b10b.jpg","text":"TemporaryFile(/tmp/multipartBody375525978768310654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589985809,"filename":"image_23012025_00_38_07_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b75ea984a776b6b76841a327bc737ee.jpg","text":"TemporaryFile(/tmp/multipartBody2870535416776010987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737589985809,"filename":"image_23012025_00_37_46_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330700445","file1":"1330700432","file0":"1330700407","file4":"1330700460","file5":"1330700484","file3":"1330700448"},"map_files_photo_id_array":[{"photo_id":"1330700484","filename":"file5"},{"photo_id":"1330700445","filename":"file2"},{"photo_id":"1330700460","filename":"file4"},{"photo_id":"1330700432","filename":"file1"},{"photo_id":"1330700407","filename":"file0"},{"photo_id":"1330700448","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330700407":["hashtag1","hashtag2"]},{"1330700484":["hashtag1","hashtag2"]},{"1330700445":["hashtag1","hashtag2"]},{"1330700460":["hashtag1","hashtag2"]},{"1330700448":["hashtag1","hashtag2"]},{"1330700432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330700407, 1330700484, 1330700445, 1330700460, 1330700448, 1330700432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19254970550537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:53:04.460673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_36_9423.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_47_10348.jpg', '/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_57_10358.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_17_10332.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_27_10444.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_37_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_36_9423.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_47_10348.jpg
/home/pi/Desktop/images/23012025/00/38/image_23012025_00_38_57_10358.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_17_10332.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_27_10444.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_37_9434.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700560","1330700554","1330700557","1330700611","1330700550","1330700607"],"photo_ids_order":["1330700550","1330700554","1330700557","1330700560","1330700607","1330700611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e25716c9eb80f1ed256e8db9ba55cc9.jpg","text":"TemporaryFile(/tmp/multipartBody6110523844767911900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590046965,"filename":"image_23012025_00_39_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/407480eb3e36a29b714f98fa2c30529a.jpg","text":"TemporaryFile(/tmp/multipartBody7916792508610038305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590046965,"filename":"image_23012025_00_38_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d6a8358d3e91c832cde16dcb7e3241d.jpg","text":"TemporaryFile(/tmp/multipartBody7522492623605573068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590046965,"filename":"image_23012025_00_38_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8937c64946ca9f702ae452f966da6bbe.jpg","text":"TemporaryFile(/tmp/multipartBody5641238673355136411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590046965,"filename":"image_23012025_00_39_37_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b92f057ecdc54f40445774df8eebf408.jpg","text":"TemporaryFile(/tmp/multipartBody7686438368003960150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590046965,"filename":"image_23012025_00_38_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6c7534b867e25f8232e8f1f33e01fd1.jpg","text":"TemporaryFile(/tmp/multipartBody8258322394739644308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590046965,"filename":"image_23012025_00_39_27_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330700557","file1":"1330700554","file0":"1330700550","file4":"1330700607","file5":"1330700611","file3":"1330700560"},"map_files_photo_id_array":[{"photo_id":"1330700611","filename":"file5"},{"photo_id":"1330700557","filename":"file2"},{"photo_id":"1330700607","filename":"file4"},{"photo_id":"1330700554","filename":"file1"},{"photo_id":"1330700550","filename":"file0"},{"photo_id":"1330700560","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330700560":["hashtag1","hashtag2"]},{"1330700554":["hashtag1","hashtag2"]},{"1330700557":["hashtag1","hashtag2"]},{"1330700611":["hashtag1","hashtag2"]},{"1330700550":["hashtag1","hashtag2"]},{"1330700607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330700560, 1330700554, 1330700557, 1330700611, 1330700550, 1330700607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.241424322128296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:54:02.770684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_47_10364.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_56_9363.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_40_07_10426.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_17_10381.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_27_9378.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_37_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_47_10364.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_56_9363.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_40_07_10426.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_17_10381.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_27_9378.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_37_10323.jpg
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: 1.4783875942230225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:55:04.330419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_47_10364.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_56_9363.jpg', '/home/pi/Desktop/images/23012025/00/39/image_23012025_00_40_07_10426.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_17_10381.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_27_9378.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_37_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_47_10364.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_39_56_9363.jpg
/home/pi/Desktop/images/23012025/00/39/image_23012025_00_40_07_10426.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_17_10381.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_27_9378.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_37_10323.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700899","1330700890","1330700884","1330700895","1330700868","1330700879"],"photo_ids_order":["1330700868","1330700879","1330700884","1330700890","1330700895","1330700899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9e41746ee4d1c53fc495f2039873f47.jpg","text":"TemporaryFile(/tmp/multipartBody8507101695626258820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590165436,"filename":"image_23012025_00_40_37_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a114ab2a45ed260d2813394cf38ff5f.jpg","text":"TemporaryFile(/tmp/multipartBody703504458016473829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590165436,"filename":"image_23012025_00_40_17_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a5364420f4964f4ee841cb885c33ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8269202222318452679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590165436,"filename":"image_23012025_00_40_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6742c4b3d2c8170b2acbe1846e7363fd.jpg","text":"TemporaryFile(/tmp/multipartBody2405882617148817258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590165436,"filename":"image_23012025_00_40_27_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcb49e60787fda57fcedfd47dc2913e4.jpg","text":"TemporaryFile(/tmp/multipartBody3622970209869468508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590165436,"filename":"image_23012025_00_39_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55573cc874b939a6bf10fdf2c31d5c5a.jpg","text":"TemporaryFile(/tmp/multipartBody6173132876931224689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590165436,"filename":"image_23012025_00_39_56_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330700884","file1":"1330700879","file0":"1330700868","file4":"1330700895","file5":"1330700899","file3":"1330700890"},"map_files_photo_id_array":[{"photo_id":"1330700899","filename":"file5"},{"photo_id":"1330700884","filename":"file2"},{"photo_id":"1330700895","filename":"file4"},{"photo_id":"1330700879","filename":"file1"},{"photo_id":"1330700868","filename":"file0"},{"photo_id":"1330700890","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330700899":["hashtag1","hashtag2"]},{"1330700890":["hashtag1","hashtag2"]},{"1330700884":["hashtag1","hashtag2"]},{"1330700895":["hashtag1","hashtag2"]},{"1330700868":["hashtag1","hashtag2"]},{"1330700879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330700899, 1330700890, 1330700884, 1330700895, 1330700868, 1330700879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36238694190979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:56:03.129177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_57_9324.jpg', '/home/pi/Desktop/images/23012025/00/40/image_23012025_00_41_07_10343.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_27_9346.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_37_10340.jpg', '/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_46_9433.jpg', '/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_36_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_40_57_9324.jpg
/home/pi/Desktop/images/23012025/00/40/image_23012025_00_41_07_10343.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_27_9346.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_37_10340.jpg
/home/pi/Desktop/images/23012025/00/41/image_23012025_00_41_46_9433.jpg
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_36_9421.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330700912","1330700908","1330700917","1330700934","1330700922","1330700927"],"photo_ids_order":["1330700908","1330700912","1330700917","1330700922","1330700927","1330700934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/833b8438413416a5aa88d522a5987042.jpg","text":"TemporaryFile(/tmp/multipartBody5441330428835464882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590224055,"filename":"image_23012025_00_41_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47fda9d0ee2f36d37f074eb2ed3910b5.jpg","text":"TemporaryFile(/tmp/multipartBody1535347083053841241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590224055,"filename":"image_23012025_00_40_57_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e87eb361d0b62caf16e12221e679e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2749036450058805103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590224055,"filename":"image_23012025_00_41_27_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99f0a3a8e7abaa32ae66cd6d7ac0ac6b.jpg","text":"TemporaryFile(/tmp/multipartBody7839189447589971424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590224055,"filename":"image_23012025_00_42_36_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/935544d95ecf83fb3130dad8eca873ef.jpg","text":"TemporaryFile(/tmp/multipartBody7817205027543598040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590224055,"filename":"image_23012025_00_41_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc9a777e1c84d56d2e0c609b618ca917.jpg","text":"TemporaryFile(/tmp/multipartBody1169880994384727932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590224055,"filename":"image_23012025_00_41_46_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330700917","file1":"1330700912","file0":"1330700908","file4":"1330700927","file5":"1330700934","file3":"1330700922"},"map_files_photo_id_array":[{"photo_id":"1330700934","filename":"file5"},{"photo_id":"1330700917","filename":"file2"},{"photo_id":"1330700927","filename":"file4"},{"photo_id":"1330700912","filename":"file1"},{"photo_id":"1330700908","filename":"file0"},{"photo_id":"1330700922","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330700912":["hashtag1","hashtag2"]},{"1330700908":["hashtag1","hashtag2"]},{"1330700917":["hashtag1","hashtag2"]},{"1330700934":["hashtag1","hashtag2"]},{"1330700922":["hashtag1","hashtag2"]},{"1330700927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330700912, 1330700908, 1330700917, 1330700934, 1330700922, 1330700927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.928088665008545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:57:04.039540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_47_10371.jpg', '/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_57_10371.jpg', '/home/pi/Desktop/images/23012025/00/42/image_23012025_00_43_06_9400.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_27_10381.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_47_10350.jpg', '/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_57_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_47_10371.jpg
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_42_57_10371.jpg
/home/pi/Desktop/images/23012025/00/42/image_23012025_00_43_06_9400.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_27_10381.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_47_10350.jpg
/home/pi/Desktop/images/23012025/00/43/image_23012025_00_43_57_10350.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330701019","1330701015","1330701027","1330701008","1330701023","1330701011"],"photo_ids_order":["1330701008","1330701011","1330701015","1330701019","1330701023","1330701027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7dbe8e644d2bafd0f2b19330fa457389.jpg","text":"TemporaryFile(/tmp/multipartBody8940526014475569718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590285134,"filename":"image_23012025_00_43_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61d8e071cb47e13467082f8864bcff08.jpg","text":"TemporaryFile(/tmp/multipartBody1465337978917005276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590285134,"filename":"image_23012025_00_43_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eed98368532dcf448d36a3f783970bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3815598540465288291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590285134,"filename":"image_23012025_00_43_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/218054515cbcf9cab63463b88f85649a.jpg","text":"TemporaryFile(/tmp/multipartBody3067677121744933335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590285134,"filename":"image_23012025_00_42_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81e764ddc2fd8703affdbca3c6b82782.jpg","text":"TemporaryFile(/tmp/multipartBody2505029935118478494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590285134,"filename":"image_23012025_00_43_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5068b7e9bc8cd7cd86a653a5e70a1e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7832233506589136965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590285134,"filename":"image_23012025_00_42_57_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330701015","file1":"1330701011","file0":"1330701008","file4":"1330701023","file5":"1330701027","file3":"1330701019"},"map_files_photo_id_array":[{"photo_id":"1330701027","filename":"file5"},{"photo_id":"1330701015","filename":"file2"},{"photo_id":"1330701023","filename":"file4"},{"photo_id":"1330701011","filename":"file1"},{"photo_id":"1330701008","filename":"file0"},{"photo_id":"1330701019","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330701019":["hashtag1","hashtag2"]},{"1330701015":["hashtag1","hashtag2"]},{"1330701027":["hashtag1","hashtag2"]},{"1330701008":["hashtag1","hashtag2"]},{"1330701023":["hashtag1","hashtag2"]},{"1330701011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330701019, 1330701015, 1330701027, 1330701008, 1330701023, 1330701011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90091300010681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 00:59:03.708447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_26_9383.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_37_10351.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_47_10504.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_57_9351.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_45_07_10317.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_17_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_26_9383.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_37_10351.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_47_10504.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_57_9351.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_45_07_10317.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_17_10344.jpg
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: 0.6805822849273682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 00:59:32.934696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_26_9383.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_37_10351.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_47_10504.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_57_9351.jpg', '/home/pi/Desktop/images/23012025/00/44/image_23012025_00_45_07_10317.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_17_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_26_9383.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_37_10351.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_47_10504.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_44_57_9351.jpg
/home/pi/Desktop/images/23012025/00/44/image_23012025_00_45_07_10317.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_17_10344.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":["1330701235","1330701244","1330701238","1330701246","1330701240","1330701242"],"photo_ids_order":["1330701235","1330701238","1330701240","1330701242","1330701244","1330701246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2261b682e4a2ed5ae54020400269d0a.jpg","text":"TemporaryFile(/tmp/multipartBody627990170693904112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590433849,"filename":"image_23012025_00_44_26_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d2503cc4c58cd1ac944523fd30f1a12.jpg","text":"TemporaryFile(/tmp/multipartBody1743918073285008866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590433849,"filename":"image_23012025_00_45_07_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36f8a477290b0d622529fb120ea3adb2.jpg","text":"TemporaryFile(/tmp/multipartBody7296237202835226784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590433849,"filename":"image_23012025_00_44_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c14fbaeef3651620d601df8a72c747bd.jpg","text":"TemporaryFile(/tmp/multipartBody6474304140186824484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590433849,"filename":"image_23012025_00_45_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed5670ca63b02899929d8d5e3e9d9cfd.jpg","text":"TemporaryFile(/tmp/multipartBody7243318127245056330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590433849,"filename":"image_23012025_00_44_47_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d83736d59ade1dbe99987bea835adcc4.jpg","text":"TemporaryFile(/tmp/multipartBody7087039157962372931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590433849,"filename":"image_23012025_00_44_57_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330701240","file1":"1330701238","file0":"1330701235","file4":"1330701244","file5":"1330701246","file3":"1330701242"},"map_files_photo_id_array":[{"photo_id":"1330701246","filename":"file5"},{"photo_id":"1330701240","filename":"file2"},{"photo_id":"1330701244","filename":"file4"},{"photo_id":"1330701238","filename":"file1"},{"photo_id":"1330701235","filename":"file0"},{"photo_id":"1330701242","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330701235":["hashtag1","hashtag2"]},{"1330701244":["hashtag1","hashtag2"]},{"1330701238":["hashtag1","hashtag2"]},{"1330701246":["hashtag1","hashtag2"]},{"1330701240":["hashtag1","hashtag2"]},{"1330701242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330701235, 1330701244, 1330701238, 1330701246, 1330701240, 1330701242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6077082157135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:00:33.108210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_27_9337.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_37_10330.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_46_9454.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_57_10361.jpg', '/home/pi/Desktop/images/23012025/00/45/image_23012025_00_46_07_10337.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_16_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_27_9337.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_37_10330.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_46_9454.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_45_57_10361.jpg
/home/pi/Desktop/images/23012025/00/45/image_23012025_00_46_07_10337.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_16_9389.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":["1330701331","1330701319","1330701307","1330701341","1330701335","1330701338"],"photo_ids_order":["1330701307","1330701319","1330701331","1330701335","1330701338","1330701341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f32840d42d0d12d464fc27741d74d11.jpg","text":"TemporaryFile(/tmp/multipartBody1327306736163254715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590494014,"filename":"image_23012025_00_45_46_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80278833d288b2a591a2af1c61888f84.jpg","text":"TemporaryFile(/tmp/multipartBody8779103162158724881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590494014,"filename":"image_23012025_00_45_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1382fe48ab9e9b261ff9706f0c1783d.jpg","text":"TemporaryFile(/tmp/multipartBody7223163476106373799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590494014,"filename":"image_23012025_00_45_27_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/884e4b1f3e79e22e92462348131b3268.jpg","text":"TemporaryFile(/tmp/multipartBody2302560412076253196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590494014,"filename":"image_23012025_00_46_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec247818c2e41407eea15567ca59cbd4.jpg","text":"TemporaryFile(/tmp/multipartBody5321661111956969489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590494014,"filename":"image_23012025_00_45_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a1ee2afeab113a5110dfca4b781602b.jpg","text":"TemporaryFile(/tmp/multipartBody2484043229539121456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590494014,"filename":"image_23012025_00_46_07_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330701331","file1":"1330701319","file0":"1330701307","file4":"1330701338","file5":"1330701341","file3":"1330701335"},"map_files_photo_id_array":[{"photo_id":"1330701341","filename":"file5"},{"photo_id":"1330701331","filename":"file2"},{"photo_id":"1330701338","filename":"file4"},{"photo_id":"1330701319","filename":"file1"},{"photo_id":"1330701307","filename":"file0"},{"photo_id":"1330701335","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330701331":["hashtag1","hashtag2"]},{"1330701319":["hashtag1","hashtag2"]},{"1330701307":["hashtag1","hashtag2"]},{"1330701341":["hashtag1","hashtag2"]},{"1330701335":["hashtag1","hashtag2"]},{"1330701338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330701331, 1330701319, 1330701307, 1330701341, 1330701335, 1330701338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53428816795349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:01:32.384901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_27_10334.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_37_10411.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_47_9424.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_57_10355.jpg', '/home/pi/Desktop/images/23012025/00/46/image_23012025_00_47_06_9364.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_17_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_27_10334.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_37_10411.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_47_9424.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_46_57_10355.jpg
/home/pi/Desktop/images/23012025/00/46/image_23012025_00_47_06_9364.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_17_10357.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":["1330701502","1330701369","1330701377","1330701484","1330701401","1330701445"],"photo_ids_order":["1330701369","1330701377","1330701401","1330701445","1330701484","1330701502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7dfcbdedd18a73a12a6776b2f7b4dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4909122662873723857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590553293,"filename":"image_23012025_00_47_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25813abd06b296f06c4e893a874d45e3.jpg","text":"TemporaryFile(/tmp/multipartBody1032532984405004384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590553293,"filename":"image_23012025_00_46_27_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc11125adb49dbafd8a40e0e09a2cec7.jpg","text":"TemporaryFile(/tmp/multipartBody5433235788872744681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590553293,"filename":"image_23012025_00_46_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7aef91884957442512f33997232bb21.jpg","text":"TemporaryFile(/tmp/multipartBody9047722558634165850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590553293,"filename":"image_23012025_00_47_06_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af4a4b051999f687ea1bc272b8a72aa7.jpg","text":"TemporaryFile(/tmp/multipartBody7048454451526882639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590553293,"filename":"image_23012025_00_46_47_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4d79500a4650a4446cd3fe2f3dbbf81.jpg","text":"TemporaryFile(/tmp/multipartBody2686138060985572515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590553293,"filename":"image_23012025_00_46_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330701401","file1":"1330701377","file0":"1330701369","file4":"1330701484","file5":"1330701502","file3":"1330701445"},"map_files_photo_id_array":[{"photo_id":"1330701502","filename":"file5"},{"photo_id":"1330701401","filename":"file2"},{"photo_id":"1330701484","filename":"file4"},{"photo_id":"1330701377","filename":"file1"},{"photo_id":"1330701369","filename":"file0"},{"photo_id":"1330701445","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330701502":["hashtag1","hashtag2"]},{"1330701369":["hashtag1","hashtag2"]},{"1330701377":["hashtag1","hashtag2"]},{"1330701484":["hashtag1","hashtag2"]},{"1330701401":["hashtag1","hashtag2"]},{"1330701445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330701502, 1330701369, 1330701377, 1330701484, 1330701401, 1330701445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.36581301689148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:02:32.569109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_27_10346.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_36_9373.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_47_10346.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_57_10451.jpg', '/home/pi/Desktop/images/23012025/00/47/image_23012025_00_48_07_9331.jpg', '/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_56_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_27_10346.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_36_9373.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_47_10346.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_47_57_10451.jpg
/home/pi/Desktop/images/23012025/00/47/image_23012025_00_48_07_9331.jpg
/home/pi/Desktop/images/23012025/00/48/image_23012025_00_48_56_9351.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":["1330701547","1330701538","1330701543","1330701546","1330701545","1330701539"],"photo_ids_order":["1330701538","1330701539","1330701543","1330701545","1330701546","1330701547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5188fd65d765bf08ec8cabefa7d67635.jpg","text":"TemporaryFile(/tmp/multipartBody2380119617772865821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590613470,"filename":"image_23012025_00_48_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b33029aea0de51ba5245c74178ed048.jpg","text":"TemporaryFile(/tmp/multipartBody3067072406054143380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590613470,"filename":"image_23012025_00_47_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff5b378697ee38cfe7145e94c349d235.jpg","text":"TemporaryFile(/tmp/multipartBody7768022421535012182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590613470,"filename":"image_23012025_00_47_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f58e9bb165967ad855592ff11dcf7e5.jpg","text":"TemporaryFile(/tmp/multipartBody6864259509525520414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590613470,"filename":"image_23012025_00_48_07_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c833b51e9d0742a2a0eac67893b548fa.jpg","text":"TemporaryFile(/tmp/multipartBody8580280109758659901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590613470,"filename":"image_23012025_00_47_57_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/311b2f31b97f5b7acd910c3a81531a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3913676910807643879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590613470,"filename":"image_23012025_00_47_36_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330701543","file1":"1330701539","file0":"1330701538","file4":"1330701546","file5":"1330701547","file3":"1330701545"},"map_files_photo_id_array":[{"photo_id":"1330701547","filename":"file5"},{"photo_id":"1330701543","filename":"file2"},{"photo_id":"1330701546","filename":"file4"},{"photo_id":"1330701539","filename":"file1"},{"photo_id":"1330701538","filename":"file0"},{"photo_id":"1330701545","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330701547":["hashtag1","hashtag2"]},{"1330701538":["hashtag1","hashtag2"]},{"1330701543":["hashtag1","hashtag2"]},{"1330701546":["hashtag1","hashtag2"]},{"1330701545":["hashtag1","hashtag2"]},{"1330701539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330701547, 1330701538, 1330701543, 1330701546, 1330701545, 1330701539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28150272369385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:03:32.769788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_17_10404.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_26_9347.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_37_10350.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_47_10427.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_57_9357.jpg', '/home/pi/Desktop/images/23012025/00/49/image_23012025_00_50_07_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_17_10404.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_26_9347.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_37_10350.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_47_10427.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_49_57_9357.jpg
/home/pi/Desktop/images/23012025/00/49/image_23012025_00_50_07_10338.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":["1330701568","1330701597","1330701570","1330701560","1330701562","1330701565"],"photo_ids_order":["1330701560","1330701562","1330701565","1330701568","1330701570","1330701597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c5d475e030e3bbf489c27ad10901c64.jpg","text":"TemporaryFile(/tmp/multipartBody7383638330492255234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590673694,"filename":"image_23012025_00_49_47_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d529c694572d00820a96ea34c179eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody5231282463407995597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590673694,"filename":"image_23012025_00_50_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfc1d5657df66389b7fc3774561222da.jpg","text":"TemporaryFile(/tmp/multipartBody8612964803119378659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590673694,"filename":"image_23012025_00_49_57_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9cca3ac04870f12d64a94f5c173124a.jpg","text":"TemporaryFile(/tmp/multipartBody5454194047832630817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590673694,"filename":"image_23012025_00_49_17_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31339bb0a4e5f856db1951d1af746f70.jpg","text":"TemporaryFile(/tmp/multipartBody8850091610165841948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590673694,"filename":"image_23012025_00_49_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7c79baa60b23a600ade941c025e9ee5.jpg","text":"TemporaryFile(/tmp/multipartBody667411830476646530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590673694,"filename":"image_23012025_00_49_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330701565","file1":"1330701562","file0":"1330701560","file4":"1330701570","file5":"1330701597","file3":"1330701568"},"map_files_photo_id_array":[{"photo_id":"1330701597","filename":"file5"},{"photo_id":"1330701565","filename":"file2"},{"photo_id":"1330701570","filename":"file4"},{"photo_id":"1330701562","filename":"file1"},{"photo_id":"1330701560","filename":"file0"},{"photo_id":"1330701568","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330701568":["hashtag1","hashtag2"]},{"1330701597":["hashtag1","hashtag2"]},{"1330701570":["hashtag1","hashtag2"]},{"1330701560":["hashtag1","hashtag2"]},{"1330701562":["hashtag1","hashtag2"]},{"1330701565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330701568, 1330701597, 1330701570, 1330701560, 1330701562, 1330701565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.638272285461426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:04:33.055701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_17_10349.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_27_9359.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_37_10401.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_46_9403.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_57_10353.jpg', '/home/pi/Desktop/images/23012025/00/50/image_23012025_00_51_07_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_17_10349.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_27_9359.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_37_10401.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_46_9403.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_50_57_10353.jpg
/home/pi/Desktop/images/23012025/00/50/image_23012025_00_51_07_10416.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":["1330701648","1330701645","1330701653","1330701694","1330701676","1330701685"],"photo_ids_order":["1330701645","1330701648","1330701653","1330701676","1330701685","1330701694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a9e21c29a147efca8a7204bdb41c270.jpg","text":"TemporaryFile(/tmp/multipartBody199381415222432458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590733956,"filename":"image_23012025_00_50_27_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b760a8f35619876e888fcf40cab0493e.jpg","text":"TemporaryFile(/tmp/multipartBody271152946205550374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590733956,"filename":"image_23012025_00_50_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7fd791ec4b0bcf9d50cf515674964de.jpg","text":"TemporaryFile(/tmp/multipartBody605636922522559690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590733956,"filename":"image_23012025_00_50_37_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d16671313ad6964507b2bd8b00f5715f.jpg","text":"TemporaryFile(/tmp/multipartBody1223064869992385336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590733956,"filename":"image_23012025_00_51_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c498570868a7f19fb592411f4c7058ff.jpg","text":"TemporaryFile(/tmp/multipartBody1486201263853184029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590733956,"filename":"image_23012025_00_50_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a68f2924d97649bb788117f113f3f625.jpg","text":"TemporaryFile(/tmp/multipartBody6238532372625791044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590733956,"filename":"image_23012025_00_50_57_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330701653","file1":"1330701648","file0":"1330701645","file4":"1330701685","file5":"1330701694","file3":"1330701676"},"map_files_photo_id_array":[{"photo_id":"1330701694","filename":"file5"},{"photo_id":"1330701653","filename":"file2"},{"photo_id":"1330701685","filename":"file4"},{"photo_id":"1330701648","filename":"file1"},{"photo_id":"1330701645","filename":"file0"},{"photo_id":"1330701676","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330701648":["hashtag1","hashtag2"]},{"1330701645":["hashtag1","hashtag2"]},{"1330701653":["hashtag1","hashtag2"]},{"1330701694":["hashtag1","hashtag2"]},{"1330701676":["hashtag1","hashtag2"]},{"1330701685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330701648, 1330701645, 1330701653, 1330701694, 1330701676, 1330701685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.162803411483765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:05:32.179792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_17_9364.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_27_10384.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_37_10345.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_47_9352.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_57_10364.jpg', '/home/pi/Desktop/images/23012025/00/51/image_23012025_00_52_06_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_17_9364.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_27_10384.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_37_10345.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_47_9352.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_51_57_10364.jpg
/home/pi/Desktop/images/23012025/00/51/image_23012025_00_52_06_9343.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":["1330702580","1330702585","1330702310","1330702555","1330702558","1330702552"],"photo_ids_order":["1330702310","1330702552","1330702555","1330702558","1330702580","1330702585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0b9c5631b6a075ac16051153f3af770.jpg","text":"TemporaryFile(/tmp/multipartBody7052803824088822468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590793095,"filename":"image_23012025_00_51_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/746dcbff18fde9f664d9bfde521be2ae.jpg","text":"TemporaryFile(/tmp/multipartBody6103299823775957321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590793095,"filename":"image_23012025_00_52_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/819cc3d1ed93c3e6ed68258588a389d5.jpg","text":"TemporaryFile(/tmp/multipartBody2796639018821309379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590793095,"filename":"image_23012025_00_51_17_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebfbb585fcf8c4bd4192f530c20f68db.jpg","text":"TemporaryFile(/tmp/multipartBody5211684652398210530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590793095,"filename":"image_23012025_00_51_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d37f90bf751ff5a68adb7705d023a997.jpg","text":"TemporaryFile(/tmp/multipartBody56086617839685857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590793095,"filename":"image_23012025_00_51_47_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8a2bae55990494e9a5cdcbee3ae70be.jpg","text":"TemporaryFile(/tmp/multipartBody8767216846125535796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590793095,"filename":"image_23012025_00_51_27_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330702555","file1":"1330702552","file0":"1330702310","file4":"1330702580","file5":"1330702585","file3":"1330702558"},"map_files_photo_id_array":[{"photo_id":"1330702585","filename":"file5"},{"photo_id":"1330702555","filename":"file2"},{"photo_id":"1330702580","filename":"file4"},{"photo_id":"1330702552","filename":"file1"},{"photo_id":"1330702310","filename":"file0"},{"photo_id":"1330702558","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330702580":["hashtag1","hashtag2"]},{"1330702585":["hashtag1","hashtag2"]},{"1330702310":["hashtag1","hashtag2"]},{"1330702555":["hashtag1","hashtag2"]},{"1330702558":["hashtag1","hashtag2"]},{"1330702552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330702580, 1330702585, 1330702310, 1330702555, 1330702558, 1330702552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.579649209976196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:06:32.434922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_17_10356.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_27_10348.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_47_10719.jpg', '/home/pi/Desktop/images/23012025/00/52/image_23012025_00_53_07_10340.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_27_9352.jpg', '/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_37_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_17_10356.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_27_10348.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_52_47_10719.jpg
/home/pi/Desktop/images/23012025/00/52/image_23012025_00_53_07_10340.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_27_9352.jpg
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_53_37_10357.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":["1330702629","1330702623","1330702619","1330702616","1330702723","1330702627"],"photo_ids_order":["1330702616","1330702619","1330702623","1330702627","1330702629","1330702723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd1be85a0115366b4aaf32cd24b5225c.jpg","text":"TemporaryFile(/tmp/multipartBody6577186622635141487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590853340,"filename":"image_23012025_00_53_27_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a66a3fe3a244a1c1a82a6eb82d3a2380.jpg","text":"TemporaryFile(/tmp/multipartBody2819413007835135331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590853340,"filename":"image_23012025_00_52_47_10719.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a1601567980f4e37a737a66b7573e3a.jpg","text":"TemporaryFile(/tmp/multipartBody4868148191584213109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590853340,"filename":"image_23012025_00_52_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4bd3e8c72cb2a2a9486a7521e0a5425.jpg","text":"TemporaryFile(/tmp/multipartBody4852820930346361465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590853340,"filename":"image_23012025_00_52_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a22debfae38031f509db6f57439f99b.jpg","text":"TemporaryFile(/tmp/multipartBody912190186231625705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590853340,"filename":"image_23012025_00_53_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/822b88e10b61314d77c44a14f3dca26b.jpg","text":"TemporaryFile(/tmp/multipartBody8822427194507062845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590853340,"filename":"image_23012025_00_53_07_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330702623","file1":"1330702619","file0":"1330702616","file4":"1330702629","file5":"1330702723","file3":"1330702627"},"map_files_photo_id_array":[{"photo_id":"1330702723","filename":"file5"},{"photo_id":"1330702623","filename":"file2"},{"photo_id":"1330702629","filename":"file4"},{"photo_id":"1330702619","filename":"file1"},{"photo_id":"1330702616","filename":"file0"},{"photo_id":"1330702627","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330702629":["hashtag1","hashtag2"]},{"1330702623":["hashtag1","hashtag2"]},{"1330702619":["hashtag1","hashtag2"]},{"1330702616":["hashtag1","hashtag2"]},{"1330702723":["hashtag1","hashtag2"]},{"1330702627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330702629, 1330702623, 1330702619, 1330702616, 1330702723, 1330702627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94011425971985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:07:32.746262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/53/image_23012025_00_54_07_10466.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_17_9320.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_27_10337.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_37_9949.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_46_9473.jpg', '/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_57_10901.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/53/image_23012025_00_54_07_10466.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_17_9320.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_27_10337.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_37_9949.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_46_9473.jpg
/home/pi/Desktop/images/23012025/00/54/image_23012025_00_54_57_10901.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":["1330703844","1330703448","1330703696","1330704166","1330704045","1330703952"],"photo_ids_order":["1330703448","1330703696","1330703844","1330703952","1330704045","1330704166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/645a053a542000000a2de9fd42e3625f.jpg","text":"TemporaryFile(/tmp/multipartBody5815143527222490986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590913691,"filename":"image_23012025_00_54_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b6e77577c9b787901a429c606477a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1577854114920088370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590913691,"filename":"image_23012025_00_54_07_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10c80cf285bb1d4cc9a4a91e10d3d528.jpg","text":"TemporaryFile(/tmp/multipartBody2628633796982004906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590913691,"filename":"image_23012025_00_54_17_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edf63921a10e56cdd5fd23a40ad1b777.jpg","text":"TemporaryFile(/tmp/multipartBody2831138067257898866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590913691,"filename":"image_23012025_00_54_57_10901.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6addaf4a28695ec76ba5fb02f10502ec.jpg","text":"TemporaryFile(/tmp/multipartBody8298817559108852695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590913691,"filename":"image_23012025_00_54_46_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf2e64be37a0165651b4a0741328c4e9.jpg","text":"TemporaryFile(/tmp/multipartBody2268325099351260900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590913691,"filename":"image_23012025_00_54_37_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330703844","file1":"1330703696","file0":"1330703448","file4":"1330704045","file5":"1330704166","file3":"1330703952"},"map_files_photo_id_array":[{"photo_id":"1330704166","filename":"file5"},{"photo_id":"1330703844","filename":"file2"},{"photo_id":"1330704045","filename":"file4"},{"photo_id":"1330703696","filename":"file1"},{"photo_id":"1330703448","filename":"file0"},{"photo_id":"1330703952","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330703844":["hashtag1","hashtag2"]},{"1330703448":["hashtag1","hashtag2"]},{"1330703696":["hashtag1","hashtag2"]},{"1330704166":["hashtag1","hashtag2"]},{"1330704045":["hashtag1","hashtag2"]},{"1330703952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330703844, 1330703448, 1330703696, 1330704166, 1330704045, 1330703952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.51492500305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:08:32.960369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_07_9674.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_17_10377.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_27_9345.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_37_10424.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_46_9428.jpg', '/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_57_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_07_9674.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_17_10377.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_27_9345.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_37_10424.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_46_9428.jpg
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_55_57_10340.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":["1330704323","1330704332","1330704322","1330704324","1330704333","1330704321"],"photo_ids_order":["1330704321","1330704322","1330704323","1330704324","1330704332","1330704333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08fd30ff27ab08fb0d09a54676a8dc59.jpg","text":"TemporaryFile(/tmp/multipartBody1725293152033608905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590973866,"filename":"image_23012025_00_55_27_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a94f67d678c084a3fd293e5ebff7cc08.jpg","text":"TemporaryFile(/tmp/multipartBody5737542675830044378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590973866,"filename":"image_23012025_00_55_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/160b523b446f0c02e6b2d94f692fb30d.jpg","text":"TemporaryFile(/tmp/multipartBody2514911030863154886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590973866,"filename":"image_23012025_00_55_17_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce72b9efaead926794a37742ceaa0658.jpg","text":"TemporaryFile(/tmp/multipartBody4810174308329667815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590973866,"filename":"image_23012025_00_55_37_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6eca629bbd3bb60e5db4c81d418f3c43.jpg","text":"TemporaryFile(/tmp/multipartBody384120350210830246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590973866,"filename":"image_23012025_00_55_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb97ca6fe78d09602fd37316a6271653.jpg","text":"TemporaryFile(/tmp/multipartBody1726073877648355655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737590973866,"filename":"image_23012025_00_55_07_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330704323","file1":"1330704322","file0":"1330704321","file4":"1330704332","file5":"1330704333","file3":"1330704324"},"map_files_photo_id_array":[{"photo_id":"1330704333","filename":"file5"},{"photo_id":"1330704323","filename":"file2"},{"photo_id":"1330704332","filename":"file4"},{"photo_id":"1330704322","filename":"file1"},{"photo_id":"1330704321","filename":"file0"},{"photo_id":"1330704324","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330704323":["hashtag1","hashtag2"]},{"1330704332":["hashtag1","hashtag2"]},{"1330704322":["hashtag1","hashtag2"]},{"1330704324":["hashtag1","hashtag2"]},{"1330704333":["hashtag1","hashtag2"]},{"1330704321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330704323, 1330704332, 1330704322, 1330704324, 1330704333, 1330704321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20447874069214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:09:32.336505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/55/image_23012025_00_56_07_10421.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_17_9433.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_27_10347.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_36_9433.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_47_10357.jpg', '/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_57_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/55/image_23012025_00_56_07_10421.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_17_9433.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_27_10347.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_36_9433.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_47_10357.jpg
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_56_57_10439.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":["1330704766","1330704719","1330704733","1330704715","1330704666","1330704663"],"photo_ids_order":["1330704663","1330704666","1330704715","1330704719","1330704733","1330704766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4b09537cf712c6d593759dd72a5978d.jpg","text":"TemporaryFile(/tmp/multipartBody7941338852172769165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591033259,"filename":"image_23012025_00_56_57_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58c1a096409fb2ca19e511d8575fbcca.jpg","text":"TemporaryFile(/tmp/multipartBody5043423850365697142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591033259,"filename":"image_23012025_00_56_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c54d9abd65f0b2816564d9751eb7b625.jpg","text":"TemporaryFile(/tmp/multipartBody8649134244327644243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591033259,"filename":"image_23012025_00_56_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c661aae2d33fa305d80001fb38b34deb.jpg","text":"TemporaryFile(/tmp/multipartBody5212186988945721931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591033259,"filename":"image_23012025_00_56_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e15bb8a0aaf2eb90a5016fb6a440e246.jpg","text":"TemporaryFile(/tmp/multipartBody4023121812140144812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591033259,"filename":"image_23012025_00_56_17_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/091721a6a027719ee22de0ecd253d9de.jpg","text":"TemporaryFile(/tmp/multipartBody7231835584347836476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591033259,"filename":"image_23012025_00_56_07_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330704715","file1":"1330704666","file0":"1330704663","file4":"1330704733","file5":"1330704766","file3":"1330704719"},"map_files_photo_id_array":[{"photo_id":"1330704766","filename":"file5"},{"photo_id":"1330704715","filename":"file2"},{"photo_id":"1330704733","filename":"file4"},{"photo_id":"1330704666","filename":"file1"},{"photo_id":"1330704663","filename":"file0"},{"photo_id":"1330704719","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330704766":["hashtag1","hashtag2"]},{"1330704719":["hashtag1","hashtag2"]},{"1330704733":["hashtag1","hashtag2"]},{"1330704715":["hashtag1","hashtag2"]},{"1330704666":["hashtag1","hashtag2"]},{"1330704663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330704766, 1330704719, 1330704733, 1330704715, 1330704666, 1330704663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32760286331177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:10:32.540248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/56/image_23012025_00_57_07_9350.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_17_10361.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_27_10332.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_37_9343.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_47_10341.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_56_9461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_57_07_9350.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_17_10361.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_27_10332.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_37_9343.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_47_10341.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_56_9461.jpg
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: 0.5249674320220947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:10:42.560237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/56/image_23012025_00_57_07_9350.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_17_10361.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_27_10332.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_37_9343.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_47_10341.jpg', '/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_56_9461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/56/image_23012025_00_57_07_9350.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_17_10361.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_27_10332.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_37_9343.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_47_10341.jpg
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_57_56_9461.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":["1330704896","1330704914","1330704908","1330704892","1330704904","1330704900"],"photo_ids_order":["1330704892","1330704896","1330704900","1330704904","1330704908","1330704914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca91bcd71bf8a437ed9930f990188f27.jpg","text":"TemporaryFile(/tmp/multipartBody6428362341573657549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591103481,"filename":"image_23012025_00_57_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3719c0fb6711dcd5d0d2dc41dcea6fa.jpg","text":"TemporaryFile(/tmp/multipartBody6198950409097986358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591103481,"filename":"image_23012025_00_57_56_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f48572a7e483d7104ed66de6a78e6ee7.jpg","text":"TemporaryFile(/tmp/multipartBody74500685152586655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591103481,"filename":"image_23012025_00_57_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0a76ac802997d89a7810c5d7e89b50a.jpg","text":"TemporaryFile(/tmp/multipartBody5099049747127268770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591103481,"filename":"image_23012025_00_57_07_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb9635369b89ae6e36982d27f205f4b5.jpg","text":"TemporaryFile(/tmp/multipartBody2725576024189835982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591103481,"filename":"image_23012025_00_57_37_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7cc13dc53ace63e32a71e06fc79533e.jpg","text":"TemporaryFile(/tmp/multipartBody176728310847786192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591103481,"filename":"image_23012025_00_57_27_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330704900","file1":"1330704896","file0":"1330704892","file4":"1330704908","file5":"1330704914","file3":"1330704904"},"map_files_photo_id_array":[{"photo_id":"1330704914","filename":"file5"},{"photo_id":"1330704900","filename":"file2"},{"photo_id":"1330704908","filename":"file4"},{"photo_id":"1330704896","filename":"file1"},{"photo_id":"1330704892","filename":"file0"},{"photo_id":"1330704904","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330704896":["hashtag1","hashtag2"]},{"1330704914":["hashtag1","hashtag2"]},{"1330704908":["hashtag1","hashtag2"]},{"1330704892":["hashtag1","hashtag2"]},{"1330704904":["hashtag1","hashtag2"]},{"1330704900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330704896, 1330704914, 1330704908, 1330704892, 1330704904, 1330704900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98953413963318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:11:32.845818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/57/image_23012025_00_58_07_10358.jpg', '/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_17_10396.jpg', '/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_37_10342.jpg', '/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_57_9343.jpg', '/home/pi/Desktop/images/23012025/00/58/image_23012025_00_59_07_10319.jpg', '/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_16_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/57/image_23012025_00_58_07_10358.jpg
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_17_10396.jpg
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_37_10342.jpg
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_58_57_9343.jpg
/home/pi/Desktop/images/23012025/00/58/image_23012025_00_59_07_10319.jpg
/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_16_9410.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":["1330704932","1330704926","1330704934","1330704928","1330704930","1330704933"],"photo_ids_order":["1330704926","1330704928","1330704930","1330704932","1330704933","1330704934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a015fb01fb4eead9a3c3133a27f0dca9.jpg","text":"TemporaryFile(/tmp/multipartBody5587347672787158296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591153755,"filename":"image_23012025_00_58_57_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bb45371a8694c66da71ac2345074943.jpg","text":"TemporaryFile(/tmp/multipartBody5815122680065438801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591153755,"filename":"image_23012025_00_58_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07e7d109886308c352b8dd8f6901a0d3.jpg","text":"TemporaryFile(/tmp/multipartBody8355832449212191636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591153755,"filename":"image_23012025_00_59_16_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46634f4a8d05a7773b0497e40cb406fe.jpg","text":"TemporaryFile(/tmp/multipartBody1742246294151991517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591153755,"filename":"image_23012025_00_58_17_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f6d73e120d0f42ece37f6af41ea05bf.jpg","text":"TemporaryFile(/tmp/multipartBody836109599861863935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591153755,"filename":"image_23012025_00_58_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08bcd1c61b2a193f3adec84bea527cc4.jpg","text":"TemporaryFile(/tmp/multipartBody5086835949475929866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591153755,"filename":"image_23012025_00_59_07_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330704930","file1":"1330704928","file0":"1330704926","file4":"1330704933","file5":"1330704934","file3":"1330704932"},"map_files_photo_id_array":[{"photo_id":"1330704934","filename":"file5"},{"photo_id":"1330704930","filename":"file2"},{"photo_id":"1330704933","filename":"file4"},{"photo_id":"1330704928","filename":"file1"},{"photo_id":"1330704926","filename":"file0"},{"photo_id":"1330704932","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330704932":["hashtag1","hashtag2"]},{"1330704926":["hashtag1","hashtag2"]},{"1330704934":["hashtag1","hashtag2"]},{"1330704928":["hashtag1","hashtag2"]},{"1330704930":["hashtag1","hashtag2"]},{"1330704933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330704932, 1330704926, 1330704934, 1330704928, 1330704930, 1330704933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.20336675643921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:12:33.075538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_27_10360.jpg', '/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_37_10360.jpg', '/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_46_9414.jpg', '/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_57_10414.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_15_10075.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_25_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_27_10360.jpg
/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_37_10360.jpg
/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_46_9414.jpg
/home/pi/Desktop/images/23012025/00/59/image_23012025_00_59_57_10414.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_15_10075.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_25_10447.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":["1330705048","1330705111","1330705143","1330705071","1330705065","1330705146"],"photo_ids_order":["1330705048","1330705065","1330705071","1330705111","1330705143","1330705146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce05fe3bc9a8ebac12397d580dff4648.jpg","text":"TemporaryFile(/tmp/multipartBody8949422618237295834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591213999,"filename":"image_23012025_00_59_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd16e06b1c2cd34c51d45904d12bf376.jpg","text":"TemporaryFile(/tmp/multipartBody7505010412811484151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591213999,"filename":"image_23012025_00_59_57_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f170dd8358bacf7b0a9e880c805ecccb.jpg","text":"TemporaryFile(/tmp/multipartBody7422243897658914285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591213999,"filename":"image_23012025_01_01_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdecd5a2858bc1bd21bb4f23a2743975.jpg","text":"TemporaryFile(/tmp/multipartBody4686859373020755648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591213999,"filename":"image_23012025_00_59_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b28c97ad1aaef926177dc017ad9b6559.jpg","text":"TemporaryFile(/tmp/multipartBody7498028168442478665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591213999,"filename":"image_23012025_00_59_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/851c9bcc80356f1ee5a146d214d8fb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4121893849748149967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591213999,"filename":"image_23012025_01_01_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330705071","file1":"1330705065","file0":"1330705048","file4":"1330705143","file5":"1330705146","file3":"1330705111"},"map_files_photo_id_array":[{"photo_id":"1330705146","filename":"file5"},{"photo_id":"1330705071","filename":"file2"},{"photo_id":"1330705143","filename":"file4"},{"photo_id":"1330705065","filename":"file1"},{"photo_id":"1330705048","filename":"file0"},{"photo_id":"1330705111","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330705048":["hashtag1","hashtag2"]},{"1330705111":["hashtag1","hashtag2"]},{"1330705143":["hashtag1","hashtag2"]},{"1330705071":["hashtag1","hashtag2"]},{"1330705065":["hashtag1","hashtag2"]},{"1330705146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330705048, 1330705111, 1330705143, 1330705071, 1330705065, 1330705146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40961050987244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:13:32.518752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_36_10333.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_45_9464.jpg', '/home/pi/Desktop/images/23012025/01/01/image_23012025_01_02_05_9356.jpg', '/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_15_10331.jpg', '/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_26_10348.jpg', '/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_35_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_36_10333.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_01_45_9464.jpg
/home/pi/Desktop/images/23012025/01/01/image_23012025_01_02_05_9356.jpg
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_15_10331.jpg
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_26_10348.jpg
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_35_9341.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":["1330705235","1330705244","1330705242","1330705239","1330705230","1330705227"],"photo_ids_order":["1330705227","1330705230","1330705235","1330705239","1330705242","1330705244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebd5e6120ea7b21a493ad699cb7e056f.jpg","text":"TemporaryFile(/tmp/multipartBody8910473859678741798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591273453,"filename":"image_23012025_01_02_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71620471801575105f771a84aa827907.jpg","text":"TemporaryFile(/tmp/multipartBody3815300597175699699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591273453,"filename":"image_23012025_01_02_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6599401ae05b14a2c3b4a941c0f9a48b.jpg","text":"TemporaryFile(/tmp/multipartBody3353994185699186919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591273453,"filename":"image_23012025_01_02_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38c0787de6206604184afe05f271a1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4817804412207408889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591273453,"filename":"image_23012025_01_02_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/deb753e930ff65c256799a5e26e57362.jpg","text":"TemporaryFile(/tmp/multipartBody1092274055335138948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591273453,"filename":"image_23012025_01_01_45_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f7db515fef596f3509ac0f993a11db5.jpg","text":"TemporaryFile(/tmp/multipartBody5634832711846658404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591273453,"filename":"image_23012025_01_01_36_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330705235","file1":"1330705230","file0":"1330705227","file4":"1330705242","file5":"1330705244","file3":"1330705239"},"map_files_photo_id_array":[{"photo_id":"1330705244","filename":"file5"},{"photo_id":"1330705235","filename":"file2"},{"photo_id":"1330705242","filename":"file4"},{"photo_id":"1330705230","filename":"file1"},{"photo_id":"1330705227","filename":"file0"},{"photo_id":"1330705239","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330705235":["hashtag1","hashtag2"]},{"1330705244":["hashtag1","hashtag2"]},{"1330705242":["hashtag1","hashtag2"]},{"1330705239":["hashtag1","hashtag2"]},{"1330705230":["hashtag1","hashtag2"]},{"1330705227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330705235, 1330705244, 1330705242, 1330705239, 1330705230, 1330705227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83499026298523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:14:32.853820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_45_10450.jpg', '/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_56_10345.jpg', '/home/pi/Desktop/images/23012025/01/02/image_23012025_01_03_05_9465.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_16_10349.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_25_9456.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_35_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_45_10450.jpg
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_02_56_10345.jpg
/home/pi/Desktop/images/23012025/01/02/image_23012025_01_03_05_9465.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_16_10349.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_25_9456.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_35_10409.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":["1330705334","1330705301","1330705285","1330705296","1330705323","1330705314"],"photo_ids_order":["1330705285","1330705296","1330705301","1330705314","1330705323","1330705334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eca915e3c36b7bf1ffaf484cc54b62a.jpg","text":"TemporaryFile(/tmp/multipartBody5385007824151453147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591333760,"filename":"image_23012025_01_03_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d028535c65895cff822961d77d06021b.jpg","text":"TemporaryFile(/tmp/multipartBody2157619864409729963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591333760,"filename":"image_23012025_01_03_05_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46f078ba428b07a1d54a428537461914.jpg","text":"TemporaryFile(/tmp/multipartBody1019310696265950068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591333760,"filename":"image_23012025_01_02_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a959f6e85736fb48ceb5cf0972816be.jpg","text":"TemporaryFile(/tmp/multipartBody2328668632978102959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591333760,"filename":"image_23012025_01_02_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a33c4f0b86cfa69477abf4a3f36b55a.jpg","text":"TemporaryFile(/tmp/multipartBody3823469665914613927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591333760,"filename":"image_23012025_01_03_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e099de93fe968e629d7efe0924b665c8.jpg","text":"TemporaryFile(/tmp/multipartBody3000549402991588864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591333760,"filename":"image_23012025_01_03_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330705301","file1":"1330705296","file0":"1330705285","file4":"1330705323","file5":"1330705334","file3":"1330705314"},"map_files_photo_id_array":[{"photo_id":"1330705334","filename":"file5"},{"photo_id":"1330705301","filename":"file2"},{"photo_id":"1330705323","filename":"file4"},{"photo_id":"1330705296","filename":"file1"},{"photo_id":"1330705285","filename":"file0"},{"photo_id":"1330705314","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330705334":["hashtag1","hashtag2"]},{"1330705301":["hashtag1","hashtag2"]},{"1330705285":["hashtag1","hashtag2"]},{"1330705296":["hashtag1","hashtag2"]},{"1330705323":["hashtag1","hashtag2"]},{"1330705314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330705334, 1330705301, 1330705285, 1330705296, 1330705323, 1330705314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34736466407776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:15:33.097033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_46_10371.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_55_9519.jpg', '/home/pi/Desktop/images/23012025/01/03/image_23012025_01_04_06_10353.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_15_9338.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_25_10423.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_36_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_46_10371.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_03_55_9519.jpg
/home/pi/Desktop/images/23012025/01/03/image_23012025_01_04_06_10353.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_15_9338.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_25_10423.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_36_10349.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":["1330705477","1330705398","1330705464","1330705389","1330705394","1330705439"],"photo_ids_order":["1330705389","1330705394","1330705398","1330705439","1330705464","1330705477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac144572975ad434e16f82b3e5783b2c.jpg","text":"TemporaryFile(/tmp/multipartBody6393369156398700931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591394012,"filename":"image_23012025_01_04_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99756831303e3406c9bd2a5c129de99c.jpg","text":"TemporaryFile(/tmp/multipartBody7429746959757450050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591394012,"filename":"image_23012025_01_04_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/695f4de244474bad8a66f7c2ee01f1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7111208290540654542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591394012,"filename":"image_23012025_01_04_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e320e3db0ed8fdc9dd0da8a577ee6ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2150801986931076310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591394012,"filename":"image_23012025_01_03_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c34b6c53d2a2d22d7fafb89b5807408.jpg","text":"TemporaryFile(/tmp/multipartBody1462094059852573943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591394012,"filename":"image_23012025_01_03_55_9519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb2c2f3c5aa08865f3101d613a8a6d11.jpg","text":"TemporaryFile(/tmp/multipartBody1680274774429878549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591394012,"filename":"image_23012025_01_04_15_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330705398","file1":"1330705394","file0":"1330705389","file4":"1330705464","file5":"1330705477","file3":"1330705439"},"map_files_photo_id_array":[{"photo_id":"1330705477","filename":"file5"},{"photo_id":"1330705398","filename":"file2"},{"photo_id":"1330705464","filename":"file4"},{"photo_id":"1330705394","filename":"file1"},{"photo_id":"1330705389","filename":"file0"},{"photo_id":"1330705439","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330705477":["hashtag1","hashtag2"]},{"1330705398":["hashtag1","hashtag2"]},{"1330705464":["hashtag1","hashtag2"]},{"1330705389":["hashtag1","hashtag2"]},{"1330705394":["hashtag1","hashtag2"]},{"1330705439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330705477, 1330705398, 1330705464, 1330705389, 1330705394, 1330705439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38894557952881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:16:32.325051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_45_9442.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_56_10477.jpg', '/home/pi/Desktop/images/23012025/01/04/image_23012025_01_05_05_9437.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_16_10365.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_26_10339.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_35_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_45_9442.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_04_56_10477.jpg
/home/pi/Desktop/images/23012025/01/04/image_23012025_01_05_05_9437.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_16_10365.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_26_10339.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_35_9426.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":["1330705591","1330705681","1330705563","1330705551","1330705626","1330705617"],"photo_ids_order":["1330705551","1330705563","1330705591","1330705617","1330705626","1330705681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a691cbef2c03339f7ee2116646cf8cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6437350256903110120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591453232,"filename":"image_23012025_01_05_05_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50bae750059d3e3206b3539486177a32.jpg","text":"TemporaryFile(/tmp/multipartBody324355527788255834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591453232,"filename":"image_23012025_01_05_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c50ede749a80955656eb8d8154855fef.jpg","text":"TemporaryFile(/tmp/multipartBody387554899142356641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591453232,"filename":"image_23012025_01_04_56_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53ce7f0bdc5ccad0df7425b1ea95e1e9.jpg","text":"TemporaryFile(/tmp/multipartBody5327665257372074159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591453232,"filename":"image_23012025_01_04_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07beaf4c32bc03bfc0ed89e877c0170b.jpg","text":"TemporaryFile(/tmp/multipartBody5170716288045491313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591453232,"filename":"image_23012025_01_05_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10768ff5f5975f00159ebf42fe4d581c.jpg","text":"TemporaryFile(/tmp/multipartBody3721461228675186950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591453232,"filename":"image_23012025_01_05_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330705591","file1":"1330705563","file0":"1330705551","file4":"1330705626","file5":"1330705681","file3":"1330705617"},"map_files_photo_id_array":[{"photo_id":"1330705681","filename":"file5"},{"photo_id":"1330705591","filename":"file2"},{"photo_id":"1330705626","filename":"file4"},{"photo_id":"1330705563","filename":"file1"},{"photo_id":"1330705551","filename":"file0"},{"photo_id":"1330705617","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330705591":["hashtag1","hashtag2"]},{"1330705681":["hashtag1","hashtag2"]},{"1330705563":["hashtag1","hashtag2"]},{"1330705551":["hashtag1","hashtag2"]},{"1330705626":["hashtag1","hashtag2"]},{"1330705617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330705591, 1330705681, 1330705563, 1330705551, 1330705626, 1330705617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.94041562080383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:17:32.367794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_46_10358.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_55_9373.jpg', '/home/pi/Desktop/images/23012025/01/05/image_23012025_01_06_05_10352.jpg', '/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_16_10337.jpg', '/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_25_9337.jpg', '/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_35_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_46_10358.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_05_55_9373.jpg
/home/pi/Desktop/images/23012025/01/05/image_23012025_01_06_05_10352.jpg
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_16_10337.jpg
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_25_9337.jpg
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_35_10365.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":["1330705813","1330705810","1330705807","1330705812","1330705716","1330705775"],"photo_ids_order":["1330705716","1330705775","1330705807","1330705810","1330705812","1330705813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f1e28fdf9608c8b915c3465272398be.jpg","text":"TemporaryFile(/tmp/multipartBody8972333866584504127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591513267,"filename":"image_23012025_01_06_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9094effef92717bd431b3e6265cabca1.jpg","text":"TemporaryFile(/tmp/multipartBody5468888033903574527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591513267,"filename":"image_23012025_01_06_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ddde3cc44bf91b9ba8c1e5f10c41326.jpg","text":"TemporaryFile(/tmp/multipartBody2219261694058888184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591513267,"filename":"image_23012025_01_06_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97ba3e7ce4330321a6085b0ce34eacdf.jpg","text":"TemporaryFile(/tmp/multipartBody526159425603963291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591513267,"filename":"image_23012025_01_06_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/374e86c2cda80f5c84e44506d9d22534.jpg","text":"TemporaryFile(/tmp/multipartBody8087173349352360417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591513267,"filename":"image_23012025_01_05_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/941e5a2e4b00157682895e901d6570bd.jpg","text":"TemporaryFile(/tmp/multipartBody2751305662926723953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591513267,"filename":"image_23012025_01_05_55_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330705807","file1":"1330705775","file0":"1330705716","file4":"1330705812","file5":"1330705813","file3":"1330705810"},"map_files_photo_id_array":[{"photo_id":"1330705813","filename":"file5"},{"photo_id":"1330705807","filename":"file2"},{"photo_id":"1330705812","filename":"file4"},{"photo_id":"1330705775","filename":"file1"},{"photo_id":"1330705716","filename":"file0"},{"photo_id":"1330705810","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330705813":["hashtag1","hashtag2"]},{"1330705810":["hashtag1","hashtag2"]},{"1330705807":["hashtag1","hashtag2"]},{"1330705812":["hashtag1","hashtag2"]},{"1330705716":["hashtag1","hashtag2"]},{"1330705775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330705813, 1330705810, 1330705807, 1330705812, 1330705716, 1330705775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47796320915222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:18:32.585842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_46_10359.jpg', '/home/pi/Desktop/images/23012025/01/06/image_23012025_01_07_06_10363.jpg', '/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_16_10363.jpg', '/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_25_9458.jpg', '/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_36_10333.jpg', '/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_55_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_06_46_10359.jpg
/home/pi/Desktop/images/23012025/01/06/image_23012025_01_07_06_10363.jpg
/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_16_10363.jpg
/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_25_9458.jpg
/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_36_10333.jpg
/home/pi/Desktop/images/23012025/01/07/image_23012025_01_07_55_10370.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":["1330705909","1330705906","1330705896","1330705917","1330705914","1330705940"],"photo_ids_order":["1330705896","1330705906","1330705909","1330705914","1330705917","1330705940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4e018bb719fbd976ebcff49f69e1ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3074445697437995928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591573501,"filename":"image_23012025_01_07_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/509f4609cb5d710fa0361c28e6d9381c.jpg","text":"TemporaryFile(/tmp/multipartBody3742066202306096010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591573501,"filename":"image_23012025_01_07_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bddf2550396cfdf66a43aa8ea7a08e8b.jpg","text":"TemporaryFile(/tmp/multipartBody880121603324109813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591573501,"filename":"image_23012025_01_06_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13d3e0a07109c824c5672a74a848b9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8416612914095380583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591573501,"filename":"image_23012025_01_07_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09c0efccb7f1976df3f49f5808963f19.jpg","text":"TemporaryFile(/tmp/multipartBody5724704810523058078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591573501,"filename":"image_23012025_01_07_25_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/547f0a5ffd808fae0fbc62b909e73a50.jpg","text":"TemporaryFile(/tmp/multipartBody7176969589144417064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591573501,"filename":"image_23012025_01_07_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330705909","file1":"1330705906","file0":"1330705896","file4":"1330705917","file5":"1330705940","file3":"1330705914"},"map_files_photo_id_array":[{"photo_id":"1330705940","filename":"file5"},{"photo_id":"1330705909","filename":"file2"},{"photo_id":"1330705917","filename":"file4"},{"photo_id":"1330705906","filename":"file1"},{"photo_id":"1330705896","filename":"file0"},{"photo_id":"1330705914","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330705909":["hashtag1","hashtag2"]},{"1330705906":["hashtag1","hashtag2"]},{"1330705896":["hashtag1","hashtag2"]},{"1330705917":["hashtag1","hashtag2"]},{"1330705914":["hashtag1","hashtag2"]},{"1330705940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330705909, 1330705906, 1330705896, 1330705917, 1330705914, 1330705940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67588782310486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:19:33.323234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/07/image_23012025_01_08_06_10361.jpg', '/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_15_9470.jpg', '/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_26_10341.jpg', '/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_45_10341.jpg', '/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_56_10345.jpg', '/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_25_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/07/image_23012025_01_08_06_10361.jpg
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_15_9470.jpg
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_26_10341.jpg
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_45_10341.jpg
/home/pi/Desktop/images/23012025/01/08/image_23012025_01_08_56_10345.jpg
/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_25_9350.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":["1330706012","1330706008","1330706034","1330706036","1330706015","1330706018"],"photo_ids_order":["1330706008","1330706012","1330706015","1330706018","1330706034","1330706036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3e645d0294dc5c6155c3427b686fe3b.jpg","text":"TemporaryFile(/tmp/multipartBody7895108074884437530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591634252,"filename":"image_23012025_01_08_15_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c83d3eda7c86598286ed2251c0c08599.jpg","text":"TemporaryFile(/tmp/multipartBody8975907164130788048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591634252,"filename":"image_23012025_01_08_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd8d4f1819f6b863076fb4a874b70c71.jpg","text":"TemporaryFile(/tmp/multipartBody9146396898801158394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591634252,"filename":"image_23012025_01_08_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d7e3a4903685b194e190ed253071c6d.jpg","text":"TemporaryFile(/tmp/multipartBody973053879863212584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591634252,"filename":"image_23012025_01_09_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07e2d6a2429efce32e579994b95adac9.jpg","text":"TemporaryFile(/tmp/multipartBody6327676824268381326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591634252,"filename":"image_23012025_01_08_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ddd364c4074904de02593c82b965acb.jpg","text":"TemporaryFile(/tmp/multipartBody1949771828874625264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591634252,"filename":"image_23012025_01_08_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330706015","file1":"1330706012","file0":"1330706008","file4":"1330706034","file5":"1330706036","file3":"1330706018"},"map_files_photo_id_array":[{"photo_id":"1330706036","filename":"file5"},{"photo_id":"1330706015","filename":"file2"},{"photo_id":"1330706034","filename":"file4"},{"photo_id":"1330706012","filename":"file1"},{"photo_id":"1330706008","filename":"file0"},{"photo_id":"1330706018","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330706012":["hashtag1","hashtag2"]},{"1330706008":["hashtag1","hashtag2"]},{"1330706034":["hashtag1","hashtag2"]},{"1330706036":["hashtag1","hashtag2"]},{"1330706015":["hashtag1","hashtag2"]},{"1330706018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330706012, 1330706008, 1330706034, 1330706036, 1330706015, 1330706018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.21389675140381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:20:32.540398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_46_10423.jpg', '/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_55_9392.jpg', '/home/pi/Desktop/images/23012025/01/09/image_23012025_01_10_06_10457.jpg', '/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_15_9353.jpg', '/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_55_10365.jpg', '/home/pi/Desktop/images/23012025/01/10/image_23012025_01_11_06_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_46_10423.jpg
/home/pi/Desktop/images/23012025/01/09/image_23012025_01_09_55_9392.jpg
/home/pi/Desktop/images/23012025/01/09/image_23012025_01_10_06_10457.jpg
/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_15_9353.jpg
/home/pi/Desktop/images/23012025/01/10/image_23012025_01_10_55_10365.jpg
/home/pi/Desktop/images/23012025/01/10/image_23012025_01_11_06_10432.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":["1330706105","1330706082","1330706115","1330706126","1330706123","1330706092"],"photo_ids_order":["1330706082","1330706092","1330706105","1330706115","1330706123","1330706126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b9337fc576e2a8393fcff7e24c2acd9.jpg","text":"TemporaryFile(/tmp/multipartBody6403547332643538083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591693450,"filename":"image_23012025_01_10_06_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c972737c26524424bc758214c32fa63d.jpg","text":"TemporaryFile(/tmp/multipartBody3191098215912716643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591693450,"filename":"image_23012025_01_09_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7a836663d3edac5bbe01310522c5d62.jpg","text":"TemporaryFile(/tmp/multipartBody8049206001104696386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591693450,"filename":"image_23012025_01_10_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95d313b1b9a3329a3fd4d0b5eaeb174a.jpg","text":"TemporaryFile(/tmp/multipartBody368895098112397025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591693450,"filename":"image_23012025_01_11_06_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af35f40dfd96e3a51d1ac5105e01ecea.jpg","text":"TemporaryFile(/tmp/multipartBody630319010832646233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591693450,"filename":"image_23012025_01_10_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d14721f76786d2491b78cf47327584ef.jpg","text":"TemporaryFile(/tmp/multipartBody4889409779201810037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591693450,"filename":"image_23012025_01_09_55_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330706105","file1":"1330706092","file0":"1330706082","file4":"1330706123","file5":"1330706126","file3":"1330706115"},"map_files_photo_id_array":[{"photo_id":"1330706126","filename":"file5"},{"photo_id":"1330706105","filename":"file2"},{"photo_id":"1330706123","filename":"file4"},{"photo_id":"1330706092","filename":"file1"},{"photo_id":"1330706082","filename":"file0"},{"photo_id":"1330706115","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330706105":["hashtag1","hashtag2"]},{"1330706082":["hashtag1","hashtag2"]},{"1330706115":["hashtag1","hashtag2"]},{"1330706126":["hashtag1","hashtag2"]},{"1330706123":["hashtag1","hashtag2"]},{"1330706092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330706105, 1330706082, 1330706115, 1330706126, 1330706123, 1330706092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9112708568573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:21:32.760584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_15_9483.jpg', '/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_26_10366.jpg', '/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_35_9364.jpg', '/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_45_10350.jpg', '/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_56_10354.jpg', '/home/pi/Desktop/images/23012025/01/11/image_23012025_01_12_05_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_15_9483.jpg
/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_26_10366.jpg
/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_35_9364.jpg
/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_45_10350.jpg
/home/pi/Desktop/images/23012025/01/11/image_23012025_01_11_56_10354.jpg
/home/pi/Desktop/images/23012025/01/11/image_23012025_01_12_05_9417.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":["1330706149","1330706151","1330706154","1330706145","1330706156","1330706141"],"photo_ids_order":["1330706141","1330706145","1330706149","1330706151","1330706154","1330706156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8749fd8776d20c100cb899617f6d656e.jpg","text":"TemporaryFile(/tmp/multipartBody6878820898731765954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591753684,"filename":"image_23012025_01_11_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e23a38d156eaacc597c1e67e9f7a9ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4125930189471273459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591753684,"filename":"image_23012025_01_11_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ffb46ca9e5ffd6bd6d99a7370885a7c.jpg","text":"TemporaryFile(/tmp/multipartBody6516161446784536765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591753684,"filename":"image_23012025_01_11_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b992ef33ee302ca4982a0e83ec5afdb0.jpg","text":"TemporaryFile(/tmp/multipartBody895644674604176426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591753684,"filename":"image_23012025_01_11_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf2e4a7426ebad8b0ae24180b2a4ca44.jpg","text":"TemporaryFile(/tmp/multipartBody4356218558676751929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591753684,"filename":"image_23012025_01_12_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca56d25740099ec0797290e585ecd7dc.jpg","text":"TemporaryFile(/tmp/multipartBody8289127679889921718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591753684,"filename":"image_23012025_01_11_15_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330706149","file1":"1330706145","file0":"1330706141","file4":"1330706154","file5":"1330706156","file3":"1330706151"},"map_files_photo_id_array":[{"photo_id":"1330706156","filename":"file5"},{"photo_id":"1330706149","filename":"file2"},{"photo_id":"1330706154","filename":"file4"},{"photo_id":"1330706145","filename":"file1"},{"photo_id":"1330706141","filename":"file0"},{"photo_id":"1330706151","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330706149":["hashtag1","hashtag2"]},{"1330706151":["hashtag1","hashtag2"]},{"1330706154":["hashtag1","hashtag2"]},{"1330706145":["hashtag1","hashtag2"]},{"1330706156":["hashtag1","hashtag2"]},{"1330706141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330706149, 1330706151, 1330706154, 1330706145, 1330706156, 1330706141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64104962348938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:22:33.009451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_16_10356.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_25_9366.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_35_10353.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_46_10364.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_55_9347.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_13_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_16_10356.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_25_9366.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_35_10353.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_46_10364.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_55_9347.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_13_05_10349.jpg
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: 0.5213382244110107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:22:43.022295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_16_10356.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_25_9366.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_35_10353.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_46_10364.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_55_9347.jpg', '/home/pi/Desktop/images/23012025/01/12/image_23012025_01_13_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_16_10356.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_25_9366.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_35_10353.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_46_10364.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_12_55_9347.jpg
/home/pi/Desktop/images/23012025/01/12/image_23012025_01_13_05_10349.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":["1330706508","1330706576","1330706318","1330706645","1330706207","1330706612"],"photo_ids_order":["1330706207","1330706318","1330706508","1330706576","1330706612","1330706645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33dda7dd5ee9f3def63f9d24898ecb58.jpg","text":"TemporaryFile(/tmp/multipartBody5206978723016863382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591823932,"filename":"image_23012025_01_12_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/523abf5316da5093e3509edb36d6df80.jpg","text":"TemporaryFile(/tmp/multipartBody4621129282776134581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591823932,"filename":"image_23012025_01_12_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4d9660e438682bc7089df578ce0bed8.jpg","text":"TemporaryFile(/tmp/multipartBody4552586373437099513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591823932,"filename":"image_23012025_01_12_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/934a63f6b39e4cc915458d5248d87046.jpg","text":"TemporaryFile(/tmp/multipartBody7752479779922097008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591823932,"filename":"image_23012025_01_13_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab3bf70adeb3902d0cdd192a17cf3dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5860066038449882229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591823932,"filename":"image_23012025_01_12_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/983fc1a2379ecf68f74b3866c7387f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5184699881173162360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591823932,"filename":"image_23012025_01_12_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330706508","file1":"1330706318","file0":"1330706207","file4":"1330706612","file5":"1330706645","file3":"1330706576"},"map_files_photo_id_array":[{"photo_id":"1330706645","filename":"file5"},{"photo_id":"1330706508","filename":"file2"},{"photo_id":"1330706612","filename":"file4"},{"photo_id":"1330706318","filename":"file1"},{"photo_id":"1330706207","filename":"file0"},{"photo_id":"1330706576","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330706508":["hashtag1","hashtag2"]},{"1330706576":["hashtag1","hashtag2"]},{"1330706318":["hashtag1","hashtag2"]},{"1330706645":["hashtag1","hashtag2"]},{"1330706207":["hashtag1","hashtag2"]},{"1330706612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330706508, 1330706576, 1330706318, 1330706645, 1330706207, 1330706612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05877208709717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:23:33.173972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_16_10439.jpg', '/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_25_9472.jpg', '/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_36_10328.jpg', '/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_46_10347.jpg', '/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_55_9413.jpg', '/home/pi/Desktop/images/23012025/01/13/image_23012025_01_14_06_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_16_10439.jpg
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_25_9472.jpg
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_36_10328.jpg
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_46_10347.jpg
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_13_55_9413.jpg
/home/pi/Desktop/images/23012025/01/13/image_23012025_01_14_06_10359.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":["1330707654","1330707546","1330707092","1330707182","1330707428","1330707280"],"photo_ids_order":["1330707092","1330707182","1330707280","1330707428","1330707546","1330707654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4e4fa7f82e2e69fc7b3be83dc550167.jpg","text":"TemporaryFile(/tmp/multipartBody3442229004657549598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591874108,"filename":"image_23012025_01_14_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06626519ddd27358fe327d723883edc5.jpg","text":"TemporaryFile(/tmp/multipartBody6456450569840966396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591874108,"filename":"image_23012025_01_13_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cefa75fa51cafd04b657922968354e46.jpg","text":"TemporaryFile(/tmp/multipartBody2192820792336820339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591874108,"filename":"image_23012025_01_13_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/481a041a8b3794396e1624ec27cf7192.jpg","text":"TemporaryFile(/tmp/multipartBody7328242466592224294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591874108,"filename":"image_23012025_01_13_25_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5caf45b834cdec622296d1530a7b8cad.jpg","text":"TemporaryFile(/tmp/multipartBody6594948421315885532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591874108,"filename":"image_23012025_01_13_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bed4642c08cdf053cafa2465f817a1ea.jpg","text":"TemporaryFile(/tmp/multipartBody1342108107367571152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591874108,"filename":"image_23012025_01_13_36_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330707280","file1":"1330707182","file0":"1330707092","file4":"1330707546","file5":"1330707654","file3":"1330707428"},"map_files_photo_id_array":[{"photo_id":"1330707654","filename":"file5"},{"photo_id":"1330707280","filename":"file2"},{"photo_id":"1330707546","filename":"file4"},{"photo_id":"1330707182","filename":"file1"},{"photo_id":"1330707092","filename":"file0"},{"photo_id":"1330707428","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330707654":["hashtag1","hashtag2"]},{"1330707546":["hashtag1","hashtag2"]},{"1330707092":["hashtag1","hashtag2"]},{"1330707182":["hashtag1","hashtag2"]},{"1330707428":["hashtag1","hashtag2"]},{"1330707280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330707654, 1330707546, 1330707092, 1330707182, 1330707428, 1330707280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84410047531128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:24:32.525232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_15_9322.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_25_10465.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_36_10414.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_45_9420.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_56_10366.jpg', '/home/pi/Desktop/images/23012025/01/14/image_23012025_01_15_05_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_15_9322.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_25_10465.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_36_10414.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_45_9420.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_14_56_10366.jpg
/home/pi/Desktop/images/23012025/01/14/image_23012025_01_15_05_9360.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":["1330707660","1330707663","1330707662","1330707665","1330707659","1330707667"],"photo_ids_order":["1330707659","1330707660","1330707662","1330707663","1330707665","1330707667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ca91db0e5161229eb263fa1a1aa997d.jpg","text":"TemporaryFile(/tmp/multipartBody2816215974432540370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591933446,"filename":"image_23012025_01_14_25_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8db80d61ae269d68928149ca6d20c236.jpg","text":"TemporaryFile(/tmp/multipartBody177552846550189421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591933446,"filename":"image_23012025_01_14_45_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ad640ef72308030a8c74a6fd90fad19.jpg","text":"TemporaryFile(/tmp/multipartBody7785174541621623980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591933446,"filename":"image_23012025_01_14_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aca6f7f8c298850b1ad5a9e6683d776f.jpg","text":"TemporaryFile(/tmp/multipartBody3446756529070943840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591933446,"filename":"image_23012025_01_14_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98e736298c80b6495db8cf4268a11811.jpg","text":"TemporaryFile(/tmp/multipartBody4841370430571227009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591933446,"filename":"image_23012025_01_14_15_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69dc75f7202881a0ca0e6eb5e09e0c19.jpg","text":"TemporaryFile(/tmp/multipartBody5829804299769178425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591933446,"filename":"image_23012025_01_15_05_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330707662","file1":"1330707660","file0":"1330707659","file4":"1330707665","file5":"1330707667","file3":"1330707663"},"map_files_photo_id_array":[{"photo_id":"1330707667","filename":"file5"},{"photo_id":"1330707662","filename":"file2"},{"photo_id":"1330707665","filename":"file4"},{"photo_id":"1330707660","filename":"file1"},{"photo_id":"1330707659","filename":"file0"},{"photo_id":"1330707663","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330707660":["hashtag1","hashtag2"]},{"1330707663":["hashtag1","hashtag2"]},{"1330707662":["hashtag1","hashtag2"]},{"1330707665":["hashtag1","hashtag2"]},{"1330707659":["hashtag1","hashtag2"]},{"1330707667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330707660, 1330707663, 1330707662, 1330707665, 1330707659, 1330707667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30967044830322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:25:32.797362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/15/image_23012025_01_15_15_10331.jpg', '/home/pi/Desktop/images/23012025/01/15/image_23012025_01_15_26_10360.jpg', '/home/pi/Desktop/images/23012025/01/15/image_23012025_01_16_05_9438.jpg', '/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_16_10358.jpg', '/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_36_10364.jpg', '/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/15/image_23012025_01_15_15_10331.jpg
/home/pi/Desktop/images/23012025/01/15/image_23012025_01_15_26_10360.jpg
/home/pi/Desktop/images/23012025/01/15/image_23012025_01_16_05_9438.jpg
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_16_10358.jpg
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_36_10364.jpg
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_46_10362.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":["1330708098","1330708062","1330707925","1330708055","1330708142","1330708144"],"photo_ids_order":["1330707925","1330708055","1330708062","1330708098","1330708142","1330708144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dad08e288584df313b1cc10005e66c15.jpg","text":"TemporaryFile(/tmp/multipartBody4811889269341511998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591993712,"filename":"image_23012025_01_16_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5944b443389d934a25c6ccdee457b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody9107839884472282798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591993712,"filename":"image_23012025_01_16_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b508e8ee80912376a8bc65eec5d2f43d.jpg","text":"TemporaryFile(/tmp/multipartBody8408791592984153845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591993712,"filename":"image_23012025_01_15_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fb537f7473ece1a97660a485be9d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody1518927158531937345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591993712,"filename":"image_23012025_01_15_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c60c77951447495c5f6f9044681e3ac.jpg","text":"TemporaryFile(/tmp/multipartBody6516153313806396524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591993712,"filename":"image_23012025_01_16_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f36e2183d938ce1142692662702d3668.jpg","text":"TemporaryFile(/tmp/multipartBody14517055023364707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737591993712,"filename":"image_23012025_01_16_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330708062","file1":"1330708055","file0":"1330707925","file4":"1330708142","file5":"1330708144","file3":"1330708098"},"map_files_photo_id_array":[{"photo_id":"1330708144","filename":"file5"},{"photo_id":"1330708062","filename":"file2"},{"photo_id":"1330708142","filename":"file4"},{"photo_id":"1330708055","filename":"file1"},{"photo_id":"1330707925","filename":"file0"},{"photo_id":"1330708098","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330708098":["hashtag1","hashtag2"]},{"1330708062":["hashtag1","hashtag2"]},{"1330707925":["hashtag1","hashtag2"]},{"1330708055":["hashtag1","hashtag2"]},{"1330708142":["hashtag1","hashtag2"]},{"1330708144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330708098, 1330708062, 1330707925, 1330708055, 1330708142, 1330708144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26270246505737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:26:32.910615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_55_9479.jpg', '/home/pi/Desktop/images/23012025/01/16/image_23012025_01_17_06_10347.jpg', '/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_15_9464.jpg', '/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_26_10417.jpg', '/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_35_9324.jpg', '/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_16_55_9479.jpg
/home/pi/Desktop/images/23012025/01/16/image_23012025_01_17_06_10347.jpg
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_15_9464.jpg
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_26_10417.jpg
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_35_9324.jpg
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_45_10355.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":["1330708278","1330708289","1330708314","1330708283","1330708286","1330708274"],"photo_ids_order":["1330708274","1330708278","1330708283","1330708286","1330708289","1330708314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed56db16522fe9d6847516df009e462e.jpg","text":"TemporaryFile(/tmp/multipartBody8004819004375044281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592053822,"filename":"image_23012025_01_17_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/761d899e11d7bab9d5532288a1d3da06.jpg","text":"TemporaryFile(/tmp/multipartBody5420383304632948363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592053822,"filename":"image_23012025_01_17_35_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e0a2ddcec8cfddd5ad38e7a6a0e9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody2057027013067026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592053822,"filename":"image_23012025_01_17_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6ffb5401bbfd3cdd401c9192e20f008.jpg","text":"TemporaryFile(/tmp/multipartBody8261267631144710236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592053822,"filename":"image_23012025_01_17_15_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11a18cb1a56b51dbcd0f32acaa9f8d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3133810848349231993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592053822,"filename":"image_23012025_01_17_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9007369106d30ad6365bc7b1e8a919cb.jpg","text":"TemporaryFile(/tmp/multipartBody9020084815701717898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592053822,"filename":"image_23012025_01_16_55_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330708283","file1":"1330708278","file0":"1330708274","file4":"1330708289","file5":"1330708314","file3":"1330708286"},"map_files_photo_id_array":[{"photo_id":"1330708314","filename":"file5"},{"photo_id":"1330708283","filename":"file2"},{"photo_id":"1330708289","filename":"file4"},{"photo_id":"1330708278","filename":"file1"},{"photo_id":"1330708274","filename":"file0"},{"photo_id":"1330708286","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330708278":["hashtag1","hashtag2"]},{"1330708289":["hashtag1","hashtag2"]},{"1330708314":["hashtag1","hashtag2"]},{"1330708283":["hashtag1","hashtag2"]},{"1330708286":["hashtag1","hashtag2"]},{"1330708274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330708278, 1330708289, 1330708314, 1330708283, 1330708286, 1330708274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42040252685547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:27:32.181752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_56_10430.jpg', '/home/pi/Desktop/images/23012025/01/17/image_23012025_01_18_05_9411.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_16_10421.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_26_10356.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_35_9442.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_17_56_10430.jpg
/home/pi/Desktop/images/23012025/01/17/image_23012025_01_18_05_9411.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_16_10421.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_26_10356.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_35_9442.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_46_10344.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":["1330708392","1330708380","1330708368","1330708410","1330708363","1330708395"],"photo_ids_order":["1330708363","1330708368","1330708380","1330708392","1330708395","1330708410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb2e2512363f03e64c59f48450d894c6.jpg","text":"TemporaryFile(/tmp/multipartBody20197845930344728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592113086,"filename":"image_23012025_01_18_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/269c48a952b3187541873ada6299a176.jpg","text":"TemporaryFile(/tmp/multipartBody8622967539554873674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592113086,"filename":"image_23012025_01_18_16_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72114c8718f7985ffdbff17c0444b7aa.jpg","text":"TemporaryFile(/tmp/multipartBody801891831262099595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592113086,"filename":"image_23012025_01_18_05_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd0c922c63ca5800917a596f28f71a8a.jpg","text":"TemporaryFile(/tmp/multipartBody1339201858135423009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592113086,"filename":"image_23012025_01_18_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af2f97a9608e9a9dc2ffb3d3fcd2a090.jpg","text":"TemporaryFile(/tmp/multipartBody6897576617503706696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592113086,"filename":"image_23012025_01_17_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a8527d0411ef873642d2c30c14d7558.jpg","text":"TemporaryFile(/tmp/multipartBody9120056270888413122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592113086,"filename":"image_23012025_01_18_35_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330708380","file1":"1330708368","file0":"1330708363","file4":"1330708395","file5":"1330708410","file3":"1330708392"},"map_files_photo_id_array":[{"photo_id":"1330708410","filename":"file5"},{"photo_id":"1330708380","filename":"file2"},{"photo_id":"1330708395","filename":"file4"},{"photo_id":"1330708368","filename":"file1"},{"photo_id":"1330708363","filename":"file0"},{"photo_id":"1330708392","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330708392":["hashtag1","hashtag2"]},{"1330708380":["hashtag1","hashtag2"]},{"1330708368":["hashtag1","hashtag2"]},{"1330708410":["hashtag1","hashtag2"]},{"1330708363":["hashtag1","hashtag2"]},{"1330708395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330708392, 1330708380, 1330708368, 1330708410, 1330708363, 1330708395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13148784637451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:28:32.334355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_55_9361.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_19_05_10393.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_16_10336.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_25_9465.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_36_10410.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_45_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_55_9361.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_19_05_10393.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_16_10336.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_25_9465.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_36_10410.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_45_9362.jpg
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: 0.5177369117736816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:28:42.421977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_55_9361.jpg', '/home/pi/Desktop/images/23012025/01/18/image_23012025_01_19_05_10393.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_16_10336.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_25_9465.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_36_10410.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_45_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_18_55_9361.jpg
/home/pi/Desktop/images/23012025/01/18/image_23012025_01_19_05_10393.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_16_10336.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_25_9465.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_36_10410.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_45_9362.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":["1330708458","1330708473","1330708466","1330708471","1330708453","1330708462"],"photo_ids_order":["1330708453","1330708458","1330708462","1330708466","1330708471","1330708473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b512317ba43dcdab6e902d7ffc6b83e3.jpg","text":"TemporaryFile(/tmp/multipartBody7347276905213839751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592183349,"filename":"image_23012025_01_19_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65386ee31f7b8c21422b118b4c7cc856.jpg","text":"TemporaryFile(/tmp/multipartBody6757639678987468860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592183349,"filename":"image_23012025_01_19_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f6cf5475763fedaeab850d6ccddcf7c.jpg","text":"TemporaryFile(/tmp/multipartBody7892206208285985614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592183349,"filename":"image_23012025_01_19_25_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62083f24bc6d45f518751898243f69c5.jpg","text":"TemporaryFile(/tmp/multipartBody2848816492163146669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592183349,"filename":"image_23012025_01_19_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca7aa4a046f8d122a363e66a843ab9ab.jpg","text":"TemporaryFile(/tmp/multipartBody4925128886427323263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592183349,"filename":"image_23012025_01_18_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b14514b7897aa89706a7c32e47e0c47.jpg","text":"TemporaryFile(/tmp/multipartBody2597406483265208412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592183349,"filename":"image_23012025_01_19_16_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330708462","file1":"1330708458","file0":"1330708453","file4":"1330708471","file5":"1330708473","file3":"1330708466"},"map_files_photo_id_array":[{"photo_id":"1330708473","filename":"file5"},{"photo_id":"1330708462","filename":"file2"},{"photo_id":"1330708471","filename":"file4"},{"photo_id":"1330708458","filename":"file1"},{"photo_id":"1330708453","filename":"file0"},{"photo_id":"1330708466","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330708458":["hashtag1","hashtag2"]},{"1330708473":["hashtag1","hashtag2"]},{"1330708466":["hashtag1","hashtag2"]},{"1330708471":["hashtag1","hashtag2"]},{"1330708453":["hashtag1","hashtag2"]},{"1330708462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330708458, 1330708473, 1330708466, 1330708471, 1330708453, 1330708462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84683418273926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:29:32.641500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_55_10373.jpg', '/home/pi/Desktop/images/23012025/01/19/image_23012025_01_20_06_10377.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_15_9448.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_26_10379.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_35_9329.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_45_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_19_55_10373.jpg
/home/pi/Desktop/images/23012025/01/19/image_23012025_01_20_06_10377.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_15_9448.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_26_10379.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_35_9329.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_45_10446.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":["1330708671","1330708539","1330708586","1330708505","1330708535","1330708508"],"photo_ids_order":["1330708505","1330708508","1330708535","1330708539","1330708586","1330708671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28b9c8a4f6df5ec135c0672ebc43b71b.jpg","text":"TemporaryFile(/tmp/multipartBody4523871631318841541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592233561,"filename":"image_23012025_01_20_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd749d76d26e3c1866a4ccf200d6bfec.jpg","text":"TemporaryFile(/tmp/multipartBody2537696441522377523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592233561,"filename":"image_23012025_01_20_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b7ac0b66239cdaa6049421cbe5c8605.jpg","text":"TemporaryFile(/tmp/multipartBody3779881408256257665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592233561,"filename":"image_23012025_01_20_35_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38d0a8a1893d3980e326eddd8c7fb02f.jpg","text":"TemporaryFile(/tmp/multipartBody3913338856907194155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592233561,"filename":"image_23012025_01_19_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8badcc65d7291b9a82c89ca9470996d6.jpg","text":"TemporaryFile(/tmp/multipartBody8715840574561363496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592233561,"filename":"image_23012025_01_20_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62b6b37f455661a98094b549fc7ebf30.jpg","text":"TemporaryFile(/tmp/multipartBody2194696895132629242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592233561,"filename":"image_23012025_01_20_06_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330708535","file1":"1330708508","file0":"1330708505","file4":"1330708586","file5":"1330708671","file3":"1330708539"},"map_files_photo_id_array":[{"photo_id":"1330708671","filename":"file5"},{"photo_id":"1330708535","filename":"file2"},{"photo_id":"1330708586","filename":"file4"},{"photo_id":"1330708508","filename":"file1"},{"photo_id":"1330708505","filename":"file0"},{"photo_id":"1330708539","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330708671":["hashtag1","hashtag2"]},{"1330708539":["hashtag1","hashtag2"]},{"1330708586":["hashtag1","hashtag2"]},{"1330708505":["hashtag1","hashtag2"]},{"1330708535":["hashtag1","hashtag2"]},{"1330708508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330708671, 1330708539, 1330708586, 1330708505, 1330708535, 1330708508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.257798194885254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:30:32.831314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_56_10366.jpg', '/home/pi/Desktop/images/23012025/01/20/image_23012025_01_21_05_9410.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_16_10362.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_26_10367.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_35_9387.jpg', '/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_20_56_10366.jpg
/home/pi/Desktop/images/23012025/01/20/image_23012025_01_21_05_9410.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_16_10362.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_26_10367.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_35_9387.jpg
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_21_46_10343.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":["1330708766","1330708763","1330708762","1330708957","1330708765","1330708768"],"photo_ids_order":["1330708762","1330708763","1330708765","1330708766","1330708768","1330708957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1301bda1f583cdd38ab82a9f6ac28149.jpg","text":"TemporaryFile(/tmp/multipartBody6691406232406454306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592293747,"filename":"image_23012025_01_21_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d050aa71f53045d13cad4f3c72d993a.jpg","text":"TemporaryFile(/tmp/multipartBody9108789262179106575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592293747,"filename":"image_23012025_01_21_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/106a148b1e54562439772db029aeaf5f.jpg","text":"TemporaryFile(/tmp/multipartBody9158237168876625217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592293747,"filename":"image_23012025_01_20_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/481664328de4ce4d8ffb738e77184599.jpg","text":"TemporaryFile(/tmp/multipartBody3651105708207298668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592293747,"filename":"image_23012025_01_21_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30a4656fc621e13a0059c144d4842949.jpg","text":"TemporaryFile(/tmp/multipartBody6770067262732523648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592293747,"filename":"image_23012025_01_21_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/851206ebf9338f2f24f59b6dd9f6e249.jpg","text":"TemporaryFile(/tmp/multipartBody2937335554447598485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592293747,"filename":"image_23012025_01_21_35_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330708765","file1":"1330708763","file0":"1330708762","file4":"1330708768","file5":"1330708957","file3":"1330708766"},"map_files_photo_id_array":[{"photo_id":"1330708957","filename":"file5"},{"photo_id":"1330708765","filename":"file2"},{"photo_id":"1330708768","filename":"file4"},{"photo_id":"1330708763","filename":"file1"},{"photo_id":"1330708762","filename":"file0"},{"photo_id":"1330708766","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330708766":["hashtag1","hashtag2"]},{"1330708763":["hashtag1","hashtag2"]},{"1330708762":["hashtag1","hashtag2"]},{"1330708957":["hashtag1","hashtag2"]},{"1330708765":["hashtag1","hashtag2"]},{"1330708768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330708766, 1330708763, 1330708762, 1330708957, 1330708765, 1330708768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72751569747925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:31:33.056664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/21/image_23012025_01_22_05_10370.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_16_10346.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_25_9355.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_35_10351.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_46_10344.jpg', '/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_55_9501.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/21/image_23012025_01_22_05_10370.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_16_10346.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_25_9355.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_35_10351.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_46_10344.jpg
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_22_55_9501.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":["1330709138","1330709141","1330709074","1330709137","1330709134","1330709076"],"photo_ids_order":["1330709074","1330709076","1330709134","1330709137","1330709138","1330709141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7aa99f676b48bf66d3d004659e96c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5281055861590041162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592353995,"filename":"image_23012025_01_22_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3705276a70f7bc9f755786fc4516bb35.jpg","text":"TemporaryFile(/tmp/multipartBody4324289558570605240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592353995,"filename":"image_23012025_01_22_55_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3861c29012f82edd73dde998b6319f38.jpg","text":"TemporaryFile(/tmp/multipartBody5025130924106349584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592353995,"filename":"image_23012025_01_22_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3196ff41d0ad45b45dff298b6b0b1be.jpg","text":"TemporaryFile(/tmp/multipartBody3827692150978271988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592353995,"filename":"image_23012025_01_22_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d84cc704f25c05fb84dee579e4aeb205.jpg","text":"TemporaryFile(/tmp/multipartBody6627241571527772739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592353995,"filename":"image_23012025_01_22_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93246cf42ce5ba9b84df675beb92a6de.jpg","text":"TemporaryFile(/tmp/multipartBody3298961523770168157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592353995,"filename":"image_23012025_01_22_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330709134","file1":"1330709076","file0":"1330709074","file4":"1330709138","file5":"1330709141","file3":"1330709137"},"map_files_photo_id_array":[{"photo_id":"1330709141","filename":"file5"},{"photo_id":"1330709134","filename":"file2"},{"photo_id":"1330709138","filename":"file4"},{"photo_id":"1330709076","filename":"file1"},{"photo_id":"1330709074","filename":"file0"},{"photo_id":"1330709137","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330709138":["hashtag1","hashtag2"]},{"1330709141":["hashtag1","hashtag2"]},{"1330709074":["hashtag1","hashtag2"]},{"1330709137":["hashtag1","hashtag2"]},{"1330709134":["hashtag1","hashtag2"]},{"1330709076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330709138, 1330709141, 1330709074, 1330709137, 1330709134, 1330709076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.24303388595581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:32:32.197969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/22/image_23012025_01_23_06_10357.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_15_9335.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_25_10356.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_36_10339.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_45_9342.jpg', '/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_55_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/22/image_23012025_01_23_06_10357.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_15_9335.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_25_10356.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_36_10339.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_45_9342.jpg
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_23_55_10441.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":["1330709273","1330709360","1330709198","1330709179","1330709173","1330709416"],"photo_ids_order":["1330709173","1330709179","1330709198","1330709273","1330709360","1330709416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80cbf0264b44b178cbb0dbde27f2fad0.jpg","text":"TemporaryFile(/tmp/multipartBody2247650496560169915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592413100,"filename":"image_23012025_01_23_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ac6d48ed9256579618efd2314b6aa4c.jpg","text":"TemporaryFile(/tmp/multipartBody6762170753200125437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592413100,"filename":"image_23012025_01_23_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb0a1c6cde85a4ba5e20ca0a4ef6689f.jpg","text":"TemporaryFile(/tmp/multipartBody7174767816277901280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592413100,"filename":"image_23012025_01_23_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2401d60c24a1bff0172cce3da84195b9.jpg","text":"TemporaryFile(/tmp/multipartBody3132355171030523641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592413100,"filename":"image_23012025_01_23_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dff8fc3bd21915b7a142a9939aa71d28.jpg","text":"TemporaryFile(/tmp/multipartBody7862958683751780400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592413100,"filename":"image_23012025_01_23_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57b6436a96bb796087d1fbbc9a885063.jpg","text":"TemporaryFile(/tmp/multipartBody6447960684546974747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592413100,"filename":"image_23012025_01_23_55_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330709198","file1":"1330709179","file0":"1330709173","file4":"1330709360","file5":"1330709416","file3":"1330709273"},"map_files_photo_id_array":[{"photo_id":"1330709416","filename":"file5"},{"photo_id":"1330709198","filename":"file2"},{"photo_id":"1330709360","filename":"file4"},{"photo_id":"1330709179","filename":"file1"},{"photo_id":"1330709173","filename":"file0"},{"photo_id":"1330709273","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330709273":["hashtag1","hashtag2"]},{"1330709360":["hashtag1","hashtag2"]},{"1330709198":["hashtag1","hashtag2"]},{"1330709179":["hashtag1","hashtag2"]},{"1330709173":["hashtag1","hashtag2"]},{"1330709416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330709273, 1330709360, 1330709198, 1330709179, 1330709173, 1330709416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72219252586365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:33:32.395984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/23/image_23012025_01_24_06_10349.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_15_9421.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_26_10361.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_35_9330.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_45_10462.jpg', '/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_56_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/23/image_23012025_01_24_06_10349.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_15_9421.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_26_10361.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_35_9330.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_45_10462.jpg
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_24_56_10350.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":["1330709699","1330709678","1330709744","1330709737","1330709710","1330709742"],"photo_ids_order":["1330709678","1330709699","1330709710","1330709737","1330709742","1330709744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ace90cd9ab815cc0192474dc70f4746.jpg","text":"TemporaryFile(/tmp/multipartBody1988249966811569411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592473297,"filename":"image_23012025_01_24_15_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f8186e569135fcf844f4f31bb2ecf67.jpg","text":"TemporaryFile(/tmp/multipartBody1281772572855875351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592473297,"filename":"image_23012025_01_24_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f0b54472a6f0d6af54e383a19b52648.jpg","text":"TemporaryFile(/tmp/multipartBody4687241705889389996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592473297,"filename":"image_23012025_01_24_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/277f5c99d2892494e279ead6ab4da672.jpg","text":"TemporaryFile(/tmp/multipartBody2829706503021962278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592473297,"filename":"image_23012025_01_24_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bf97fce7312d83b475dbdcba5c7c37c.jpg","text":"TemporaryFile(/tmp/multipartBody2250363513169155928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592473297,"filename":"image_23012025_01_24_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2526abb4f1d7018820712b06c18e2048.jpg","text":"TemporaryFile(/tmp/multipartBody1976261222581107504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592473297,"filename":"image_23012025_01_24_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330709710","file1":"1330709699","file0":"1330709678","file4":"1330709742","file5":"1330709744","file3":"1330709737"},"map_files_photo_id_array":[{"photo_id":"1330709744","filename":"file5"},{"photo_id":"1330709710","filename":"file2"},{"photo_id":"1330709742","filename":"file4"},{"photo_id":"1330709699","filename":"file1"},{"photo_id":"1330709678","filename":"file0"},{"photo_id":"1330709737","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330709699":["hashtag1","hashtag2"]},{"1330709678":["hashtag1","hashtag2"]},{"1330709744":["hashtag1","hashtag2"]},{"1330709737":["hashtag1","hashtag2"]},{"1330709710":["hashtag1","hashtag2"]},{"1330709742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330709699, 1330709678, 1330709744, 1330709737, 1330709710, 1330709742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78654074668884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:34:32.651364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/24/image_23012025_01_25_05_9393.jpg', '/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_15_10375.jpg', '/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_26_10352.jpg', '/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_35_9411.jpg', '/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_46_10359.jpg', '/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_55_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/24/image_23012025_01_25_05_9393.jpg
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_15_10375.jpg
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_26_10352.jpg
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_35_9411.jpg
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_46_10359.jpg
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_25_55_9349.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":["1330709855","1330709848","1330709857","1330709821","1330709803","1330709889"],"photo_ids_order":["1330709803","1330709821","1330709848","1330709855","1330709857","1330709889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5748b888251b39e44455ef9b68b9bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4355411188072444510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592533559,"filename":"image_23012025_01_25_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99888bba4a5728daa90ca67bade9b88c.jpg","text":"TemporaryFile(/tmp/multipartBody6842309764459400588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592533559,"filename":"image_23012025_01_25_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e54558dff616eae14284bf1ffe1aa6c.jpg","text":"TemporaryFile(/tmp/multipartBody2723745560387343485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592533559,"filename":"image_23012025_01_25_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bce26d36e060887c60166bd64a99985a.jpg","text":"TemporaryFile(/tmp/multipartBody3347929758863140901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592533559,"filename":"image_23012025_01_25_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15ae89a11872fbd78da4e448d8d47d0b.jpg","text":"TemporaryFile(/tmp/multipartBody6481795125448442589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592533559,"filename":"image_23012025_01_25_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a176fdd2805271db9350ab7a185ce54d.jpg","text":"TemporaryFile(/tmp/multipartBody6103737422922884120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592533559,"filename":"image_23012025_01_25_55_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330709848","file1":"1330709821","file0":"1330709803","file4":"1330709857","file5":"1330709889","file3":"1330709855"},"map_files_photo_id_array":[{"photo_id":"1330709889","filename":"file5"},{"photo_id":"1330709848","filename":"file2"},{"photo_id":"1330709857","filename":"file4"},{"photo_id":"1330709821","filename":"file1"},{"photo_id":"1330709803","filename":"file0"},{"photo_id":"1330709855","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330709855":["hashtag1","hashtag2"]},{"1330709848":["hashtag1","hashtag2"]},{"1330709857":["hashtag1","hashtag2"]},{"1330709821":["hashtag1","hashtag2"]},{"1330709803":["hashtag1","hashtag2"]},{"1330709889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330709855, 1330709848, 1330709857, 1330709821, 1330709803, 1330709889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.597960233688354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:35:32.818553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/25/image_23012025_01_26_05_10361.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_16_10353.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_25_9364.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_35_10393.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_46_10362.jpg', '/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_55_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/25/image_23012025_01_26_05_10361.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_16_10353.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_25_9364.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_35_10393.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_46_10362.jpg
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_26_55_9442.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":["1330709919","1330709954","1330710017","1330709911","1330709914","1330710025"],"photo_ids_order":["1330709911","1330709914","1330709919","1330709954","1330710017","1330710025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d2afaf8139d9cd7a3e735d340e32b60.jpg","text":"TemporaryFile(/tmp/multipartBody4193068395192056027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592593725,"filename":"image_23012025_01_26_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76aae6fc85bfa70b85672993bc04f30b.jpg","text":"TemporaryFile(/tmp/multipartBody6750180110659660394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592593725,"filename":"image_23012025_01_26_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91b711119d37261f09adae639aa7ebd0.jpg","text":"TemporaryFile(/tmp/multipartBody714174617479062921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592593725,"filename":"image_23012025_01_26_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19d0c77724e35f2c8a8c59fd9dccb2fb.jpg","text":"TemporaryFile(/tmp/multipartBody34012134073423959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592593725,"filename":"image_23012025_01_26_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0565b812d33c10973047b55997d0b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody6434473612874144831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592593725,"filename":"image_23012025_01_26_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b9eda936c1208b02bb7043aff6f9ed3.jpg","text":"TemporaryFile(/tmp/multipartBody663104520069865847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592593725,"filename":"image_23012025_01_26_55_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330709919","file1":"1330709914","file0":"1330709911","file4":"1330710017","file5":"1330710025","file3":"1330709954"},"map_files_photo_id_array":[{"photo_id":"1330710025","filename":"file5"},{"photo_id":"1330709919","filename":"file2"},{"photo_id":"1330710017","filename":"file4"},{"photo_id":"1330709914","filename":"file1"},{"photo_id":"1330709911","filename":"file0"},{"photo_id":"1330709954","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330709919":["hashtag1","hashtag2"]},{"1330709954":["hashtag1","hashtag2"]},{"1330710017":["hashtag1","hashtag2"]},{"1330709911":["hashtag1","hashtag2"]},{"1330709914":["hashtag1","hashtag2"]},{"1330710025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330709919, 1330709954, 1330710017, 1330709911, 1330709914, 1330710025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.789811849594116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:36:33.503723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/26/image_23012025_01_27_06_10346.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_15_9334.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_25_10355.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_36_10352.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_45_9332.jpg', '/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_55_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/26/image_23012025_01_27_06_10346.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_15_9334.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_25_10355.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_36_10352.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_45_9332.jpg
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_27_55_10356.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":["1330710282","1330710285","1330710249","1330710135","1330710287","1330710259"],"photo_ids_order":["1330710135","1330710249","1330710259","1330710282","1330710285","1330710287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8114ea345941c419ebf63e1646997088.jpg","text":"TemporaryFile(/tmp/multipartBody1323929913719580567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592654444,"filename":"image_23012025_01_27_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dc8abc39cc68b99ade310901006de7b.jpg","text":"TemporaryFile(/tmp/multipartBody5251687579282512791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592654444,"filename":"image_23012025_01_27_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afb6ac0e5c90e29d076efd4c5099ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody2003256030759691526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592654444,"filename":"image_23012025_01_27_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/944799668c94b8fcbd33502c624335a8.jpg","text":"TemporaryFile(/tmp/multipartBody5555594938638877220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592654444,"filename":"image_23012025_01_27_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9d4e9f3f514c3ef89d93c55029cb12a.jpg","text":"TemporaryFile(/tmp/multipartBody3533019976807325006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592654444,"filename":"image_23012025_01_27_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80ab99ddd91544dd3c4ce26b53707a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4089525255545212929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592654444,"filename":"image_23012025_01_27_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330710259","file1":"1330710249","file0":"1330710135","file4":"1330710285","file5":"1330710287","file3":"1330710282"},"map_files_photo_id_array":[{"photo_id":"1330710287","filename":"file5"},{"photo_id":"1330710259","filename":"file2"},{"photo_id":"1330710285","filename":"file4"},{"photo_id":"1330710249","filename":"file1"},{"photo_id":"1330710135","filename":"file0"},{"photo_id":"1330710282","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330710282":["hashtag1","hashtag2"]},{"1330710285":["hashtag1","hashtag2"]},{"1330710249":["hashtag1","hashtag2"]},{"1330710135":["hashtag1","hashtag2"]},{"1330710287":["hashtag1","hashtag2"]},{"1330710259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330710282, 1330710285, 1330710249, 1330710135, 1330710287, 1330710259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.544384479522705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:37:32.892451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/27/image_23012025_01_28_06_10360.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_15_9327.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_25_10361.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_36_10350.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_45_9351.jpg', '/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_55_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/27/image_23012025_01_28_06_10360.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_15_9327.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_25_10361.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_36_10350.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_45_9351.jpg
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_28_55_10403.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":["1330710324","1330710494","1330710467","1330710490","1330710334","1330710328"],"photo_ids_order":["1330710324","1330710328","1330710334","1330710467","1330710490","1330710494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6e9f43181b359c6a89b1f110f13c3d6.jpg","text":"TemporaryFile(/tmp/multipartBody1782885172492099598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592713798,"filename":"image_23012025_01_28_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e486dec3dd058c9dfc990e4389d7b98.jpg","text":"TemporaryFile(/tmp/multipartBody1512359502894442992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592713798,"filename":"image_23012025_01_28_55_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d4a4405fa310fd0bd0e0be036615522.jpg","text":"TemporaryFile(/tmp/multipartBody6797605469416916412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592713798,"filename":"image_23012025_01_28_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d286c961d8d8b7815f89d0b6b37a7e34.jpg","text":"TemporaryFile(/tmp/multipartBody274875701355321473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592713798,"filename":"image_23012025_01_28_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78a9c92e6e127f918cee46bcbb4a58d9.jpg","text":"TemporaryFile(/tmp/multipartBody2919866285149853547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592713798,"filename":"image_23012025_01_28_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c49ad1cfe2ac1adff52547b6e990ed5.jpg","text":"TemporaryFile(/tmp/multipartBody2653687806142156252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592713798,"filename":"image_23012025_01_28_15_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330710334","file1":"1330710328","file0":"1330710324","file4":"1330710490","file5":"1330710494","file3":"1330710467"},"map_files_photo_id_array":[{"photo_id":"1330710494","filename":"file5"},{"photo_id":"1330710334","filename":"file2"},{"photo_id":"1330710490","filename":"file4"},{"photo_id":"1330710328","filename":"file1"},{"photo_id":"1330710324","filename":"file0"},{"photo_id":"1330710467","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330710324":["hashtag1","hashtag2"]},{"1330710494":["hashtag1","hashtag2"]},{"1330710467":["hashtag1","hashtag2"]},{"1330710490":["hashtag1","hashtag2"]},{"1330710334":["hashtag1","hashtag2"]},{"1330710328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330710324, 1330710494, 1330710467, 1330710490, 1330710334, 1330710328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.171591997146606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:38:33.090369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/28/image_23012025_01_29_06_10334.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_15_9390.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_26_10373.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_35_9363.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_45_10354.jpg', '/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_56_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/28/image_23012025_01_29_06_10334.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_15_9390.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_26_10373.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_35_9363.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_45_10354.jpg
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_29_56_10348.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":["1330710513","1330710521","1330710515","1330710524","1330710518","1330710526"],"photo_ids_order":["1330710513","1330710515","1330710518","1330710521","1330710524","1330710526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18dd034c016526c5daa45a6f634dbbfb.jpg","text":"TemporaryFile(/tmp/multipartBody2319460441314449495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592773997,"filename":"image_23012025_01_29_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcb0a9bac353b65d4ccb1694bf89e7d9.jpg","text":"TemporaryFile(/tmp/multipartBody8647836640021658753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592773997,"filename":"image_23012025_01_29_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e57d836b1bdc8bf87aaa3bb9470d0a55.jpg","text":"TemporaryFile(/tmp/multipartBody3464128736270169461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592773997,"filename":"image_23012025_01_29_15_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5b57a93817af15da8bcc30894664533.jpg","text":"TemporaryFile(/tmp/multipartBody3614829603723054408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592773997,"filename":"image_23012025_01_29_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0afe25c126b21032f6d0692003a2f56.jpg","text":"TemporaryFile(/tmp/multipartBody1758832934071162524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592773997,"filename":"image_23012025_01_29_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75774a6ca1cf13d02ef9fa1bb9a4c2bf.jpg","text":"TemporaryFile(/tmp/multipartBody7594949251281963409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592773997,"filename":"image_23012025_01_29_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330710518","file1":"1330710515","file0":"1330710513","file4":"1330710524","file5":"1330710526","file3":"1330710521"},"map_files_photo_id_array":[{"photo_id":"1330710526","filename":"file5"},{"photo_id":"1330710518","filename":"file2"},{"photo_id":"1330710524","filename":"file4"},{"photo_id":"1330710515","filename":"file1"},{"photo_id":"1330710513","filename":"file0"},{"photo_id":"1330710521","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330710513":["hashtag1","hashtag2"]},{"1330710521":["hashtag1","hashtag2"]},{"1330710515":["hashtag1","hashtag2"]},{"1330710524":["hashtag1","hashtag2"]},{"1330710518":["hashtag1","hashtag2"]},{"1330710526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330710513, 1330710521, 1330710515, 1330710524, 1330710518, 1330710526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85616135597229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:39:32.473998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/29/image_23012025_01_30_05_9352.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_15_10374.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_26_10364.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_35_9393.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_45_10380.jpg', '/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_56_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/29/image_23012025_01_30_05_9352.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_15_10374.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_26_10364.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_35_9393.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_45_10380.jpg
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_30_56_10351.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":["1330710753","1330710747","1330710711","1330710755","1330710708","1330710715"],"photo_ids_order":["1330710708","1330710711","1330710715","1330710747","1330710753","1330710755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/196042afdf4946dabd16c592803fe73b.jpg","text":"TemporaryFile(/tmp/multipartBody6187178121565282571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592833384,"filename":"image_23012025_01_30_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/505239c4c546b4b25f5565a9ad820511.jpg","text":"TemporaryFile(/tmp/multipartBody1306002163594762288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592833384,"filename":"image_23012025_01_30_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29b528495ac7b0056cf7ba73c2047113.jpg","text":"TemporaryFile(/tmp/multipartBody8785192751825832461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592833384,"filename":"image_23012025_01_30_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bee4e5b27d87a3ea0a5eb137c74fd746.jpg","text":"TemporaryFile(/tmp/multipartBody6449711028350534893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592833384,"filename":"image_23012025_01_30_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f45f83ccfb215fc27b55bb508d67035.jpg","text":"TemporaryFile(/tmp/multipartBody5271122230614467474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592833384,"filename":"image_23012025_01_30_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4281f86bcf7ebb2a191469e771cdb78.jpg","text":"TemporaryFile(/tmp/multipartBody4873454509769235251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592833384,"filename":"image_23012025_01_30_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330710715","file1":"1330710711","file0":"1330710708","file4":"1330710753","file5":"1330710755","file3":"1330710747"},"map_files_photo_id_array":[{"photo_id":"1330710755","filename":"file5"},{"photo_id":"1330710715","filename":"file2"},{"photo_id":"1330710753","filename":"file4"},{"photo_id":"1330710711","filename":"file1"},{"photo_id":"1330710708","filename":"file0"},{"photo_id":"1330710747","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330710753":["hashtag1","hashtag2"]},{"1330710747":["hashtag1","hashtag2"]},{"1330710711":["hashtag1","hashtag2"]},{"1330710755":["hashtag1","hashtag2"]},{"1330710708":["hashtag1","hashtag2"]},{"1330710715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330710753, 1330710747, 1330710711, 1330710755, 1330710708, 1330710715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25715112686157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:40:32.550981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/30/image_23012025_01_31_05_9328.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_16_10362.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_25_9349.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_35_10352.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_46_10358.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_55_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_31_05_9328.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_16_10362.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_25_9349.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_35_10352.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_46_10358.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_55_9352.jpg
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: 0.5181221961975098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:40:42.646678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/30/image_23012025_01_31_05_9328.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_16_10362.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_25_9349.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_35_10352.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_46_10358.jpg', '/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_55_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/30/image_23012025_01_31_05_9328.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_16_10362.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_25_9349.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_35_10352.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_46_10358.jpg
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_31_55_9352.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":["1330710774","1330710790","1330710784","1330710787","1330710781","1330710778"],"photo_ids_order":["1330710774","1330710778","1330710781","1330710784","1330710787","1330710790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db76c3203df8ffa85826b4b32c2595c3.jpg","text":"TemporaryFile(/tmp/multipartBody7074847235079876398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592903555,"filename":"image_23012025_01_31_05_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20e420cad2c7a05aafc90c50f9ab4708.jpg","text":"TemporaryFile(/tmp/multipartBody799469431139985966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592903555,"filename":"image_23012025_01_31_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47e3245e88ec1e94651d24a0667caf3b.jpg","text":"TemporaryFile(/tmp/multipartBody4868462848004874521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592903555,"filename":"image_23012025_01_31_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6839e6f2a29ba91d8bd78fedf39a828.jpg","text":"TemporaryFile(/tmp/multipartBody5594803002926798595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592903555,"filename":"image_23012025_01_31_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7f02e42e084280dfa24e504b3f54469.jpg","text":"TemporaryFile(/tmp/multipartBody244167103637494945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592903555,"filename":"image_23012025_01_31_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc7ef5ac7404dac19e237cecf1590dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8718544820292662138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592903555,"filename":"image_23012025_01_31_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330710781","file1":"1330710778","file0":"1330710774","file4":"1330710787","file5":"1330710790","file3":"1330710784"},"map_files_photo_id_array":[{"photo_id":"1330710790","filename":"file5"},{"photo_id":"1330710781","filename":"file2"},{"photo_id":"1330710787","filename":"file4"},{"photo_id":"1330710778","filename":"file1"},{"photo_id":"1330710774","filename":"file0"},{"photo_id":"1330710784","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330710774":["hashtag1","hashtag2"]},{"1330710790":["hashtag1","hashtag2"]},{"1330710784":["hashtag1","hashtag2"]},{"1330710787":["hashtag1","hashtag2"]},{"1330710781":["hashtag1","hashtag2"]},{"1330710778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330710774, 1330710790, 1330710784, 1330710787, 1330710781, 1330710778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8716766834259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:41:32.799034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/31/image_23012025_01_32_05_10353.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_16_10317.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_25_9332.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_35_10350.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_46_10370.jpg', '/home/pi/Desktop/images/23012025/01/32/image_23012025_01_33_05_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/31/image_23012025_01_32_05_10353.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_16_10317.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_25_9332.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_35_10350.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_32_46_10370.jpg
/home/pi/Desktop/images/23012025/01/32/image_23012025_01_33_05_10398.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":["1330710999","1330711067","1330711051","1330711027","1330711080","1330711083"],"photo_ids_order":["1330710999","1330711027","1330711051","1330711067","1330711080","1330711083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbbd78de8060fc05b97f1a180cfa6e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3622071952069194218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592953754,"filename":"image_23012025_01_32_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11dba376c39a723dfe64702c46a0888e.jpg","text":"TemporaryFile(/tmp/multipartBody1261882466748380738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592953754,"filename":"image_23012025_01_32_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/382db93a07c6b00a192e60f157a2fcaa.jpg","text":"TemporaryFile(/tmp/multipartBody7092294241260401805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592953754,"filename":"image_23012025_01_32_25_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0016174c7d49e6083513845f79b1fee.jpg","text":"TemporaryFile(/tmp/multipartBody1688516974156786627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592953754,"filename":"image_23012025_01_32_16_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8ef042d3f0b5c9cad421da178b35f25.jpg","text":"TemporaryFile(/tmp/multipartBody213450248363877753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592953754,"filename":"image_23012025_01_32_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0711bea6a969fffa255d72aa78f21bc.jpg","text":"TemporaryFile(/tmp/multipartBody7976859038703870656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737592953754,"filename":"image_23012025_01_33_05_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330711051","file1":"1330711027","file0":"1330710999","file4":"1330711080","file5":"1330711083","file3":"1330711067"},"map_files_photo_id_array":[{"photo_id":"1330711083","filename":"file5"},{"photo_id":"1330711051","filename":"file2"},{"photo_id":"1330711080","filename":"file4"},{"photo_id":"1330711027","filename":"file1"},{"photo_id":"1330710999","filename":"file0"},{"photo_id":"1330711067","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330710999":["hashtag1","hashtag2"]},{"1330711067":["hashtag1","hashtag2"]},{"1330711051":["hashtag1","hashtag2"]},{"1330711027":["hashtag1","hashtag2"]},{"1330711080":["hashtag1","hashtag2"]},{"1330711083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330710999, 1330711067, 1330711051, 1330711027, 1330711080, 1330711083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.05706739425659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:42:33.043190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_16_10330.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_25_9406.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_36_10353.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_46_10356.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_55_9345.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_34_06_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_16_10330.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_25_9406.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_36_10353.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_46_10356.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_55_9345.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_34_06_10413.jpg
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: 0.5288879871368408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:42:43.062278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_16_10330.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_25_9406.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_36_10353.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_46_10356.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_55_9345.jpg', '/home/pi/Desktop/images/23012025/01/33/image_23012025_01_34_06_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_16_10330.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_25_9406.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_36_10353.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_46_10356.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_33_55_9345.jpg
/home/pi/Desktop/images/23012025/01/33/image_23012025_01_34_06_10413.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":["1330711187","1330711268","1330711357","1330711351","1330711191","1330711371"],"photo_ids_order":["1330711187","1330711191","1330711268","1330711351","1330711357","1330711371"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f00042d433275abe801e6c141b968373.jpg","text":"TemporaryFile(/tmp/multipartBody2972235067958418863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593023955,"filename":"image_23012025_01_33_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4647922716980ce13acd444ad2f6d606.jpg","text":"TemporaryFile(/tmp/multipartBody8803273889488248764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593023955,"filename":"image_23012025_01_33_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/659ef54dc55bcb5f1c1886bc8f3ad8e1.jpg","text":"TemporaryFile(/tmp/multipartBody5374752696382672328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593023955,"filename":"image_23012025_01_33_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c71a39c5db9f52faaa58cbffad719f4.jpg","text":"TemporaryFile(/tmp/multipartBody5160353774117036602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593023955,"filename":"image_23012025_01_33_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/961c8c42b36ace83bab394fcfdd1f936.jpg","text":"TemporaryFile(/tmp/multipartBody7189388477925541249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593023955,"filename":"image_23012025_01_33_25_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6522875e286157480f3ced194dfc3ce.jpg","text":"TemporaryFile(/tmp/multipartBody4130168272076152378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593023955,"filename":"image_23012025_01_34_06_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330711268","file1":"1330711191","file0":"1330711187","file4":"1330711357","file5":"1330711371","file3":"1330711351"},"map_files_photo_id_array":[{"photo_id":"1330711371","filename":"file5"},{"photo_id":"1330711268","filename":"file2"},{"photo_id":"1330711357","filename":"file4"},{"photo_id":"1330711191","filename":"file1"},{"photo_id":"1330711187","filename":"file0"},{"photo_id":"1330711351","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330711187":["hashtag1","hashtag2"]},{"1330711268":["hashtag1","hashtag2"]},{"1330711357":["hashtag1","hashtag2"]},{"1330711351":["hashtag1","hashtag2"]},{"1330711191":["hashtag1","hashtag2"]},{"1330711371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330711187, 1330711268, 1330711357, 1330711351, 1330711191, 1330711371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.782942056655884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:43:32.246539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_15_9496.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_25_10360.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_36_10329.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_45_9450.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_56_10342.jpg', '/home/pi/Desktop/images/23012025/01/34/image_23012025_01_35_05_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_15_9496.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_25_10360.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_36_10329.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_45_9450.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_34_56_10342.jpg
/home/pi/Desktop/images/23012025/01/34/image_23012025_01_35_05_9402.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":["1330711427","1330711436","1330711435","1330711438","1330711432","1330711429"],"photo_ids_order":["1330711427","1330711429","1330711432","1330711435","1330711436","1330711438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04e0fa374f70b490701ba6df2e076697.jpg","text":"TemporaryFile(/tmp/multipartBody2166352608110670349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593073440,"filename":"image_23012025_01_34_15_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ada003aa94c8272d22892011a967e780.jpg","text":"TemporaryFile(/tmp/multipartBody2530913862838288080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593073440,"filename":"image_23012025_01_34_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b75da6a8fe7df50836a30452518124f.jpg","text":"TemporaryFile(/tmp/multipartBody6820246216919468614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593073440,"filename":"image_23012025_01_34_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13738ef1d5099b07c92330c74670d51b.jpg","text":"TemporaryFile(/tmp/multipartBody6759012700101718242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593073440,"filename":"image_23012025_01_35_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7204f1a10aa7622b9de6e2c86fd0cd15.jpg","text":"TemporaryFile(/tmp/multipartBody7340336272827476929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593073440,"filename":"image_23012025_01_34_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9daeeebb3b4a93ebf1b762f2d36ace8a.jpg","text":"TemporaryFile(/tmp/multipartBody3412133024876247073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593073440,"filename":"image_23012025_01_34_25_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330711432","file1":"1330711429","file0":"1330711427","file4":"1330711436","file5":"1330711438","file3":"1330711435"},"map_files_photo_id_array":[{"photo_id":"1330711438","filename":"file5"},{"photo_id":"1330711432","filename":"file2"},{"photo_id":"1330711436","filename":"file4"},{"photo_id":"1330711429","filename":"file1"},{"photo_id":"1330711427","filename":"file0"},{"photo_id":"1330711435","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330711427":["hashtag1","hashtag2"]},{"1330711436":["hashtag1","hashtag2"]},{"1330711435":["hashtag1","hashtag2"]},{"1330711438":["hashtag1","hashtag2"]},{"1330711432":["hashtag1","hashtag2"]},{"1330711429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330711427, 1330711436, 1330711435, 1330711438, 1330711432, 1330711429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.325480699539185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:44:32.470293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_15_10436.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_26_10342.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_35_9401.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_55_9349.jpg', '/home/pi/Desktop/images/23012025/01/35/image_23012025_01_36_05_10399.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_16_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_15_10436.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_26_10342.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_35_9401.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_35_55_9349.jpg
/home/pi/Desktop/images/23012025/01/35/image_23012025_01_36_05_10399.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_16_10331.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":["1330711688","1330711624","1330711731","1330711653","1330711647","1330711626"],"photo_ids_order":["1330711624","1330711626","1330711647","1330711653","1330711688","1330711731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b1b6f6364b74bfbb14b7e74caed1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody3323149606281371277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593133392,"filename":"image_23012025_01_36_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25e7cd0c3e62e0de6fd75099aa725972.jpg","text":"TemporaryFile(/tmp/multipartBody4670351680831936988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593133392,"filename":"image_23012025_01_35_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0699052d5a7721c74f0f3230458dc0f7.jpg","text":"TemporaryFile(/tmp/multipartBody8257199090919070537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593133392,"filename":"image_23012025_01_36_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a02975ce478a9cb449fc0eda07b7ba22.jpg","text":"TemporaryFile(/tmp/multipartBody7157334784611722690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593133392,"filename":"image_23012025_01_35_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae7418c4e1d2bf183dcfe9114aa6b2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3722514901034097373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593133392,"filename":"image_23012025_01_35_35_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ead41a33dcb06c8080802c4d24264a66.jpg","text":"TemporaryFile(/tmp/multipartBody2861666226596548900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593133392,"filename":"image_23012025_01_35_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330711647","file1":"1330711626","file0":"1330711624","file4":"1330711688","file5":"1330711731","file3":"1330711653"},"map_files_photo_id_array":[{"photo_id":"1330711731","filename":"file5"},{"photo_id":"1330711647","filename":"file2"},{"photo_id":"1330711688","filename":"file4"},{"photo_id":"1330711626","filename":"file1"},{"photo_id":"1330711624","filename":"file0"},{"photo_id":"1330711653","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330711688":["hashtag1","hashtag2"]},{"1330711624":["hashtag1","hashtag2"]},{"1330711731":["hashtag1","hashtag2"]},{"1330711653":["hashtag1","hashtag2"]},{"1330711647":["hashtag1","hashtag2"]},{"1330711626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330711688, 1330711624, 1330711731, 1330711653, 1330711647, 1330711626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3083918094635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:45:32.638049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_25_9346.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_35_10349.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_46_10343.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_55_9506.jpg', '/home/pi/Desktop/images/23012025/01/36/image_23012025_01_37_06_10353.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_15_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_25_9346.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_35_10349.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_46_10343.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_36_55_9506.jpg
/home/pi/Desktop/images/23012025/01/36/image_23012025_01_37_06_10353.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_15_9408.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":["1330711883","1330711946","1330711880","1330711888","1330711974","1330711770"],"photo_ids_order":["1330711770","1330711880","1330711883","1330711888","1330711946","1330711974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0713e7522063eaaccc0bf1119adbb1f6.jpg","text":"TemporaryFile(/tmp/multipartBody3702560990946959567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593193572,"filename":"image_23012025_01_36_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3e54a18bcc27ef819b0962f3ad48eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7662822184878236708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593193572,"filename":"image_23012025_01_37_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd7ddf637214f11106e024b2c809116d.jpg","text":"TemporaryFile(/tmp/multipartBody1767144270896550545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593193572,"filename":"image_23012025_01_36_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eaf8f665885e21eb980a355494b65db1.jpg","text":"TemporaryFile(/tmp/multipartBody2155855502286429718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593193572,"filename":"image_23012025_01_36_55_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/201ccf40cb66042d57b20837ab480837.jpg","text":"TemporaryFile(/tmp/multipartBody5141584758620372255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593193572,"filename":"image_23012025_01_37_15_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afe4675e5bbab84601d1990b713c1c95.jpg","text":"TemporaryFile(/tmp/multipartBody8958234066634898516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593193572,"filename":"image_23012025_01_36_25_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330711883","file1":"1330711880","file0":"1330711770","file4":"1330711946","file5":"1330711974","file3":"1330711888"},"map_files_photo_id_array":[{"photo_id":"1330711974","filename":"file5"},{"photo_id":"1330711883","filename":"file2"},{"photo_id":"1330711946","filename":"file4"},{"photo_id":"1330711880","filename":"file1"},{"photo_id":"1330711770","filename":"file0"},{"photo_id":"1330711888","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330711883":["hashtag1","hashtag2"]},{"1330711946":["hashtag1","hashtag2"]},{"1330711880":["hashtag1","hashtag2"]},{"1330711888":["hashtag1","hashtag2"]},{"1330711974":["hashtag1","hashtag2"]},{"1330711770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330711883, 1330711946, 1330711880, 1330711888, 1330711974, 1330711770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.815560817718506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:46:32.966683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_25_10473.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_55_10342.jpg', '/home/pi/Desktop/images/23012025/01/37/image_23012025_01_38_06_10338.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_15_9399.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_26_10362.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_35_9315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_25_10473.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_37_55_10342.jpg
/home/pi/Desktop/images/23012025/01/37/image_23012025_01_38_06_10338.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_15_9399.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_26_10362.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_35_9315.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":["1330712027","1330712018","1330712038","1330712035","1330712022","1330712031"],"photo_ids_order":["1330712018","1330712022","1330712027","1330712031","1330712035","1330712038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce14326dcccbb5c120c76c04877c4d48.jpg","text":"TemporaryFile(/tmp/multipartBody6592799543745993936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593253887,"filename":"image_23012025_01_38_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f280836ee4ede8be917dee9a2dda3c2.jpg","text":"TemporaryFile(/tmp/multipartBody1932900614518639425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593253887,"filename":"image_23012025_01_37_25_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d6cb535b9fee40a170e5722facfabde.jpg","text":"TemporaryFile(/tmp/multipartBody5146670866765116012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593253887,"filename":"image_23012025_01_38_35_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a65e6f20c2b676341c72f11595862653.jpg","text":"TemporaryFile(/tmp/multipartBody2975703627456625643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593253887,"filename":"image_23012025_01_38_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11347cb7a568f8d0062925a810cf5a7b.jpg","text":"TemporaryFile(/tmp/multipartBody5759780174049639782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593253887,"filename":"image_23012025_01_37_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db9473701ef50e2d5f52b813eff7a7a1.jpg","text":"TemporaryFile(/tmp/multipartBody3373918957283831527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593253887,"filename":"image_23012025_01_38_15_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712027","file1":"1330712022","file0":"1330712018","file4":"1330712035","file5":"1330712038","file3":"1330712031"},"map_files_photo_id_array":[{"photo_id":"1330712038","filename":"file5"},{"photo_id":"1330712027","filename":"file2"},{"photo_id":"1330712035","filename":"file4"},{"photo_id":"1330712022","filename":"file1"},{"photo_id":"1330712018","filename":"file0"},{"photo_id":"1330712031","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712027":["hashtag1","hashtag2"]},{"1330712018":["hashtag1","hashtag2"]},{"1330712038":["hashtag1","hashtag2"]},{"1330712035":["hashtag1","hashtag2"]},{"1330712022":["hashtag1","hashtag2"]},{"1330712031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712027, 1330712018, 1330712038, 1330712035, 1330712022, 1330712031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76499629020691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:47:33.093293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_45_10339.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_56_10359.jpg', '/home/pi/Desktop/images/23012025/01/38/image_23012025_01_39_05_9338.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_26_10410.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_35_9461.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_45_10339.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_38_56_10359.jpg
/home/pi/Desktop/images/23012025/01/38/image_23012025_01_39_05_9338.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_26_10410.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_35_9461.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_45_10346.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":["1330712100","1330712090","1330712084","1330712057","1330712060","1330712088"],"photo_ids_order":["1330712057","1330712060","1330712084","1330712088","1330712090","1330712100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e213ba66f4044e0cb6986c01cbf898e2.jpg","text":"TemporaryFile(/tmp/multipartBody7934801599235098941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593314051,"filename":"image_23012025_01_39_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d584d074081e86b022a92eb15cf9d05.jpg","text":"TemporaryFile(/tmp/multipartBody3510516727737627797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593314051,"filename":"image_23012025_01_39_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5e4ae171b16e0176bb16cfbbcd71e33.jpg","text":"TemporaryFile(/tmp/multipartBody1314460385494192840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593314051,"filename":"image_23012025_01_39_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6e97a9703c32804f963db207dbd5f67.jpg","text":"TemporaryFile(/tmp/multipartBody3116332804773683510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593314051,"filename":"image_23012025_01_38_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8c205338c3867375ab37ac1b3ef2589.jpg","text":"TemporaryFile(/tmp/multipartBody6473630685178425074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593314051,"filename":"image_23012025_01_38_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8550bf4fb9ff37ee8a1e17ca6ef8c467.jpg","text":"TemporaryFile(/tmp/multipartBody8167523788406867264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593314051,"filename":"image_23012025_01_39_26_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712084","file1":"1330712060","file0":"1330712057","file4":"1330712090","file5":"1330712100","file3":"1330712088"},"map_files_photo_id_array":[{"photo_id":"1330712100","filename":"file5"},{"photo_id":"1330712084","filename":"file2"},{"photo_id":"1330712090","filename":"file4"},{"photo_id":"1330712060","filename":"file1"},{"photo_id":"1330712057","filename":"file0"},{"photo_id":"1330712088","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712100":["hashtag1","hashtag2"]},{"1330712090":["hashtag1","hashtag2"]},{"1330712084":["hashtag1","hashtag2"]},{"1330712057":["hashtag1","hashtag2"]},{"1330712060":["hashtag1","hashtag2"]},{"1330712088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712100, 1330712090, 1330712084, 1330712057, 1330712060, 1330712088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.55264759063721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:48:32.232982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_56_10381.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_40_05_9406.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_16_10333.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_25_9347.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_35_10427.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_56_10381.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_40_05_9406.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_16_10333.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_25_9347.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_35_10427.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_46_10350.jpg
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: 0.5175735950469971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:48:42.427765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_56_10381.jpg', '/home/pi/Desktop/images/23012025/01/39/image_23012025_01_40_05_9406.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_16_10333.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_25_9347.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_35_10427.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_39_56_10381.jpg
/home/pi/Desktop/images/23012025/01/39/image_23012025_01_40_05_9406.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_16_10333.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_25_9347.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_35_10427.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_46_10350.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":["1330712162","1330712165","1330712134","1330712157","1330712217","1330712139"],"photo_ids_order":["1330712134","1330712139","1330712157","1330712162","1330712165","1330712217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72592ae03f7ed8fe7482898bda37c7be.jpg","text":"TemporaryFile(/tmp/multipartBody3350472273753798301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593383352,"filename":"image_23012025_01_40_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6a172a9ff50eeb9767f97b18fd4f48f.jpg","text":"TemporaryFile(/tmp/multipartBody81090862001997398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593383352,"filename":"image_23012025_01_40_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa86dd02952df00cb8acd14dafa700c9.jpg","text":"TemporaryFile(/tmp/multipartBody1620745112923822314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593383352,"filename":"image_23012025_01_39_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79aabb84fc7a944a047d6868d19dcafb.jpg","text":"TemporaryFile(/tmp/multipartBody9020158148365709903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593383352,"filename":"image_23012025_01_40_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/294567370e953189a8a2937b8dde8cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3312150535265971334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593383352,"filename":"image_23012025_01_40_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90f441dc553804762950488f6d203bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4956846424686296425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593383352,"filename":"image_23012025_01_40_05_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712157","file1":"1330712139","file0":"1330712134","file4":"1330712165","file5":"1330712217","file3":"1330712162"},"map_files_photo_id_array":[{"photo_id":"1330712217","filename":"file5"},{"photo_id":"1330712157","filename":"file2"},{"photo_id":"1330712165","filename":"file4"},{"photo_id":"1330712139","filename":"file1"},{"photo_id":"1330712134","filename":"file0"},{"photo_id":"1330712162","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712162":["hashtag1","hashtag2"]},{"1330712165":["hashtag1","hashtag2"]},{"1330712134":["hashtag1","hashtag2"]},{"1330712157":["hashtag1","hashtag2"]},{"1330712217":["hashtag1","hashtag2"]},{"1330712139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712162, 1330712165, 1330712134, 1330712157, 1330712217, 1330712139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2000195980072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:49:32.439943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_55_9458.jpg', '/home/pi/Desktop/images/23012025/01/40/image_23012025_01_41_06_10362.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_16_10328.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_25_9436.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_36_10350.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_45_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_40_55_9458.jpg
/home/pi/Desktop/images/23012025/01/40/image_23012025_01_41_06_10362.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_16_10328.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_25_9436.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_36_10350.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_45_9357.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":["1330712282","1330712477","1330712408","1330712377","1330712473","1330712424"],"photo_ids_order":["1330712282","1330712377","1330712408","1330712424","1330712473","1330712477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa55389e241db460d0de6f67070db2c4.jpg","text":"TemporaryFile(/tmp/multipartBody2417245630657223613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593433479,"filename":"image_23012025_01_40_55_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/670f9e693775c97684f222971ce01238.jpg","text":"TemporaryFile(/tmp/multipartBody825641007396669875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593433479,"filename":"image_23012025_01_41_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1b9e8d68bc6013f7e6e369b030818f6.jpg","text":"TemporaryFile(/tmp/multipartBody4811716288453128204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593433479,"filename":"image_23012025_01_41_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a22e4a25497234d88356f9fd2a871da.jpg","text":"TemporaryFile(/tmp/multipartBody7173867731279258307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593433479,"filename":"image_23012025_01_41_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca69fc80694800991bf8833dffa3e17e.jpg","text":"TemporaryFile(/tmp/multipartBody6274735998312260040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593433479,"filename":"image_23012025_01_41_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1a889a9f4965710911f12fd3950da98.jpg","text":"TemporaryFile(/tmp/multipartBody677771872776238915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593433479,"filename":"image_23012025_01_41_25_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712408","file1":"1330712377","file0":"1330712282","file4":"1330712473","file5":"1330712477","file3":"1330712424"},"map_files_photo_id_array":[{"photo_id":"1330712477","filename":"file5"},{"photo_id":"1330712408","filename":"file2"},{"photo_id":"1330712473","filename":"file4"},{"photo_id":"1330712377","filename":"file1"},{"photo_id":"1330712282","filename":"file0"},{"photo_id":"1330712424","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712282":["hashtag1","hashtag2"]},{"1330712477":["hashtag1","hashtag2"]},{"1330712408":["hashtag1","hashtag2"]},{"1330712377":["hashtag1","hashtag2"]},{"1330712473":["hashtag1","hashtag2"]},{"1330712424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712282, 1330712477, 1330712408, 1330712377, 1330712473, 1330712424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41949462890625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:50:32.680721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_55_10405.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_42_06_10446.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_15_9424.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_26_10455.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_35_9372.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_55_10405.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_42_06_10446.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_15_9424.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_26_10455.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_35_9372.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_45_10345.jpg
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: 0.5494475364685059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:50:42.835558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_55_10405.jpg', '/home/pi/Desktop/images/23012025/01/41/image_23012025_01_42_06_10446.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_15_9424.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_26_10455.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_35_9372.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_41_55_10405.jpg
/home/pi/Desktop/images/23012025/01/41/image_23012025_01_42_06_10446.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_15_9424.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_26_10455.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_35_9372.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_45_10345.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":["1330712534","1330712537","1330712539","1330712541","1330712565","1330712616"],"photo_ids_order":["1330712534","1330712537","1330712539","1330712541","1330712565","1330712616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f7a802f9fc0d0b80994257ef305fa56.jpg","text":"TemporaryFile(/tmp/multipartBody8856919625301402540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593503748,"filename":"image_23012025_01_41_55_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1ef815b32af9680e0c827d2141a46e3.jpg","text":"TemporaryFile(/tmp/multipartBody2796251466497198887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593503748,"filename":"image_23012025_01_42_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af4bedd005b75cc627cce1d3f6d3c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody2307098513962023782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593503748,"filename":"image_23012025_01_42_15_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27209eb4e1ec458b6b5e6b7df1f26337.jpg","text":"TemporaryFile(/tmp/multipartBody4737803841214964569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593503748,"filename":"image_23012025_01_42_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f92c096e4e768778558629edfeb93807.jpg","text":"TemporaryFile(/tmp/multipartBody3853693473737702913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593503748,"filename":"image_23012025_01_42_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37cd797189145ed4b8cb98485051d244.jpg","text":"TemporaryFile(/tmp/multipartBody5629648988811896172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593503748,"filename":"image_23012025_01_42_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712539","file1":"1330712537","file0":"1330712534","file4":"1330712565","file5":"1330712616","file3":"1330712541"},"map_files_photo_id_array":[{"photo_id":"1330712616","filename":"file5"},{"photo_id":"1330712539","filename":"file2"},{"photo_id":"1330712565","filename":"file4"},{"photo_id":"1330712537","filename":"file1"},{"photo_id":"1330712534","filename":"file0"},{"photo_id":"1330712541","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712534":["hashtag1","hashtag2"]},{"1330712537":["hashtag1","hashtag2"]},{"1330712539":["hashtag1","hashtag2"]},{"1330712541":["hashtag1","hashtag2"]},{"1330712565":["hashtag1","hashtag2"]},{"1330712616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712534, 1330712537, 1330712539, 1330712541, 1330712565, 1330712616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.44358825683594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:51:32.927115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_55_9431.jpg', '/home/pi/Desktop/images/23012025/01/42/image_23012025_01_43_05_10322.jpg', '/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_16_10364.jpg', '/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_25_9331.jpg', '/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_35_10338.jpg', '/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_46_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_42_55_9431.jpg
/home/pi/Desktop/images/23012025/01/42/image_23012025_01_43_05_10322.jpg
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_16_10364.jpg
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_25_9331.jpg
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_35_10338.jpg
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_46_10342.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":["1330712648","1330712650","1330712644","1330712638","1330712641","1330712635"],"photo_ids_order":["1330712635","1330712638","1330712641","1330712644","1330712648","1330712650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd9b2307af4938fcd77de5d197866946.jpg","text":"TemporaryFile(/tmp/multipartBody7695491733424383916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593553833,"filename":"image_23012025_01_43_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92dafedd3526dcd44a75a392e60aee35.jpg","text":"TemporaryFile(/tmp/multipartBody6060018246200846421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593553833,"filename":"image_23012025_01_43_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29f469f7308abd48cb3830e7ed462515.jpg","text":"TemporaryFile(/tmp/multipartBody600021634938397017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593553833,"filename":"image_23012025_01_43_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75ffe1c8749dfa318eb9ceaa5078bb61.jpg","text":"TemporaryFile(/tmp/multipartBody7549029967834517689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593553833,"filename":"image_23012025_01_43_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/549a4e16e86669a00e093d4cbd061a58.jpg","text":"TemporaryFile(/tmp/multipartBody4313411401886072533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593553833,"filename":"image_23012025_01_43_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a407e4fb2c2e6e310650535130e0212e.jpg","text":"TemporaryFile(/tmp/multipartBody5145615112128619864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593553833,"filename":"image_23012025_01_42_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712641","file1":"1330712638","file0":"1330712635","file4":"1330712648","file5":"1330712650","file3":"1330712644"},"map_files_photo_id_array":[{"photo_id":"1330712650","filename":"file5"},{"photo_id":"1330712641","filename":"file2"},{"photo_id":"1330712648","filename":"file4"},{"photo_id":"1330712638","filename":"file1"},{"photo_id":"1330712635","filename":"file0"},{"photo_id":"1330712644","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712648":["hashtag1","hashtag2"]},{"1330712650":["hashtag1","hashtag2"]},{"1330712644":["hashtag1","hashtag2"]},{"1330712638":["hashtag1","hashtag2"]},{"1330712641":["hashtag1","hashtag2"]},{"1330712635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712648, 1330712650, 1330712644, 1330712638, 1330712641, 1330712635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.58065724372864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:52:32.222227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_55_9350.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_16_10387.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_25_9439.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_36_10324.jpg', '/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_55_10478.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_15_9489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/43/image_23012025_01_43_55_9350.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_16_10387.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_25_9439.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_36_10324.jpg
/home/pi/Desktop/images/23012025/01/44/image_23012025_01_44_55_10478.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_15_9489.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":["1330712657","1330712711","1330712659","1330712754","1330712757","1330712663"],"photo_ids_order":["1330712657","1330712659","1330712663","1330712711","1330712754","1330712757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8e25042d2a7db07b11162bf1745569d.jpg","text":"TemporaryFile(/tmp/multipartBody5862199997088063565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593613264,"filename":"image_23012025_01_43_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d278338dcbc4d7b802f670e5d07d05f2.jpg","text":"TemporaryFile(/tmp/multipartBody7590265939853328707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593613264,"filename":"image_23012025_01_44_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e912fdc3777dfd9e31c9defa4ca3458.jpg","text":"TemporaryFile(/tmp/multipartBody1957736002558090225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593613264,"filename":"image_23012025_01_44_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/967af99f2467d851b29bec6390cdf916.jpg","text":"TemporaryFile(/tmp/multipartBody4984438153511116540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593613264,"filename":"image_23012025_01_44_55_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d288e2efd5988409439a7e60b400a032.jpg","text":"TemporaryFile(/tmp/multipartBody1588285118939492682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593613264,"filename":"image_23012025_01_45_15_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e35c24778441296dedf41207a1690ee.jpg","text":"TemporaryFile(/tmp/multipartBody238400539445745783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593613264,"filename":"image_23012025_01_44_25_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712663","file1":"1330712659","file0":"1330712657","file4":"1330712754","file5":"1330712757","file3":"1330712711"},"map_files_photo_id_array":[{"photo_id":"1330712757","filename":"file5"},{"photo_id":"1330712663","filename":"file2"},{"photo_id":"1330712754","filename":"file4"},{"photo_id":"1330712659","filename":"file1"},{"photo_id":"1330712657","filename":"file0"},{"photo_id":"1330712711","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712657":["hashtag1","hashtag2"]},{"1330712711":["hashtag1","hashtag2"]},{"1330712659":["hashtag1","hashtag2"]},{"1330712754":["hashtag1","hashtag2"]},{"1330712757":["hashtag1","hashtag2"]},{"1330712663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712657, 1330712711, 1330712659, 1330712754, 1330712757, 1330712663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.639564514160156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:53:32.383650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_26_10354.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_45_10348.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_56_10351.jpg', '/home/pi/Desktop/images/23012025/01/45/image_23012025_01_46_05_9337.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_15_10430.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_26_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_26_10354.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_45_10348.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_45_56_10351.jpg
/home/pi/Desktop/images/23012025/01/45/image_23012025_01_46_05_9337.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_15_10430.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_26_10353.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":["1330712858","1330712900","1330712903","1330712881","1330712878","1330712889"],"photo_ids_order":["1330712858","1330712878","1330712881","1330712889","1330712900","1330712903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fa3a7498083093b1bc7a89d0841f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody5285921724718779479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593673286,"filename":"image_23012025_01_45_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0e055363f132869d446a08a7337419b.jpg","text":"TemporaryFile(/tmp/multipartBody7128683549187359663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593673286,"filename":"image_23012025_01_46_15_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c58b5ac84881d8d6d72f1cd2b1c968bf.jpg","text":"TemporaryFile(/tmp/multipartBody4212980151059646000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593673286,"filename":"image_23012025_01_46_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e63280652348b53011b697d28ac446b.jpg","text":"TemporaryFile(/tmp/multipartBody4324009212773810211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593673286,"filename":"image_23012025_01_45_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89cdfd7f2d0a56dac710dca8a88c3257.jpg","text":"TemporaryFile(/tmp/multipartBody3734608985165861049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593673286,"filename":"image_23012025_01_45_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7775e62f4939fc98a444f933dce9493a.jpg","text":"TemporaryFile(/tmp/multipartBody801611732298574081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593673286,"filename":"image_23012025_01_46_05_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712881","file1":"1330712878","file0":"1330712858","file4":"1330712900","file5":"1330712903","file3":"1330712889"},"map_files_photo_id_array":[{"photo_id":"1330712903","filename":"file5"},{"photo_id":"1330712881","filename":"file2"},{"photo_id":"1330712900","filename":"file4"},{"photo_id":"1330712878","filename":"file1"},{"photo_id":"1330712858","filename":"file0"},{"photo_id":"1330712889","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712858":["hashtag1","hashtag2"]},{"1330712900":["hashtag1","hashtag2"]},{"1330712903":["hashtag1","hashtag2"]},{"1330712881":["hashtag1","hashtag2"]},{"1330712878":["hashtag1","hashtag2"]},{"1330712889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712858, 1330712900, 1330712903, 1330712881, 1330712878, 1330712889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.00452399253845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:54:32.586696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_35_9433.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_46_10362.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_56_10356.jpg', '/home/pi/Desktop/images/23012025/01/46/image_23012025_01_47_05_9457.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_16_10376.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_25_9468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_35_9433.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_46_10362.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_46_56_10356.jpg
/home/pi/Desktop/images/23012025/01/46/image_23012025_01_47_05_9457.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_16_10376.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_25_9468.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":["1330712942","1330712939","1330712930","1330712933","1330712936","1330712929"],"photo_ids_order":["1330712929","1330712930","1330712933","1330712936","1330712939","1330712942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7563db82fac7f825fd57d66ba2e996a.jpg","text":"TemporaryFile(/tmp/multipartBody1879272041770302686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593733498,"filename":"image_23012025_01_47_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/549a84e8b45b5fcb17161fccf49cc02f.jpg","text":"TemporaryFile(/tmp/multipartBody5173582694838000245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593733498,"filename":"image_23012025_01_47_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/234574b0d44dc040ddd0a3ba1a3ae48c.jpg","text":"TemporaryFile(/tmp/multipartBody8966965308630531267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593733498,"filename":"image_23012025_01_46_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20a3f329eac6cb473b71766bb0915354.jpg","text":"TemporaryFile(/tmp/multipartBody8387719075737957448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593733498,"filename":"image_23012025_01_46_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ddc2203a07b6a8055ca3b5c3e3941d29.jpg","text":"TemporaryFile(/tmp/multipartBody2503927126096861612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593733498,"filename":"image_23012025_01_47_05_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/843de074c320a177d084c5338b5336d8.jpg","text":"TemporaryFile(/tmp/multipartBody2453434796269851102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593733498,"filename":"image_23012025_01_46_35_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330712933","file1":"1330712930","file0":"1330712929","file4":"1330712939","file5":"1330712942","file3":"1330712936"},"map_files_photo_id_array":[{"photo_id":"1330712942","filename":"file5"},{"photo_id":"1330712933","filename":"file2"},{"photo_id":"1330712939","filename":"file4"},{"photo_id":"1330712930","filename":"file1"},{"photo_id":"1330712929","filename":"file0"},{"photo_id":"1330712936","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330712942":["hashtag1","hashtag2"]},{"1330712939":["hashtag1","hashtag2"]},{"1330712930":["hashtag1","hashtag2"]},{"1330712933":["hashtag1","hashtag2"]},{"1330712936":["hashtag1","hashtag2"]},{"1330712929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330712942, 1330712939, 1330712930, 1330712933, 1330712936, 1330712929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.151729345321655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:55:32.888510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_36_10358.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_46_10357.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_55_9437.jpg', '/home/pi/Desktop/images/23012025/01/47/image_23012025_01_48_06_10330.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_15_9322.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_25_10487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_36_10358.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_46_10357.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_47_55_9437.jpg
/home/pi/Desktop/images/23012025/01/47/image_23012025_01_48_06_10330.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_15_9322.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_25_10487.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":["1330713026","1330712978","1330713020","1330713028","1330713044","1330713023"],"photo_ids_order":["1330712978","1330713020","1330713023","1330713026","1330713028","1330713044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da93a0c5691d9bca370073aae57f1287.jpg","text":"TemporaryFile(/tmp/multipartBody2783001256370530720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593793798,"filename":"image_23012025_01_48_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ab4e1db1500eca5b997fcf45ec1eb69.jpg","text":"TemporaryFile(/tmp/multipartBody878046486594066638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593793798,"filename":"image_23012025_01_47_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00512c22e285284fa50a0880b4c3b107.jpg","text":"TemporaryFile(/tmp/multipartBody5529123443375195511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593793798,"filename":"image_23012025_01_47_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10621cf22fbc858ace74e099c8e428b9.jpg","text":"TemporaryFile(/tmp/multipartBody7243199561335224124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593793798,"filename":"image_23012025_01_48_15_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6aaaf4ded8ce64569d61f4c62b3a208f.jpg","text":"TemporaryFile(/tmp/multipartBody1137938168651313844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593793798,"filename":"image_23012025_01_48_25_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2051728051040adef9394ed65fcc2155.jpg","text":"TemporaryFile(/tmp/multipartBody7636086193142350624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593793798,"filename":"image_23012025_01_47_55_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330713023","file1":"1330713020","file0":"1330712978","file4":"1330713028","file5":"1330713044","file3":"1330713026"},"map_files_photo_id_array":[{"photo_id":"1330713044","filename":"file5"},{"photo_id":"1330713023","filename":"file2"},{"photo_id":"1330713028","filename":"file4"},{"photo_id":"1330713020","filename":"file1"},{"photo_id":"1330712978","filename":"file0"},{"photo_id":"1330713026","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330713026":["hashtag1","hashtag2"]},{"1330712978":["hashtag1","hashtag2"]},{"1330713020":["hashtag1","hashtag2"]},{"1330713028":["hashtag1","hashtag2"]},{"1330713044":["hashtag1","hashtag2"]},{"1330713023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330713026, 1330712978, 1330713020, 1330713028, 1330713044, 1330713023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.749019622802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:56:32.994652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_36_10327.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_45_9410.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_56_10354.jpg', '/home/pi/Desktop/images/23012025/01/48/image_23012025_01_49_05_9340.jpg', '/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_15_10435.jpg', '/home/pi/Desktop/images/23012025/01/49/image_23012025_01_50_05_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_36_10327.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_45_9410.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_48_56_10354.jpg
/home/pi/Desktop/images/23012025/01/48/image_23012025_01_49_05_9340.jpg
/home/pi/Desktop/images/23012025/01/49/image_23012025_01_49_15_10435.jpg
/home/pi/Desktop/images/23012025/01/49/image_23012025_01_50_05_9445.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":["1330713230","1330713136","1330713258","1330713330","1330713333","1330713320"],"photo_ids_order":["1330713136","1330713230","1330713258","1330713320","1330713330","1330713333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d49e35555f4b118c4c47677683cb028.jpg","text":"TemporaryFile(/tmp/multipartBody3695620070103666917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593853915,"filename":"image_23012025_01_48_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/836d4264317c36cecb033cba65e4c71c.jpg","text":"TemporaryFile(/tmp/multipartBody2445722132952301211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593853915,"filename":"image_23012025_01_48_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/180c30303a262fc6a2d6b85ed4de4d1a.jpg","text":"TemporaryFile(/tmp/multipartBody9052908253580933225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593853915,"filename":"image_23012025_01_48_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/882c682bb12384511e82820e195ac396.jpg","text":"TemporaryFile(/tmp/multipartBody6731835803607163984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593853915,"filename":"image_23012025_01_49_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ffdbc587737b903fbe61ffe2f6e2220.jpg","text":"TemporaryFile(/tmp/multipartBody7860662173530622338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593853915,"filename":"image_23012025_01_50_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4558f08220741dceffa9964eae73207.jpg","text":"TemporaryFile(/tmp/multipartBody3348023468953834513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737593853915,"filename":"image_23012025_01_49_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330713258","file1":"1330713230","file0":"1330713136","file4":"1330713330","file5":"1330713333","file3":"1330713320"},"map_files_photo_id_array":[{"photo_id":"1330713333","filename":"file5"},{"photo_id":"1330713258","filename":"file2"},{"photo_id":"1330713330","filename":"file4"},{"photo_id":"1330713230","filename":"file1"},{"photo_id":"1330713136","filename":"file0"},{"photo_id":"1330713320","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330713230":["hashtag1","hashtag2"]},{"1330713136":["hashtag1","hashtag2"]},{"1330713258":["hashtag1","hashtag2"]},{"1330713330":["hashtag1","hashtag2"]},{"1330713333":["hashtag1","hashtag2"]},{"1330713320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330713230, 1330713136, 1330713258, 1330713330, 1330713333, 1330713320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.5574164390564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 01:57:32.236113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_16_10423.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_25_9376.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_35_10337.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_16_10346.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_25_9364.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_45_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_16_10423.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_25_9376.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_35_10337.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_16_10346.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_25_9364.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_45_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 01:59:03.826103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_16_10423.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_25_9376.jpg', '/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_35_10337.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_16_10346.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_25_9364.jpg', '/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_45_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_16_10423.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_25_9376.jpg
/home/pi/Desktop/images/23012025/01/50/image_23012025_01_50_35_10337.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_16_10346.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_25_9364.jpg
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_51_45_9450.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":["1330713521","1330713541","1330713553","1330713546","1330713531","1330713512"],"photo_ids_order":["1330713512","1330713521","1330713531","1330713541","1330713546","1330713553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/339ef367b0cf9287a7df95dff780314b.jpg","text":"TemporaryFile(/tmp/multipartBody2845441993354326975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594004820,"filename":"image_23012025_01_50_25_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d4821498786c6448163b46114eaf005.jpg","text":"TemporaryFile(/tmp/multipartBody645627883435592680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594004820,"filename":"image_23012025_01_51_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c61b33dd66f81eee959c33df46ceeba2.jpg","text":"TemporaryFile(/tmp/multipartBody1049917664062991775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594004820,"filename":"image_23012025_01_51_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98a5ed357bf6b7745bc18c412de3aacc.jpg","text":"TemporaryFile(/tmp/multipartBody2705818913137149221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594004820,"filename":"image_23012025_01_51_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75ef67beadb8cb7e720d949b781c193e.jpg","text":"TemporaryFile(/tmp/multipartBody9160265507405920172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594004820,"filename":"image_23012025_01_50_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65f613b8f7c279318bf98135f88f5588.jpg","text":"TemporaryFile(/tmp/multipartBody3669808673337058135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594004820,"filename":"image_23012025_01_50_16_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330713531","file1":"1330713521","file0":"1330713512","file4":"1330713546","file5":"1330713553","file3":"1330713541"},"map_files_photo_id_array":[{"photo_id":"1330713553","filename":"file5"},{"photo_id":"1330713531","filename":"file2"},{"photo_id":"1330713546","filename":"file4"},{"photo_id":"1330713521","filename":"file1"},{"photo_id":"1330713512","filename":"file0"},{"photo_id":"1330713541","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330713521":["hashtag1","hashtag2"]},{"1330713541":["hashtag1","hashtag2"]},{"1330713553":["hashtag1","hashtag2"]},{"1330713546":["hashtag1","hashtag2"]},{"1330713531":["hashtag1","hashtag2"]},{"1330713512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330713521, 1330713541, 1330713553, 1330713546, 1330713531, 1330713512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.38836598396301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 01:59:52.888541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/27/image_20012025_06_27_15_10311.jpg', '/home/pi/Desktop/images/20012025/06/27/image_20012025_06_27_26_10351.jpg', '/home/pi/Desktop/images/20012025/06/27/image_20012025_06_27_35_9334.jpg', '/home/pi/Desktop/images/20012025/06/27/image_20012025_06_28_05_9393.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_15_10323.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_25_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/27/image_20012025_06_27_15_10311.jpg
/home/pi/Desktop/images/20012025/06/27/image_20012025_06_27_26_10351.jpg
/home/pi/Desktop/images/20012025/06/27/image_20012025_06_27_35_9334.jpg
/home/pi/Desktop/images/20012025/06/27/image_20012025_06_28_05_9393.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_15_10323.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_25_9342.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":["1330713562","1330713570","1330713564","1330713573","1330713567","1330713576"],"photo_ids_order":["1330713562","1330713564","1330713567","1330713570","1330713573","1330713576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c18406dfea58708aa41976ac4e72a12.jpg","text":"TemporaryFile(/tmp/multipartBody4446002118328995712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594055684,"filename":"image_20012025_06_27_15_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edb1ea1ff8a8e91d883cec0808a36275.jpg","text":"TemporaryFile(/tmp/multipartBody2753816828963114396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594055684,"filename":"image_20012025_06_28_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5806d71dc1ac5af065b47eded5d2a13.jpg","text":"TemporaryFile(/tmp/multipartBody3815975918609656169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594055684,"filename":"image_20012025_06_27_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f252102b55f031d03d2f986d3a1fef95.jpg","text":"TemporaryFile(/tmp/multipartBody5826290268014557647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594055684,"filename":"image_20012025_06_28_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb20cfc26e2babad803e5943204035af.jpg","text":"TemporaryFile(/tmp/multipartBody588792221440796194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594055684,"filename":"image_20012025_06_27_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef6814dab07f482cc9e3fcfb80ad3305.jpg","text":"TemporaryFile(/tmp/multipartBody2298975743110811750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594055684,"filename":"image_20012025_06_28_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330713567","file1":"1330713564","file0":"1330713562","file4":"1330713573","file5":"1330713576","file3":"1330713570"},"map_files_photo_id_array":[{"photo_id":"1330713576","filename":"file5"},{"photo_id":"1330713567","filename":"file2"},{"photo_id":"1330713573","filename":"file4"},{"photo_id":"1330713564","filename":"file1"},{"photo_id":"1330713562","filename":"file0"},{"photo_id":"1330713570","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330713562":["hashtag1","hashtag2"]},{"1330713570":["hashtag1","hashtag2"]},{"1330713564":["hashtag1","hashtag2"]},{"1330713573":["hashtag1","hashtag2"]},{"1330713567":["hashtag1","hashtag2"]},{"1330713576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330713562, 1330713570, 1330713564, 1330713573, 1330713567, 1330713576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.631441593170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:00:43.162324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/51/image_23012025_01_52_06_10348.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_15_9381.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_26_10373.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_36_10326.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_45_9405.jpg', '/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/51/image_23012025_01_52_06_10348.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_15_9381.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_26_10373.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_36_10326.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_45_9405.jpg
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_52_56_10347.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":["1330713595","1330713613","1330713627","1330713639","1330713680","1330713674"],"photo_ids_order":["1330713595","1330713613","1330713627","1330713639","1330713674","1330713680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/043b917e3b3358c0c799a38e7fb0ec5c.jpg","text":"TemporaryFile(/tmp/multipartBody2411532562785877710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594104069,"filename":"image_23012025_01_52_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/570d0a89c506cddd89572c846f556ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5578152255268360787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594104069,"filename":"image_23012025_01_52_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/648a3439376532d8690470397203ef95.jpg","text":"TemporaryFile(/tmp/multipartBody7087403293275794274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594104069,"filename":"image_23012025_01_52_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe45edee13db109d3fe61fb93e612c43.jpg","text":"TemporaryFile(/tmp/multipartBody8721382713625359797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594104069,"filename":"image_23012025_01_52_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fb273ead2136a7153057c6833d0b602.jpg","text":"TemporaryFile(/tmp/multipartBody8957969273022907760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594104069,"filename":"image_23012025_01_52_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79d588a35775f4698078dff7bd49e550.jpg","text":"TemporaryFile(/tmp/multipartBody36562861834339774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594104069,"filename":"image_23012025_01_52_45_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330713627","file1":"1330713613","file0":"1330713595","file4":"1330713674","file5":"1330713680","file3":"1330713639"},"map_files_photo_id_array":[{"photo_id":"1330713680","filename":"file5"},{"photo_id":"1330713627","filename":"file2"},{"photo_id":"1330713674","filename":"file4"},{"photo_id":"1330713613","filename":"file1"},{"photo_id":"1330713595","filename":"file0"},{"photo_id":"1330713639","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330713595":["hashtag1","hashtag2"]},{"1330713613":["hashtag1","hashtag2"]},{"1330713627":["hashtag1","hashtag2"]},{"1330713639":["hashtag1","hashtag2"]},{"1330713680":["hashtag1","hashtag2"]},{"1330713674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330713595, 1330713613, 1330713627, 1330713639, 1330713680, 1330713674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26283359527588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:01:32.344638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/52/image_23012025_01_53_05_9352.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_15_10431.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_26_10462.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_35_9466.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_46_10382.jpg', '/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_55_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/52/image_23012025_01_53_05_9352.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_15_10431.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_26_10462.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_35_9466.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_46_10382.jpg
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_53_55_9448.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":["1330713877","1330713880","1330713802","1330713879","1330713872","1330713725"],"photo_ids_order":["1330713725","1330713802","1330713872","1330713877","1330713879","1330713880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c68403c5b35340f3dc51784bbaf03d23.jpg","text":"TemporaryFile(/tmp/multipartBody4097593301430085363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594153270,"filename":"image_23012025_01_53_35_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a8b5b6716940a7b2115afa47e866bc8.jpg","text":"TemporaryFile(/tmp/multipartBody8144330800212560669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594153270,"filename":"image_23012025_01_53_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a06363fcf666aa476daab6131807d32.jpg","text":"TemporaryFile(/tmp/multipartBody3394045502407857157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594153270,"filename":"image_23012025_01_53_15_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d7f12efc69c3f02c9fbf9813c51ce78.jpg","text":"TemporaryFile(/tmp/multipartBody1912087781127374347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594153270,"filename":"image_23012025_01_53_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bffa46e3010a070ebf58db58ed965df.jpg","text":"TemporaryFile(/tmp/multipartBody8476386947693437883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594153270,"filename":"image_23012025_01_53_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2b729a4b151b3526ac6a6ed7714b163.jpg","text":"TemporaryFile(/tmp/multipartBody438142725375654142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594153270,"filename":"image_23012025_01_53_05_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330713872","file1":"1330713802","file0":"1330713725","file4":"1330713879","file5":"1330713880","file3":"1330713877"},"map_files_photo_id_array":[{"photo_id":"1330713880","filename":"file5"},{"photo_id":"1330713872","filename":"file2"},{"photo_id":"1330713879","filename":"file4"},{"photo_id":"1330713802","filename":"file1"},{"photo_id":"1330713725","filename":"file0"},{"photo_id":"1330713877","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330713877":["hashtag1","hashtag2"]},{"1330713880":["hashtag1","hashtag2"]},{"1330713802":["hashtag1","hashtag2"]},{"1330713879":["hashtag1","hashtag2"]},{"1330713872":["hashtag1","hashtag2"]},{"1330713725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330713877, 1330713880, 1330713802, 1330713879, 1330713872, 1330713725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.045116662979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:02:32.561037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/53/image_23012025_01_54_05_10349.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_16_10375.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_25_9352.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_36_10368.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_55_10376.jpg', '/home/pi/Desktop/images/23012025/01/54/image_23012025_01_55_06_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/53/image_23012025_01_54_05_10349.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_16_10375.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_25_9352.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_36_10368.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_54_55_10376.jpg
/home/pi/Desktop/images/23012025/01/54/image_23012025_01_55_06_10334.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":["1330714059","1330714008","1330714002","1330714073","1330714031","1330714004"],"photo_ids_order":["1330714002","1330714004","1330714008","1330714031","1330714059","1330714073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6933ecf7c069da299c84cf655254873e.jpg","text":"TemporaryFile(/tmp/multipartBody3250186405311704528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594213461,"filename":"image_23012025_01_54_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f85b0e1f10cc675e4405ec623f3d1993.jpg","text":"TemporaryFile(/tmp/multipartBody3244240614232418360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594213461,"filename":"image_23012025_01_54_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13fa19516f797adf766aa9a9ff32512b.jpg","text":"TemporaryFile(/tmp/multipartBody2294590250877412517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594213461,"filename":"image_23012025_01_54_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a3b4b0d5da63f0aa74bd7acb3b1683e.jpg","text":"TemporaryFile(/tmp/multipartBody7231588480948814200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594213461,"filename":"image_23012025_01_55_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd007bfd16cef7bcbcd78b29faa4f031.jpg","text":"TemporaryFile(/tmp/multipartBody2504142910090674011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594213461,"filename":"image_23012025_01_54_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7261438ec87eb863c4add2e215fbb7fa.jpg","text":"TemporaryFile(/tmp/multipartBody6525896457216781113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594213461,"filename":"image_23012025_01_54_16_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330714008","file1":"1330714004","file0":"1330714002","file4":"1330714059","file5":"1330714073","file3":"1330714031"},"map_files_photo_id_array":[{"photo_id":"1330714073","filename":"file5"},{"photo_id":"1330714008","filename":"file2"},{"photo_id":"1330714059","filename":"file4"},{"photo_id":"1330714004","filename":"file1"},{"photo_id":"1330714002","filename":"file0"},{"photo_id":"1330714031","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330714059":["hashtag1","hashtag2"]},{"1330714008":["hashtag1","hashtag2"]},{"1330714002":["hashtag1","hashtag2"]},{"1330714073":["hashtag1","hashtag2"]},{"1330714031":["hashtag1","hashtag2"]},{"1330714004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330714059, 1330714008, 1330714002, 1330714073, 1330714031, 1330714004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.25902485847473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:03:32.871599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_15_9354.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_25_10366.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_36_10423.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_45_9391.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_56_10375.jpg', '/home/pi/Desktop/images/23012025/01/55/image_23012025_01_56_06_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_15_9354.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_25_10366.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_36_10423.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_45_9391.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_55_56_10375.jpg
/home/pi/Desktop/images/23012025/01/55/image_23012025_01_56_06_10331.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":["1330714099","1330714153","1330714122","1330714107","1330714151","1330714081"],"photo_ids_order":["1330714081","1330714099","1330714107","1330714122","1330714151","1330714153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cae4943c779be98dd2071ef58b783825.jpg","text":"TemporaryFile(/tmp/multipartBody4319061202693170345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594273787,"filename":"image_23012025_01_55_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0b9a8f206bcaaebcf6e8f7815b77e99.jpg","text":"TemporaryFile(/tmp/multipartBody6375461251741603339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594273787,"filename":"image_23012025_01_56_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21848b39a86b83fd0ea9ae11281deffd.jpg","text":"TemporaryFile(/tmp/multipartBody5147493381797022684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594273787,"filename":"image_23012025_01_55_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51132ef089a6e3627d110b55938c686e.jpg","text":"TemporaryFile(/tmp/multipartBody2849284258944216338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594273787,"filename":"image_23012025_01_55_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6e2697191b6eddfb67b6867ca677578.jpg","text":"TemporaryFile(/tmp/multipartBody8989869717895465891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594273787,"filename":"image_23012025_01_55_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02d7945c451af9388b18f0175542dfe8.jpg","text":"TemporaryFile(/tmp/multipartBody1037848708039204478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594273787,"filename":"image_23012025_01_55_15_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330714107","file1":"1330714099","file0":"1330714081","file4":"1330714151","file5":"1330714153","file3":"1330714122"},"map_files_photo_id_array":[{"photo_id":"1330714153","filename":"file5"},{"photo_id":"1330714107","filename":"file2"},{"photo_id":"1330714151","filename":"file4"},{"photo_id":"1330714099","filename":"file1"},{"photo_id":"1330714081","filename":"file0"},{"photo_id":"1330714122","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330714099":["hashtag1","hashtag2"]},{"1330714153":["hashtag1","hashtag2"]},{"1330714122":["hashtag1","hashtag2"]},{"1330714107":["hashtag1","hashtag2"]},{"1330714151":["hashtag1","hashtag2"]},{"1330714081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330714099, 1330714153, 1330714122, 1330714107, 1330714151, 1330714081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.04255414009094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:04:33.086072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_15_9341.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_26_10377.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_35_9425.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_45_10333.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_56_10337.jpg', '/home/pi/Desktop/images/23012025/01/56/image_23012025_01_57_05_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_15_9341.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_26_10377.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_35_9425.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_45_10333.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_56_56_10337.jpg
/home/pi/Desktop/images/23012025/01/56/image_23012025_01_57_05_9343.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":["1330714194","1330714182","1330714218","1330714212","1330714190","1330714184"],"photo_ids_order":["1330714182","1330714184","1330714190","1330714194","1330714212","1330714218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45eddc8cda53ef96eb7d437e3218fe21.jpg","text":"TemporaryFile(/tmp/multipartBody2802634108923559290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594333999,"filename":"image_23012025_01_56_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c6f8c0c9ea076340dd53a0a82e86426.jpg","text":"TemporaryFile(/tmp/multipartBody7320083751404385755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594333999,"filename":"image_23012025_01_56_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90ba377cc445d891e10d61c1ebfa539e.jpg","text":"TemporaryFile(/tmp/multipartBody8879228500381199327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594333999,"filename":"image_23012025_01_57_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5df367d71360b5e8133d3c0ac07ee414.jpg","text":"TemporaryFile(/tmp/multipartBody7247126193754230636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594333999,"filename":"image_23012025_01_56_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2124b3979d34882d7e5899d0b15002d.jpg","text":"TemporaryFile(/tmp/multipartBody9122970021723081886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594333999,"filename":"image_23012025_01_56_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/749c1d4e931dd4a2c3ae13a6f96a7524.jpg","text":"TemporaryFile(/tmp/multipartBody8732241019506410492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594333999,"filename":"image_23012025_01_56_26_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330714190","file1":"1330714184","file0":"1330714182","file4":"1330714212","file5":"1330714218","file3":"1330714194"},"map_files_photo_id_array":[{"photo_id":"1330714218","filename":"file5"},{"photo_id":"1330714190","filename":"file2"},{"photo_id":"1330714212","filename":"file4"},{"photo_id":"1330714184","filename":"file1"},{"photo_id":"1330714182","filename":"file0"},{"photo_id":"1330714194","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330714194":["hashtag1","hashtag2"]},{"1330714182":["hashtag1","hashtag2"]},{"1330714218":["hashtag1","hashtag2"]},{"1330714212":["hashtag1","hashtag2"]},{"1330714190":["hashtag1","hashtag2"]},{"1330714184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330714194, 1330714182, 1330714218, 1330714212, 1330714190, 1330714184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.858452796936035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:05:32.301467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_16_10540.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_25_9342.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_35_10452.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_46_10344.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_55_9455.jpg', '/home/pi/Desktop/images/23012025/01/57/image_23012025_01_58_06_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_16_10540.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_25_9342.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_35_10452.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_46_10344.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_57_55_9455.jpg
/home/pi/Desktop/images/23012025/01/57/image_23012025_01_58_06_10350.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":["1330714279","1330714315","1330714293","1330714260","1330714245","1330714247"],"photo_ids_order":["1330714245","1330714247","1330714260","1330714279","1330714293","1330714315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11f5d029a89835b879f93bd8861c8121.jpg","text":"TemporaryFile(/tmp/multipartBody8198992761120656573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594393204,"filename":"image_23012025_01_57_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3033f10bd07ee335ee5c214bb6cc7ba.jpg","text":"TemporaryFile(/tmp/multipartBody3991460405740931244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594393204,"filename":"image_23012025_01_58_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdf19d451ea7274f84f3f67106004c82.jpg","text":"TemporaryFile(/tmp/multipartBody696954391836261776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594393204,"filename":"image_23012025_01_57_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08122fc45daf28b84dc191bfba93fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody7466821217795445866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594393204,"filename":"image_23012025_01_57_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a151212c19b3eb08427c2af1d1a435bd.jpg","text":"TemporaryFile(/tmp/multipartBody1543473631223367800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594393204,"filename":"image_23012025_01_57_16_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3607af83d12f6672300d6e690f69afe.jpg","text":"TemporaryFile(/tmp/multipartBody8809598596079607692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594393204,"filename":"image_23012025_01_57_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330714260","file1":"1330714247","file0":"1330714245","file4":"1330714293","file5":"1330714315","file3":"1330714279"},"map_files_photo_id_array":[{"photo_id":"1330714315","filename":"file5"},{"photo_id":"1330714260","filename":"file2"},{"photo_id":"1330714293","filename":"file4"},{"photo_id":"1330714247","filename":"file1"},{"photo_id":"1330714245","filename":"file0"},{"photo_id":"1330714279","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330714279":["hashtag1","hashtag2"]},{"1330714315":["hashtag1","hashtag2"]},{"1330714293":["hashtag1","hashtag2"]},{"1330714260":["hashtag1","hashtag2"]},{"1330714245":["hashtag1","hashtag2"]},{"1330714247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330714279, 1330714315, 1330714293, 1330714260, 1330714245, 1330714247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.347386598587036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:06:32.509240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_16_10342.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_25_9379.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_36_10360.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_45_9344.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_55_10466.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_59_06_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_16_10342.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_25_9379.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_36_10360.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_45_9344.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_55_10466.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_59_06_10333.jpg
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: 0.5160312652587891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:06:42.506030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_16_10342.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_25_9379.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_36_10360.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_45_9344.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_55_10466.jpg', '/home/pi/Desktop/images/23012025/01/58/image_23012025_01_59_06_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_16_10342.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_25_9379.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_36_10360.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_45_9344.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_58_55_10466.jpg
/home/pi/Desktop/images/23012025/01/58/image_23012025_01_59_06_10333.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":["1330714378","1330714386","1330714374","1330714382","1330714391","1330714370"],"photo_ids_order":["1330714370","1330714374","1330714378","1330714382","1330714386","1330714391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8026cf5a784b8058ff02670cc98d2b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6875531390558323796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594463413,"filename":"image_23012025_01_58_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ee3a86b2d895d011685d7dcbacb5ca7.jpg","text":"TemporaryFile(/tmp/multipartBody3423750881952733879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594463413,"filename":"image_23012025_01_58_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44fee2556941c2c9a3cddae1fdf232b1.jpg","text":"TemporaryFile(/tmp/multipartBody7043720327568238966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594463413,"filename":"image_23012025_01_58_25_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc2662c46fb6a68d376b07cbd5d38738.jpg","text":"TemporaryFile(/tmp/multipartBody5894278523391665688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594463413,"filename":"image_23012025_01_58_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf270acabc7f3b8f816778fe1c951584.jpg","text":"TemporaryFile(/tmp/multipartBody959053197466464312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594463413,"filename":"image_23012025_01_59_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2daa6a9b5eebb7da3f2af5d74b927884.jpg","text":"TemporaryFile(/tmp/multipartBody408249096398070642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594463413,"filename":"image_23012025_01_58_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330714378","file1":"1330714374","file0":"1330714370","file4":"1330714386","file5":"1330714391","file3":"1330714382"},"map_files_photo_id_array":[{"photo_id":"1330714391","filename":"file5"},{"photo_id":"1330714378","filename":"file2"},{"photo_id":"1330714386","filename":"file4"},{"photo_id":"1330714374","filename":"file1"},{"photo_id":"1330714370","filename":"file0"},{"photo_id":"1330714382","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330714378":["hashtag1","hashtag2"]},{"1330714386":["hashtag1","hashtag2"]},{"1330714374":["hashtag1","hashtag2"]},{"1330714382":["hashtag1","hashtag2"]},{"1330714391":["hashtag1","hashtag2"]},{"1330714370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330714378, 1330714386, 1330714374, 1330714382, 1330714391, 1330714370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06661105155945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:07:32.758359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_15_9394.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_26_10361.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_36_10342.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_45_9421.jpg', '/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_56_10386.jpg', '/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_15_10073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_15_9394.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_26_10361.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_36_10342.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_45_9421.jpg
/home/pi/Desktop/images/23012025/01/59/image_23012025_01_59_56_10386.jpg
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_15_10073.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":["1330714402","1330714413","1330714410","1330714404","1330714406","1330714418"],"photo_ids_order":["1330714402","1330714404","1330714406","1330714410","1330714413","1330714418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06d2e4933ae490c9667b8bd3bdfbc849.jpg","text":"TemporaryFile(/tmp/multipartBody8664662381921063271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594513704,"filename":"image_23012025_01_59_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5976e9b2590a536533fd76fdf8535a55.jpg","text":"TemporaryFile(/tmp/multipartBody8496725911386923781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594513704,"filename":"image_23012025_01_59_56_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb89d19775a51ff4ff6731512dadbd09.jpg","text":"TemporaryFile(/tmp/multipartBody8187303554631496831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594513704,"filename":"image_23012025_01_59_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef58bd007fe8f0f2aae3450e8ae19e32.jpg","text":"TemporaryFile(/tmp/multipartBody4375359677370520763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594513704,"filename":"image_23012025_01_59_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34a8cefe12bd8c338fe6af6043e64665.jpg","text":"TemporaryFile(/tmp/multipartBody3945499987578201593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594513704,"filename":"image_23012025_01_59_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b0f9b5defc564ac421f9cb45b2daffa.jpg","text":"TemporaryFile(/tmp/multipartBody4782061194576654904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594513704,"filename":"image_23012025_02_01_15_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330714406","file1":"1330714404","file0":"1330714402","file4":"1330714413","file5":"1330714418","file3":"1330714410"},"map_files_photo_id_array":[{"photo_id":"1330714418","filename":"file5"},{"photo_id":"1330714406","filename":"file2"},{"photo_id":"1330714413","filename":"file4"},{"photo_id":"1330714404","filename":"file1"},{"photo_id":"1330714402","filename":"file0"},{"photo_id":"1330714410","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330714402":["hashtag1","hashtag2"]},{"1330714413":["hashtag1","hashtag2"]},{"1330714410":["hashtag1","hashtag2"]},{"1330714404":["hashtag1","hashtag2"]},{"1330714406":["hashtag1","hashtag2"]},{"1330714418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330714402, 1330714413, 1330714410, 1330714404, 1330714406, 1330714418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47735095024109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:08:33.072703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_25_10486.jpg', '/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_36_10368.jpg', '/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_45_9328.jpg', '/home/pi/Desktop/images/23012025/02/01/image_23012025_02_02_06_10339.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_15_9321.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_25_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_25_10486.jpg
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_36_10368.jpg
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_01_45_9328.jpg
/home/pi/Desktop/images/23012025/02/01/image_23012025_02_02_06_10339.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_15_9321.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_25_10379.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":["1330714462","1330714441","1330714438","1330714733","1330714520","1330714436"],"photo_ids_order":["1330714436","1330714438","1330714441","1330714462","1330714520","1330714733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee00161e4197ebeeb9ca75cd42c9e536.jpg","text":"TemporaryFile(/tmp/multipartBody5036678582178734975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594573970,"filename":"image_23012025_02_02_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b7f567de910951acab13aa5cd552870.jpg","text":"TemporaryFile(/tmp/multipartBody2000991429072495973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594573970,"filename":"image_23012025_02_01_45_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/090b06418e82e3d9d46289c155fdc224.jpg","text":"TemporaryFile(/tmp/multipartBody7661350910481455934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594573970,"filename":"image_23012025_02_01_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3219615eb07d16d44a1bea10f869305.jpg","text":"TemporaryFile(/tmp/multipartBody3758416971738165557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594573970,"filename":"image_23012025_02_02_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b98e0d4f1fecf93626cacc516cd6da8a.jpg","text":"TemporaryFile(/tmp/multipartBody3840823896307875612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594573970,"filename":"image_23012025_02_02_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43ff9b6bc44a6c807cfdd6c197a1fd46.jpg","text":"TemporaryFile(/tmp/multipartBody5891827789815389748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594573970,"filename":"image_23012025_02_01_25_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330714441","file1":"1330714438","file0":"1330714436","file4":"1330714520","file5":"1330714733","file3":"1330714462"},"map_files_photo_id_array":[{"photo_id":"1330714733","filename":"file5"},{"photo_id":"1330714441","filename":"file2"},{"photo_id":"1330714520","filename":"file4"},{"photo_id":"1330714438","filename":"file1"},{"photo_id":"1330714436","filename":"file0"},{"photo_id":"1330714462","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330714462":["hashtag1","hashtag2"]},{"1330714441":["hashtag1","hashtag2"]},{"1330714438":["hashtag1","hashtag2"]},{"1330714733":["hashtag1","hashtag2"]},{"1330714520":["hashtag1","hashtag2"]},{"1330714436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330714462, 1330714441, 1330714438, 1330714733, 1330714520, 1330714436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24681210517883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:09:32.361151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_36_10337.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_45_9485.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_56_10369.jpg', '/home/pi/Desktop/images/23012025/02/02/image_23012025_02_03_05_9346.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_15_10405.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_26_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_36_10337.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_45_9485.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_02_56_10369.jpg
/home/pi/Desktop/images/23012025/02/02/image_23012025_02_03_05_9346.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_15_10405.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_26_10349.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":["1330715337","1330715331","1330715334","1330715339","1330715341","1330715329"],"photo_ids_order":["1330715329","1330715331","1330715334","1330715337","1330715339","1330715341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/390e03dd7e4f29ef176f2de62842675c.jpg","text":"TemporaryFile(/tmp/multipartBody8593353145417618132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594633306,"filename":"image_23012025_02_03_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed089a98b7c9718f5ab846691660839c.jpg","text":"TemporaryFile(/tmp/multipartBody2562305016728636525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594633306,"filename":"image_23012025_02_02_45_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db83a3eadf980717b413ee5adb2318a7.jpg","text":"TemporaryFile(/tmp/multipartBody1211624110238636315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594633306,"filename":"image_23012025_02_02_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb67d7aa8ddbf441a55797d3c8762d63.jpg","text":"TemporaryFile(/tmp/multipartBody3487079977892934214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594633306,"filename":"image_23012025_02_03_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e27e9c50f5c86106d6c2d19cdd287442.jpg","text":"TemporaryFile(/tmp/multipartBody7228082287813768251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594633306,"filename":"image_23012025_02_03_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb2d100c882abf9519a87de0d08f185c.jpg","text":"TemporaryFile(/tmp/multipartBody5932470768324441862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594633306,"filename":"image_23012025_02_02_36_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330715334","file1":"1330715331","file0":"1330715329","file4":"1330715339","file5":"1330715341","file3":"1330715337"},"map_files_photo_id_array":[{"photo_id":"1330715341","filename":"file5"},{"photo_id":"1330715334","filename":"file2"},{"photo_id":"1330715339","filename":"file4"},{"photo_id":"1330715331","filename":"file1"},{"photo_id":"1330715329","filename":"file0"},{"photo_id":"1330715337","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330715337":["hashtag1","hashtag2"]},{"1330715331":["hashtag1","hashtag2"]},{"1330715334":["hashtag1","hashtag2"]},{"1330715339":["hashtag1","hashtag2"]},{"1330715341":["hashtag1","hashtag2"]},{"1330715329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330715337, 1330715331, 1330715334, 1330715339, 1330715341, 1330715329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.591224908828735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:10:32.554489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_35_9311.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_55_9341.jpg', '/home/pi/Desktop/images/23012025/02/03/image_23012025_02_04_05_10378.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_16_10369.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_25_9328.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_35_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_35_9311.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_03_55_9341.jpg
/home/pi/Desktop/images/23012025/02/03/image_23012025_02_04_05_10378.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_16_10369.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_25_9328.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_35_10339.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":["1330715748","1330715381","1330715375","1330715741","1330715470","1330715746"],"photo_ids_order":["1330715375","1330715381","1330715470","1330715741","1330715746","1330715748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c5fa4650b0d18cb1bab20565b633bca.jpg","text":"TemporaryFile(/tmp/multipartBody876235727810345992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594693456,"filename":"image_23012025_02_04_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8650aa69db835bfe570012e0a552eb95.jpg","text":"TemporaryFile(/tmp/multipartBody6950335689466173730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594693456,"filename":"image_23012025_02_03_55_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72da9adfe3680599c469c9991e157316.jpg","text":"TemporaryFile(/tmp/multipartBody8892304241462599818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594693456,"filename":"image_23012025_02_03_35_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9867158406667aaa11e317baff9d67b3.jpg","text":"TemporaryFile(/tmp/multipartBody4205822872482521619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594693456,"filename":"image_23012025_02_04_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34579446bbe8a7ec6edf35e44235c3b2.jpg","text":"TemporaryFile(/tmp/multipartBody1093993845871683655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594693456,"filename":"image_23012025_02_04_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e604b108d24c617f78eac61d820ccb47.jpg","text":"TemporaryFile(/tmp/multipartBody2546678687560693780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594693456,"filename":"image_23012025_02_04_25_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330715470","file1":"1330715381","file0":"1330715375","file4":"1330715746","file5":"1330715748","file3":"1330715741"},"map_files_photo_id_array":[{"photo_id":"1330715748","filename":"file5"},{"photo_id":"1330715470","filename":"file2"},{"photo_id":"1330715746","filename":"file4"},{"photo_id":"1330715381","filename":"file1"},{"photo_id":"1330715375","filename":"file0"},{"photo_id":"1330715741","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330715748":["hashtag1","hashtag2"]},{"1330715381":["hashtag1","hashtag2"]},{"1330715375":["hashtag1","hashtag2"]},{"1330715741":["hashtag1","hashtag2"]},{"1330715470":["hashtag1","hashtag2"]},{"1330715746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330715748, 1330715381, 1330715375, 1330715741, 1330715470, 1330715746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.823031425476074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:11:32.914165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_46_10332.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_55_9351.jpg', '/home/pi/Desktop/images/23012025/02/04/image_23012025_02_05_05_10348.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_16_10322.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_25_9339.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_46_10332.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_04_55_9351.jpg
/home/pi/Desktop/images/23012025/02/04/image_23012025_02_05_05_10348.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_16_10322.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_25_9339.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_46_10355.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":["1330715883","1330715880","1330715894","1330715924","1330715887","1330715917"],"photo_ids_order":["1330715880","1330715883","1330715887","1330715894","1330715917","1330715924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65a14c80269d3333dd293427d010e106.jpg","text":"TemporaryFile(/tmp/multipartBody8025861755705590857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594753853,"filename":"image_23012025_02_04_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/954e4d077b962207def147010df44e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8371518813271598898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594753853,"filename":"image_23012025_02_04_46_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3fa7da2a39bdb9a673046dd0ee3abf0.jpg","text":"TemporaryFile(/tmp/multipartBody7554762285382498097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594753853,"filename":"image_23012025_02_05_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24b82a5309ecb7f983e88a7f5d8e12b2.jpg","text":"TemporaryFile(/tmp/multipartBody500946235850187186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594753853,"filename":"image_23012025_02_05_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb6732e3b12a8c87f82721ffa454b4f5.jpg","text":"TemporaryFile(/tmp/multipartBody5616534364965692621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594753853,"filename":"image_23012025_02_05_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1787f69aa80ad546afde46c5d080882.jpg","text":"TemporaryFile(/tmp/multipartBody7854673235780377573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594753853,"filename":"image_23012025_02_05_25_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330715887","file1":"1330715883","file0":"1330715880","file4":"1330715917","file5":"1330715924","file3":"1330715894"},"map_files_photo_id_array":[{"photo_id":"1330715924","filename":"file5"},{"photo_id":"1330715887","filename":"file2"},{"photo_id":"1330715917","filename":"file4"},{"photo_id":"1330715883","filename":"file1"},{"photo_id":"1330715880","filename":"file0"},{"photo_id":"1330715894","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330715883":["hashtag1","hashtag2"]},{"1330715880":["hashtag1","hashtag2"]},{"1330715894":["hashtag1","hashtag2"]},{"1330715924":["hashtag1","hashtag2"]},{"1330715887":["hashtag1","hashtag2"]},{"1330715917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330715883, 1330715880, 1330715894, 1330715924, 1330715887, 1330715917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.36181712150574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:12:32.357672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_55_9343.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_06_05_10345.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_16_10398.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_25_9506.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_36_10332.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_55_9343.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_06_05_10345.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_16_10398.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_25_9506.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_36_10332.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_45_9356.jpg
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: 0.5179274082183838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:12:42.432683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_55_9343.jpg', '/home/pi/Desktop/images/23012025/02/05/image_23012025_02_06_05_10345.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_16_10398.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_25_9506.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_36_10332.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_05_55_9343.jpg
/home/pi/Desktop/images/23012025/02/05/image_23012025_02_06_05_10345.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_16_10398.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_25_9506.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_36_10332.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_45_9356.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":["1330716015","1330716024","1330716003","1330716040","1330716058","1330716022"],"photo_ids_order":["1330716003","1330716015","1330716022","1330716024","1330716040","1330716058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/542281093ec1b7b6dba18f636297bb9e.jpg","text":"TemporaryFile(/tmp/multipartBody8762565762967788779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594823364,"filename":"image_23012025_02_06_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7387c0888b562bc1b68a540b1f650a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6688150054056437025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594823364,"filename":"image_23012025_02_06_25_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09bc09501c8e4ed6c2e3bc660fb092ea.jpg","text":"TemporaryFile(/tmp/multipartBody8391371608691142607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594823364,"filename":"image_23012025_02_05_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85ab21b421640aefbc5a54556a95d287.jpg","text":"TemporaryFile(/tmp/multipartBody8726747370760573695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594823364,"filename":"image_23012025_02_06_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ecab3812f236763ab628e094e824df8.jpg","text":"TemporaryFile(/tmp/multipartBody1814176981159574536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594823364,"filename":"image_23012025_02_06_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b452fdd20c0fb0d4ae1b642ea25140a5.jpg","text":"TemporaryFile(/tmp/multipartBody855921184806660109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594823364,"filename":"image_23012025_02_06_16_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716022","file1":"1330716015","file0":"1330716003","file4":"1330716040","file5":"1330716058","file3":"1330716024"},"map_files_photo_id_array":[{"photo_id":"1330716058","filename":"file5"},{"photo_id":"1330716022","filename":"file2"},{"photo_id":"1330716040","filename":"file4"},{"photo_id":"1330716015","filename":"file1"},{"photo_id":"1330716003","filename":"file0"},{"photo_id":"1330716024","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716015":["hashtag1","hashtag2"]},{"1330716024":["hashtag1","hashtag2"]},{"1330716003":["hashtag1","hashtag2"]},{"1330716040":["hashtag1","hashtag2"]},{"1330716058":["hashtag1","hashtag2"]},{"1330716022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716015, 1330716024, 1330716003, 1330716040, 1330716058, 1330716022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.503074407577515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:13:32.687584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_55_10354.jpg', '/home/pi/Desktop/images/23012025/02/06/image_23012025_02_07_06_10406.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_15_9340.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_25_10363.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_36_10335.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_45_9539.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_06_55_10354.jpg
/home/pi/Desktop/images/23012025/02/06/image_23012025_02_07_06_10406.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_15_9340.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_25_10363.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_36_10335.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_45_9539.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":["1330716141","1330716111","1330716131","1330716157","1330716151","1330716154"],"photo_ids_order":["1330716111","1330716131","1330716141","1330716151","1330716154","1330716157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/718ac43f64fa76e585efb90f9d5b84db.jpg","text":"TemporaryFile(/tmp/multipartBody1500429369090663204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594873591,"filename":"image_23012025_02_07_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32da9c02a26d42b69fc03206c93abeb8.jpg","text":"TemporaryFile(/tmp/multipartBody7783108215851185356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594873591,"filename":"image_23012025_02_06_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27b6e45b326c7cd2e459b00433e7054c.jpg","text":"TemporaryFile(/tmp/multipartBody801837336637990877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594873591,"filename":"image_23012025_02_07_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d447a1e19eed2169e1e38f1282cf9b07.jpg","text":"TemporaryFile(/tmp/multipartBody3953625052803561738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594873591,"filename":"image_23012025_02_07_45_9539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6293a35c88ae3e8353c92686a22035f.jpg","text":"TemporaryFile(/tmp/multipartBody4747592384676285158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594873591,"filename":"image_23012025_02_07_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f6c7cee3c1aaabc680e19ac1b4dff90.jpg","text":"TemporaryFile(/tmp/multipartBody1535588751579045964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594873591,"filename":"image_23012025_02_07_36_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716141","file1":"1330716131","file0":"1330716111","file4":"1330716154","file5":"1330716157","file3":"1330716151"},"map_files_photo_id_array":[{"photo_id":"1330716157","filename":"file5"},{"photo_id":"1330716141","filename":"file2"},{"photo_id":"1330716154","filename":"file4"},{"photo_id":"1330716131","filename":"file1"},{"photo_id":"1330716111","filename":"file0"},{"photo_id":"1330716151","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716141":["hashtag1","hashtag2"]},{"1330716111":["hashtag1","hashtag2"]},{"1330716131":["hashtag1","hashtag2"]},{"1330716157":["hashtag1","hashtag2"]},{"1330716151":["hashtag1","hashtag2"]},{"1330716154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716141, 1330716111, 1330716131, 1330716157, 1330716151, 1330716154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35563063621521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:14:32.884187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_56_10430.jpg', '/home/pi/Desktop/images/23012025/02/07/image_23012025_02_08_05_9356.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_15_10154.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_26_10339.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_45_10422.jpg', '/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_56_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_07_56_10430.jpg
/home/pi/Desktop/images/23012025/02/07/image_23012025_02_08_05_9356.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_15_10154.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_26_10339.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_45_10422.jpg
/home/pi/Desktop/images/23012025/02/08/image_23012025_02_08_56_10358.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":["1330716198","1330716201","1330716187","1330716192","1330716195","1330716189"],"photo_ids_order":["1330716187","1330716189","1330716192","1330716195","1330716198","1330716201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27fd7116a4c08234732f3e0d7e42c06d.jpg","text":"TemporaryFile(/tmp/multipartBody3179737990107925243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594933780,"filename":"image_23012025_02_08_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24d8746e6430bcfab50ca310bd7b60f8.jpg","text":"TemporaryFile(/tmp/multipartBody2764353685643883925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594933780,"filename":"image_23012025_02_08_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa6b90a8a70796c8759f4272d6a0501a.jpg","text":"TemporaryFile(/tmp/multipartBody2703832095353799710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594933780,"filename":"image_23012025_02_07_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c905e885603ea00bf7382c4782220b2c.jpg","text":"TemporaryFile(/tmp/multipartBody2505831646040149572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594933780,"filename":"image_23012025_02_08_15_10154.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81cb8d08594bbf6203f669bc5642994b.jpg","text":"TemporaryFile(/tmp/multipartBody3893686995389669658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594933780,"filename":"image_23012025_02_08_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ae37bc559b3a15e607eaf86664e3ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8007813296561543242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594933780,"filename":"image_23012025_02_08_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716192","file1":"1330716189","file0":"1330716187","file4":"1330716198","file5":"1330716201","file3":"1330716195"},"map_files_photo_id_array":[{"photo_id":"1330716201","filename":"file5"},{"photo_id":"1330716192","filename":"file2"},{"photo_id":"1330716198","filename":"file4"},{"photo_id":"1330716189","filename":"file1"},{"photo_id":"1330716187","filename":"file0"},{"photo_id":"1330716195","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716198":["hashtag1","hashtag2"]},{"1330716201":["hashtag1","hashtag2"]},{"1330716187":["hashtag1","hashtag2"]},{"1330716192":["hashtag1","hashtag2"]},{"1330716195":["hashtag1","hashtag2"]},{"1330716189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716198, 1330716201, 1330716187, 1330716192, 1330716195, 1330716189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.695645809173584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:15:32.143982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_15_10351.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_26_10367.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_35_9375.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_45_10370.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_55_9360.jpg', '/home/pi/Desktop/images/23012025/02/09/image_23012025_02_10_05_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_15_10351.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_26_10367.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_35_9375.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_45_10370.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_09_55_9360.jpg
/home/pi/Desktop/images/23012025/02/09/image_23012025_02_10_05_10417.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":["1330716296","1330716299","1330716292","1330716280","1330716283","1330716288"],"photo_ids_order":["1330716280","1330716283","1330716288","1330716292","1330716296","1330716299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/324246c7c736e68a3dbee65e48c6eb1d.jpg","text":"TemporaryFile(/tmp/multipartBody7072515645825278693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594993040,"filename":"image_23012025_02_09_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80988cd2b85be347a96b6a35d2a4cb2e.jpg","text":"TemporaryFile(/tmp/multipartBody6294342496235054824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594993040,"filename":"image_23012025_02_10_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29338125cff4cfddce9087270fa24988.jpg","text":"TemporaryFile(/tmp/multipartBody4749169132695127301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594993040,"filename":"image_23012025_02_09_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae8021ba1940388ce22fea4cce7dd203.jpg","text":"TemporaryFile(/tmp/multipartBody7667775421596468754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594993040,"filename":"image_23012025_02_09_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2801e27990e0e45a815caa3dbbb0d50f.jpg","text":"TemporaryFile(/tmp/multipartBody426046435551504858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594993040,"filename":"image_23012025_02_09_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7c9928cd01a396c74f45b383526ccf4.jpg","text":"TemporaryFile(/tmp/multipartBody8320075557466120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737594993040,"filename":"image_23012025_02_09_35_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716288","file1":"1330716283","file0":"1330716280","file4":"1330716296","file5":"1330716299","file3":"1330716292"},"map_files_photo_id_array":[{"photo_id":"1330716299","filename":"file5"},{"photo_id":"1330716288","filename":"file2"},{"photo_id":"1330716296","filename":"file4"},{"photo_id":"1330716283","filename":"file1"},{"photo_id":"1330716280","filename":"file0"},{"photo_id":"1330716292","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716296":["hashtag1","hashtag2"]},{"1330716299":["hashtag1","hashtag2"]},{"1330716292":["hashtag1","hashtag2"]},{"1330716280":["hashtag1","hashtag2"]},{"1330716283":["hashtag1","hashtag2"]},{"1330716288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716296, 1330716299, 1330716292, 1330716280, 1330716283, 1330716288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.474804401397705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:16:32.337945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_16_10361.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_25_9367.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_35_10424.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_45_9403.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_55_10481.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_15_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_16_10361.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_25_9367.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_35_10424.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_45_9403.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_55_10481.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_15_9324.jpg
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: 0.5147335529327393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:16:42.422055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_16_10361.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_25_9367.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_35_10424.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_45_9403.jpg', '/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_55_10481.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_15_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_16_10361.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_25_9367.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_35_10424.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_45_9403.jpg
/home/pi/Desktop/images/23012025/02/10/image_23012025_02_10_55_10481.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_15_9324.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":["1330716330","1330716318","1330716312","1330716323","1330716326","1330716334"],"photo_ids_order":["1330716312","1330716318","1330716323","1330716326","1330716330","1330716334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29b98155755f4a411f4dccff33ab9f74.jpg","text":"TemporaryFile(/tmp/multipartBody174405721387617627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595063349,"filename":"image_23012025_02_10_55_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3650e8ba07c00459cc72e8c46cf6d865.jpg","text":"TemporaryFile(/tmp/multipartBody2940683356561854035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595063349,"filename":"image_23012025_02_10_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76f3329f95f9e81cc0a4bff04503eabf.jpg","text":"TemporaryFile(/tmp/multipartBody408128780062692163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595063349,"filename":"image_23012025_02_10_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6170e5d5b4bbd5b1327cd77bbeb7bf2.jpg","text":"TemporaryFile(/tmp/multipartBody8171773827914899908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595063349,"filename":"image_23012025_02_10_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/694584dacb55e83aed1e22881112307a.jpg","text":"TemporaryFile(/tmp/multipartBody6589361934929162852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595063349,"filename":"image_23012025_02_10_45_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43496fdbd6a8559968ec003053c93bfb.jpg","text":"TemporaryFile(/tmp/multipartBody99571536652645174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595063349,"filename":"image_23012025_02_11_15_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716323","file1":"1330716318","file0":"1330716312","file4":"1330716330","file5":"1330716334","file3":"1330716326"},"map_files_photo_id_array":[{"photo_id":"1330716334","filename":"file5"},{"photo_id":"1330716323","filename":"file2"},{"photo_id":"1330716330","filename":"file4"},{"photo_id":"1330716318","filename":"file1"},{"photo_id":"1330716312","filename":"file0"},{"photo_id":"1330716326","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716330":["hashtag1","hashtag2"]},{"1330716318":["hashtag1","hashtag2"]},{"1330716312":["hashtag1","hashtag2"]},{"1330716323":["hashtag1","hashtag2"]},{"1330716326":["hashtag1","hashtag2"]},{"1330716334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716330, 1330716318, 1330716312, 1330716323, 1330716326, 1330716334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73293972015381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:17:32.577352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_36_10357.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_45_9400.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_56_10430.jpg', '/home/pi/Desktop/images/23012025/02/11/image_23012025_02_12_05_9322.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_15_10361.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_26_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_36_10357.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_45_9400.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_11_56_10430.jpg
/home/pi/Desktop/images/23012025/02/11/image_23012025_02_12_05_9322.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_15_10361.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_26_10372.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":["1330716345","1330716350","1330716353","1330716347","1330716355","1330716343"],"photo_ids_order":["1330716343","1330716345","1330716347","1330716350","1330716353","1330716355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cd15c88558dacdeafc3ca690a85f2fd.jpg","text":"TemporaryFile(/tmp/multipartBody5040592900734091510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595113485,"filename":"image_23012025_02_11_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1f28352019fe754467d317c88732baa.jpg","text":"TemporaryFile(/tmp/multipartBody799422931564845519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595113485,"filename":"image_23012025_02_12_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0582655ed20f4e5bade50ba64e897671.jpg","text":"TemporaryFile(/tmp/multipartBody4033674618214647864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595113485,"filename":"image_23012025_02_12_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/680bb760a6e2593f73d9fed854a18444.jpg","text":"TemporaryFile(/tmp/multipartBody6096191061322118473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595113485,"filename":"image_23012025_02_11_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27f451f5fe7ca78841320aafb98bc1be.jpg","text":"TemporaryFile(/tmp/multipartBody5195209724768140167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595113485,"filename":"image_23012025_02_12_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/029867e9fd31acfa606e97ba15179139.jpg","text":"TemporaryFile(/tmp/multipartBody311732765441404101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595113485,"filename":"image_23012025_02_11_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716347","file1":"1330716345","file0":"1330716343","file4":"1330716353","file5":"1330716355","file3":"1330716350"},"map_files_photo_id_array":[{"photo_id":"1330716355","filename":"file5"},{"photo_id":"1330716347","filename":"file2"},{"photo_id":"1330716353","filename":"file4"},{"photo_id":"1330716345","filename":"file1"},{"photo_id":"1330716343","filename":"file0"},{"photo_id":"1330716350","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716345":["hashtag1","hashtag2"]},{"1330716350":["hashtag1","hashtag2"]},{"1330716353":["hashtag1","hashtag2"]},{"1330716347":["hashtag1","hashtag2"]},{"1330716355":["hashtag1","hashtag2"]},{"1330716343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716345, 1330716350, 1330716353, 1330716347, 1330716355, 1330716343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58745312690735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:18:32.786401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_35_9329.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_45_10421.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_55_9450.jpg', '/home/pi/Desktop/images/23012025/02/12/image_23012025_02_13_05_10426.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_16_10357.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_25_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_35_9329.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_45_10421.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_12_55_9450.jpg
/home/pi/Desktop/images/23012025/02/12/image_23012025_02_13_05_10426.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_16_10357.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_25_9350.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":["1330716440","1330716434","1330716428","1330716457","1330716424","1330716412"],"photo_ids_order":["1330716412","1330716424","1330716428","1330716434","1330716440","1330716457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f7e9c2303b77c6ecc39d8b32e72ae82.jpg","text":"TemporaryFile(/tmp/multipartBody6172773286793301363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595173690,"filename":"image_23012025_02_13_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e85295f38d0ddcf89beb214d7501cac.jpg","text":"TemporaryFile(/tmp/multipartBody8473929073147662907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595173690,"filename":"image_23012025_02_13_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdebff81f1fc96bf3a947944f660f1ca.jpg","text":"TemporaryFile(/tmp/multipartBody2607706303163186514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595173690,"filename":"image_23012025_02_12_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0a38f09753f68119c46f645dcd9f684.jpg","text":"TemporaryFile(/tmp/multipartBody4595069563520397518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595173690,"filename":"image_23012025_02_13_25_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c30aecfb287f34d13b7478bd2b8225d3.jpg","text":"TemporaryFile(/tmp/multipartBody2421118375237987273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595173690,"filename":"image_23012025_02_12_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42d9a70b11f23afe0995590cee302573.jpg","text":"TemporaryFile(/tmp/multipartBody4059887964830369580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595173690,"filename":"image_23012025_02_12_35_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716428","file1":"1330716424","file0":"1330716412","file4":"1330716440","file5":"1330716457","file3":"1330716434"},"map_files_photo_id_array":[{"photo_id":"1330716457","filename":"file5"},{"photo_id":"1330716428","filename":"file2"},{"photo_id":"1330716440","filename":"file4"},{"photo_id":"1330716424","filename":"file1"},{"photo_id":"1330716412","filename":"file0"},{"photo_id":"1330716434","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716440":["hashtag1","hashtag2"]},{"1330716434":["hashtag1","hashtag2"]},{"1330716428":["hashtag1","hashtag2"]},{"1330716457":["hashtag1","hashtag2"]},{"1330716424":["hashtag1","hashtag2"]},{"1330716412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716440, 1330716434, 1330716428, 1330716457, 1330716424, 1330716412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.36149334907532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:19:33.009746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_35_10312.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_46_10338.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_55_9359.jpg', '/home/pi/Desktop/images/23012025/02/13/image_23012025_02_14_05_10377.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_16_10337.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_25_9323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_35_10312.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_46_10338.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_13_55_9359.jpg
/home/pi/Desktop/images/23012025/02/13/image_23012025_02_14_05_10377.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_16_10337.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_25_9323.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":["1330716489","1330716468","1330716497","1330716493","1330716496","1330716471"],"photo_ids_order":["1330716468","1330716471","1330716489","1330716493","1330716496","1330716497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36fa1d21605f948a438c5151a5b30974.jpg","text":"TemporaryFile(/tmp/multipartBody6249992769385955065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595233903,"filename":"image_23012025_02_13_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50c6376e4f64631402f91465b0da711d.jpg","text":"TemporaryFile(/tmp/multipartBody6840099975397844572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595233903,"filename":"image_23012025_02_13_35_10312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f029d1a1fd5b85921aaa39484229d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4254554929929914847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595233903,"filename":"image_23012025_02_14_25_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d22f6f41499e26601f2bc0b01454e32b.jpg","text":"TemporaryFile(/tmp/multipartBody2461320930667437452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595233903,"filename":"image_23012025_02_14_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f22dd9a7c52573ad7b6e27fc7a3a957d.jpg","text":"TemporaryFile(/tmp/multipartBody1132579600350981872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595233903,"filename":"image_23012025_02_14_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18e42733af8efdb5a165f65bb658e18a.jpg","text":"TemporaryFile(/tmp/multipartBody7309625546952935941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595233903,"filename":"image_23012025_02_13_46_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716489","file1":"1330716471","file0":"1330716468","file4":"1330716496","file5":"1330716497","file3":"1330716493"},"map_files_photo_id_array":[{"photo_id":"1330716497","filename":"file5"},{"photo_id":"1330716489","filename":"file2"},{"photo_id":"1330716496","filename":"file4"},{"photo_id":"1330716471","filename":"file1"},{"photo_id":"1330716468","filename":"file0"},{"photo_id":"1330716493","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716489":["hashtag1","hashtag2"]},{"1330716468":["hashtag1","hashtag2"]},{"1330716497":["hashtag1","hashtag2"]},{"1330716493":["hashtag1","hashtag2"]},{"1330716496":["hashtag1","hashtag2"]},{"1330716471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716489, 1330716468, 1330716497, 1330716493, 1330716496, 1330716471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40047836303711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:20:32.376977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_35_10408.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_45_9432.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_55_10379.jpg', '/home/pi/Desktop/images/23012025/02/14/image_23012025_02_15_06_10329.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_15_9388.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_25_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_35_10408.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_45_9432.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_14_55_10379.jpg
/home/pi/Desktop/images/23012025/02/14/image_23012025_02_15_06_10329.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_15_9388.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_25_10343.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":["1330716612","1330716575","1330716602","1330716595","1330716577","1330716597"],"photo_ids_order":["1330716575","1330716577","1330716595","1330716597","1330716602","1330716612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3170dc9f8a529d782fe9b43a00794c00.jpg","text":"TemporaryFile(/tmp/multipartBody6831257796541342903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595293265,"filename":"image_23012025_02_15_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e2c69675cf651f90eb8ce8dc0bfe551.jpg","text":"TemporaryFile(/tmp/multipartBody3464399865613364497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595293265,"filename":"image_23012025_02_14_35_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee58aea96e85d63f669bf0cc241a1e69.jpg","text":"TemporaryFile(/tmp/multipartBody3509035398622631027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595293265,"filename":"image_23012025_02_15_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e34d83e285677ff14681a56e8a13dc8.jpg","text":"TemporaryFile(/tmp/multipartBody2506269517402102630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595293265,"filename":"image_23012025_02_14_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d582ec0035e97e58e484c8d40600a99.jpg","text":"TemporaryFile(/tmp/multipartBody6559059505600599495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595293265,"filename":"image_23012025_02_14_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b91806213da911c035f06d417de566d.jpg","text":"TemporaryFile(/tmp/multipartBody9037033520068392498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595293265,"filename":"image_23012025_02_15_06_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716595","file1":"1330716577","file0":"1330716575","file4":"1330716602","file5":"1330716612","file3":"1330716597"},"map_files_photo_id_array":[{"photo_id":"1330716612","filename":"file5"},{"photo_id":"1330716595","filename":"file2"},{"photo_id":"1330716602","filename":"file4"},{"photo_id":"1330716577","filename":"file1"},{"photo_id":"1330716575","filename":"file0"},{"photo_id":"1330716597","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716612":["hashtag1","hashtag2"]},{"1330716575":["hashtag1","hashtag2"]},{"1330716602":["hashtag1","hashtag2"]},{"1330716595":["hashtag1","hashtag2"]},{"1330716577":["hashtag1","hashtag2"]},{"1330716597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716612, 1330716575, 1330716602, 1330716595, 1330716577, 1330716597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1841504573822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:21:32.494896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_36_10341.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_45_9346.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_55_10456.jpg', '/home/pi/Desktop/images/23012025/02/15/image_23012025_02_16_06_10339.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_15_9388.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_26_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_36_10341.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_45_9346.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_15_55_10456.jpg
/home/pi/Desktop/images/23012025/02/15/image_23012025_02_16_06_10339.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_15_9388.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_26_10373.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":["1330716933","1330716773","1330716950","1330716676","1330716873","1330716709"],"photo_ids_order":["1330716676","1330716709","1330716773","1330716873","1330716933","1330716950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2130d81933c8e8dd340def796fb67c0.jpg","text":"TemporaryFile(/tmp/multipartBody2712173621172122948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595353392,"filename":"image_23012025_02_16_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/503a96dce4ff10dece9224541a9075da.jpg","text":"TemporaryFile(/tmp/multipartBody6238901789845188133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595353392,"filename":"image_23012025_02_15_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/884a36dcd20e2053a9f8ceadc4afb829.jpg","text":"TemporaryFile(/tmp/multipartBody6475640143174796289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595353392,"filename":"image_23012025_02_16_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f483f2092a3c0bde8232ce3f9566692.jpg","text":"TemporaryFile(/tmp/multipartBody1603428750705279501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595353392,"filename":"image_23012025_02_15_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e98e5100c7376a586447c6670422b01.jpg","text":"TemporaryFile(/tmp/multipartBody2567592737490163103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595353392,"filename":"image_23012025_02_16_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c7e4b62f5223d77585978d44938ea8b.jpg","text":"TemporaryFile(/tmp/multipartBody6684213892811119035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595353392,"filename":"image_23012025_02_15_45_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330716773","file1":"1330716709","file0":"1330716676","file4":"1330716933","file5":"1330716950","file3":"1330716873"},"map_files_photo_id_array":[{"photo_id":"1330716950","filename":"file5"},{"photo_id":"1330716773","filename":"file2"},{"photo_id":"1330716933","filename":"file4"},{"photo_id":"1330716709","filename":"file1"},{"photo_id":"1330716676","filename":"file0"},{"photo_id":"1330716873","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330716933":["hashtag1","hashtag2"]},{"1330716773":["hashtag1","hashtag2"]},{"1330716950":["hashtag1","hashtag2"]},{"1330716676":["hashtag1","hashtag2"]},{"1330716873":["hashtag1","hashtag2"]},{"1330716709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330716933, 1330716773, 1330716950, 1330716676, 1330716873, 1330716709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.208189725875854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:22:32.739543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_35_9340.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_45_10419.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_17_05_9338.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_15_10355.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_26_10350.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_35_9340.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_45_10419.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_17_05_9338.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_15_10355.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_26_10350.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_45_10352.jpg
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: 0.5201058387756348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:22:42.758910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_35_9340.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_45_10419.jpg', '/home/pi/Desktop/images/23012025/02/16/image_23012025_02_17_05_9338.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_15_10355.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_26_10350.jpg', '/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_35_9340.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_16_45_10419.jpg
/home/pi/Desktop/images/23012025/02/16/image_23012025_02_17_05_9338.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_15_10355.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_26_10350.jpg
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_45_10352.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":["1330717112","1330717081","1330717141","1330717126","1330717086","1330717077"],"photo_ids_order":["1330717077","1330717081","1330717086","1330717112","1330717126","1330717141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/115ee7ddfeed059085926880a0c738d0.jpg","text":"TemporaryFile(/tmp/multipartBody808851274087628988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595423666,"filename":"image_23012025_02_17_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03e7bb5bc031c8531412f4a83898a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody1477182479148665916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595423666,"filename":"image_23012025_02_16_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4a0a129d7bf40785136a6ef84873330.jpg","text":"TemporaryFile(/tmp/multipartBody4310720527493096847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595423666,"filename":"image_23012025_02_17_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a95fa3a3e063e35a0d855cf7f28b2aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5346684376284206905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595423666,"filename":"image_23012025_02_17_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97a2db9f50554069648a87517155109c.jpg","text":"TemporaryFile(/tmp/multipartBody5560260726760248484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595423666,"filename":"image_23012025_02_17_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79475e3e037a7f0806f3bffd7d1c9873.jpg","text":"TemporaryFile(/tmp/multipartBody2145918887121084454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595423666,"filename":"image_23012025_02_16_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330717086","file1":"1330717081","file0":"1330717077","file4":"1330717126","file5":"1330717141","file3":"1330717112"},"map_files_photo_id_array":[{"photo_id":"1330717141","filename":"file5"},{"photo_id":"1330717086","filename":"file2"},{"photo_id":"1330717126","filename":"file4"},{"photo_id":"1330717081","filename":"file1"},{"photo_id":"1330717077","filename":"file0"},{"photo_id":"1330717112","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330717112":["hashtag1","hashtag2"]},{"1330717081":["hashtag1","hashtag2"]},{"1330717141":["hashtag1","hashtag2"]},{"1330717126":["hashtag1","hashtag2"]},{"1330717086":["hashtag1","hashtag2"]},{"1330717077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330717112, 1330717081, 1330717141, 1330717126, 1330717086, 1330717077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.70468878746033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:23:33.004435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_55_9429.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_16_10372.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_25_9358.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_35_10415.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_46_10364.jpg', '/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_55_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/17/image_23012025_02_17_55_9429.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_16_10372.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_25_9358.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_35_10415.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_46_10364.jpg
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_18_55_9351.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":["1330717181","1330717174","1330717183","1330717185","1330717179","1330717176"],"photo_ids_order":["1330717174","1330717176","1330717179","1330717181","1330717183","1330717185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f46ecbb3b7f1672636324bf925dd774.jpg","text":"TemporaryFile(/tmp/multipartBody5578348852251879207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595473912,"filename":"image_23012025_02_18_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2075665955f06d1d8d4494ca2d751ed.jpg","text":"TemporaryFile(/tmp/multipartBody3816330286248722167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595473912,"filename":"image_23012025_02_17_55_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7993021197e53607dee1942fb13a9288.jpg","text":"TemporaryFile(/tmp/multipartBody913862921657192786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595473912,"filename":"image_23012025_02_18_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbab05896ee617a1c5ffb2b3f8d0c2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1344986023748783980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595473912,"filename":"image_23012025_02_18_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/689ed4e65d520654d6313672142ca27d.jpg","text":"TemporaryFile(/tmp/multipartBody7357486230125229349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595473912,"filename":"image_23012025_02_18_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/450176b93bc190720f04fa884630b41b.jpg","text":"TemporaryFile(/tmp/multipartBody1047678864021390610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595473912,"filename":"image_23012025_02_18_16_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330717179","file1":"1330717176","file0":"1330717174","file4":"1330717183","file5":"1330717185","file3":"1330717181"},"map_files_photo_id_array":[{"photo_id":"1330717185","filename":"file5"},{"photo_id":"1330717179","filename":"file2"},{"photo_id":"1330717183","filename":"file4"},{"photo_id":"1330717176","filename":"file1"},{"photo_id":"1330717174","filename":"file0"},{"photo_id":"1330717181","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330717181":["hashtag1","hashtag2"]},{"1330717174":["hashtag1","hashtag2"]},{"1330717183":["hashtag1","hashtag2"]},{"1330717185":["hashtag1","hashtag2"]},{"1330717179":["hashtag1","hashtag2"]},{"1330717176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330717181, 1330717174, 1330717183, 1330717185, 1330717179, 1330717176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47025442123413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:24:32.195796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/18/image_23012025_02_19_05_10349.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_16_10351.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_25_9399.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_45_9436.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_55_10376.jpg', '/home/pi/Desktop/images/23012025/02/19/image_23012025_02_20_06_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/18/image_23012025_02_19_05_10349.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_16_10351.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_25_9399.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_45_9436.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_19_55_10376.jpg
/home/pi/Desktop/images/23012025/02/19/image_23012025_02_20_06_10347.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":["1330717355","1330717199","1330717202","1330717213","1330717207","1330717216"],"photo_ids_order":["1330717199","1330717202","1330717207","1330717213","1330717216","1330717355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc1771f44f7dc518360f99fbc8dce317.jpg","text":"TemporaryFile(/tmp/multipartBody4206066593754020183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595533103,"filename":"image_23012025_02_20_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4eccd31a9e44aa06241293fa99c0ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6627322925653657911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595533103,"filename":"image_23012025_02_19_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1dcef283879a1e32ddf634da5394f49.jpg","text":"TemporaryFile(/tmp/multipartBody2750837682903150138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595533103,"filename":"image_23012025_02_19_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4b666b26000b62503a61eaa997ac831.jpg","text":"TemporaryFile(/tmp/multipartBody8818914815135849027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595533103,"filename":"image_23012025_02_19_45_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bae293d98b46fa507f35ee10a04ba310.jpg","text":"TemporaryFile(/tmp/multipartBody670832649491824679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595533103,"filename":"image_23012025_02_19_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba19127f9d20c731e842ef0d2251077a.jpg","text":"TemporaryFile(/tmp/multipartBody1780413052349880899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595533103,"filename":"image_23012025_02_19_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330717207","file1":"1330717202","file0":"1330717199","file4":"1330717216","file5":"1330717355","file3":"1330717213"},"map_files_photo_id_array":[{"photo_id":"1330717355","filename":"file5"},{"photo_id":"1330717207","filename":"file2"},{"photo_id":"1330717216","filename":"file4"},{"photo_id":"1330717202","filename":"file1"},{"photo_id":"1330717199","filename":"file0"},{"photo_id":"1330717213","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330717355":["hashtag1","hashtag2"]},{"1330717199":["hashtag1","hashtag2"]},{"1330717202":["hashtag1","hashtag2"]},{"1330717213":["hashtag1","hashtag2"]},{"1330717207":["hashtag1","hashtag2"]},{"1330717216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330717355, 1330717199, 1330717202, 1330717213, 1330717207, 1330717216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77746033668518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:25:32.379270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_15_9381.jpg', '/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_25_10430.jpg', '/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_16_10339.jpg', '/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_25_9423.jpg', '/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_55_10404.jpg', '/home/pi/Desktop/images/23012025/02/22/image_23012025_02_23_06_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_15_9381.jpg
/home/pi/Desktop/images/23012025/02/20/image_23012025_02_20_25_10430.jpg
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_16_10339.jpg
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_25_9423.jpg
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_22_55_10404.jpg
/home/pi/Desktop/images/23012025/02/22/image_23012025_02_23_06_10381.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":["1330717466","1330717477","1330717474","1330717398","1330717479","1330717470"],"photo_ids_order":["1330717398","1330717466","1330717470","1330717474","1330717477","1330717479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3bd13305b8d379809fb4e47d4c02e06.jpg","text":"TemporaryFile(/tmp/multipartBody4219781654967609315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595593281,"filename":"image_23012025_02_20_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c704826b979efcb69ea1700372f3c68.jpg","text":"TemporaryFile(/tmp/multipartBody3465895590833764403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595593281,"filename":"image_23012025_02_22_55_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f5aaf4ab957274ec0edf2ceac1b4123.jpg","text":"TemporaryFile(/tmp/multipartBody8054498712261494934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595593281,"filename":"image_23012025_02_22_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6b13bf9ecc4a96225a597ec19f5c083.jpg","text":"TemporaryFile(/tmp/multipartBody7307071045514006760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595593281,"filename":"image_23012025_02_20_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2340f4c58b651229fda33c9c238c934c.jpg","text":"TemporaryFile(/tmp/multipartBody8416924489167580389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595593281,"filename":"image_23012025_02_23_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44f96ab5ee8ea1063ef0d070c528e681.jpg","text":"TemporaryFile(/tmp/multipartBody7705886650794159074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595593281,"filename":"image_23012025_02_22_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330717470","file1":"1330717466","file0":"1330717398","file4":"1330717477","file5":"1330717479","file3":"1330717474"},"map_files_photo_id_array":[{"photo_id":"1330717479","filename":"file5"},{"photo_id":"1330717470","filename":"file2"},{"photo_id":"1330717477","filename":"file4"},{"photo_id":"1330717466","filename":"file1"},{"photo_id":"1330717398","filename":"file0"},{"photo_id":"1330717474","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330717466":["hashtag1","hashtag2"]},{"1330717477":["hashtag1","hashtag2"]},{"1330717474":["hashtag1","hashtag2"]},{"1330717398":["hashtag1","hashtag2"]},{"1330717479":["hashtag1","hashtag2"]},{"1330717470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330717466, 1330717477, 1330717474, 1330717398, 1330717479, 1330717470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.92434120178223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:26:32.785082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_25_10460.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_35_9324.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_45_10387.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_56_10410.jpg', '/home/pi/Desktop/images/23012025/02/23/image_23012025_02_24_05_9435.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_15_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_25_10460.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_35_9324.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_45_10387.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_23_56_10410.jpg
/home/pi/Desktop/images/23012025/02/23/image_23012025_02_24_05_9435.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_15_10413.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":["1330718030","1330718423","1330718650","1330717811","1330718700","1330718223"],"photo_ids_order":["1330717811","1330718030","1330718223","1330718423","1330718650","1330718700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f13c5381d93594677d4e19d7578380a.jpg","text":"TemporaryFile(/tmp/multipartBody7335754369547736861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595653725,"filename":"image_23012025_02_23_35_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f56c5c1192e0fd73a825805a19b0774d.jpg","text":"TemporaryFile(/tmp/multipartBody1156334627069231445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595653725,"filename":"image_23012025_02_23_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45f795eb8ea4eadf033ff1dc1f4d6d18.jpg","text":"TemporaryFile(/tmp/multipartBody2527283521689661686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595653725,"filename":"image_23012025_02_24_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b011b3df19d35099c65331279a7ed209.jpg","text":"TemporaryFile(/tmp/multipartBody1235576604977595501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595653725,"filename":"image_23012025_02_23_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06d41971f647c731ff8fd8369669805b.jpg","text":"TemporaryFile(/tmp/multipartBody1160593674009066019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595653725,"filename":"image_23012025_02_24_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37b347cd40a1e56456e236462fba0324.jpg","text":"TemporaryFile(/tmp/multipartBody5403865969699817263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595653725,"filename":"image_23012025_02_23_45_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330718223","file1":"1330718030","file0":"1330717811","file4":"1330718650","file5":"1330718700","file3":"1330718423"},"map_files_photo_id_array":[{"photo_id":"1330718700","filename":"file5"},{"photo_id":"1330718223","filename":"file2"},{"photo_id":"1330718650","filename":"file4"},{"photo_id":"1330718030","filename":"file1"},{"photo_id":"1330717811","filename":"file0"},{"photo_id":"1330718423","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330718030":["hashtag1","hashtag2"]},{"1330718423":["hashtag1","hashtag2"]},{"1330718650":["hashtag1","hashtag2"]},{"1330717811":["hashtag1","hashtag2"]},{"1330718700":["hashtag1","hashtag2"]},{"1330718223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330718030, 1330718423, 1330718650, 1330717811, 1330718700, 1330718223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94843101501465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:27:32.972484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_25_9430.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_35_10423.jpg', '/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_46_10344.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_16_10364.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_36_10358.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_45_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_25_9430.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_35_10423.jpg
/home/pi/Desktop/images/23012025/02/24/image_23012025_02_24_46_10344.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_16_10364.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_36_10358.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_45_9332.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":["1330718726","1330718717","1330718722","1330718709","1330718823","1330718712"],"photo_ids_order":["1330718709","1330718712","1330718717","1330718722","1330718726","1330718823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/573ffc41fb3a48f0997284fa09be2b93.jpg","text":"TemporaryFile(/tmp/multipartBody8116121113803863077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595713898,"filename":"image_23012025_02_25_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cccb8fdc9d30a4704574a297f401faca.jpg","text":"TemporaryFile(/tmp/multipartBody8893511600137155639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595713898,"filename":"image_23012025_02_24_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9200fa6cbb5621f956d58603f524af21.jpg","text":"TemporaryFile(/tmp/multipartBody5857135605049360038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595713898,"filename":"image_23012025_02_25_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8791461877c29210013d32c740baeb24.jpg","text":"TemporaryFile(/tmp/multipartBody7550265985484174662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595713898,"filename":"image_23012025_02_24_25_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18fd16cff8b632f8ea6a5820d17ec434.jpg","text":"TemporaryFile(/tmp/multipartBody8231260234597530366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595713898,"filename":"image_23012025_02_25_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dab0692a39b8f08f2d4f643f85f80c8.jpg","text":"TemporaryFile(/tmp/multipartBody346991906167456436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595713898,"filename":"image_23012025_02_24_35_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330718717","file1":"1330718712","file0":"1330718709","file4":"1330718726","file5":"1330718823","file3":"1330718722"},"map_files_photo_id_array":[{"photo_id":"1330718823","filename":"file5"},{"photo_id":"1330718717","filename":"file2"},{"photo_id":"1330718726","filename":"file4"},{"photo_id":"1330718712","filename":"file1"},{"photo_id":"1330718709","filename":"file0"},{"photo_id":"1330718722","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330718726":["hashtag1","hashtag2"]},{"1330718717":["hashtag1","hashtag2"]},{"1330718722":["hashtag1","hashtag2"]},{"1330718709":["hashtag1","hashtag2"]},{"1330718823":["hashtag1","hashtag2"]},{"1330718712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330718726, 1330718717, 1330718722, 1330718709, 1330718823, 1330718712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22759938240051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:28:32.212922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_55_10435.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_26_06_10330.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_15_9346.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_25_10345.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_45_9345.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_55_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_55_10435.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_26_06_10330.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_15_9346.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_25_10345.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_45_9345.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_55_10430.jpg
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: 0.5230963230133057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:28:42.284330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_55_10435.jpg', '/home/pi/Desktop/images/23012025/02/25/image_23012025_02_26_06_10330.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_15_9346.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_25_10345.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_45_9345.jpg', '/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_55_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_25_55_10435.jpg
/home/pi/Desktop/images/23012025/02/25/image_23012025_02_26_06_10330.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_15_9346.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_25_10345.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_45_9345.jpg
/home/pi/Desktop/images/23012025/02/26/image_23012025_02_26_55_10430.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":["1330719568","1330719562","1330719369","1330719411","1330719536","1330719518"],"photo_ids_order":["1330719369","1330719411","1330719518","1330719536","1330719562","1330719568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f20c93d64444030b2f875ea582506cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8450424560884168560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595783195,"filename":"image_23012025_02_26_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1c71f1eba908b454aa3b334efca259d.jpg","text":"TemporaryFile(/tmp/multipartBody6713221868598304815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595783195,"filename":"image_23012025_02_26_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76c17b15a4d45f790d999abe3ed6370a.jpg","text":"TemporaryFile(/tmp/multipartBody8370425007461296833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595783195,"filename":"image_23012025_02_25_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5e19e378269fc2798c04b3e4aacc123.jpg","text":"TemporaryFile(/tmp/multipartBody7356332737940846700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595783195,"filename":"image_23012025_02_26_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67583f7cf12ffe6857ecd81c4648dc4d.jpg","text":"TemporaryFile(/tmp/multipartBody765737121798147565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595783195,"filename":"image_23012025_02_26_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b860e28720848f1951ea6c0b9ae23582.jpg","text":"TemporaryFile(/tmp/multipartBody1950982778913446023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595783195,"filename":"image_23012025_02_26_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719518","file1":"1330719411","file0":"1330719369","file4":"1330719562","file5":"1330719568","file3":"1330719536"},"map_files_photo_id_array":[{"photo_id":"1330719568","filename":"file5"},{"photo_id":"1330719518","filename":"file2"},{"photo_id":"1330719562","filename":"file4"},{"photo_id":"1330719411","filename":"file1"},{"photo_id":"1330719369","filename":"file0"},{"photo_id":"1330719536","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719568":["hashtag1","hashtag2"]},{"1330719562":["hashtag1","hashtag2"]},{"1330719369":["hashtag1","hashtag2"]},{"1330719411":["hashtag1","hashtag2"]},{"1330719536":["hashtag1","hashtag2"]},{"1330719518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719568, 1330719562, 1330719369, 1330719411, 1330719536, 1330719518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.05021357536316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:29:32.426574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_15_9415.jpg', '/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_45_10367.jpg', '/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_56_10360.jpg', '/home/pi/Desktop/images/23012025/02/27/image_23012025_02_28_05_9339.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_15_10397.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_26_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_15_9415.jpg
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_45_10367.jpg
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_27_56_10360.jpg
/home/pi/Desktop/images/23012025/02/27/image_23012025_02_28_05_9339.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_15_10397.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_26_10368.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":["1330719589","1330719582","1330719585","1330719593","1330719587","1330719596"],"photo_ids_order":["1330719582","1330719585","1330719587","1330719589","1330719593","1330719596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/768196eba9ad466b512f7676395132a1.jpg","text":"TemporaryFile(/tmp/multipartBody2918881961124210775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595833323,"filename":"image_23012025_02_28_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74995a4c9f31013b0c2177289663bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody2676034525097866139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595833323,"filename":"image_23012025_02_27_15_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/148c82e7e9a2f49b58fe803b40c1508d.jpg","text":"TemporaryFile(/tmp/multipartBody7940179010750555465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595833323,"filename":"image_23012025_02_27_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea0e1a048f9ca51698f73ac582ca779d.jpg","text":"TemporaryFile(/tmp/multipartBody1623105500975846368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595833323,"filename":"image_23012025_02_28_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bafe0e3c9488fb83d95d4c36a8acdbb.jpg","text":"TemporaryFile(/tmp/multipartBody7833388469171281884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595833323,"filename":"image_23012025_02_27_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c754ff1f08b472f8de01cf846aac751.jpg","text":"TemporaryFile(/tmp/multipartBody2638955922537245307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595833323,"filename":"image_23012025_02_28_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719587","file1":"1330719585","file0":"1330719582","file4":"1330719593","file5":"1330719596","file3":"1330719589"},"map_files_photo_id_array":[{"photo_id":"1330719596","filename":"file5"},{"photo_id":"1330719587","filename":"file2"},{"photo_id":"1330719593","filename":"file4"},{"photo_id":"1330719585","filename":"file1"},{"photo_id":"1330719582","filename":"file0"},{"photo_id":"1330719589","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719589":["hashtag1","hashtag2"]},{"1330719582":["hashtag1","hashtag2"]},{"1330719585":["hashtag1","hashtag2"]},{"1330719593":["hashtag1","hashtag2"]},{"1330719587":["hashtag1","hashtag2"]},{"1330719596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719589, 1330719582, 1330719585, 1330719593, 1330719587, 1330719596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.99793887138367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:30:32.534090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_35_9423.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_45_10330.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_55_9428.jpg', '/home/pi/Desktop/images/23012025/02/28/image_23012025_02_29_05_10347.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_16_10366.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_25_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_35_9423.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_45_10330.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_28_55_9428.jpg
/home/pi/Desktop/images/23012025/02/28/image_23012025_02_29_05_10347.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_16_10366.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_25_9327.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":["1330719629","1330719627","1330719609","1330719624","1330719603","1330719650"],"photo_ids_order":["1330719603","1330719609","1330719624","1330719627","1330719629","1330719650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30ef5c7d9f04fe85eb6cce70075151ab.jpg","text":"TemporaryFile(/tmp/multipartBody7597987432211413462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595893818,"filename":"image_23012025_02_29_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f972de4d81251723dbe37379a53787e.jpg","text":"TemporaryFile(/tmp/multipartBody5827020968099024012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595893818,"filename":"image_23012025_02_29_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edfae2f49fa1b15c57e092ea4a0daa1a.jpg","text":"TemporaryFile(/tmp/multipartBody2330883601106196436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595893818,"filename":"image_23012025_02_28_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e57e712023154fd4a93e626f9efc9c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8927831982530492255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595893818,"filename":"image_23012025_02_28_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbc18325a75245fede8bf33627c5cd4c.jpg","text":"TemporaryFile(/tmp/multipartBody6522086010371575813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595893818,"filename":"image_23012025_02_28_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b9d29425d258d355ea5d9a771b2f953.jpg","text":"TemporaryFile(/tmp/multipartBody2367925083072894171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595893818,"filename":"image_23012025_02_29_25_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719624","file1":"1330719609","file0":"1330719603","file4":"1330719629","file5":"1330719650","file3":"1330719627"},"map_files_photo_id_array":[{"photo_id":"1330719650","filename":"file5"},{"photo_id":"1330719624","filename":"file2"},{"photo_id":"1330719629","filename":"file4"},{"photo_id":"1330719609","filename":"file1"},{"photo_id":"1330719603","filename":"file0"},{"photo_id":"1330719627","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719629":["hashtag1","hashtag2"]},{"1330719627":["hashtag1","hashtag2"]},{"1330719609":["hashtag1","hashtag2"]},{"1330719624":["hashtag1","hashtag2"]},{"1330719603":["hashtag1","hashtag2"]},{"1330719650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719629, 1330719627, 1330719609, 1330719624, 1330719603, 1330719650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38637042045593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:31:32.882589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_46_10357.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_55_9364.jpg', '/home/pi/Desktop/images/23012025/02/29/image_23012025_02_30_05_10391.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_16_10336.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_35_10347.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_45_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_46_10357.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_29_55_9364.jpg
/home/pi/Desktop/images/23012025/02/29/image_23012025_02_30_05_10391.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_16_10336.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_35_10347.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_45_9330.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":["1330719792","1330719703","1330719798","1330719747","1330719767","1330719719"],"photo_ids_order":["1330719703","1330719719","1330719747","1330719767","1330719792","1330719798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cf4f48c361743f924d65759be3ff480.jpg","text":"TemporaryFile(/tmp/multipartBody691879010234440938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595953800,"filename":"image_23012025_02_30_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2479008861f73b999602036be5f24c30.jpg","text":"TemporaryFile(/tmp/multipartBody3479497204068063759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595953800,"filename":"image_23012025_02_29_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6bb3a6c5e337d3f26c5a66cca86d0df.jpg","text":"TemporaryFile(/tmp/multipartBody7395962017179968051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595953800,"filename":"image_23012025_02_30_45_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0080309dd6493058520e7060dcc39688.jpg","text":"TemporaryFile(/tmp/multipartBody5690801227775651079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595953800,"filename":"image_23012025_02_30_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bc2cbbe29a8a35283968a0a90c99bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6841041657187145788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595953800,"filename":"image_23012025_02_30_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd708e87532c6b78e9daf39d6b11fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody8132438715695171848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737595953800,"filename":"image_23012025_02_29_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719747","file1":"1330719719","file0":"1330719703","file4":"1330719792","file5":"1330719798","file3":"1330719767"},"map_files_photo_id_array":[{"photo_id":"1330719798","filename":"file5"},{"photo_id":"1330719747","filename":"file2"},{"photo_id":"1330719792","filename":"file4"},{"photo_id":"1330719719","filename":"file1"},{"photo_id":"1330719703","filename":"file0"},{"photo_id":"1330719767","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719792":["hashtag1","hashtag2"]},{"1330719703":["hashtag1","hashtag2"]},{"1330719798":["hashtag1","hashtag2"]},{"1330719747":["hashtag1","hashtag2"]},{"1330719767":["hashtag1","hashtag2"]},{"1330719719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719792, 1330719703, 1330719798, 1330719747, 1330719767, 1330719719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21375823020935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:32:33.169316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_55_10410.jpg', '/home/pi/Desktop/images/23012025/02/30/image_23012025_02_31_06_10355.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_15_9326.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_45_9377.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_55_10377.jpg', '/home/pi/Desktop/images/23012025/02/31/image_23012025_02_32_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_30_55_10410.jpg
/home/pi/Desktop/images/23012025/02/30/image_23012025_02_31_06_10355.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_15_9326.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_45_9377.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_31_55_10377.jpg
/home/pi/Desktop/images/23012025/02/31/image_23012025_02_32_06_10345.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":["1330719865","1330719856","1330719873","1330719861","1330719870","1330719872"],"photo_ids_order":["1330719856","1330719861","1330719865","1330719870","1330719872","1330719873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89a7ca2ba194a6c6c45ba5a90ad6035c.jpg","text":"TemporaryFile(/tmp/multipartBody3466621985783502407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596014076,"filename":"image_23012025_02_31_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14644cd49af61e3a1ddce777a8670845.jpg","text":"TemporaryFile(/tmp/multipartBody5163523778527410474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596014076,"filename":"image_23012025_02_30_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06c6de853fe8032f5684e3f2f7c2b7c6.jpg","text":"TemporaryFile(/tmp/multipartBody1928320082761694928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596014076,"filename":"image_23012025_02_32_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3728d0686f9bfac399e31db5af7cc312.jpg","text":"TemporaryFile(/tmp/multipartBody378116894792933136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596014076,"filename":"image_23012025_02_31_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06840f0b3ee4764db39ca652a8094dc5.jpg","text":"TemporaryFile(/tmp/multipartBody2771315889782537905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596014076,"filename":"image_23012025_02_31_45_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01881504c13063e2a92d330a624b5ca6.jpg","text":"TemporaryFile(/tmp/multipartBody5676926252124825588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596014076,"filename":"image_23012025_02_31_55_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719865","file1":"1330719861","file0":"1330719856","file4":"1330719872","file5":"1330719873","file3":"1330719870"},"map_files_photo_id_array":[{"photo_id":"1330719873","filename":"file5"},{"photo_id":"1330719865","filename":"file2"},{"photo_id":"1330719872","filename":"file4"},{"photo_id":"1330719861","filename":"file1"},{"photo_id":"1330719856","filename":"file0"},{"photo_id":"1330719870","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719865":["hashtag1","hashtag2"]},{"1330719856":["hashtag1","hashtag2"]},{"1330719873":["hashtag1","hashtag2"]},{"1330719861":["hashtag1","hashtag2"]},{"1330719870":["hashtag1","hashtag2"]},{"1330719872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719865, 1330719856, 1330719873, 1330719861, 1330719870, 1330719872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.604010581970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:33:32.555936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_15_9429.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_26_10389.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_35_9394.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_45_10369.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_56_10417.jpg', '/home/pi/Desktop/images/23012025/02/32/image_23012025_02_33_05_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_15_9429.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_26_10389.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_35_9394.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_45_10369.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_32_56_10417.jpg
/home/pi/Desktop/images/23012025/02/32/image_23012025_02_33_05_9423.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":["1330719931","1330719925","1330719927","1330719920","1330719923","1330719917"],"photo_ids_order":["1330719917","1330719920","1330719923","1330719925","1330719927","1330719931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0aa1d85194c2040673eb7cdad031084.jpg","text":"TemporaryFile(/tmp/multipartBody8198562127252721114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596073462,"filename":"image_23012025_02_33_05_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c18c096b4f25a9fd6f9678b5c799b635.jpg","text":"TemporaryFile(/tmp/multipartBody2607910525547561274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596073462,"filename":"image_23012025_02_32_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eddeb2fd0677d05695f3fbf00f10fce2.jpg","text":"TemporaryFile(/tmp/multipartBody1173827253417099780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596073462,"filename":"image_23012025_02_32_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc753d4124f205178f3555c2c7f73a0b.jpg","text":"TemporaryFile(/tmp/multipartBody2517259333803109290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596073462,"filename":"image_23012025_02_32_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4afa866c4a1ad48771e4fd7f498b3997.jpg","text":"TemporaryFile(/tmp/multipartBody7984521125146386274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596073462,"filename":"image_23012025_02_32_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/096d265ea2fcab5871682692136c4a87.jpg","text":"TemporaryFile(/tmp/multipartBody8005202003566250685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596073462,"filename":"image_23012025_02_32_15_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719923","file1":"1330719920","file0":"1330719917","file4":"1330719927","file5":"1330719931","file3":"1330719925"},"map_files_photo_id_array":[{"photo_id":"1330719931","filename":"file5"},{"photo_id":"1330719923","filename":"file2"},{"photo_id":"1330719927","filename":"file4"},{"photo_id":"1330719920","filename":"file1"},{"photo_id":"1330719917","filename":"file0"},{"photo_id":"1330719925","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719931":["hashtag1","hashtag2"]},{"1330719925":["hashtag1","hashtag2"]},{"1330719927":["hashtag1","hashtag2"]},{"1330719920":["hashtag1","hashtag2"]},{"1330719923":["hashtag1","hashtag2"]},{"1330719917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719931, 1330719925, 1330719927, 1330719920, 1330719923, 1330719917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.74048376083374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:34:32.532570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_16_10358.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_25_9352.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_35_10424.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_46_10348.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_55_9334.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_34_05_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_16_10358.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_25_9352.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_35_10424.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_46_10348.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_55_9334.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_34_05_10477.jpg
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: 0.5198984146118164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:34:42.583752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_16_10358.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_25_9352.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_35_10424.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_46_10348.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_55_9334.jpg', '/home/pi/Desktop/images/23012025/02/33/image_23012025_02_34_05_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_16_10358.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_25_9352.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_35_10424.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_46_10348.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_33_55_9334.jpg
/home/pi/Desktop/images/23012025/02/33/image_23012025_02_34_05_10477.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":["1330719964","1330719967","1330719972","1330719960","1330719962","1330719956"],"photo_ids_order":["1330719956","1330719960","1330719962","1330719964","1330719967","1330719972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67713a568e17c2b3205f05d6bf8b12e8.jpg","text":"TemporaryFile(/tmp/multipartBody8122917845093613660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596143521,"filename":"image_23012025_02_33_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c56f6a3fe3dc582833bed78c6cb9b08.jpg","text":"TemporaryFile(/tmp/multipartBody3287509261714055527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596143521,"filename":"image_23012025_02_33_55_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c4661ca0332ba11eacbcf7c3049bfd6.jpg","text":"TemporaryFile(/tmp/multipartBody6279009002047324136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596143521,"filename":"image_23012025_02_34_05_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab1b311a77d7f36b34f613b9254dbfc5.jpg","text":"TemporaryFile(/tmp/multipartBody2725076715647356469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596143521,"filename":"image_23012025_02_33_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb9eab0f93a71a4c924a9f3c872ce9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1836412434792245865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596143521,"filename":"image_23012025_02_33_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7465f319f49fb6a56131c172057bab2.jpg","text":"TemporaryFile(/tmp/multipartBody5140233945048766059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596143521,"filename":"image_23012025_02_33_16_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719962","file1":"1330719960","file0":"1330719956","file4":"1330719967","file5":"1330719972","file3":"1330719964"},"map_files_photo_id_array":[{"photo_id":"1330719972","filename":"file5"},{"photo_id":"1330719962","filename":"file2"},{"photo_id":"1330719967","filename":"file4"},{"photo_id":"1330719960","filename":"file1"},{"photo_id":"1330719956","filename":"file0"},{"photo_id":"1330719964","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719964":["hashtag1","hashtag2"]},{"1330719967":["hashtag1","hashtag2"]},{"1330719972":["hashtag1","hashtag2"]},{"1330719960":["hashtag1","hashtag2"]},{"1330719962":["hashtag1","hashtag2"]},{"1330719956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719964, 1330719967, 1330719972, 1330719960, 1330719962, 1330719956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.536734104156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:35:32.806224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_15_9341.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_25_10470.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_36_10358.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_45_9347.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_55_10411.jpg', '/home/pi/Desktop/images/23012025/02/34/image_23012025_02_35_06_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_15_9341.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_25_10470.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_36_10358.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_45_9347.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_34_55_10411.jpg
/home/pi/Desktop/images/23012025/02/34/image_23012025_02_35_06_10346.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":["1330719988","1330719990","1330719993","1330720000","1330719995","1330719998"],"photo_ids_order":["1330719988","1330719990","1330719993","1330719995","1330719998","1330720000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24743d2081ef1dc7f608182d835fa9c0.jpg","text":"TemporaryFile(/tmp/multipartBody984852881841513997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596193725,"filename":"image_23012025_02_34_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a04b52476d4f020f2d73f8a3b2e6448.jpg","text":"TemporaryFile(/tmp/multipartBody3319875440832907082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596193725,"filename":"image_23012025_02_34_25_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/817e7418f205f7e316da0ce8f94ff6ad.jpg","text":"TemporaryFile(/tmp/multipartBody4732508782982560496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596193725,"filename":"image_23012025_02_34_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3213935303846c10d2d998616c6c1f9.jpg","text":"TemporaryFile(/tmp/multipartBody5002329549680448977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596193725,"filename":"image_23012025_02_35_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aac4fb76212484e5d0f9292c32ca1ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8502953464937916449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596193725,"filename":"image_23012025_02_34_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d21f3c553829430a5abdb36262e4cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1770349183647984893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596193725,"filename":"image_23012025_02_34_55_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330719993","file1":"1330719990","file0":"1330719988","file4":"1330719998","file5":"1330720000","file3":"1330719995"},"map_files_photo_id_array":[{"photo_id":"1330720000","filename":"file5"},{"photo_id":"1330719993","filename":"file2"},{"photo_id":"1330719998","filename":"file4"},{"photo_id":"1330719990","filename":"file1"},{"photo_id":"1330719988","filename":"file0"},{"photo_id":"1330719995","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330719988":["hashtag1","hashtag2"]},{"1330719990":["hashtag1","hashtag2"]},{"1330719993":["hashtag1","hashtag2"]},{"1330720000":["hashtag1","hashtag2"]},{"1330719995":["hashtag1","hashtag2"]},{"1330719998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330719988, 1330719990, 1330719993, 1330720000, 1330719995, 1330719998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.202667236328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:36:32.982617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_15_9453.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_26_10384.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_35_9319.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_45_10416.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_56_10347.jpg', '/home/pi/Desktop/images/23012025/02/35/image_23012025_02_36_05_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_15_9453.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_26_10384.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_35_9319.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_45_10416.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_35_56_10347.jpg
/home/pi/Desktop/images/23012025/02/35/image_23012025_02_36_05_9341.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":["1330720067","1330720055","1330720069","1330720072","1330720059","1330720064"],"photo_ids_order":["1330720055","1330720059","1330720064","1330720067","1330720069","1330720072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d967cbe1358a9c0d8d6ff09e62cb499.jpg","text":"TemporaryFile(/tmp/multipartBody6698567468182563810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596253886,"filename":"image_23012025_02_35_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b79e49bb0c0178533d6b8dbbaac9a295.jpg","text":"TemporaryFile(/tmp/multipartBody8622425191701028562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596253886,"filename":"image_23012025_02_35_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b1f0ebe625e3fd1dde9c615be4cb3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8096403265398183971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596253886,"filename":"image_23012025_02_35_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/544a3554846c0c9de08a5b011a61e308.jpg","text":"TemporaryFile(/tmp/multipartBody3192981833252236963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596253886,"filename":"image_23012025_02_36_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4602d01f6c1cd8f2f27647918ec2e217.jpg","text":"TemporaryFile(/tmp/multipartBody3521839045253290487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596253886,"filename":"image_23012025_02_35_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b4cd46054833077d5c24103f4fe429b.jpg","text":"TemporaryFile(/tmp/multipartBody2456887203612083353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596253886,"filename":"image_23012025_02_35_35_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720064","file1":"1330720059","file0":"1330720055","file4":"1330720069","file5":"1330720072","file3":"1330720067"},"map_files_photo_id_array":[{"photo_id":"1330720072","filename":"file5"},{"photo_id":"1330720064","filename":"file2"},{"photo_id":"1330720069","filename":"file4"},{"photo_id":"1330720059","filename":"file1"},{"photo_id":"1330720055","filename":"file0"},{"photo_id":"1330720067","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720067":["hashtag1","hashtag2"]},{"1330720055":["hashtag1","hashtag2"]},{"1330720069":["hashtag1","hashtag2"]},{"1330720072":["hashtag1","hashtag2"]},{"1330720059":["hashtag1","hashtag2"]},{"1330720064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720067, 1330720055, 1330720069, 1330720072, 1330720059, 1330720064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71183800697327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:37:32.193411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_15_10445.jpg', '/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_25_9349.jpg', '/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_35_10393.jpg', '/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_46_10347.jpg', '/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_55_9357.jpg', '/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_35_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_15_10445.jpg
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_25_9349.jpg
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_35_10393.jpg
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_46_10347.jpg
/home/pi/Desktop/images/23012025/02/36/image_23012025_02_36_55_9357.jpg
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_35_9452.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":["1330720166","1330720169","1330720183","1330720171","1330720161","1330720163"],"photo_ids_order":["1330720161","1330720163","1330720166","1330720169","1330720171","1330720183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12304de550adbde86d6267fe210f5c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4266764854322199345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596313088,"filename":"image_23012025_02_36_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32803ff3246ae3b20bf71a882c1f6621.jpg","text":"TemporaryFile(/tmp/multipartBody7848430629604751845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596313088,"filename":"image_23012025_02_36_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f364af03b8690f03488bacef52e012f.jpg","text":"TemporaryFile(/tmp/multipartBody7887212675637103204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596313088,"filename":"image_23012025_02_37_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cad1a9b0caf418113391e7b318183d7.jpg","text":"TemporaryFile(/tmp/multipartBody7722081187741180030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596313088,"filename":"image_23012025_02_36_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5b0d650663d4dceb97da219ea98b322.jpg","text":"TemporaryFile(/tmp/multipartBody4686469306026374798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596313088,"filename":"image_23012025_02_36_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a23cc4d17719ea137af562fa029ed3f.jpg","text":"TemporaryFile(/tmp/multipartBody4965334399935799484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596313088,"filename":"image_23012025_02_36_25_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720166","file1":"1330720163","file0":"1330720161","file4":"1330720171","file5":"1330720183","file3":"1330720169"},"map_files_photo_id_array":[{"photo_id":"1330720183","filename":"file5"},{"photo_id":"1330720166","filename":"file2"},{"photo_id":"1330720171","filename":"file4"},{"photo_id":"1330720163","filename":"file1"},{"photo_id":"1330720161","filename":"file0"},{"photo_id":"1330720169","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720166":["hashtag1","hashtag2"]},{"1330720169":["hashtag1","hashtag2"]},{"1330720183":["hashtag1","hashtag2"]},{"1330720171":["hashtag1","hashtag2"]},{"1330720161":["hashtag1","hashtag2"]},{"1330720163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720166, 1330720169, 1330720183, 1330720171, 1330720161, 1330720163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47503685951233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:38:32.424458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_45_10442.jpg', '/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_55_9340.jpg', '/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_16_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_45_10442.jpg
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_55_9340.jpg
/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_16_10353.jpg
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: 0.4685249328613281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:38:42.479945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_45_10442.jpg', '/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_55_9340.jpg', '/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_16_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_45_10442.jpg
/home/pi/Desktop/images/23012025/02/37/image_23012025_02_37_55_9340.jpg
/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_16_10353.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":["1330720232","1330720241","1330720220"],"photo_ids_order":["1330720220","1330720232","1330720241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64174b95b3eac9000d3f5b7dbe77e6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7176856349196474780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596383340,"filename":"image_23012025_02_37_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dec011790a736bdb7c7fb2391dda4f7d.jpg","text":"TemporaryFile(/tmp/multipartBody7048663843686367420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596383340,"filename":"image_23012025_02_38_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa42cf9b32824cc8b642c6a7a33c107c.jpg","text":"TemporaryFile(/tmp/multipartBody4924490181603206723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596383340,"filename":"image_23012025_02_37_45_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720241","file1":"1330720232","file0":"1330720220"},"map_files_photo_id_array":[{"photo_id":"1330720241","filename":"file2"},{"photo_id":"1330720232","filename":"file1"},{"photo_id":"1330720220","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720232":["hashtag1","hashtag2"]},{"1330720241":["hashtag1","hashtag2"]},{"1330720220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720232, 1330720241, 1330720220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.06137228012085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:39:32.639933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_25_9359.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_16_10326.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_25_9480.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_36_10350.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_45_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/38/image_23012025_02_38_25_9359.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_16_10326.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_25_9480.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_36_10350.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_45_9355.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":["1330720415","1330720390","1330720360","1330720413","1330720388"],"photo_ids_order":["1330720360","1330720388","1330720390","1330720413","1330720415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/593a4427b71d6d1928bcbb932803a99b.jpg","text":"TemporaryFile(/tmp/multipartBody1391829298745651983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596433537,"filename":"image_23012025_02_39_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b99311c951ea2bb85f813657c419e580.jpg","text":"TemporaryFile(/tmp/multipartBody7091775710611413041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596433537,"filename":"image_23012025_02_39_25_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b95190b4a16593dc08b8090e403fc00e.jpg","text":"TemporaryFile(/tmp/multipartBody1234963568661838515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596433537,"filename":"image_23012025_02_38_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4b9e33f0a985bfe25dd3e00c46672bc.jpg","text":"TemporaryFile(/tmp/multipartBody70760826426811406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596433537,"filename":"image_23012025_02_39_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/353f154aaec53b9821adf39f32a6b02a.jpg","text":"TemporaryFile(/tmp/multipartBody8073519547240506971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596433537,"filename":"image_23012025_02_39_16_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720390","file1":"1330720388","file0":"1330720360","file4":"1330720415","file3":"1330720413"},"map_files_photo_id_array":[{"photo_id":"1330720390","filename":"file2"},{"photo_id":"1330720415","filename":"file4"},{"photo_id":"1330720388","filename":"file1"},{"photo_id":"1330720360","filename":"file0"},{"photo_id":"1330720413","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720415":["hashtag1","hashtag2"]},{"1330720390":["hashtag1","hashtag2"]},{"1330720360":["hashtag1","hashtag2"]},{"1330720413":["hashtag1","hashtag2"]},{"1330720388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720415, 1330720390, 1330720360, 1330720413, 1330720388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.55050182342529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:40:32.997537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_55_10446.jpg', '/home/pi/Desktop/images/23012025/02/39/image_23012025_02_40_06_10351.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_15_9375.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_25_10355.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_35_9337.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_45_10504.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_39_55_10446.jpg
/home/pi/Desktop/images/23012025/02/39/image_23012025_02_40_06_10351.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_15_9375.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_25_10355.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_35_9337.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_45_10504.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":["1330720538","1330720529","1330720540","1330720533","1330720527","1330720536"],"photo_ids_order":["1330720527","1330720529","1330720533","1330720536","1330720538","1330720540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/814475d0eb51b26265729e03f86afd37.jpg","text":"TemporaryFile(/tmp/multipartBody7480017166656423123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596493884,"filename":"image_23012025_02_40_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5af4c3d1f7c5d1050fd2813d4eda61b.jpg","text":"TemporaryFile(/tmp/multipartBody8898688221865259667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596493884,"filename":"image_23012025_02_40_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b088dcdf7e5db20d823292a1d8fb574a.jpg","text":"TemporaryFile(/tmp/multipartBody6332288941027388136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596493884,"filename":"image_23012025_02_40_45_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7833e3b4a5e1aaa9b94bc1f4555647b.jpg","text":"TemporaryFile(/tmp/multipartBody7906255323570721718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596493884,"filename":"image_23012025_02_40_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3020363e0b056b2470a0beedc8591c51.jpg","text":"TemporaryFile(/tmp/multipartBody2137200014065897223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596493884,"filename":"image_23012025_02_39_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9097ba8b7defd4fdb4ef769a58594473.jpg","text":"TemporaryFile(/tmp/multipartBody978444985697092632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596493884,"filename":"image_23012025_02_40_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720533","file1":"1330720529","file0":"1330720527","file4":"1330720538","file5":"1330720540","file3":"1330720536"},"map_files_photo_id_array":[{"photo_id":"1330720540","filename":"file5"},{"photo_id":"1330720533","filename":"file2"},{"photo_id":"1330720538","filename":"file4"},{"photo_id":"1330720529","filename":"file1"},{"photo_id":"1330720527","filename":"file0"},{"photo_id":"1330720536","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720538":["hashtag1","hashtag2"]},{"1330720529":["hashtag1","hashtag2"]},{"1330720540":["hashtag1","hashtag2"]},{"1330720533":["hashtag1","hashtag2"]},{"1330720527":["hashtag1","hashtag2"]},{"1330720536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720538, 1330720529, 1330720540, 1330720533, 1330720527, 1330720536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.79080104827881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:41:33.134428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_56_10345.jpg', '/home/pi/Desktop/images/23012025/02/40/image_23012025_02_41_05_9406.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_15_10322.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_26_10362.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_35_9390.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_46_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_40_56_10345.jpg
/home/pi/Desktop/images/23012025/02/40/image_23012025_02_41_05_9406.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_15_10322.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_26_10362.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_35_9390.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_46_10454.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":["1330720559","1330720570","1330720563","1330720554","1330720571","1330720568"],"photo_ids_order":["1330720554","1330720559","1330720563","1330720568","1330720570","1330720571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e329a99f1f89a74ac23448917cd901e.jpg","text":"TemporaryFile(/tmp/multipartBody7717236876134179121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596554418,"filename":"image_23012025_02_41_05_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/837bdd4784303e8f24481bfbc04b5878.jpg","text":"TemporaryFile(/tmp/multipartBody5260663292835128579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596554418,"filename":"image_23012025_02_41_35_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/821fd05d09e98d0b927e349eec5f17ac.jpg","text":"TemporaryFile(/tmp/multipartBody6994421768459202892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596554418,"filename":"image_23012025_02_41_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e356aca275cb74d88d37e9c539fe763.jpg","text":"TemporaryFile(/tmp/multipartBody1833785927677724468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596554418,"filename":"image_23012025_02_40_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3d168c8b76d82e9f2b41147227630dc.jpg","text":"TemporaryFile(/tmp/multipartBody6801614082328285836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596554418,"filename":"image_23012025_02_41_46_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20937377a9c94a95f3e3dbb7a7280615.jpg","text":"TemporaryFile(/tmp/multipartBody7969415960204387151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596554418,"filename":"image_23012025_02_41_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720563","file1":"1330720559","file0":"1330720554","file4":"1330720570","file5":"1330720571","file3":"1330720568"},"map_files_photo_id_array":[{"photo_id":"1330720571","filename":"file5"},{"photo_id":"1330720563","filename":"file2"},{"photo_id":"1330720570","filename":"file4"},{"photo_id":"1330720559","filename":"file1"},{"photo_id":"1330720554","filename":"file0"},{"photo_id":"1330720568","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720559":["hashtag1","hashtag2"]},{"1330720570":["hashtag1","hashtag2"]},{"1330720563":["hashtag1","hashtag2"]},{"1330720554":["hashtag1","hashtag2"]},{"1330720571":["hashtag1","hashtag2"]},{"1330720568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720559, 1330720570, 1330720563, 1330720554, 1330720571, 1330720568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11755037307739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:42:32.333134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_55_9354.jpg', '/home/pi/Desktop/images/23012025/02/41/image_23012025_02_42_05_10429.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_16_10335.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_25_9333.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_35_10347.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_41_55_9354.jpg
/home/pi/Desktop/images/23012025/02/41/image_23012025_02_42_05_10429.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_16_10335.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_25_9333.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_35_10347.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_46_10357.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":["1330720742","1330720715","1330720657","1330720654","1330720694","1330720688"],"photo_ids_order":["1330720654","1330720657","1330720688","1330720694","1330720715","1330720742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/013109ea385eee352432bc8a99a0ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody8187854726844378126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596613250,"filename":"image_23012025_02_42_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf2f36a5ff441231f38c35baf4c56502.jpg","text":"TemporaryFile(/tmp/multipartBody8638732721013469091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596613250,"filename":"image_23012025_02_42_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d6f49897b561089870bfbfcae141146.jpg","text":"TemporaryFile(/tmp/multipartBody4865073479450509975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596613250,"filename":"image_23012025_02_42_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/483fedfd07c9fc54c3c1280ae659573e.jpg","text":"TemporaryFile(/tmp/multipartBody403677363874656416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596613250,"filename":"image_23012025_02_41_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a97c7856c781dfc19c8cf35dc3a68357.jpg","text":"TemporaryFile(/tmp/multipartBody1452715331590630010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596613250,"filename":"image_23012025_02_42_25_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8384dfdd5886bb62b695d99e368b7ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8575044282578417599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596613250,"filename":"image_23012025_02_42_16_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720688","file1":"1330720657","file0":"1330720654","file4":"1330720715","file5":"1330720742","file3":"1330720694"},"map_files_photo_id_array":[{"photo_id":"1330720742","filename":"file5"},{"photo_id":"1330720688","filename":"file2"},{"photo_id":"1330720715","filename":"file4"},{"photo_id":"1330720657","filename":"file1"},{"photo_id":"1330720654","filename":"file0"},{"photo_id":"1330720694","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720742":["hashtag1","hashtag2"]},{"1330720715":["hashtag1","hashtag2"]},{"1330720657":["hashtag1","hashtag2"]},{"1330720654":["hashtag1","hashtag2"]},{"1330720694":["hashtag1","hashtag2"]},{"1330720688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720742, 1330720715, 1330720657, 1330720654, 1330720694, 1330720688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2963809967041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:43:32.804849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_55_9399.jpg', '/home/pi/Desktop/images/23012025/02/42/image_23012025_02_43_05_10333.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_15_9357.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_25_10391.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_36_10339.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_45_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_42_55_9399.jpg
/home/pi/Desktop/images/23012025/02/42/image_23012025_02_43_05_10333.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_15_9357.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_25_10391.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_36_10339.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_45_9359.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":["1330720760","1330720802","1330720756","1330720765","1330720767","1330720752"],"photo_ids_order":["1330720752","1330720756","1330720760","1330720765","1330720767","1330720802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/795c5a81dccaea900fd856b4658f2c65.jpg","text":"TemporaryFile(/tmp/multipartBody2991184594921069570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596673701,"filename":"image_23012025_02_43_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/196580a5c6c55cf3f62dcfa8ca125ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5835564137531847894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596673701,"filename":"image_23012025_02_43_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ca0ea8cb2c492e04df82e12290676d6.jpg","text":"TemporaryFile(/tmp/multipartBody6627556962571850627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596673701,"filename":"image_23012025_02_43_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aeab217ceb65c7f2aaf50dc9a7e10b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5564300485160102451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596673701,"filename":"image_23012025_02_43_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd6f6f58abb170aba9bceea6597b4569.jpg","text":"TemporaryFile(/tmp/multipartBody1779394683379551954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596673701,"filename":"image_23012025_02_43_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2549f81f2bf99e5ddff2f30396c43116.jpg","text":"TemporaryFile(/tmp/multipartBody4579188920984105724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596673701,"filename":"image_23012025_02_42_55_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330720760","file1":"1330720756","file0":"1330720752","file4":"1330720767","file5":"1330720802","file3":"1330720765"},"map_files_photo_id_array":[{"photo_id":"1330720802","filename":"file5"},{"photo_id":"1330720760","filename":"file2"},{"photo_id":"1330720767","filename":"file4"},{"photo_id":"1330720756","filename":"file1"},{"photo_id":"1330720752","filename":"file0"},{"photo_id":"1330720765","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330720760":["hashtag1","hashtag2"]},{"1330720802":["hashtag1","hashtag2"]},{"1330720756":["hashtag1","hashtag2"]},{"1330720765":["hashtag1","hashtag2"]},{"1330720767":["hashtag1","hashtag2"]},{"1330720752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330720760, 1330720802, 1330720756, 1330720765, 1330720767, 1330720752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46606421470642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:44:32.997431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_55_10344.jpg', '/home/pi/Desktop/images/23012025/02/43/image_23012025_02_44_05_9626.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_15_10352.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_26_10367.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_35_9340.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_45_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_43_55_10344.jpg
/home/pi/Desktop/images/23012025/02/43/image_23012025_02_44_05_9626.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_15_10352.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_26_10367.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_35_9340.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_45_10461.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":["1330722198","1330721941","1330722065","1330722194","1330721666","1330721807"],"photo_ids_order":["1330721666","1330721807","1330721941","1330722065","1330722194","1330722198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ae2fb88a061cf3cb18243d0ed73f16c.jpg","text":"TemporaryFile(/tmp/multipartBody4843809885486235037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596733891,"filename":"image_23012025_02_44_45_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4f3f32230a3434f72eb52cde3149fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7733584974374490789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596733891,"filename":"image_23012025_02_44_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/943eedf4705bdfc13523dcbc0d336a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1483951263744143255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596733891,"filename":"image_23012025_02_44_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16b72db6c6d17445002fe841989ae46c.jpg","text":"TemporaryFile(/tmp/multipartBody3777865451726990538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596733891,"filename":"image_23012025_02_44_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3af6ea22d082c2ef923383edafd902c7.jpg","text":"TemporaryFile(/tmp/multipartBody2202607964084441327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596733891,"filename":"image_23012025_02_43_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e026dc42a12410bdc6d41e665da0d53.jpg","text":"TemporaryFile(/tmp/multipartBody6474816807835546594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596733891,"filename":"image_23012025_02_44_05_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330721941","file1":"1330721807","file0":"1330721666","file4":"1330722194","file5":"1330722198","file3":"1330722065"},"map_files_photo_id_array":[{"photo_id":"1330722198","filename":"file5"},{"photo_id":"1330721941","filename":"file2"},{"photo_id":"1330722194","filename":"file4"},{"photo_id":"1330721807","filename":"file1"},{"photo_id":"1330721666","filename":"file0"},{"photo_id":"1330722065","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330722198":["hashtag1","hashtag2"]},{"1330721941":["hashtag1","hashtag2"]},{"1330722065":["hashtag1","hashtag2"]},{"1330722194":["hashtag1","hashtag2"]},{"1330721666":["hashtag1","hashtag2"]},{"1330721807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330722198, 1330721941, 1330722065, 1330722194, 1330721666, 1330721807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.041083574295044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:45:32.210181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_56_10336.jpg', '/home/pi/Desktop/images/23012025/02/44/image_23012025_02_45_05_9389.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_16_10438.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_25_9352.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_35_10455.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_46_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_44_56_10336.jpg
/home/pi/Desktop/images/23012025/02/44/image_23012025_02_45_05_9389.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_16_10438.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_25_9352.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_35_10455.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_46_10335.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":["1330722271","1330722255","1330722266","1330722275","1330722257","1330722262"],"photo_ids_order":["1330722255","1330722257","1330722262","1330722266","1330722271","1330722275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/497bdc59dd884cfeb71a59a96e8dc2ee.jpg","text":"TemporaryFile(/tmp/multipartBody7601394817293583388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596793123,"filename":"image_23012025_02_45_35_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/434cfe7323efcb1616c382ec8b8f86b1.jpg","text":"TemporaryFile(/tmp/multipartBody2505875458411990746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596793123,"filename":"image_23012025_02_44_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f8a706dea6cb16fe4d55e006efb64fa.jpg","text":"TemporaryFile(/tmp/multipartBody5261804913605562428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596793123,"filename":"image_23012025_02_45_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c72107fb0444071ebe9fe76d14de3d12.jpg","text":"TemporaryFile(/tmp/multipartBody3204458874754809572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596793123,"filename":"image_23012025_02_45_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08489ade48c62f2ca88445a8d9cb73b6.jpg","text":"TemporaryFile(/tmp/multipartBody3146222187797816245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596793123,"filename":"image_23012025_02_45_05_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f090ca41722431f4258fd0f36a8a59d.jpg","text":"TemporaryFile(/tmp/multipartBody7879105446601539843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596793123,"filename":"image_23012025_02_45_16_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330722262","file1":"1330722257","file0":"1330722255","file4":"1330722271","file5":"1330722275","file3":"1330722266"},"map_files_photo_id_array":[{"photo_id":"1330722275","filename":"file5"},{"photo_id":"1330722262","filename":"file2"},{"photo_id":"1330722271","filename":"file4"},{"photo_id":"1330722257","filename":"file1"},{"photo_id":"1330722255","filename":"file0"},{"photo_id":"1330722266","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330722271":["hashtag1","hashtag2"]},{"1330722255":["hashtag1","hashtag2"]},{"1330722266":["hashtag1","hashtag2"]},{"1330722275":["hashtag1","hashtag2"]},{"1330722257":["hashtag1","hashtag2"]},{"1330722262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330722271, 1330722255, 1330722266, 1330722275, 1330722257, 1330722262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.87869358062744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:46:32.455667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_55_9467.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_46_06_10350.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_15_9375.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_25_10361.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_36_10331.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_45_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_55_9467.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_46_06_10350.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_15_9375.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_25_10361.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_36_10331.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_45_9337.jpg
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: 0.5379185676574707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:46:42.470946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_55_9467.jpg', '/home/pi/Desktop/images/23012025/02/45/image_23012025_02_46_06_10350.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_15_9375.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_25_10361.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_36_10331.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_45_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_45_55_9467.jpg
/home/pi/Desktop/images/23012025/02/45/image_23012025_02_46_06_10350.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_15_9375.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_25_10361.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_36_10331.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_45_9337.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":["1330722676","1330722750","1330722672","1330722735","1330722629","1330722620"],"photo_ids_order":["1330722620","1330722629","1330722672","1330722676","1330722735","1330722750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f2527bd90e448b70ec44410e45901ec.jpg","text":"TemporaryFile(/tmp/multipartBody3753239045686245310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596863389,"filename":"image_23012025_02_46_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed71728332bebd4551962e334343e93f.jpg","text":"TemporaryFile(/tmp/multipartBody7820509364318154886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596863389,"filename":"image_23012025_02_46_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0c8d9e69a340e5bec539ba3c0200614.jpg","text":"TemporaryFile(/tmp/multipartBody3984615469706714629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596863389,"filename":"image_23012025_02_46_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b80bf26f0cd6516c49879da8327b1d0.jpg","text":"TemporaryFile(/tmp/multipartBody4785711662311459938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596863389,"filename":"image_23012025_02_46_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d8e7277bcca0dedcb664a7614245b9d.jpg","text":"TemporaryFile(/tmp/multipartBody8412701245935030517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596863389,"filename":"image_23012025_02_46_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0de49bc10244fcfc0d86551133b8bccc.jpg","text":"TemporaryFile(/tmp/multipartBody3648387555026535371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596863389,"filename":"image_23012025_02_45_55_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330722672","file1":"1330722629","file0":"1330722620","file4":"1330722735","file5":"1330722750","file3":"1330722676"},"map_files_photo_id_array":[{"photo_id":"1330722750","filename":"file5"},{"photo_id":"1330722672","filename":"file2"},{"photo_id":"1330722735","filename":"file4"},{"photo_id":"1330722629","filename":"file1"},{"photo_id":"1330722620","filename":"file0"},{"photo_id":"1330722676","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330722676":["hashtag1","hashtag2"]},{"1330722750":["hashtag1","hashtag2"]},{"1330722672":["hashtag1","hashtag2"]},{"1330722735":["hashtag1","hashtag2"]},{"1330722629":["hashtag1","hashtag2"]},{"1330722620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330722676, 1330722750, 1330722672, 1330722735, 1330722629, 1330722620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46538424491882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:47:32.710690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_55_10348.jpg', '/home/pi/Desktop/images/23012025/02/46/image_23012025_02_47_06_10441.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_15_9390.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_26_10390.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_35_9329.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_45_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_46_55_10348.jpg
/home/pi/Desktop/images/23012025/02/46/image_23012025_02_47_06_10441.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_15_9390.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_26_10390.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_35_9329.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_45_10432.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":["1330722775","1330722757","1330722792","1330722795","1330722759","1330722766"],"photo_ids_order":["1330722757","1330722759","1330722766","1330722775","1330722792","1330722795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d1954c15df8189934e1448231b397ff.jpg","text":"TemporaryFile(/tmp/multipartBody1978989778026186350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596913604,"filename":"image_23012025_02_47_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a73e8e0ea97cfb40e9cf6bf0686d4c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3279454585332342972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596913604,"filename":"image_23012025_02_46_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/055687fcb34ae4b813b827617bc0ef32.jpg","text":"TemporaryFile(/tmp/multipartBody3836526147366523140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596913604,"filename":"image_23012025_02_47_35_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/403c5d934bce0987de16eb787155c522.jpg","text":"TemporaryFile(/tmp/multipartBody1624766777320843275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596913604,"filename":"image_23012025_02_47_45_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/038e9fe4e54e6bc475183daf9b866029.jpg","text":"TemporaryFile(/tmp/multipartBody6182346973902562302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596913604,"filename":"image_23012025_02_47_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b937d55ce1f923946131946f15b0310a.jpg","text":"TemporaryFile(/tmp/multipartBody6630875547039163897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596913604,"filename":"image_23012025_02_47_15_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330722766","file1":"1330722759","file0":"1330722757","file4":"1330722792","file5":"1330722795","file3":"1330722775"},"map_files_photo_id_array":[{"photo_id":"1330722795","filename":"file5"},{"photo_id":"1330722766","filename":"file2"},{"photo_id":"1330722792","filename":"file4"},{"photo_id":"1330722759","filename":"file1"},{"photo_id":"1330722757","filename":"file0"},{"photo_id":"1330722775","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330722775":["hashtag1","hashtag2"]},{"1330722757":["hashtag1","hashtag2"]},{"1330722792":["hashtag1","hashtag2"]},{"1330722795":["hashtag1","hashtag2"]},{"1330722759":["hashtag1","hashtag2"]},{"1330722766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330722775, 1330722757, 1330722792, 1330722795, 1330722759, 1330722766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56678295135498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:48:32.939438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_56_10376.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_48_05_9353.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_15_10403.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_56_10376.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_48_05_9353.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_15_10403.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_45_10339.jpg
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: 0.498349666595459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:48:42.903590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_56_10376.jpg', '/home/pi/Desktop/images/23012025/02/47/image_23012025_02_48_05_9353.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_15_10403.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_47_56_10376.jpg
/home/pi/Desktop/images/23012025/02/47/image_23012025_02_48_05_9353.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_15_10403.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_45_10339.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":["1330723405","1330723407","1330723403","1330723406"],"photo_ids_order":["1330723403","1330723405","1330723406","1330723407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d29e7c1138fd71b01e6c18a0476d173a.jpg","text":"TemporaryFile(/tmp/multipartBody3263008456946464950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596983789,"filename":"image_23012025_02_48_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97dcc481a3a11a17b9836c314fcb9b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7174190588346049163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596983789,"filename":"image_23012025_02_48_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cec9c2254141b5f3d8939b0cd572554.jpg","text":"TemporaryFile(/tmp/multipartBody5163425899037544141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596983789,"filename":"image_23012025_02_47_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37c2fb0b5be0eca798da887f48d6eb27.jpg","text":"TemporaryFile(/tmp/multipartBody7759000597348654537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737596983789,"filename":"image_23012025_02_48_15_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330723406","file1":"1330723405","file0":"1330723403","file3":"1330723407"},"map_files_photo_id_array":[{"photo_id":"1330723406","filename":"file2"},{"photo_id":"1330723405","filename":"file1"},{"photo_id":"1330723403","filename":"file0"},{"photo_id":"1330723407","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330723405":["hashtag1","hashtag2"]},{"1330723407":["hashtag1","hashtag2"]},{"1330723403":["hashtag1","hashtag2"]},{"1330723406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330723405, 1330723407, 1330723403, 1330723406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.88865828514099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:49:33.101579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_55_9344.jpg', '/home/pi/Desktop/images/23012025/02/48/image_23012025_02_49_05_10474.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_16_10341.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_25_9347.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_35_10482.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_48_55_9344.jpg
/home/pi/Desktop/images/23012025/02/48/image_23012025_02_49_05_10474.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_16_10341.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_25_9347.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_35_10482.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_45_9347.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":["1330723702","1330723664","1330723592","1330723700","1330723631","1330723690"],"photo_ids_order":["1330723592","1330723631","1330723664","1330723690","1330723700","1330723702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f36ed4c52b83085596aa41eeaa89b0c2.jpg","text":"TemporaryFile(/tmp/multipartBody2345211997188776865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597034027,"filename":"image_23012025_02_49_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da73e9b1bc2ede5ab01a02f676f5107e.jpg","text":"TemporaryFile(/tmp/multipartBody6580069257972199292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597034027,"filename":"image_23012025_02_49_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e94ec1a1787a5d4f2784f5158512b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1073224834640753983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597034027,"filename":"image_23012025_02_48_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55b360e61b078ce7d4350cb9801ff60d.jpg","text":"TemporaryFile(/tmp/multipartBody4460614367627362960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597034027,"filename":"image_23012025_02_49_35_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fed48588d1a20ba3569fd78bff34bb0.jpg","text":"TemporaryFile(/tmp/multipartBody7126642992568806014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597034027,"filename":"image_23012025_02_49_05_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9216d56e7087f8b6b8b3a198ddfbf71.jpg","text":"TemporaryFile(/tmp/multipartBody6281613171032082244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597034027,"filename":"image_23012025_02_49_25_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330723664","file1":"1330723631","file0":"1330723592","file4":"1330723700","file5":"1330723702","file3":"1330723690"},"map_files_photo_id_array":[{"photo_id":"1330723702","filename":"file5"},{"photo_id":"1330723664","filename":"file2"},{"photo_id":"1330723700","filename":"file4"},{"photo_id":"1330723631","filename":"file1"},{"photo_id":"1330723592","filename":"file0"},{"photo_id":"1330723690","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330723702":["hashtag1","hashtag2"]},{"1330723664":["hashtag1","hashtag2"]},{"1330723592":["hashtag1","hashtag2"]},{"1330723700":["hashtag1","hashtag2"]},{"1330723631":["hashtag1","hashtag2"]},{"1330723690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330723702, 1330723664, 1330723592, 1330723700, 1330723631, 1330723690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.241626024246216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:50:32.296253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_55_10375.jpg', '/home/pi/Desktop/images/23012025/02/49/image_23012025_02_50_06_10350.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_16_10206.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_25_9517.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_49_55_10375.jpg
/home/pi/Desktop/images/23012025/02/49/image_23012025_02_50_06_10350.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_16_10206.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_25_9517.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":["1330723716","1330723787","1330723757","1330723739"],"photo_ids_order":["1330723716","1330723739","1330723757","1330723787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42ef411cd01f2219ee31f7cbdaaa14f1.jpg","text":"TemporaryFile(/tmp/multipartBody8769925558277825226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597093165,"filename":"image_23012025_02_49_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06d0f9d4b139d93bf27e54595fac2bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7972457571276663779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597093165,"filename":"image_23012025_02_50_25_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3b59bfcab0df4b77b177425d45b01d1.jpg","text":"TemporaryFile(/tmp/multipartBody391706898258316437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597093165,"filename":"image_23012025_02_50_16_10206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61c6acd5f207916a28c3f747ef2e0ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5823110103327852029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597093165,"filename":"image_23012025_02_50_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330723757","file1":"1330723739","file0":"1330723716","file3":"1330723787"},"map_files_photo_id_array":[{"photo_id":"1330723757","filename":"file2"},{"photo_id":"1330723739","filename":"file1"},{"photo_id":"1330723716","filename":"file0"},{"photo_id":"1330723787","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330723716":["hashtag1","hashtag2"]},{"1330723787":["hashtag1","hashtag2"]},{"1330723757":["hashtag1","hashtag2"]},{"1330723739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330723716, 1330723787, 1330723757, 1330723739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.713892221450806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:51:32.646265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_55_10417.jpg', '/home/pi/Desktop/images/23012025/02/50/image_23012025_02_51_06_10352.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_15_9417.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_35_9335.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_45_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_50_55_10417.jpg
/home/pi/Desktop/images/23012025/02/50/image_23012025_02_51_06_10352.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_15_9417.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_35_9335.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_45_10418.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":["1330723950","1330723941","1330723922","1330723960","1330723924"],"photo_ids_order":["1330723922","1330723924","1330723941","1330723950","1330723960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/728aab42e88f23bfed7a426701bbc187.jpg","text":"TemporaryFile(/tmp/multipartBody684685205694018199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597153565,"filename":"image_23012025_02_51_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9afd35e4adc503b95595ca982eb6ebb3.jpg","text":"TemporaryFile(/tmp/multipartBody2267334552208811722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597153565,"filename":"image_23012025_02_51_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/535c84beaddd8f7133da88baa9fa9630.jpg","text":"TemporaryFile(/tmp/multipartBody4750622571431374890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597153565,"filename":"image_23012025_02_50_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d2988beced186ccbd645523663150f6.jpg","text":"TemporaryFile(/tmp/multipartBody5138893777510288089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597153565,"filename":"image_23012025_02_51_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/567881ac9906049d47a2c62c7d41b1ea.jpg","text":"TemporaryFile(/tmp/multipartBody8757720176455408620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597153565,"filename":"image_23012025_02_51_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330723941","file1":"1330723924","file0":"1330723922","file4":"1330723960","file3":"1330723950"},"map_files_photo_id_array":[{"photo_id":"1330723941","filename":"file2"},{"photo_id":"1330723960","filename":"file4"},{"photo_id":"1330723924","filename":"file1"},{"photo_id":"1330723922","filename":"file0"},{"photo_id":"1330723950","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330723950":["hashtag1","hashtag2"]},{"1330723941":["hashtag1","hashtag2"]},{"1330723922":["hashtag1","hashtag2"]},{"1330723960":["hashtag1","hashtag2"]},{"1330723924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330723950, 1330723941, 1330723922, 1330723960, 1330723924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.780176401138306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:52:32.912193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_56_10356.jpg', '/home/pi/Desktop/images/23012025/02/51/image_23012025_02_52_05_9326.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_15_10437.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_26_10354.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_35_9405.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_46_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_51_56_10356.jpg
/home/pi/Desktop/images/23012025/02/51/image_23012025_02_52_05_9326.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_15_10437.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_26_10354.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_35_9405.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_46_10438.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":["1330724034","1330723991","1330724027","1330724006","1330724002","1330724032"],"photo_ids_order":["1330723991","1330724002","1330724006","1330724027","1330724032","1330724034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e6d7dc663303eb0cad490e01f8ce611.jpg","text":"TemporaryFile(/tmp/multipartBody5205196051797729529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597213823,"filename":"image_23012025_02_52_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ddd81102abbf83ccc4c43e6da62590a.jpg","text":"TemporaryFile(/tmp/multipartBody5934653257518635762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597213823,"filename":"image_23012025_02_51_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36d2cab628f5af5fd8dd8c7c50bb19bb.jpg","text":"TemporaryFile(/tmp/multipartBody4926804284443042190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597213823,"filename":"image_23012025_02_52_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01526a2a68ea0f3033fdd9932859a67c.jpg","text":"TemporaryFile(/tmp/multipartBody5220570327666852837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597213823,"filename":"image_23012025_02_52_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/356b4c7522334badbedc28b0fc2f9f78.jpg","text":"TemporaryFile(/tmp/multipartBody6005332657647653400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597213823,"filename":"image_23012025_02_52_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edbecd9005c4b4b1cd649f1d2593d2fe.jpg","text":"TemporaryFile(/tmp/multipartBody4607407981316367772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597213823,"filename":"image_23012025_02_52_35_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724006","file1":"1330724002","file0":"1330723991","file4":"1330724032","file5":"1330724034","file3":"1330724027"},"map_files_photo_id_array":[{"photo_id":"1330724034","filename":"file5"},{"photo_id":"1330724006","filename":"file2"},{"photo_id":"1330724032","filename":"file4"},{"photo_id":"1330724002","filename":"file1"},{"photo_id":"1330723991","filename":"file0"},{"photo_id":"1330724027","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724034":["hashtag1","hashtag2"]},{"1330723991":["hashtag1","hashtag2"]},{"1330724027":["hashtag1","hashtag2"]},{"1330724006":["hashtag1","hashtag2"]},{"1330724002":["hashtag1","hashtag2"]},{"1330724032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724034, 1330723991, 1330724027, 1330724006, 1330724002, 1330724032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12411594390869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:53:32.974974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_55_9351.jpg', '/home/pi/Desktop/images/23012025/02/52/image_23012025_02_53_05_10434.jpg', '/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_16_10334.jpg', '/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_25_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_52_55_9351.jpg
/home/pi/Desktop/images/23012025/02/52/image_23012025_02_53_05_10434.jpg
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_16_10334.jpg
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_25_9469.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":["1330724040","1330724043","1330724054","1330724051"],"photo_ids_order":["1330724040","1330724043","1330724051","1330724054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e38aa3c14d9576cae98928344b05d9b1.jpg","text":"TemporaryFile(/tmp/multipartBody6800059868535171346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597273853,"filename":"image_23012025_02_52_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38d344024fc1ee2297fcd1cbd7d789ac.jpg","text":"TemporaryFile(/tmp/multipartBody8275136843465312166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597273853,"filename":"image_23012025_02_53_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd690bddc90ba1cc4295450d3841c282.jpg","text":"TemporaryFile(/tmp/multipartBody6155743463764236261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597273853,"filename":"image_23012025_02_53_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c429ab0438a485a2a7df23f0f13e55dc.jpg","text":"TemporaryFile(/tmp/multipartBody6003533234124783304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597273853,"filename":"image_23012025_02_53_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724051","file1":"1330724043","file0":"1330724040","file3":"1330724054"},"map_files_photo_id_array":[{"photo_id":"1330724051","filename":"file2"},{"photo_id":"1330724043","filename":"file1"},{"photo_id":"1330724040","filename":"file0"},{"photo_id":"1330724054","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724040":["hashtag1","hashtag2"]},{"1330724043":["hashtag1","hashtag2"]},{"1330724054":["hashtag1","hashtag2"]},{"1330724051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724040, 1330724043, 1330724054, 1330724051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.79794192314148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:54:32.274342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_36_10358.jpg', '/home/pi/Desktop/images/23012025/02/53/image_23012025_02_54_06_10363.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_15_9317.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_25_10357.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_36_10348.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_45_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_53_36_10358.jpg
/home/pi/Desktop/images/23012025/02/53/image_23012025_02_54_06_10363.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_15_9317.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_25_10357.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_36_10348.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_45_9332.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":["1330724244","1330724148","1330724249","1330724098","1330724095","1330724292"],"photo_ids_order":["1330724095","1330724098","1330724148","1330724244","1330724249","1330724292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22a63c594264beac28b4dd0513a1ab41.jpg","text":"TemporaryFile(/tmp/multipartBody5940682039049862319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597333178,"filename":"image_23012025_02_54_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f81680c45b3348c132658b1585ada39.jpg","text":"TemporaryFile(/tmp/multipartBody3417313621292795006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597333178,"filename":"image_23012025_02_54_15_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b0cffa6dc4beb59d8a035ce590469fd.jpg","text":"TemporaryFile(/tmp/multipartBody6224098286573049369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597333178,"filename":"image_23012025_02_54_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87d3a6b8492dc668d1ed1afe6ed331f3.jpg","text":"TemporaryFile(/tmp/multipartBody8779774469523238897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597333178,"filename":"image_23012025_02_54_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80f4d84d13a347b3ad1e003a7d5e6a71.jpg","text":"TemporaryFile(/tmp/multipartBody8378637235751126396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597333178,"filename":"image_23012025_02_53_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05442544e29cf7578fed112941105b11.jpg","text":"TemporaryFile(/tmp/multipartBody978553860715087747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597333178,"filename":"image_23012025_02_54_45_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724148","file1":"1330724098","file0":"1330724095","file4":"1330724249","file5":"1330724292","file3":"1330724244"},"map_files_photo_id_array":[{"photo_id":"1330724292","filename":"file5"},{"photo_id":"1330724148","filename":"file2"},{"photo_id":"1330724249","filename":"file4"},{"photo_id":"1330724098","filename":"file1"},{"photo_id":"1330724095","filename":"file0"},{"photo_id":"1330724244","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724244":["hashtag1","hashtag2"]},{"1330724148":["hashtag1","hashtag2"]},{"1330724249":["hashtag1","hashtag2"]},{"1330724098":["hashtag1","hashtag2"]},{"1330724095":["hashtag1","hashtag2"]},{"1330724292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724244, 1330724148, 1330724249, 1330724098, 1330724095, 1330724292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.995577335357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:55:32.485414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_55_10413.jpg', '/home/pi/Desktop/images/23012025/02/54/image_23012025_02_55_06_10353.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_15_9395.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_26_10428.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_35_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_54_55_10413.jpg
/home/pi/Desktop/images/23012025/02/54/image_23012025_02_55_06_10353.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_15_9395.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_26_10428.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_35_9329.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":["1330724334","1330724351","1330724324","1330724326","1330724329"],"photo_ids_order":["1330724324","1330724326","1330724329","1330724334","1330724351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eb38c86ae2034e91269f03964f42509.jpg","text":"TemporaryFile(/tmp/multipartBody183746142565645710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597393362,"filename":"image_23012025_02_55_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90ff24b02add0b766577f9f97e9ee446.jpg","text":"TemporaryFile(/tmp/multipartBody2928195881390307968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597393362,"filename":"image_23012025_02_55_35_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4dff5e0bd0528f9bfd277fa80696e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2355735856436175119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597393362,"filename":"image_23012025_02_54_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6d7b10c2b1b6a72585d1106e52b2711.jpg","text":"TemporaryFile(/tmp/multipartBody8054316623156060440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597393362,"filename":"image_23012025_02_55_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d30a82ca6e1b6afc31965c9d9b30394d.jpg","text":"TemporaryFile(/tmp/multipartBody7836011032387957231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597393362,"filename":"image_23012025_02_55_15_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724329","file1":"1330724326","file0":"1330724324","file4":"1330724351","file3":"1330724334"},"map_files_photo_id_array":[{"photo_id":"1330724329","filename":"file2"},{"photo_id":"1330724351","filename":"file4"},{"photo_id":"1330724326","filename":"file1"},{"photo_id":"1330724324","filename":"file0"},{"photo_id":"1330724334","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724334":["hashtag1","hashtag2"]},{"1330724351":["hashtag1","hashtag2"]},{"1330724324":["hashtag1","hashtag2"]},{"1330724326":["hashtag1","hashtag2"]},{"1330724329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724334, 1330724351, 1330724324, 1330724326, 1330724329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.22722887992859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:56:32.613788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_45_10403.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_56_05_9339.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_15_10357.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_26_10352.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_35_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_45_10403.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_56_05_9339.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_15_10357.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_26_10352.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_35_9352.jpg
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: 0.5034565925598145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:56:42.674000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_45_10403.jpg', '/home/pi/Desktop/images/23012025/02/55/image_23012025_02_56_05_9339.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_15_10357.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_26_10352.jpg', '/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_35_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_55_45_10403.jpg
/home/pi/Desktop/images/23012025/02/55/image_23012025_02_56_05_9339.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_15_10357.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_26_10352.jpg
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_35_9352.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":["1330724442","1330724418","1330724426","1330724437","1330724422"],"photo_ids_order":["1330724418","1330724422","1330724426","1330724437","1330724442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4efdf16dfcbcc2861e08b2b4ca13cacc.jpg","text":"TemporaryFile(/tmp/multipartBody4284858839260683259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597463555,"filename":"image_23012025_02_56_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df8252a0b4c1e6bfbfc153560ae35efc.jpg","text":"TemporaryFile(/tmp/multipartBody1943770278763896764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597463555,"filename":"image_23012025_02_55_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7de799825656f80cb36d09a421e209cc.jpg","text":"TemporaryFile(/tmp/multipartBody6709929127984075939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597463555,"filename":"image_23012025_02_56_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e0bc9eade62ef7523305abab7dd46e8.jpg","text":"TemporaryFile(/tmp/multipartBody5301525098904005629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597463555,"filename":"image_23012025_02_56_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4f5a42bf0036e9eaff7511d4d3ae916.jpg","text":"TemporaryFile(/tmp/multipartBody1746623354941607258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597463555,"filename":"image_23012025_02_56_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724426","file1":"1330724422","file0":"1330724418","file4":"1330724442","file3":"1330724437"},"map_files_photo_id_array":[{"photo_id":"1330724426","filename":"file2"},{"photo_id":"1330724442","filename":"file4"},{"photo_id":"1330724422","filename":"file1"},{"photo_id":"1330724418","filename":"file0"},{"photo_id":"1330724437","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724442":["hashtag1","hashtag2"]},{"1330724418":["hashtag1","hashtag2"]},{"1330724426":["hashtag1","hashtag2"]},{"1330724437":["hashtag1","hashtag2"]},{"1330724422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724442, 1330724418, 1330724426, 1330724437, 1330724422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.00243592262268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 02:57:32.777547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_35_10415.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_45_10344.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_55_9450.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_29_05_10359.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_16_10411.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_25_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_35_10415.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_45_10344.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_55_9450.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_29_05_10359.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_16_10411.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_25_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:59:03.990786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_45_10333.jpg', '/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_16_10355.jpg', '/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_35_10343.jpg', '/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_46_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/56/image_23012025_02_56_45_10333.jpg
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_16_10355.jpg
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_35_10343.jpg
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_46_10367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330724642","1330724672","1330724627","1330724665"],"photo_ids_order":["1330724627","1330724642","1330724665","1330724672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ad47ebfbae09862d0e736be0120d7d0.jpg","text":"TemporaryFile(/tmp/multipartBody2308830394437913911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597605067,"filename":"image_23012025_02_58_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ece50bf9f814675c45758a396c47302.jpg","text":"TemporaryFile(/tmp/multipartBody6989309035332794389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597605067,"filename":"image_23012025_02_58_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/811719948937ff956fd4e990e6bce2a0.jpg","text":"TemporaryFile(/tmp/multipartBody6024463128224233057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597605067,"filename":"image_23012025_02_56_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/785d8ac76006d388804e251b851790f2.jpg","text":"TemporaryFile(/tmp/multipartBody7012697062182682378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597605067,"filename":"image_23012025_02_58_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724665","file1":"1330724642","file0":"1330724627","file3":"1330724672"},"map_files_photo_id_array":[{"photo_id":"1330724665","filename":"file2"},{"photo_id":"1330724642","filename":"file1"},{"photo_id":"1330724627","filename":"file0"},{"photo_id":"1330724672","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724642":["hashtag1","hashtag2"]},{"1330724672":["hashtag1","hashtag2"]},{"1330724627":["hashtag1","hashtag2"]},{"1330724665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724642, 1330724672, 1330724627, 1330724665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.01056671142578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 02:59:42.672712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_55_9479.jpg', '/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_26_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/58/image_23012025_02_58_55_9479.jpg
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_26_10451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330724699","1330724701"],"photo_ids_order":["1330724699","1330724701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fba41589114750b910c21bf82ca2da9f.jpg","text":"TemporaryFile(/tmp/multipartBody7387666972763185972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597643524,"filename":"image_23012025_02_58_55_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e41ddd8c7583bb87528f8e236cbde28.jpg","text":"TemporaryFile(/tmp/multipartBody2585331822064099875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597643524,"filename":"image_23012025_02_59_26_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330724701","file0":"1330724699"},"map_files_photo_id_array":[{"photo_id":"1330724701","filename":"file1"},{"photo_id":"1330724699","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724699":["hashtag1","hashtag2"]},{"1330724701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724699, 1330724701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.68921422958374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:00:03.701084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_35_10415.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_45_10344.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_55_9450.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_29_05_10359.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_16_10411.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_25_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_35_10415.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_45_10344.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_55_9450.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_29_05_10359.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_16_10411.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_25_9442.jpg
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: 1.251101016998291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:00:32.822941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_45_10423.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_16_10066.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_26_10432.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_36_10335.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_46_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/02/59/image_23012025_02_59_45_10423.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_16_10066.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_26_10432.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_36_10335.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_46_9408.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":["1330724808","1330724805","1330724810","1330724812","1330724784"],"photo_ids_order":["1330724784","1330724805","1330724808","1330724810","1330724812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1cc052b4e46e14b32828434616cb9e6.jpg","text":"TemporaryFile(/tmp/multipartBody3735948374523062515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597693701,"filename":"image_23012025_03_00_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e17a41965bb639307d62fde19ab2a893.jpg","text":"TemporaryFile(/tmp/multipartBody3529306884443272457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597693701,"filename":"image_23012025_03_00_16_10066.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12b358b8849cedca85ba46faea1247d8.jpg","text":"TemporaryFile(/tmp/multipartBody5647643125742731347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597693701,"filename":"image_23012025_03_00_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/678206c203b2398e5ac5be448d3980fd.jpg","text":"TemporaryFile(/tmp/multipartBody7940027672569630980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597693701,"filename":"image_23012025_03_00_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75b38078b723ca40f49ebda9820524e6.jpg","text":"TemporaryFile(/tmp/multipartBody4184192369482748922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597693701,"filename":"image_23012025_02_59_45_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724808","file1":"1330724805","file0":"1330724784","file4":"1330724812","file3":"1330724810"},"map_files_photo_id_array":[{"photo_id":"1330724808","filename":"file2"},{"photo_id":"1330724812","filename":"file4"},{"photo_id":"1330724805","filename":"file1"},{"photo_id":"1330724784","filename":"file0"},{"photo_id":"1330724810","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724808":["hashtag1","hashtag2"]},{"1330724805":["hashtag1","hashtag2"]},{"1330724810":["hashtag1","hashtag2"]},{"1330724812":["hashtag1","hashtag2"]},{"1330724784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724808, 1330724805, 1330724810, 1330724812, 1330724784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.607895612716675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:01:33.044995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_56_10355.jpg', '/home/pi/Desktop/images/23012025/03/00/image_23012025_03_01_07_10322.jpg', '/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_16_9341.jpg', '/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_26_10368.jpg', '/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_37_10320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_00_56_10355.jpg
/home/pi/Desktop/images/23012025/03/00/image_23012025_03_01_07_10322.jpg
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_16_9341.jpg
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_26_10368.jpg
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_37_10320.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":["1330724832","1330724829","1330724831","1330724828","1330724830"],"photo_ids_order":["1330724828","1330724829","1330724830","1330724831","1330724832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72ced2463647090583a0961ea4ac5588.jpg","text":"TemporaryFile(/tmp/multipartBody7274530682705971918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597753948,"filename":"image_23012025_03_01_37_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d362619b8822e3321d3c18e0620da53e.jpg","text":"TemporaryFile(/tmp/multipartBody1033186132793007899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597753948,"filename":"image_23012025_03_01_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/477382c5184b5e0197672ced797fae16.jpg","text":"TemporaryFile(/tmp/multipartBody3967107974553011726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597753948,"filename":"image_23012025_03_01_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91d8451c050902776d63d447cec7dec8.jpg","text":"TemporaryFile(/tmp/multipartBody4137647790748354917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597753948,"filename":"image_23012025_03_00_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85c20c1878cb2f929752ec6138b82380.jpg","text":"TemporaryFile(/tmp/multipartBody2845529198630210756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597753948,"filename":"image_23012025_03_01_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724830","file1":"1330724829","file0":"1330724828","file4":"1330724832","file3":"1330724831"},"map_files_photo_id_array":[{"photo_id":"1330724830","filename":"file2"},{"photo_id":"1330724832","filename":"file4"},{"photo_id":"1330724829","filename":"file1"},{"photo_id":"1330724828","filename":"file0"},{"photo_id":"1330724831","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724832":["hashtag1","hashtag2"]},{"1330724829":["hashtag1","hashtag2"]},{"1330724831":["hashtag1","hashtag2"]},{"1330724828":["hashtag1","hashtag2"]},{"1330724830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724832, 1330724829, 1330724831, 1330724828, 1330724830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.3933162689209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:02:32.433567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_46_9343.jpg', '/home/pi/Desktop/images/23012025/03/01/image_23012025_03_02_07_10354.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_16_9339.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_26_10423.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_36_9378.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_46_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_01_46_9343.jpg
/home/pi/Desktop/images/23012025/03/01/image_23012025_03_02_07_10354.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_16_9339.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_26_10423.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_36_9378.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_46_10477.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":["1330724901","1330724867","1330724864","1330724927","1330724923","1330724937"],"photo_ids_order":["1330724864","1330724867","1330724901","1330724923","1330724927","1330724937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0277de7dfbc63bd82d6bc6f4adbf1dbf.jpg","text":"TemporaryFile(/tmp/multipartBody2050859209519321146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597813338,"filename":"image_23012025_03_02_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75b149e55606b4ec92b97e597d371060.jpg","text":"TemporaryFile(/tmp/multipartBody8754778328317214007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597813338,"filename":"image_23012025_03_02_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6bb52420423b247a891e5784ea9fd22.jpg","text":"TemporaryFile(/tmp/multipartBody6615746060412906812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597813338,"filename":"image_23012025_03_01_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4f27c9bba61922e3cb047113719bb5d.jpg","text":"TemporaryFile(/tmp/multipartBody808276441670514016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597813338,"filename":"image_23012025_03_02_36_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/babc96e99557dcdc4c60629e42f4331f.jpg","text":"TemporaryFile(/tmp/multipartBody8185592053312593659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597813338,"filename":"image_23012025_03_02_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91dd1de030185fc34c12e941e0e26fb9.jpg","text":"TemporaryFile(/tmp/multipartBody2896283843920131433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597813338,"filename":"image_23012025_03_02_46_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330724901","file1":"1330724867","file0":"1330724864","file4":"1330724927","file5":"1330724937","file3":"1330724923"},"map_files_photo_id_array":[{"photo_id":"1330724937","filename":"file5"},{"photo_id":"1330724901","filename":"file2"},{"photo_id":"1330724927","filename":"file4"},{"photo_id":"1330724867","filename":"file1"},{"photo_id":"1330724864","filename":"file0"},{"photo_id":"1330724923","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330724901":["hashtag1","hashtag2"]},{"1330724867":["hashtag1","hashtag2"]},{"1330724864":["hashtag1","hashtag2"]},{"1330724927":["hashtag1","hashtag2"]},{"1330724923":["hashtag1","hashtag2"]},{"1330724937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330724901, 1330724867, 1330724864, 1330724927, 1330724923, 1330724937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7868013381958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:03:32.515227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_57_10362.jpg', '/home/pi/Desktop/images/23012025/03/02/image_23012025_03_03_06_9313.jpg', '/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_16_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_02_57_10362.jpg
/home/pi/Desktop/images/23012025/03/02/image_23012025_03_03_06_9313.jpg
/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_16_10384.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":["1330725023","1330724996","1330725026"],"photo_ids_order":["1330724996","1330725023","1330725026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5343edbf2fb1c18c5fc95d5764500b62.jpg","text":"TemporaryFile(/tmp/multipartBody2113638645697511061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597873363,"filename":"image_23012025_03_03_06_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ded55635aef6bc8d57ed2698cd2b55a8.jpg","text":"TemporaryFile(/tmp/multipartBody2848912383877849510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597873363,"filename":"image_23012025_03_02_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31138c602c3b930967518dff240a2833.jpg","text":"TemporaryFile(/tmp/multipartBody2912877974019562321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597873363,"filename":"image_23012025_03_03_16_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330725026","file1":"1330725023","file0":"1330724996"},"map_files_photo_id_array":[{"photo_id":"1330725026","filename":"file2"},{"photo_id":"1330725023","filename":"file1"},{"photo_id":"1330724996","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330725023":["hashtag1","hashtag2"]},{"1330724996":["hashtag1","hashtag2"]},{"1330725026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330725023, 1330724996, 1330725026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.651079416275024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:04:03.382415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_35_10415.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_45_10344.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_55_9450.jpg', '/home/pi/Desktop/images/20012025/06/28/image_20012025_06_29_05_10359.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_16_10411.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_25_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_35_10415.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_45_10344.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_28_55_9450.jpg
/home/pi/Desktop/images/20012025/06/28/image_20012025_06_29_05_10359.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_16_10411.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_25_9442.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":["1330725047","1330725040","1330725043","1330725036","1330725051","1330725030"],"photo_ids_order":["1330725030","1330725036","1330725040","1330725043","1330725047","1330725051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9834a316975e04609e8a91cefacd755.jpg","text":"TemporaryFile(/tmp/multipartBody2830764269536643781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597904872,"filename":"image_20012025_06_29_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40c93f7f857a661ba614967451435df0.jpg","text":"TemporaryFile(/tmp/multipartBody4525291653062152941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597904872,"filename":"image_20012025_06_28_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cc54e6719037ef257c1c317dd5923ce.jpg","text":"TemporaryFile(/tmp/multipartBody5370231774112311766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597904872,"filename":"image_20012025_06_29_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/518ad61068d512091928eda006e65ec4.jpg","text":"TemporaryFile(/tmp/multipartBody7757788017731665711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597904872,"filename":"image_20012025_06_28_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44273e071084c3fb7392b988e637c1be.jpg","text":"TemporaryFile(/tmp/multipartBody7976827542282520815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597904872,"filename":"image_20012025_06_29_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5342eb66c6efd51f3537d49da666e7cc.jpg","text":"TemporaryFile(/tmp/multipartBody4183725978639941963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597904872,"filename":"image_20012025_06_28_35_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330725040","file1":"1330725036","file0":"1330725030","file4":"1330725047","file5":"1330725051","file3":"1330725043"},"map_files_photo_id_array":[{"photo_id":"1330725051","filename":"file5"},{"photo_id":"1330725040","filename":"file2"},{"photo_id":"1330725047","filename":"file4"},{"photo_id":"1330725036","filename":"file1"},{"photo_id":"1330725030","filename":"file0"},{"photo_id":"1330725043","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330725047":["hashtag1","hashtag2"]},{"1330725040":["hashtag1","hashtag2"]},{"1330725043":["hashtag1","hashtag2"]},{"1330725036":["hashtag1","hashtag2"]},{"1330725051":["hashtag1","hashtag2"]},{"1330725030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330725047, 1330725040, 1330725043, 1330725036, 1330725051, 1330725030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.32058310508728 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:05:04.461817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_26_9350.jpg', '/home/pi/Desktop/images/23012025/03/03/image_23012025_03_04_06_10488.jpg', '/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_17_10329.jpg', '/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_26_9345.jpg', '/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_36_10390.jpg', '/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_46_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/03/image_23012025_03_03_26_9350.jpg
/home/pi/Desktop/images/23012025/03/03/image_23012025_03_04_06_10488.jpg
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_17_10329.jpg
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_26_9345.jpg
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_36_10390.jpg
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_46_9348.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":["1330725053","1330725067","1330725055","1330725060","1330725063","1330725057"],"photo_ids_order":["1330725053","1330725055","1330725057","1330725060","1330725063","1330725067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f416a730923654579d571bd17974ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2983891516242664504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597965626,"filename":"image_23012025_03_03_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a8f44ed37baa290dad858564902cb2c.jpg","text":"TemporaryFile(/tmp/multipartBody5617316271709484639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597965626,"filename":"image_23012025_03_04_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a80e29b894078a09ac77517bcf61a14e.jpg","text":"TemporaryFile(/tmp/multipartBody4647719000597197985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597965626,"filename":"image_23012025_03_04_06_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f89e64c2b012f89c8e3805ec5f4f94f.jpg","text":"TemporaryFile(/tmp/multipartBody1437412052766471616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597965626,"filename":"image_23012025_03_04_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6e115ac020006719220d81f835701e6.jpg","text":"TemporaryFile(/tmp/multipartBody2191340385790835940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597965626,"filename":"image_23012025_03_04_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1bfd15f3618fbd651cfc070dff82ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2386358736080867449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737597965626,"filename":"image_23012025_03_04_17_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330725057","file1":"1330725055","file0":"1330725053","file4":"1330725063","file5":"1330725067","file3":"1330725060"},"map_files_photo_id_array":[{"photo_id":"1330725067","filename":"file5"},{"photo_id":"1330725057","filename":"file2"},{"photo_id":"1330725063","filename":"file4"},{"photo_id":"1330725055","filename":"file1"},{"photo_id":"1330725053","filename":"file0"},{"photo_id":"1330725060","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330725053":["hashtag1","hashtag2"]},{"1330725067":["hashtag1","hashtag2"]},{"1330725055":["hashtag1","hashtag2"]},{"1330725060":["hashtag1","hashtag2"]},{"1330725063":["hashtag1","hashtag2"]},{"1330725057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330725053, 1330725067, 1330725055, 1330725060, 1330725063, 1330725057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.167882680892944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:05:52.990609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_35_10327.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_45_9391.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_55_10361.jpg', '/home/pi/Desktop/images/20012025/06/29/image_20012025_06_30_06_10348.jpg', '/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_15_9343.jpg', '/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_25_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_35_10327.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_45_9391.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_29_55_10361.jpg
/home/pi/Desktop/images/20012025/06/29/image_20012025_06_30_06_10348.jpg
/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_15_9343.jpg
/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_25_10355.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":["1330725887","1330725943","1330725475","1330725940","1330725684","1330725936"],"photo_ids_order":["1330725475","1330725684","1330725887","1330725936","1330725940","1330725943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e0908878a767d26ed7ac6a3028be9f3.jpg","text":"TemporaryFile(/tmp/multipartBody4307104796369456756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598015373,"filename":"image_20012025_06_29_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02f5292defc92726f0b9db44d097d282.jpg","text":"TemporaryFile(/tmp/multipartBody281640254742084490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598015373,"filename":"image_20012025_06_30_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e2f8359306b0eb318d013d112d2195c.jpg","text":"TemporaryFile(/tmp/multipartBody4771207347703734741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598015373,"filename":"image_20012025_06_29_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41f1ffef3ad26afbbc8e0b828cf21c84.jpg","text":"TemporaryFile(/tmp/multipartBody5398823057914265987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598015373,"filename":"image_20012025_06_30_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df5c929863dbab96f5da188e537571d1.jpg","text":"TemporaryFile(/tmp/multipartBody4115459287348742058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598015373,"filename":"image_20012025_06_29_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae12b26147cbcd836dd9ebd8373cf3a9.jpg","text":"TemporaryFile(/tmp/multipartBody5044433793824034093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598015373,"filename":"image_20012025_06_30_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330725887","file1":"1330725684","file0":"1330725475","file4":"1330725940","file5":"1330725943","file3":"1330725936"},"map_files_photo_id_array":[{"photo_id":"1330725943","filename":"file5"},{"photo_id":"1330725887","filename":"file2"},{"photo_id":"1330725940","filename":"file4"},{"photo_id":"1330725684","filename":"file1"},{"photo_id":"1330725475","filename":"file0"},{"photo_id":"1330725936","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330725887":["hashtag1","hashtag2"]},{"1330725943":["hashtag1","hashtag2"]},{"1330725475":["hashtag1","hashtag2"]},{"1330725940":["hashtag1","hashtag2"]},{"1330725684":["hashtag1","hashtag2"]},{"1330725936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330725887, 1330725943, 1330725475, 1330725940, 1330725684, 1330725936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.23807096481323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:06:42.321848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_56_10399.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_06_06_9342.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_16_10453.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_27_10356.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_36_9326.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_46_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_56_10399.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_06_06_9342.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_16_10453.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_27_10356.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_36_9326.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_46_10456.jpg
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: 0.5277905464172363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:06:52.144859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_36_10355.jpg', '/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_55_10353.jpg', '/home/pi/Desktop/images/20012025/06/30/image_20012025_06_31_05_9454.jpg', '/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_26_10340.jpg', '/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_35_9387.jpg', '/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_45_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_36_10355.jpg
/home/pi/Desktop/images/20012025/06/30/image_20012025_06_30_55_10353.jpg
/home/pi/Desktop/images/20012025/06/30/image_20012025_06_31_05_9454.jpg
/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_26_10340.jpg
/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_35_9387.jpg
/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_45_10396.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":["1330726166","1330726220","1330725961","1330726188","1330726215","1330726175"],"photo_ids_order":["1330725961","1330726166","1330726175","1330726188","1330726215","1330726220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e8ec4dec5740a0b3500ba56d08513f4.jpg","text":"TemporaryFile(/tmp/multipartBody2387019712282394593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598074511,"filename":"image_20012025_06_30_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00bdb755d73097faf84282ec36268c78.jpg","text":"TemporaryFile(/tmp/multipartBody6998433048708860713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598074511,"filename":"image_20012025_06_31_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75d13c32029c5acf847d55d670650992.jpg","text":"TemporaryFile(/tmp/multipartBody322590010124063890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598074511,"filename":"image_20012025_06_30_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf14412f21b7a0620b08b5c6984b561e.jpg","text":"TemporaryFile(/tmp/multipartBody292068964811934082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598074511,"filename":"image_20012025_06_31_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5efa56509b6ebeb2b7e52e6af408dad.jpg","text":"TemporaryFile(/tmp/multipartBody428964172480110150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598074511,"filename":"image_20012025_06_31_35_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/401f5680870da7eb77f7501f8e8dda62.jpg","text":"TemporaryFile(/tmp/multipartBody8240480109618102782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598074511,"filename":"image_20012025_06_31_05_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726175","file1":"1330726166","file0":"1330725961","file4":"1330726215","file5":"1330726220","file3":"1330726188"},"map_files_photo_id_array":[{"photo_id":"1330726220","filename":"file5"},{"photo_id":"1330726175","filename":"file2"},{"photo_id":"1330726215","filename":"file4"},{"photo_id":"1330726166","filename":"file1"},{"photo_id":"1330725961","filename":"file0"},{"photo_id":"1330726188","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330726166":["hashtag1","hashtag2"]},{"1330726220":["hashtag1","hashtag2"]},{"1330725961":["hashtag1","hashtag2"]},{"1330726188":["hashtag1","hashtag2"]},{"1330726215":["hashtag1","hashtag2"]},{"1330726175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330726166, 1330726220, 1330725961, 1330726188, 1330726215, 1330726175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2845892906189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:07:42.399793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_56_10399.jpg', '/home/pi/Desktop/images/23012025/03/05/image_23012025_03_06_06_9342.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_16_10453.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_27_10356.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_36_9326.jpg', '/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_46_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/04/image_23012025_03_04_56_10399.jpg
/home/pi/Desktop/images/23012025/03/05/image_23012025_03_06_06_9342.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_16_10453.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_27_10356.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_36_9326.jpg
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_46_10456.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":["1330726337","1330726319","1330726339","1330726324","1330726341","1330726335"],"photo_ids_order":["1330726319","1330726324","1330726335","1330726337","1330726339","1330726341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5e1f7fa89c1912c0b7b0234ee519561.jpg","text":"TemporaryFile(/tmp/multipartBody6039604884217001670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598123326,"filename":"image_23012025_03_06_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f1f688bd7d15fade59aa162e796c22c.jpg","text":"TemporaryFile(/tmp/multipartBody584681018948801714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598123326,"filename":"image_23012025_03_04_56_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0253ccf42302e3de2d1986809b5bce6b.jpg","text":"TemporaryFile(/tmp/multipartBody6147350516751332574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598123326,"filename":"image_23012025_03_06_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7645915936c81da3dfd9ba5fdf3efd3.jpg","text":"TemporaryFile(/tmp/multipartBody3450542936195419713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598123326,"filename":"image_23012025_03_06_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/485c22f2cd5acfaecec2f3c1e90fa15d.jpg","text":"TemporaryFile(/tmp/multipartBody233508606775889579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598123326,"filename":"image_23012025_03_06_46_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3858ce564c810e7c0047630b52dafcd.jpg","text":"TemporaryFile(/tmp/multipartBody903995297756641256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598123326,"filename":"image_23012025_03_06_16_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726335","file1":"1330726324","file0":"1330726319","file4":"1330726339","file5":"1330726341","file3":"1330726337"},"map_files_photo_id_array":[{"photo_id":"1330726341","filename":"file5"},{"photo_id":"1330726335","filename":"file2"},{"photo_id":"1330726339","filename":"file4"},{"photo_id":"1330726324","filename":"file1"},{"photo_id":"1330726319","filename":"file0"},{"photo_id":"1330726337","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330726337":["hashtag1","hashtag2"]},{"1330726319":["hashtag1","hashtag2"]},{"1330726339":["hashtag1","hashtag2"]},{"1330726324":["hashtag1","hashtag2"]},{"1330726341":["hashtag1","hashtag2"]},{"1330726335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330726337, 1330726319, 1330726339, 1330726324, 1330726341, 1330726335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.48767447471619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:08:32.652175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_56_9478.jpg', '/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_16_9382.jpg', '/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_56_10349.jpg', '/home/pi/Desktop/images/23012025/03/07/image_23012025_03_08_07_10358.jpg', '/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_16_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/06/image_23012025_03_06_56_9478.jpg
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_16_9382.jpg
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_07_56_10349.jpg
/home/pi/Desktop/images/23012025/03/07/image_23012025_03_08_07_10358.jpg
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_16_9324.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":["1330726409","1330726378","1330726347","1330726401","1330726382"],"photo_ids_order":["1330726347","1330726378","1330726382","1330726401","1330726409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1f57da8193ff9233a24529ae51f756d.jpg","text":"TemporaryFile(/tmp/multipartBody7190512066942898374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598173531,"filename":"image_23012025_03_08_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b6d79c9185011ffab3e0276042033a8.jpg","text":"TemporaryFile(/tmp/multipartBody6275859276174331352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598173531,"filename":"image_23012025_03_07_16_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96cf2a32148a67bbc56433121f6492aa.jpg","text":"TemporaryFile(/tmp/multipartBody1780828575219919077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598173531,"filename":"image_23012025_03_06_56_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05e578183262f034e320e5b2f792535d.jpg","text":"TemporaryFile(/tmp/multipartBody6768483774503704865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598173531,"filename":"image_23012025_03_08_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7303eb827ad3a078c18ee56c62d3296b.jpg","text":"TemporaryFile(/tmp/multipartBody3271969508392431438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598173531,"filename":"image_23012025_03_07_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726382","file1":"1330726378","file0":"1330726347","file4":"1330726409","file3":"1330726401"},"map_files_photo_id_array":[{"photo_id":"1330726382","filename":"file2"},{"photo_id":"1330726409","filename":"file4"},{"photo_id":"1330726378","filename":"file1"},{"photo_id":"1330726347","filename":"file0"},{"photo_id":"1330726401","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330726409":["hashtag1","hashtag2"]},{"1330726378":["hashtag1","hashtag2"]},{"1330726347":["hashtag1","hashtag2"]},{"1330726401":["hashtag1","hashtag2"]},{"1330726382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330726409, 1330726378, 1330726347, 1330726401, 1330726382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.0560302734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:09:33.018897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_56_10373.jpg', '/home/pi/Desktop/images/20012025/06/31/image_20012025_06_32_05_9354.jpg', '/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_15_10346.jpg', '/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_25_9334.jpg', '/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_35_10358.jpg', '/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_45_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/31/image_20012025_06_31_56_10373.jpg
/home/pi/Desktop/images/20012025/06/31/image_20012025_06_32_05_9354.jpg
/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_15_10346.jpg
/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_25_9334.jpg
/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_35_10358.jpg
/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_45_10328.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":["1330726463","1330726459","1330726461","1330726458","1330726466","1330726469"],"photo_ids_order":["1330726458","1330726459","1330726461","1330726463","1330726466","1330726469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2053a296e2a937211a06aaa6963217c.jpg","text":"TemporaryFile(/tmp/multipartBody5714497168125772517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598235382,"filename":"image_20012025_06_32_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35a154674b1b9c9fad80e32d37a1100d.jpg","text":"TemporaryFile(/tmp/multipartBody757046430583891163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598235382,"filename":"image_20012025_06_32_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da6f670b0edd8f6db0be698a37bbfbeb.jpg","text":"TemporaryFile(/tmp/multipartBody7357337700560842852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598235382,"filename":"image_20012025_06_32_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1440ee486d11b73b93f910c99889c03.jpg","text":"TemporaryFile(/tmp/multipartBody3009946906223648132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598235382,"filename":"image_20012025_06_31_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0ea7762d82813121cb614dabf082aa2.jpg","text":"TemporaryFile(/tmp/multipartBody216431407193041719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598235382,"filename":"image_20012025_06_32_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9fec9e38f0130a02855b8d99e558300.jpg","text":"TemporaryFile(/tmp/multipartBody146111790636145963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598235382,"filename":"image_20012025_06_32_45_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726461","file1":"1330726459","file0":"1330726458","file4":"1330726466","file5":"1330726469","file3":"1330726463"},"map_files_photo_id_array":[{"photo_id":"1330726469","filename":"file5"},{"photo_id":"1330726461","filename":"file2"},{"photo_id":"1330726466","filename":"file4"},{"photo_id":"1330726459","filename":"file1"},{"photo_id":"1330726458","filename":"file0"},{"photo_id":"1330726463","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330726463":["hashtag1","hashtag2"]},{"1330726459":["hashtag1","hashtag2"]},{"1330726461":["hashtag1","hashtag2"]},{"1330726458":["hashtag1","hashtag2"]},{"1330726466":["hashtag1","hashtag2"]},{"1330726469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330726463, 1330726459, 1330726461, 1330726458, 1330726466, 1330726469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.36010408401489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:10:32.193824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_37_10335.jpg', '/home/pi/Desktop/images/23012025/03/09/image_23012025_03_10_06_9356.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_16_10437.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_27_10352.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_46_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/08/image_23012025_03_08_37_10335.jpg
/home/pi/Desktop/images/23012025/03/09/image_23012025_03_10_06_9356.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_16_10437.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_27_10352.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_46_10439.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":["1330726489","1330726513","1330726497","1330726482","1330726485"],"photo_ids_order":["1330726482","1330726485","1330726489","1330726497","1330726513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/318e85318858ce238a64f44e67235d93.jpg","text":"TemporaryFile(/tmp/multipartBody184770519160499895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598293084,"filename":"image_23012025_03_10_16_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fab83a5d416fa5c11120bbc820fcc1f.jpg","text":"TemporaryFile(/tmp/multipartBody4091279321153455750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598293084,"filename":"image_23012025_03_10_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3a28025ab8fd6e93cb62f829443a36f.jpg","text":"TemporaryFile(/tmp/multipartBody3696875424387614313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598293084,"filename":"image_23012025_03_10_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a568bf60cffc37682134b76b9c50c16.jpg","text":"TemporaryFile(/tmp/multipartBody8117074337909593799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598293084,"filename":"image_23012025_03_08_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7465fe92a3efc4d790fd2081bc1b1d50.jpg","text":"TemporaryFile(/tmp/multipartBody4205780865918486160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598293084,"filename":"image_23012025_03_10_06_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726489","file1":"1330726485","file0":"1330726482","file4":"1330726513","file3":"1330726497"},"map_files_photo_id_array":[{"photo_id":"1330726489","filename":"file2"},{"photo_id":"1330726513","filename":"file4"},{"photo_id":"1330726485","filename":"file1"},{"photo_id":"1330726482","filename":"file0"},{"photo_id":"1330726497","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330726489":["hashtag1","hashtag2"]},{"1330726513":["hashtag1","hashtag2"]},{"1330726497":["hashtag1","hashtag2"]},{"1330726482":["hashtag1","hashtag2"]},{"1330726485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330726489, 1330726513, 1330726497, 1330726482, 1330726485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.7989776134491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:11:32.387722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_56_9333.jpg', '/home/pi/Desktop/images/23012025/03/10/image_23012025_03_11_06_10477.jpg', '/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_26_9337.jpg', '/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_36_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_10_56_9333.jpg
/home/pi/Desktop/images/23012025/03/10/image_23012025_03_11_06_10477.jpg
/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_26_9337.jpg
/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_36_10370.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":["1330726540","1330726641","1330726602","1330726631"],"photo_ids_order":["1330726540","1330726602","1330726631","1330726641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19f82d42ab34b797bd323f2e77ef3b14.jpg","text":"TemporaryFile(/tmp/multipartBody1636966223479853688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598353263,"filename":"image_23012025_03_10_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ecac29cad456f097d5a6811fcbd6fbd.jpg","text":"TemporaryFile(/tmp/multipartBody3944781839478025387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598353263,"filename":"image_23012025_03_11_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b78be5e4852fefbdf049d6bfaed204ea.jpg","text":"TemporaryFile(/tmp/multipartBody4076593779152427019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598353263,"filename":"image_23012025_03_11_06_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7168b5514a7b41142b76de7dec796973.jpg","text":"TemporaryFile(/tmp/multipartBody8813620249635591099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598353263,"filename":"image_23012025_03_11_26_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726631","file1":"1330726602","file0":"1330726540","file3":"1330726641"},"map_files_photo_id_array":[{"photo_id":"1330726631","filename":"file2"},{"photo_id":"1330726602","filename":"file1"},{"photo_id":"1330726540","filename":"file0"},{"photo_id":"1330726641","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330726540":["hashtag1","hashtag2"]},{"1330726641":["hashtag1","hashtag2"]},{"1330726602":["hashtag1","hashtag2"]},{"1330726631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330726540, 1330726641, 1330726602, 1330726631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.376383781433105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:12:32.536994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_56_9362.jpg', '/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_16_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/11/image_23012025_03_11_56_9362.jpg
/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_16_10226.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330726698","1330726722"],"photo_ids_order":["1330726698","1330726722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d6f02bfa7321c9e70b0c70b207fa93f.jpg","text":"TemporaryFile(/tmp/multipartBody1570943782993881172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598413374,"filename":"image_23012025_03_11_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71a8fcae3ecf925d23e6b7690f05d1bc.jpg","text":"TemporaryFile(/tmp/multipartBody8131292660291999904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598413374,"filename":"image_23012025_03_12_16_10226.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330726722","file0":"1330726698"},"map_files_photo_id_array":[{"photo_id":"1330726722","filename":"file1"},{"photo_id":"1330726698","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330726698":["hashtag1","hashtag2"]},{"1330726722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330726698, 1330726722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.971601247787476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:12:52.598560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_55_9415.jpg', '/home/pi/Desktop/images/20012025/06/32/image_20012025_06_33_05_10340.jpg', '/home/pi/Desktop/images/20012025/06/33/image_20012025_06_33_35_10388.jpg', '/home/pi/Desktop/images/20012025/06/33/image_20012025_06_33_46_10361.jpg', '/home/pi/Desktop/images/20012025/06/33/image_20012025_06_33_55_9439.jpg', '/home/pi/Desktop/images/20012025/06/33/image_20012025_06_34_05_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/32/image_20012025_06_32_55_9415.jpg
/home/pi/Desktop/images/20012025/06/32/image_20012025_06_33_05_10340.jpg
/home/pi/Desktop/images/20012025/06/33/image_20012025_06_33_35_10388.jpg
/home/pi/Desktop/images/20012025/06/33/image_20012025_06_33_46_10361.jpg
/home/pi/Desktop/images/20012025/06/33/image_20012025_06_33_55_9439.jpg
/home/pi/Desktop/images/20012025/06/33/image_20012025_06_34_05_10429.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":["1330726829","1330726873","1330726930","1330726909","1330726770","1330726932"],"photo_ids_order":["1330726770","1330726829","1330726873","1330726909","1330726930","1330726932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5813a09d6010dbdbcbe54bc068871a95.jpg","text":"TemporaryFile(/tmp/multipartBody3570378238059698683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598434942,"filename":"image_20012025_06_33_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03d26edf322d42af2a244320b7e5de19.jpg","text":"TemporaryFile(/tmp/multipartBody3837189636925282934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598434942,"filename":"image_20012025_06_33_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/334e614659561b9c54cfa8775a7d2136.jpg","text":"TemporaryFile(/tmp/multipartBody1775045659901741196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598434942,"filename":"image_20012025_06_33_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6071653bd6197f2689edad0b03e1f3d.jpg","text":"TemporaryFile(/tmp/multipartBody1657681832072713895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598434942,"filename":"image_20012025_06_33_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22a2b4415ecf59e3d8f087ce2e0002b0.jpg","text":"TemporaryFile(/tmp/multipartBody3685820557192917599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598434942,"filename":"image_20012025_06_32_55_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a52066fccfd5bdec5ee35322ff269cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5996961178200272964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598434942,"filename":"image_20012025_06_34_05_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726873","file1":"1330726829","file0":"1330726770","file4":"1330726930","file5":"1330726932","file3":"1330726909"},"map_files_photo_id_array":[{"photo_id":"1330726932","filename":"file5"},{"photo_id":"1330726873","filename":"file2"},{"photo_id":"1330726930","filename":"file4"},{"photo_id":"1330726829","filename":"file1"},{"photo_id":"1330726770","filename":"file0"},{"photo_id":"1330726909","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330726829":["hashtag1","hashtag2"]},{"1330726873":["hashtag1","hashtag2"]},{"1330726930":["hashtag1","hashtag2"]},{"1330726909":["hashtag1","hashtag2"]},{"1330726770":["hashtag1","hashtag2"]},{"1330726932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330726829, 1330726873, 1330726930, 1330726909, 1330726770, 1330726932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.48764204978943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:13:42.871899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_56_9347.jpg', '/home/pi/Desktop/images/23012025/03/12/image_23012025_03_13_06_10336.jpg', '/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_17_10343.jpg', '/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_36_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/12/image_23012025_03_12_56_9347.jpg
/home/pi/Desktop/images/23012025/03/12/image_23012025_03_13_06_10336.jpg
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_17_10343.jpg
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_36_10332.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":["1330726946","1330726940","1330726936","1330726944"],"photo_ids_order":["1330726936","1330726940","1330726944","1330726946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0424b0f06ff9438de8a282738fbb7a0.jpg","text":"TemporaryFile(/tmp/multipartBody7515924861138026130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598483757,"filename":"image_23012025_03_13_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d00d2164d2167d9909f3351839b588da.jpg","text":"TemporaryFile(/tmp/multipartBody7641996910028868988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598483757,"filename":"image_23012025_03_13_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70a5f8094d597b4e4682398802425f28.jpg","text":"TemporaryFile(/tmp/multipartBody1831257849535963525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598483757,"filename":"image_23012025_03_12_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33d968695b8ef6300b56130edf73b4c7.jpg","text":"TemporaryFile(/tmp/multipartBody5243557756948164691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598483757,"filename":"image_23012025_03_13_17_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330726944","file1":"1330726940","file0":"1330726936","file3":"1330726946"},"map_files_photo_id_array":[{"photo_id":"1330726944","filename":"file2"},{"photo_id":"1330726940","filename":"file1"},{"photo_id":"1330726936","filename":"file0"},{"photo_id":"1330726946","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330726946":["hashtag1","hashtag2"]},{"1330726940":["hashtag1","hashtag2"]},{"1330726936":["hashtag1","hashtag2"]},{"1330726944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330726946, 1330726940, 1330726936, 1330726944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.054128646850586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:14:33.051006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_56_9341.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_26_9333.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_36_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/13/image_23012025_03_13_56_9341.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_26_9333.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_36_10422.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":["1330727002","1330726995","1330726985"],"photo_ids_order":["1330726985","1330726995","1330727002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f5a55f0af3c115f989e55c2ed029aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4441153388575612880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598534003,"filename":"image_23012025_03_14_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a6f1dc252425160aa7e11bfd5712173.jpg","text":"TemporaryFile(/tmp/multipartBody5176516190941032273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598534003,"filename":"image_23012025_03_14_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7907a8183333f015995f8ff9afa863ab.jpg","text":"TemporaryFile(/tmp/multipartBody996111384793405232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598534003,"filename":"image_23012025_03_13_56_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330727002","file1":"1330726995","file0":"1330726985"},"map_files_photo_id_array":[{"photo_id":"1330727002","filename":"file2"},{"photo_id":"1330726995","filename":"file1"},{"photo_id":"1330726985","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330727002":["hashtag1","hashtag2"]},{"1330726995":["hashtag1","hashtag2"]},{"1330726985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330727002, 1330726995, 1330726985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.876636028289795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:15:03.672041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_15_9451.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_25_10345.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_36_10357.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_45_9348.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_55_10360.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_35_05_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_15_9451.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_25_10345.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_36_10357.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_45_9348.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_55_10360.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_35_05_9356.jpg
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: 1.6620376110076904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:15:32.293674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_46_9375.jpg', '/home/pi/Desktop/images/23012025/03/14/image_23012025_03_15_06_10338.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_16_9345.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_26_10384.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_37_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_14_46_9375.jpg
/home/pi/Desktop/images/23012025/03/14/image_23012025_03_15_06_10338.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_16_9345.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_26_10384.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_37_10336.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":["1330727092","1330727062","1330727058","1330727060","1330727057"],"photo_ids_order":["1330727057","1330727058","1330727060","1330727062","1330727092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48a601a423c1931863d2d3f19382f322.jpg","text":"TemporaryFile(/tmp/multipartBody5603638635862284320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598593190,"filename":"image_23012025_03_15_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76239760eb60e17ed471b424228202d6.jpg","text":"TemporaryFile(/tmp/multipartBody7840115781612963696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598593190,"filename":"image_23012025_03_15_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd72f9e89e6c195c63aec981b584bd35.jpg","text":"TemporaryFile(/tmp/multipartBody8986965028386148915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598593190,"filename":"image_23012025_03_15_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/684a9cf19613fe50291369af66b78f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8679231690403663618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598593190,"filename":"image_23012025_03_15_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0871ba4826340484a5308b16c28eed00.jpg","text":"TemporaryFile(/tmp/multipartBody834249052291059477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598593190,"filename":"image_23012025_03_14_46_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330727060","file1":"1330727058","file0":"1330727057","file4":"1330727092","file3":"1330727062"},"map_files_photo_id_array":[{"photo_id":"1330727060","filename":"file2"},{"photo_id":"1330727092","filename":"file4"},{"photo_id":"1330727058","filename":"file1"},{"photo_id":"1330727057","filename":"file0"},{"photo_id":"1330727062","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330727092":["hashtag1","hashtag2"]},{"1330727062":["hashtag1","hashtag2"]},{"1330727058":["hashtag1","hashtag2"]},{"1330727060":["hashtag1","hashtag2"]},{"1330727057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330727092, 1330727062, 1330727058, 1330727060, 1330727057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.48888802528381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:16:32.506807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_56_10351.jpg', '/home/pi/Desktop/images/23012025/03/15/image_23012025_03_16_07_10326.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_16_9340.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_26_10466.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_36_9324.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_15_56_10351.jpg
/home/pi/Desktop/images/23012025/03/15/image_23012025_03_16_07_10326.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_16_9340.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_26_10466.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_36_9324.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_46_10344.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":["1330727269","1330727268","1330727262","1330727270","1330727267","1330727249"],"photo_ids_order":["1330727249","1330727262","1330727267","1330727268","1330727269","1330727270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01109168987db99d121d23bf6e6a4d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3346503852496890384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598653439,"filename":"image_23012025_03_16_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68e1d262a73813eb54f9bde7342cb969.jpg","text":"TemporaryFile(/tmp/multipartBody1395196902108744622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598653439,"filename":"image_23012025_03_16_26_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9af141cf97dafa2f43994be5e63516cc.jpg","text":"TemporaryFile(/tmp/multipartBody8392225449541404935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598653439,"filename":"image_23012025_03_16_07_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca2e69adda39efa01c6ab4d2df652014.jpg","text":"TemporaryFile(/tmp/multipartBody744029158407367060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598653439,"filename":"image_23012025_03_16_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/587d99d01affb124b1577320913b3a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6846834697367984456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598653439,"filename":"image_23012025_03_16_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72b0aab0cb9a8c591642f7d365487bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1404185539039140354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598653439,"filename":"image_23012025_03_15_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330727267","file1":"1330727262","file0":"1330727249","file4":"1330727269","file5":"1330727270","file3":"1330727268"},"map_files_photo_id_array":[{"photo_id":"1330727270","filename":"file5"},{"photo_id":"1330727267","filename":"file2"},{"photo_id":"1330727269","filename":"file4"},{"photo_id":"1330727262","filename":"file1"},{"photo_id":"1330727249","filename":"file0"},{"photo_id":"1330727268","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330727269":["hashtag1","hashtag2"]},{"1330727268":["hashtag1","hashtag2"]},{"1330727262":["hashtag1","hashtag2"]},{"1330727270":["hashtag1","hashtag2"]},{"1330727267":["hashtag1","hashtag2"]},{"1330727249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330727269, 1330727268, 1330727262, 1330727270, 1330727267, 1330727249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83318758010864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:17:32.782883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_56_10365.jpg', '/home/pi/Desktop/images/23012025/03/16/image_23012025_03_17_06_9405.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_16_10415.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_27_10347.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_36_9329.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_16_56_10365.jpg
/home/pi/Desktop/images/23012025/03/16/image_23012025_03_17_06_9405.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_16_10415.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_27_10347.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_36_9329.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_46_10363.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":["1330727281","1330727284","1330727289","1330727297","1330727294","1330727300"],"photo_ids_order":["1330727281","1330727284","1330727289","1330727294","1330727297","1330727300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9aceb81af9c9dfb96148b90ac657000.jpg","text":"TemporaryFile(/tmp/multipartBody1372251052321788005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598713684,"filename":"image_23012025_03_16_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79300d4a45d444e2315a4727d076c5fa.jpg","text":"TemporaryFile(/tmp/multipartBody7673178846165227897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598713684,"filename":"image_23012025_03_17_06_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0de08b0219510475c739f975d8edb5c1.jpg","text":"TemporaryFile(/tmp/multipartBody779318146156911961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598713684,"filename":"image_23012025_03_17_16_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3693a7ef1001f98358690ed0b553353.jpg","text":"TemporaryFile(/tmp/multipartBody3890210524039745952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598713684,"filename":"image_23012025_03_17_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad876b60a906ba95844271abd94159e4.jpg","text":"TemporaryFile(/tmp/multipartBody5551468323311735467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598713684,"filename":"image_23012025_03_17_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb54894a5b153539061cde23b347947e.jpg","text":"TemporaryFile(/tmp/multipartBody8199056439240142788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598713684,"filename":"image_23012025_03_17_46_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330727289","file1":"1330727284","file0":"1330727281","file4":"1330727297","file5":"1330727300","file3":"1330727294"},"map_files_photo_id_array":[{"photo_id":"1330727300","filename":"file5"},{"photo_id":"1330727289","filename":"file2"},{"photo_id":"1330727297","filename":"file4"},{"photo_id":"1330727284","filename":"file1"},{"photo_id":"1330727281","filename":"file0"},{"photo_id":"1330727294","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330727281":["hashtag1","hashtag2"]},{"1330727284":["hashtag1","hashtag2"]},{"1330727289":["hashtag1","hashtag2"]},{"1330727297":["hashtag1","hashtag2"]},{"1330727294":["hashtag1","hashtag2"]},{"1330727300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330727281, 1330727284, 1330727289, 1330727297, 1330727294, 1330727300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.79150056838989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:18:32.974880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_57_10354.jpg', '/home/pi/Desktop/images/23012025/03/17/image_23012025_03_18_06_9328.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_16_10399.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_26_9353.jpg', '/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_36_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_17_57_10354.jpg
/home/pi/Desktop/images/23012025/03/17/image_23012025_03_18_06_9328.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_16_10399.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_26_9353.jpg
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_36_10324.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":["1330727530","1330727323","1330727847","1330727771","1330727321"],"photo_ids_order":["1330727321","1330727323","1330727530","1330727771","1330727847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69a0db15ef45e4d8ebe1864ab97b5881.jpg","text":"TemporaryFile(/tmp/multipartBody3790159062436037449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598773852,"filename":"image_23012025_03_18_16_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15024cccfe2c75eacc816131d3e5a598.jpg","text":"TemporaryFile(/tmp/multipartBody5745185186396715751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598773852,"filename":"image_23012025_03_18_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b81591472e15704dbe2604ad8260e85.jpg","text":"TemporaryFile(/tmp/multipartBody9025175096802846044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598773852,"filename":"image_23012025_03_18_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68eab5f5669130edc6744e2c89bdf028.jpg","text":"TemporaryFile(/tmp/multipartBody3773213226187428856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598773852,"filename":"image_23012025_03_18_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aed3a4486d63bb11f7b52737c0d6a7b7.jpg","text":"TemporaryFile(/tmp/multipartBody1165488770597442750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598773852,"filename":"image_23012025_03_17_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330727530","file1":"1330727323","file0":"1330727321","file4":"1330727847","file3":"1330727771"},"map_files_photo_id_array":[{"photo_id":"1330727530","filename":"file2"},{"photo_id":"1330727847","filename":"file4"},{"photo_id":"1330727323","filename":"file1"},{"photo_id":"1330727321","filename":"file0"},{"photo_id":"1330727771","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330727530":["hashtag1","hashtag2"]},{"1330727323":["hashtag1","hashtag2"]},{"1330727847":["hashtag1","hashtag2"]},{"1330727771":["hashtag1","hashtag2"]},{"1330727321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330727530, 1330727323, 1330727847, 1330727771, 1330727321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.3928484916687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:19:32.218767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_56_9331.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_16_10341.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_26_9410.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/18/image_23012025_03_18_56_9331.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_16_10341.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_26_9410.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_47_10368.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":["1330727863","1330727860","1330727856","1330728005"],"photo_ids_order":["1330727856","1330727860","1330727863","1330728005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8772d7e550d9ac6a66eb27fe127bc9c.jpg","text":"TemporaryFile(/tmp/multipartBody4997088046009659267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598833099,"filename":"image_23012025_03_19_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee1da1f5a38f5fcdeef706bef1c4a11f.jpg","text":"TemporaryFile(/tmp/multipartBody4188269161044772926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598833099,"filename":"image_23012025_03_19_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f33532bc03f16fd64e4d50a03f9da7f5.jpg","text":"TemporaryFile(/tmp/multipartBody2109495729230753091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598833099,"filename":"image_23012025_03_18_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65f1abf8ec978571d5be48576110a889.jpg","text":"TemporaryFile(/tmp/multipartBody7334226542735535717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598833099,"filename":"image_23012025_03_19_47_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330727863","file1":"1330727860","file0":"1330727856","file3":"1330728005"},"map_files_photo_id_array":[{"photo_id":"1330727863","filename":"file2"},{"photo_id":"1330727860","filename":"file1"},{"photo_id":"1330727856","filename":"file0"},{"photo_id":"1330728005","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330727863":["hashtag1","hashtag2"]},{"1330727860":["hashtag1","hashtag2"]},{"1330727856":["hashtag1","hashtag2"]},{"1330728005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330727863, 1330727860, 1330727856, 1330728005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.777458906173706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:20:32.418255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_56_9338.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_20_06_10449.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_16_9339.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_26_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_56_9338.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_20_06_10449.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_16_9339.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_26_10417.jpg
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: 0.4876596927642822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:20:42.489673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_56_9338.jpg', '/home/pi/Desktop/images/23012025/03/19/image_23012025_03_20_06_10449.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_16_9339.jpg', '/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_26_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_19_56_9338.jpg
/home/pi/Desktop/images/23012025/03/19/image_23012025_03_20_06_10449.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_16_9339.jpg
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_26_10417.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":["1330728313","1330728320","1330728323","1330728317"],"photo_ids_order":["1330728313","1330728317","1330728320","1330728323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d3039cc9dea0274ea0ed28413f91dad.jpg","text":"TemporaryFile(/tmp/multipartBody2061822293047817348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598903376,"filename":"image_23012025_03_19_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dfea9c0bb949daaede05588133ef020.jpg","text":"TemporaryFile(/tmp/multipartBody6373783139038593984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598903376,"filename":"image_23012025_03_20_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/929d9d892e9ade24ed501b97c2d3552f.jpg","text":"TemporaryFile(/tmp/multipartBody404042179061456859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598903376,"filename":"image_23012025_03_20_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3845472c738f84e1e78230b7fda1ee73.jpg","text":"TemporaryFile(/tmp/multipartBody5517228042230466826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598903376,"filename":"image_23012025_03_20_06_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330728320","file1":"1330728317","file0":"1330728313","file3":"1330728323"},"map_files_photo_id_array":[{"photo_id":"1330728320","filename":"file2"},{"photo_id":"1330728317","filename":"file1"},{"photo_id":"1330728313","filename":"file0"},{"photo_id":"1330728323","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330728313":["hashtag1","hashtag2"]},{"1330728320":["hashtag1","hashtag2"]},{"1330728323":["hashtag1","hashtag2"]},{"1330728317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330728313, 1330728320, 1330728323, 1330728317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.977771282196045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:21:32.743680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_36_10322.jpg', '/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_26_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/20/image_23012025_03_20_36_10322.jpg
/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_26_10455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330728412","1330728408"],"photo_ids_order":["1330728408","1330728412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/211a29a102828924ae56576ca8ecc1d0.jpg","text":"TemporaryFile(/tmp/multipartBody6057997442692243112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598953588,"filename":"image_23012025_03_21_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5d392a522c57d998cefa56e148359ba.jpg","text":"TemporaryFile(/tmp/multipartBody7224082455678992435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598953588,"filename":"image_23012025_03_20_36_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330728412","file0":"1330728408"},"map_files_photo_id_array":[{"photo_id":"1330728412","filename":"file1"},{"photo_id":"1330728408","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330728412":["hashtag1","hashtag2"]},{"1330728408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330728412, 1330728408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.86697793006897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:21:52.719781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_15_9451.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_25_10345.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_36_10357.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_45_9348.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_55_10360.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_35_05_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_15_9451.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_25_10345.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_36_10357.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_45_9348.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_55_10360.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_35_05_9356.jpg
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: 1.913933277130127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:22:03.628333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_15_9451.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_25_10345.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_36_10357.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_45_9348.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_55_10360.jpg', '/home/pi/Desktop/images/20012025/06/34/image_20012025_06_35_05_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_15_9451.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_25_10345.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_36_10357.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_45_9348.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_34_55_10360.jpg
/home/pi/Desktop/images/20012025/06/34/image_20012025_06_35_05_9356.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":["1330728489","1330728492","1330728467","1330728482","1330728472","1330728475"],"photo_ids_order":["1330728467","1330728472","1330728475","1330728482","1330728489","1330728492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcb31d028c0b47a405d8969f22a4a50d.jpg","text":"TemporaryFile(/tmp/multipartBody5615966805337477626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598985584,"filename":"image_20012025_06_34_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2df53deae5e1565753d5e84dc645d93c.jpg","text":"TemporaryFile(/tmp/multipartBody433295835657322000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598985584,"filename":"image_20012025_06_35_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d71ea1d7b4d6bb19e07997bc1e009ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5441316361696377989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598985584,"filename":"image_20012025_06_34_15_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7efb138c60c05be85902ec9370f8f22a.jpg","text":"TemporaryFile(/tmp/multipartBody7508559953624653122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598985584,"filename":"image_20012025_06_34_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab9567e487bc98b8564f3e0af17ed27b.jpg","text":"TemporaryFile(/tmp/multipartBody7427363344850617426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598985584,"filename":"image_20012025_06_34_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/611073fc6010d02bd53941bba7e01151.jpg","text":"TemporaryFile(/tmp/multipartBody1633835404305633632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737598985584,"filename":"image_20012025_06_34_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330728475","file1":"1330728472","file0":"1330728467","file4":"1330728489","file5":"1330728492","file3":"1330728482"},"map_files_photo_id_array":[{"photo_id":"1330728492","filename":"file5"},{"photo_id":"1330728475","filename":"file2"},{"photo_id":"1330728489","filename":"file4"},{"photo_id":"1330728472","filename":"file1"},{"photo_id":"1330728467","filename":"file0"},{"photo_id":"1330728482","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330728489":["hashtag1","hashtag2"]},{"1330728492":["hashtag1","hashtag2"]},{"1330728467":["hashtag1","hashtag2"]},{"1330728482":["hashtag1","hashtag2"]},{"1330728472":["hashtag1","hashtag2"]},{"1330728475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330728489, 1330728492, 1330728467, 1330728482, 1330728472, 1330728475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.39967155456543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:22:52.906647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_15_10339.jpg', '/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_25_10348.jpg', '/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_35_9446.jpg', '/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_45_10338.jpg', '/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_56_10344.jpg', '/home/pi/Desktop/images/20012025/06/35/image_20012025_06_36_05_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_15_10339.jpg
/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_25_10348.jpg
/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_35_9446.jpg
/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_45_10338.jpg
/home/pi/Desktop/images/20012025/06/35/image_20012025_06_35_56_10344.jpg
/home/pi/Desktop/images/20012025/06/35/image_20012025_06_36_05_9337.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":["1330728817","1330728703","1330728588","1330728899","1330728623","1330728769"],"photo_ids_order":["1330728588","1330728623","1330728703","1330728769","1330728817","1330728899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80986fd9affcd04a7d257def094d0831.jpg","text":"TemporaryFile(/tmp/multipartBody2884584954173655448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599035261,"filename":"image_20012025_06_35_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4310fd79a4171b0beac58246e05185a6.jpg","text":"TemporaryFile(/tmp/multipartBody6325093117528524223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599035261,"filename":"image_20012025_06_35_35_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ada62a91194b09d6f83eea83a434b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7183935198173429452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599035261,"filename":"image_20012025_06_35_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42f11b80510fded5e62ed3398a1d78e4.jpg","text":"TemporaryFile(/tmp/multipartBody6324491444134798021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599035261,"filename":"image_20012025_06_36_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/163704f595e752abf0b8a87504e5c3df.jpg","text":"TemporaryFile(/tmp/multipartBody3232956333237933288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599035261,"filename":"image_20012025_06_35_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5878bd2e1ba24e21a245f9f04a22318e.jpg","text":"TemporaryFile(/tmp/multipartBody692907803724197035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599035261,"filename":"image_20012025_06_35_45_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330728703","file1":"1330728623","file0":"1330728588","file4":"1330728817","file5":"1330728899","file3":"1330728769"},"map_files_photo_id_array":[{"photo_id":"1330728899","filename":"file5"},{"photo_id":"1330728703","filename":"file2"},{"photo_id":"1330728817","filename":"file4"},{"photo_id":"1330728623","filename":"file1"},{"photo_id":"1330728588","filename":"file0"},{"photo_id":"1330728769","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330728817":["hashtag1","hashtag2"]},{"1330728703":["hashtag1","hashtag2"]},{"1330728588":["hashtag1","hashtag2"]},{"1330728899":["hashtag1","hashtag2"]},{"1330728623":["hashtag1","hashtag2"]},{"1330728769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330728817, 1330728703, 1330728588, 1330728899, 1330728623, 1330728769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.9920129776001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:23:43.235593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_56_10389.jpg', '/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_27_10355.jpg', '/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_46_10380.jpg', '/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_57_10352.jpg', '/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_36_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/21/image_23012025_03_21_56_10389.jpg
/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_27_10355.jpg
/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_46_10380.jpg
/home/pi/Desktop/images/23012025/03/22/image_23012025_03_22_57_10352.jpg
/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_36_10356.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":["1330729108","1330729091","1330729097","1330729049","1330729103"],"photo_ids_order":["1330729049","1330729091","1330729097","1330729103","1330729108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b970595f59e894c9ab483984a5f2227.jpg","text":"TemporaryFile(/tmp/multipartBody6856739329661143063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599084135,"filename":"image_23012025_03_23_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adb0d44a34519c044396674989e2985d.jpg","text":"TemporaryFile(/tmp/multipartBody5392481633828451648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599084135,"filename":"image_23012025_03_22_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd0ae4e1324416ae48cc2a9911581e26.jpg","text":"TemporaryFile(/tmp/multipartBody8351592584217461543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599084135,"filename":"image_23012025_03_22_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13dfd5371ed54788fcbf4ab073a4b496.jpg","text":"TemporaryFile(/tmp/multipartBody4060757056051208481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599084135,"filename":"image_23012025_03_21_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07b971cdc16f61d1b1e6c6255ad9d102.jpg","text":"TemporaryFile(/tmp/multipartBody2990274090264814647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599084135,"filename":"image_23012025_03_22_57_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330729097","file1":"1330729091","file0":"1330729049","file4":"1330729108","file3":"1330729103"},"map_files_photo_id_array":[{"photo_id":"1330729097","filename":"file2"},{"photo_id":"1330729108","filename":"file4"},{"photo_id":"1330729091","filename":"file1"},{"photo_id":"1330729049","filename":"file0"},{"photo_id":"1330729103","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330729108":["hashtag1","hashtag2"]},{"1330729091":["hashtag1","hashtag2"]},{"1330729097":["hashtag1","hashtag2"]},{"1330729049":["hashtag1","hashtag2"]},{"1330729103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330729108, 1330729091, 1330729097, 1330729049, 1330729103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.29875874519348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:24:32.439893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_15_10355.jpg', '/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_26_10372.jpg', '/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_45_10339.jpg', '/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_55_9487.jpg', '/home/pi/Desktop/images/20012025/06/36/image_20012025_06_37_05_10337.jpg', '/home/pi/Desktop/images/20012025/06/37/image_20012025_06_37_25_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_15_10355.jpg
/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_26_10372.jpg
/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_45_10339.jpg
/home/pi/Desktop/images/20012025/06/36/image_20012025_06_36_55_9487.jpg
/home/pi/Desktop/images/20012025/06/36/image_20012025_06_37_05_10337.jpg
/home/pi/Desktop/images/20012025/06/37/image_20012025_06_37_25_9381.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":["1330729182","1330729239","1330729190","1330729224","1330729235","1330729194"],"photo_ids_order":["1330729182","1330729190","1330729194","1330729224","1330729235","1330729239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8c405a218b0f7b3bb89c8a35e9f4940.jpg","text":"TemporaryFile(/tmp/multipartBody3880415088356117725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599134824,"filename":"image_20012025_06_36_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6538bd4136d2cc6270923174fd6c631.jpg","text":"TemporaryFile(/tmp/multipartBody5835541453276768025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599134824,"filename":"image_20012025_06_37_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee8171d63f12447b8caa9c456e2cb148.jpg","text":"TemporaryFile(/tmp/multipartBody1450303172995422955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599134824,"filename":"image_20012025_06_36_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2c6ca1391cb46f779200bbb61edb9bf.jpg","text":"TemporaryFile(/tmp/multipartBody7446475655413869668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599134824,"filename":"image_20012025_06_36_55_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/082ef6680d56118f080564c9de8afc8f.jpg","text":"TemporaryFile(/tmp/multipartBody1886950182534044426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599134824,"filename":"image_20012025_06_37_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c3e6deb906e03d7c88c57c30b177ab8.jpg","text":"TemporaryFile(/tmp/multipartBody1003425523878861616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599134824,"filename":"image_20012025_06_36_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330729194","file1":"1330729190","file0":"1330729182","file4":"1330729235","file5":"1330729239","file3":"1330729224"},"map_files_photo_id_array":[{"photo_id":"1330729239","filename":"file5"},{"photo_id":"1330729194","filename":"file2"},{"photo_id":"1330729235","filename":"file4"},{"photo_id":"1330729190","filename":"file1"},{"photo_id":"1330729182","filename":"file0"},{"photo_id":"1330729224","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330729182":["hashtag1","hashtag2"]},{"1330729239":["hashtag1","hashtag2"]},{"1330729190":["hashtag1","hashtag2"]},{"1330729224":["hashtag1","hashtag2"]},{"1330729235":["hashtag1","hashtag2"]},{"1330729194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330729182, 1330729239, 1330729190, 1330729224, 1330729235, 1330729194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.5282826423645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:25:32.665172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/37/image_20012025_06_37_35_10343.jpg', '/home/pi/Desktop/images/20012025/06/37/image_20012025_06_37_46_10338.jpg', '/home/pi/Desktop/images/20012025/06/37/image_20012025_06_38_05_10335.jpg', '/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_15_9409.jpg', '/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_25_10351.jpg', '/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_45_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/37/image_20012025_06_37_35_10343.jpg
/home/pi/Desktop/images/20012025/06/37/image_20012025_06_37_46_10338.jpg
/home/pi/Desktop/images/20012025/06/37/image_20012025_06_38_05_10335.jpg
/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_15_9409.jpg
/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_25_10351.jpg
/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_45_9445.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":["1330729326","1330729286","1330729271","1330729280","1330729283","1330729288"],"photo_ids_order":["1330729271","1330729280","1330729283","1330729286","1330729288","1330729326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55d98edcab224b6e84d297d6ea60a1bf.jpg","text":"TemporaryFile(/tmp/multipartBody6304307876454093344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599195020,"filename":"image_20012025_06_38_45_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/959828f8cb70bd7681a7046bc9b8efc7.jpg","text":"TemporaryFile(/tmp/multipartBody7108040407284497423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599195020,"filename":"image_20012025_06_38_15_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bba2b10ecc941c994cdf5c78cbe9956d.jpg","text":"TemporaryFile(/tmp/multipartBody2380434589245165060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599195020,"filename":"image_20012025_06_37_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11ab5915d483a8234f3818606e0a23e9.jpg","text":"TemporaryFile(/tmp/multipartBody9155857663688473011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599195020,"filename":"image_20012025_06_37_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0d9e357236b3ad6634b941901c13e5a.jpg","text":"TemporaryFile(/tmp/multipartBody8883364836889734372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599195020,"filename":"image_20012025_06_38_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c97977cf1d4bc4aa9d5e60115c629b30.jpg","text":"TemporaryFile(/tmp/multipartBody3916223853182120384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599195020,"filename":"image_20012025_06_38_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330729283","file1":"1330729280","file0":"1330729271","file4":"1330729288","file5":"1330729326","file3":"1330729286"},"map_files_photo_id_array":[{"photo_id":"1330729326","filename":"file5"},{"photo_id":"1330729283","filename":"file2"},{"photo_id":"1330729288","filename":"file4"},{"photo_id":"1330729280","filename":"file1"},{"photo_id":"1330729271","filename":"file0"},{"photo_id":"1330729286","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330729326":["hashtag1","hashtag2"]},{"1330729286":["hashtag1","hashtag2"]},{"1330729271":["hashtag1","hashtag2"]},{"1330729280":["hashtag1","hashtag2"]},{"1330729283":["hashtag1","hashtag2"]},{"1330729288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330729326, 1330729286, 1330729271, 1330729280, 1330729283, 1330729288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.18894338607788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:26:32.925727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_46_10437.jpg', '/home/pi/Desktop/images/23012025/03/25/image_23012025_03_26_06_9306.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_16_10424.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_27_10360.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_36_9378.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_46_10437.jpg
/home/pi/Desktop/images/23012025/03/25/image_23012025_03_26_06_9306.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_16_10424.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_27_10360.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_36_9378.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_46_10359.jpg
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: 0.5367233753204346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:26:42.902834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_46_10437.jpg', '/home/pi/Desktop/images/23012025/03/25/image_23012025_03_26_06_9306.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_16_10424.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_27_10360.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_36_9378.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/23/image_23012025_03_23_46_10437.jpg
/home/pi/Desktop/images/23012025/03/25/image_23012025_03_26_06_9306.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_16_10424.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_27_10360.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_36_9378.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_46_10359.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":["1330729389","1330729380","1330729382","1330729393","1330729384","1330729386"],"photo_ids_order":["1330729380","1330729382","1330729384","1330729386","1330729389","1330729393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf93f884202b8894f7bbeb1de9349210.jpg","text":"TemporaryFile(/tmp/multipartBody7371215393708239891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599263818,"filename":"image_23012025_03_26_36_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81215c3e6d9104b561096191fec5daeb.jpg","text":"TemporaryFile(/tmp/multipartBody3282672672352718138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599263818,"filename":"image_23012025_03_23_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11e2b42d7acf1a9269977b2dee357f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6393313750962243192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599263818,"filename":"image_23012025_03_26_06_9306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/455ec68c1d8f90b17743784120317bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3748633833985486277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599263818,"filename":"image_23012025_03_26_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/448c4e396ce4f3a80ab7e84a06e350e9.jpg","text":"TemporaryFile(/tmp/multipartBody6867005431058779358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599263818,"filename":"image_23012025_03_26_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59920720e6d84bded00d5ab9a9d58554.jpg","text":"TemporaryFile(/tmp/multipartBody5120339474253747418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599263818,"filename":"image_23012025_03_26_27_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330729384","file1":"1330729382","file0":"1330729380","file4":"1330729389","file5":"1330729393","file3":"1330729386"},"map_files_photo_id_array":[{"photo_id":"1330729393","filename":"file5"},{"photo_id":"1330729384","filename":"file2"},{"photo_id":"1330729389","filename":"file4"},{"photo_id":"1330729382","filename":"file1"},{"photo_id":"1330729380","filename":"file0"},{"photo_id":"1330729386","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330729389":["hashtag1","hashtag2"]},{"1330729380":["hashtag1","hashtag2"]},{"1330729382":["hashtag1","hashtag2"]},{"1330729393":["hashtag1","hashtag2"]},{"1330729384":["hashtag1","hashtag2"]},{"1330729386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330729389, 1330729380, 1330729382, 1330729393, 1330729384, 1330729386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13348054885864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:27:33.240119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_57_10326.jpg', '/home/pi/Desktop/images/23012025/03/26/image_23012025_03_27_06_9318.jpg', '/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_16_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_26_57_10326.jpg
/home/pi/Desktop/images/23012025/03/26/image_23012025_03_27_06_9318.jpg
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_16_10336.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":["1330729404","1330729573","1330729406"],"photo_ids_order":["1330729404","1330729406","1330729573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ce7133985d0e3e447707462f7652f74.jpg","text":"TemporaryFile(/tmp/multipartBody8444727340313367618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599314101,"filename":"image_23012025_03_26_57_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1bb36baa6bb57a793154409ece9ee44.jpg","text":"TemporaryFile(/tmp/multipartBody8617388722460037770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599314101,"filename":"image_23012025_03_27_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b36ed342bf9367c03ac1d81a4f50719.jpg","text":"TemporaryFile(/tmp/multipartBody2842441614478034275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599314101,"filename":"image_23012025_03_27_06_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330729573","file1":"1330729406","file0":"1330729404"},"map_files_photo_id_array":[{"photo_id":"1330729573","filename":"file2"},{"photo_id":"1330729406","filename":"file1"},{"photo_id":"1330729404","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330729404":["hashtag1","hashtag2"]},{"1330729573":["hashtag1","hashtag2"]},{"1330729406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330729404, 1330729573, 1330729406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.02472424507141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:28:02.874500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_55_10367.jpg', '/home/pi/Desktop/images/20012025/06/38/image_20012025_06_39_06_10332.jpg', '/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_15_9398.jpg', '/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_25_10345.jpg', '/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_35_9412.jpg', '/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_56_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/38/image_20012025_06_38_55_10367.jpg
/home/pi/Desktop/images/20012025/06/38/image_20012025_06_39_06_10332.jpg
/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_15_9398.jpg
/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_25_10345.jpg
/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_35_9412.jpg
/home/pi/Desktop/images/20012025/06/39/image_20012025_06_39_56_10379.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":["1330729872","1330729920","1330729997","1330729925","1330729915","1330729912"],"photo_ids_order":["1330729872","1330729912","1330729915","1330729920","1330729925","1330729997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9b614467df6a437fdbd1cc31f1bd103.jpg","text":"TemporaryFile(/tmp/multipartBody8606872704083413203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599344432,"filename":"image_20012025_06_38_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6fb9adab6aad05fd8400d1382f114b0.jpg","text":"TemporaryFile(/tmp/multipartBody138853079250282927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599344432,"filename":"image_20012025_06_39_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/407a9ffe1123cafb000d843b5e9f808a.jpg","text":"TemporaryFile(/tmp/multipartBody8970177900352342258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599344432,"filename":"image_20012025_06_39_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7052939222155da1604d1a06734f1c10.jpg","text":"TemporaryFile(/tmp/multipartBody3133716829819212015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599344432,"filename":"image_20012025_06_39_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90c4d3c2d2c6ea1c20e79e5e7926a0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3174398682742972083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599344432,"filename":"image_20012025_06_39_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccb0b533893b466d528ad0a615ee6927.jpg","text":"TemporaryFile(/tmp/multipartBody502257529815617323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599344432,"filename":"image_20012025_06_39_06_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330729915","file1":"1330729912","file0":"1330729872","file4":"1330729925","file5":"1330729997","file3":"1330729920"},"map_files_photo_id_array":[{"photo_id":"1330729997","filename":"file5"},{"photo_id":"1330729915","filename":"file2"},{"photo_id":"1330729925","filename":"file4"},{"photo_id":"1330729912","filename":"file1"},{"photo_id":"1330729872","filename":"file0"},{"photo_id":"1330729920","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330729872":["hashtag1","hashtag2"]},{"1330729920":["hashtag1","hashtag2"]},{"1330729997":["hashtag1","hashtag2"]},{"1330729925":["hashtag1","hashtag2"]},{"1330729915":["hashtag1","hashtag2"]},{"1330729912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330729872, 1330729920, 1330729997, 1330729925, 1330729915, 1330729912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.14100170135498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:28:52.222140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_25_9341.jpg', '/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_35_10414.jpg', '/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_46_10452.jpg', '/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_55_9451.jpg', '/home/pi/Desktop/images/20012025/06/40/image_20012025_06_41_05_10317.jpg', '/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_16_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_25_9341.jpg
/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_35_10414.jpg
/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_46_10452.jpg
/home/pi/Desktop/images/20012025/06/40/image_20012025_06_40_55_9451.jpg
/home/pi/Desktop/images/20012025/06/40/image_20012025_06_41_05_10317.jpg
/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_16_10351.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":["1330730113","1330730119","1330730082","1330730124","1330730135","1330730084"],"photo_ids_order":["1330730082","1330730084","1330730113","1330730119","1330730124","1330730135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b62b09f630ac8449e2e98be71542743.jpg","text":"TemporaryFile(/tmp/multipartBody7631067591860576239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599394571,"filename":"image_20012025_06_40_46_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfeb7809c356e656c54fcab1f1995dba.jpg","text":"TemporaryFile(/tmp/multipartBody8297830179509319671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599394571,"filename":"image_20012025_06_40_55_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d12b84b82f3742ed44cbe9bd4b4e60a9.jpg","text":"TemporaryFile(/tmp/multipartBody3053342156434259549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599394571,"filename":"image_20012025_06_40_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee67ba808116d9adde92d10a93161782.jpg","text":"TemporaryFile(/tmp/multipartBody5437217172580184573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599394571,"filename":"image_20012025_06_41_05_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3083fa07c216240ac14c7d2d8ca1f68.jpg","text":"TemporaryFile(/tmp/multipartBody15926304079512268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599394571,"filename":"image_20012025_06_41_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c7cfcfda2673d3273c69120aa2f5bec.jpg","text":"TemporaryFile(/tmp/multipartBody6366920158006084631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599394571,"filename":"image_20012025_06_40_35_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730113","file1":"1330730084","file0":"1330730082","file4":"1330730124","file5":"1330730135","file3":"1330730119"},"map_files_photo_id_array":[{"photo_id":"1330730135","filename":"file5"},{"photo_id":"1330730113","filename":"file2"},{"photo_id":"1330730124","filename":"file4"},{"photo_id":"1330730084","filename":"file1"},{"photo_id":"1330730082","filename":"file0"},{"photo_id":"1330730119","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330730113":["hashtag1","hashtag2"]},{"1330730119":["hashtag1","hashtag2"]},{"1330730082":["hashtag1","hashtag2"]},{"1330730124":["hashtag1","hashtag2"]},{"1330730135":["hashtag1","hashtag2"]},{"1330730084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330730113, 1330730119, 1330730082, 1330730124, 1330730135, 1330730084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.600624799728394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:29:42.615806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_27_10349.jpg', '/home/pi/Desktop/images/23012025/03/27/image_23012025_03_28_06_10478.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_17_10336.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_26_9424.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_36_10434.jpg', '/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_56_10504.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_27_27_10349.jpg
/home/pi/Desktop/images/23012025/03/27/image_23012025_03_28_06_10478.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_17_10336.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_26_9424.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_36_10434.jpg
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_28_56_10504.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":["1330730169","1330730157","1330730166","1330730156","1330730165","1330730173"],"photo_ids_order":["1330730156","1330730157","1330730165","1330730166","1330730169","1330730173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/742184ab26b39caf21b1f8a7a8fda933.jpg","text":"TemporaryFile(/tmp/multipartBody7776046865573680982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599443535,"filename":"image_23012025_03_28_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0cc23ce4dac6faf5bc0fc5c5997173a0.jpg","text":"TemporaryFile(/tmp/multipartBody333187321481764711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599443535,"filename":"image_23012025_03_28_06_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce0d5822d4c095b996458aa9bbe2cc81.jpg","text":"TemporaryFile(/tmp/multipartBody5942053421711855405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599443535,"filename":"image_23012025_03_28_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e6a24be51517c4c40bec0171ffb17b2.jpg","text":"TemporaryFile(/tmp/multipartBody1178854517812328241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599443535,"filename":"image_23012025_03_27_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6464448e17c3af10eb83731b825b3ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2422082319914092631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599443535,"filename":"image_23012025_03_28_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3204cb3940b8cffe1efad79f27d8f5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2806984162936248377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599443535,"filename":"image_23012025_03_28_56_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730165","file1":"1330730157","file0":"1330730156","file4":"1330730169","file5":"1330730173","file3":"1330730166"},"map_files_photo_id_array":[{"photo_id":"1330730173","filename":"file5"},{"photo_id":"1330730165","filename":"file2"},{"photo_id":"1330730169","filename":"file4"},{"photo_id":"1330730157","filename":"file1"},{"photo_id":"1330730156","filename":"file0"},{"photo_id":"1330730166","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330730169":["hashtag1","hashtag2"]},{"1330730157":["hashtag1","hashtag2"]},{"1330730166":["hashtag1","hashtag2"]},{"1330730156":["hashtag1","hashtag2"]},{"1330730165":["hashtag1","hashtag2"]},{"1330730173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330730169, 1330730157, 1330730166, 1330730156, 1330730165, 1330730173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63271379470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:30:32.846396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/28/image_23012025_03_29_07_10331.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_16_9403.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_26_10442.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_36_9446.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_57_10358.jpg', '/home/pi/Desktop/images/23012025/03/29/image_23012025_03_30_06_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/28/image_23012025_03_29_07_10331.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_16_9403.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_26_10442.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_36_9446.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_29_57_10358.jpg
/home/pi/Desktop/images/23012025/03/29/image_23012025_03_30_06_9339.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":["1330730269","1330730242","1330730206","1330730202","1330730204","1330730281"],"photo_ids_order":["1330730202","1330730204","1330730206","1330730242","1330730269","1330730281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d114c699bbc734d3a32186cdc7907f46.jpg","text":"TemporaryFile(/tmp/multipartBody9090389607477543253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599493773,"filename":"image_23012025_03_29_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85bb40b5679d6b4c27255817121a6c04.jpg","text":"TemporaryFile(/tmp/multipartBody8857616544724026161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599493773,"filename":"image_23012025_03_29_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a343b6c185321d05aeba9dd1d01b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody847027257467047805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599493773,"filename":"image_23012025_03_29_26_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3deb68db68958c5f1d243b9a36483e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5496803799403434254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599493773,"filename":"image_23012025_03_29_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2f10fd8b82d4791a78408608b91b014.jpg","text":"TemporaryFile(/tmp/multipartBody2515204953442582692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599493773,"filename":"image_23012025_03_29_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93275fc7cc88f0e4426e00992419aff0.jpg","text":"TemporaryFile(/tmp/multipartBody4465902922111502696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599493773,"filename":"image_23012025_03_30_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730206","file1":"1330730204","file0":"1330730202","file4":"1330730269","file5":"1330730281","file3":"1330730242"},"map_files_photo_id_array":[{"photo_id":"1330730281","filename":"file5"},{"photo_id":"1330730206","filename":"file2"},{"photo_id":"1330730269","filename":"file4"},{"photo_id":"1330730204","filename":"file1"},{"photo_id":"1330730202","filename":"file0"},{"photo_id":"1330730242","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330730269":["hashtag1","hashtag2"]},{"1330730242":["hashtag1","hashtag2"]},{"1330730206":["hashtag1","hashtag2"]},{"1330730202":["hashtag1","hashtag2"]},{"1330730204":["hashtag1","hashtag2"]},{"1330730281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330730269, 1330730242, 1330730206, 1330730202, 1330730204, 1330730281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.734745502471924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:31:33.096080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_26_9343.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_36_10489.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_46_10123.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_56_9396.jpg', '/home/pi/Desktop/images/23012025/03/30/image_23012025_03_31_06_10353.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_16_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_26_9343.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_36_10489.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_46_10123.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_30_56_9396.jpg
/home/pi/Desktop/images/23012025/03/30/image_23012025_03_31_06_10353.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_16_10327.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":["1330730320","1330730308","1330730305","1330730316","1330730301","1330730312"],"photo_ids_order":["1330730301","1330730305","1330730308","1330730312","1330730316","1330730320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71f0d3f6154ad4ab3feae34185972993.jpg","text":"TemporaryFile(/tmp/multipartBody662975218655276214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599554012,"filename":"image_23012025_03_31_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1a87cf3b3194faac1cd45852fac0503.jpg","text":"TemporaryFile(/tmp/multipartBody2988694080459034074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599554012,"filename":"image_23012025_03_30_46_10123.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f61ca4dc728be7a7f50b7f4af332dcc9.jpg","text":"TemporaryFile(/tmp/multipartBody8740647534863962892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599554012,"filename":"image_23012025_03_30_36_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/000f1e7a9274092a92a4f0e4c4e26e24.jpg","text":"TemporaryFile(/tmp/multipartBody3188196917006909913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599554012,"filename":"image_23012025_03_31_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8de488b96ddb90e8582d6bd25287e473.jpg","text":"TemporaryFile(/tmp/multipartBody5009568827427958958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599554012,"filename":"image_23012025_03_30_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/943d6a730da804dd4b2eacb29f3c3aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2736848885814999488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599554012,"filename":"image_23012025_03_30_56_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730308","file1":"1330730305","file0":"1330730301","file4":"1330730316","file5":"1330730320","file3":"1330730312"},"map_files_photo_id_array":[{"photo_id":"1330730320","filename":"file5"},{"photo_id":"1330730308","filename":"file2"},{"photo_id":"1330730316","filename":"file4"},{"photo_id":"1330730305","filename":"file1"},{"photo_id":"1330730301","filename":"file0"},{"photo_id":"1330730312","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330730320":["hashtag1","hashtag2"]},{"1330730308":["hashtag1","hashtag2"]},{"1330730305":["hashtag1","hashtag2"]},{"1330730316":["hashtag1","hashtag2"]},{"1330730301":["hashtag1","hashtag2"]},{"1330730312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330730320, 1330730308, 1330730305, 1330730316, 1330730301, 1330730312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66865587234497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:32:32.306846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_26_9353.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_36_10409.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_46_10371.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_56_9339.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_26_9350.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_36_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_26_9353.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_36_10409.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_46_10371.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_56_9339.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_26_9350.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_36_10334.jpg
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: 0.5184385776519775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:32:42.381485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_26_9353.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_36_10409.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_46_10371.jpg', '/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_56_9339.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_26_9350.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_36_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_26_9353.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_36_10409.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_46_10371.jpg
/home/pi/Desktop/images/23012025/03/31/image_23012025_03_31_56_9339.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_26_9350.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_36_10334.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":["1330730605","1330730521","1330730580","1330730531","1330730671","1330730647"],"photo_ids_order":["1330730521","1330730531","1330730580","1330730605","1330730647","1330730671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c05719ede612a5ac21e236bd001af7d5.jpg","text":"TemporaryFile(/tmp/multipartBody3888956058159340331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599623310,"filename":"image_23012025_03_31_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5e6d6611b70593ed725fc4929570caa.jpg","text":"TemporaryFile(/tmp/multipartBody2438818575949046981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599623310,"filename":"image_23012025_03_31_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc4baa745a7fad964e31bff2d95f3de2.jpg","text":"TemporaryFile(/tmp/multipartBody6253058393102122535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599623310,"filename":"image_23012025_03_31_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a2268d1d1bce1d80d13710a882b7202.jpg","text":"TemporaryFile(/tmp/multipartBody3671130167741842082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599623310,"filename":"image_23012025_03_31_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/716442e9d56858935d9b4fc91af35b23.jpg","text":"TemporaryFile(/tmp/multipartBody1669525521882960403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599623310,"filename":"image_23012025_03_32_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/204a2658f3f5c989299f2abbdd2e8678.jpg","text":"TemporaryFile(/tmp/multipartBody2210855036865463301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599623310,"filename":"image_23012025_03_32_26_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730580","file1":"1330730531","file0":"1330730521","file4":"1330730647","file5":"1330730671","file3":"1330730605"},"map_files_photo_id_array":[{"photo_id":"1330730671","filename":"file5"},{"photo_id":"1330730580","filename":"file2"},{"photo_id":"1330730647","filename":"file4"},{"photo_id":"1330730531","filename":"file1"},{"photo_id":"1330730521","filename":"file0"},{"photo_id":"1330730605","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330730605":["hashtag1","hashtag2"]},{"1330730521":["hashtag1","hashtag2"]},{"1330730580":["hashtag1","hashtag2"]},{"1330730531":["hashtag1","hashtag2"]},{"1330730671":["hashtag1","hashtag2"]},{"1330730647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330730605, 1330730521, 1330730580, 1330730531, 1330730671, 1330730647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.310182094573975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:33:32.496940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_47_10363.jpg', '/home/pi/Desktop/images/23012025/03/32/image_23012025_03_33_06_10453.jpg', '/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_16_9330.jpg', '/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_26_10443.jpg', '/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_36_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_32_47_10363.jpg
/home/pi/Desktop/images/23012025/03/32/image_23012025_03_33_06_10453.jpg
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_16_9330.jpg
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_26_10443.jpg
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_36_10333.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":["1330730730","1330730724","1330730738","1330730726","1330730752"],"photo_ids_order":["1330730724","1330730726","1330730730","1330730738","1330730752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/301a1ff4eab0b686fc3226374eef73ed.jpg","text":"TemporaryFile(/tmp/multipartBody7080185342239464872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599673379,"filename":"image_23012025_03_33_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02421b106589e3de839951e502379400.jpg","text":"TemporaryFile(/tmp/multipartBody6870881240462811387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599673379,"filename":"image_23012025_03_32_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2728d016cd1c5774707f5a0e3c3e7d0b.jpg","text":"TemporaryFile(/tmp/multipartBody4474562501573294796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599673379,"filename":"image_23012025_03_33_26_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/199f63ddfaad00e50ef2a667c3c0bb0e.jpg","text":"TemporaryFile(/tmp/multipartBody7464604833398257566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599673379,"filename":"image_23012025_03_33_06_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a375f8a8abc4ace4197487c034d254ce.jpg","text":"TemporaryFile(/tmp/multipartBody3722657676842993204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599673379,"filename":"image_23012025_03_33_36_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730730","file1":"1330730726","file0":"1330730724","file4":"1330730752","file3":"1330730738"},"map_files_photo_id_array":[{"photo_id":"1330730730","filename":"file2"},{"photo_id":"1330730752","filename":"file4"},{"photo_id":"1330730726","filename":"file1"},{"photo_id":"1330730724","filename":"file0"},{"photo_id":"1330730738","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330730730":["hashtag1","hashtag2"]},{"1330730724":["hashtag1","hashtag2"]},{"1330730738":["hashtag1","hashtag2"]},{"1330730726":["hashtag1","hashtag2"]},{"1330730752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330730730, 1330730724, 1330730738, 1330730726, 1330730752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.59801506996155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:34:32.848045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_46_9341.jpg', '/home/pi/Desktop/images/23012025/03/33/image_23012025_03_34_07_10324.jpg', '/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_26_10425.jpg', '/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_36_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_33_46_9341.jpg
/home/pi/Desktop/images/23012025/03/33/image_23012025_03_34_07_10324.jpg
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_26_10425.jpg
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_36_9321.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":["1330730806","1330730799","1330730783","1330730794"],"photo_ids_order":["1330730783","1330730794","1330730799","1330730806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/331afeba794ef214b759f59116ec5694.jpg","text":"TemporaryFile(/tmp/multipartBody8755743198030662180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599733720,"filename":"image_23012025_03_34_36_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0c00733544d66c7fc1a51cb02788ad3.jpg","text":"TemporaryFile(/tmp/multipartBody8146327500855907867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599733720,"filename":"image_23012025_03_34_26_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c7feca04fafad4a7e4e830b944e7890.jpg","text":"TemporaryFile(/tmp/multipartBody608358838070112991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599733720,"filename":"image_23012025_03_33_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17c5007bee3f1ba6e07c7ef0693d5f02.jpg","text":"TemporaryFile(/tmp/multipartBody5116541588028871449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599733720,"filename":"image_23012025_03_34_07_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730799","file1":"1330730794","file0":"1330730783","file3":"1330730806"},"map_files_photo_id_array":[{"photo_id":"1330730799","filename":"file2"},{"photo_id":"1330730794","filename":"file1"},{"photo_id":"1330730783","filename":"file0"},{"photo_id":"1330730806","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330730806":["hashtag1","hashtag2"]},{"1330730799":["hashtag1","hashtag2"]},{"1330730783":["hashtag1","hashtag2"]},{"1330730794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330730806, 1330730799, 1330730783, 1330730794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.42976784706116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:35:33.009462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_57_10345.jpg', '/home/pi/Desktop/images/23012025/03/34/image_23012025_03_35_06_9352.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_16_10425.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_26_9420.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_36_10379.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_34_57_10345.jpg
/home/pi/Desktop/images/23012025/03/34/image_23012025_03_35_06_9352.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_16_10425.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_26_9420.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_36_10379.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_46_10368.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":["1330730935","1330730897","1330730960","1330730903","1330730953","1330730932"],"photo_ids_order":["1330730897","1330730903","1330730932","1330730935","1330730953","1330730960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73826b6a44aaae5717f785e3d8b69f1e.jpg","text":"TemporaryFile(/tmp/multipartBody851822389820809897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599793910,"filename":"image_23012025_03_35_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2bb74ad13793d7c6eecaf273f7cc745.jpg","text":"TemporaryFile(/tmp/multipartBody3010938983756909624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599793910,"filename":"image_23012025_03_34_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/664f261b93b3e2fe847bc4999f7306e6.jpg","text":"TemporaryFile(/tmp/multipartBody6196700523598112005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599793910,"filename":"image_23012025_03_35_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fc5927de2de4ca0e0eb4c1fdb390348.jpg","text":"TemporaryFile(/tmp/multipartBody2522772170982923389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599793910,"filename":"image_23012025_03_35_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/531194b3d8b14d2f83ea1a00c26d15b7.jpg","text":"TemporaryFile(/tmp/multipartBody7193504626024401029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599793910,"filename":"image_23012025_03_35_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5be1319ea78b10d1c4843ed02b750c7f.jpg","text":"TemporaryFile(/tmp/multipartBody9025194354702406668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599793910,"filename":"image_23012025_03_35_16_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330730932","file1":"1330730903","file0":"1330730897","file4":"1330730953","file5":"1330730960","file3":"1330730935"},"map_files_photo_id_array":[{"photo_id":"1330730960","filename":"file5"},{"photo_id":"1330730932","filename":"file2"},{"photo_id":"1330730953","filename":"file4"},{"photo_id":"1330730903","filename":"file1"},{"photo_id":"1330730897","filename":"file0"},{"photo_id":"1330730935","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330730935":["hashtag1","hashtag2"]},{"1330730897":["hashtag1","hashtag2"]},{"1330730960":["hashtag1","hashtag2"]},{"1330730903":["hashtag1","hashtag2"]},{"1330730953":["hashtag1","hashtag2"]},{"1330730932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330730935, 1330730897, 1330730960, 1330730903, 1330730953, 1330730932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.72157287597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:36:32.317090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_56_9431.jpg', '/home/pi/Desktop/images/23012025/03/35/image_23012025_03_36_06_10340.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_17_10358.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_26_9338.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_36_10342.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_46_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_35_56_9431.jpg
/home/pi/Desktop/images/23012025/03/35/image_23012025_03_36_06_10340.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_17_10358.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_26_9338.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_36_10342.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_46_9415.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":["1330731075","1330731078","1330731057","1330731018","1330731080","1330730966"],"photo_ids_order":["1330730966","1330731018","1330731057","1330731075","1330731078","1330731080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e088a8bd02e62139b1f4d9a99028ff90.jpg","text":"TemporaryFile(/tmp/multipartBody707899905900535356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599853218,"filename":"image_23012025_03_36_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1b45d8054ac6c1f31b908c9817bc8bd.jpg","text":"TemporaryFile(/tmp/multipartBody8309734222508735894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599853218,"filename":"image_23012025_03_36_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18d030bd35afd8583a6ba734cf6425fb.jpg","text":"TemporaryFile(/tmp/multipartBody5459261307850640272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599853218,"filename":"image_23012025_03_36_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c842390ffa5b1309fd7b9188266b087.jpg","text":"TemporaryFile(/tmp/multipartBody469004474336537405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599853218,"filename":"image_23012025_03_36_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b2d668f22af125e991503315984fedc.jpg","text":"TemporaryFile(/tmp/multipartBody769919182053179273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599853218,"filename":"image_23012025_03_36_46_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac6034bd277c0d8bd548782eae9efd1c.jpg","text":"TemporaryFile(/tmp/multipartBody374739192094797244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599853218,"filename":"image_23012025_03_35_56_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330731057","file1":"1330731018","file0":"1330730966","file4":"1330731078","file5":"1330731080","file3":"1330731075"},"map_files_photo_id_array":[{"photo_id":"1330731080","filename":"file5"},{"photo_id":"1330731057","filename":"file2"},{"photo_id":"1330731078","filename":"file4"},{"photo_id":"1330731018","filename":"file1"},{"photo_id":"1330730966","filename":"file0"},{"photo_id":"1330731075","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330731075":["hashtag1","hashtag2"]},{"1330731078":["hashtag1","hashtag2"]},{"1330731057":["hashtag1","hashtag2"]},{"1330731018":["hashtag1","hashtag2"]},{"1330731080":["hashtag1","hashtag2"]},{"1330730966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330731075, 1330731078, 1330731057, 1330731018, 1330731080, 1330730966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3307900428772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:37:32.479576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_56_10435.jpg', '/home/pi/Desktop/images/23012025/03/36/image_23012025_03_37_07_10357.jpg', '/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_26_10506.jpg', '/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_36_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_36_56_10435.jpg
/home/pi/Desktop/images/23012025/03/36/image_23012025_03_37_07_10357.jpg
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_26_10506.jpg
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_36_9374.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":["1330731098","1330731094","1330731091","1330731099"],"photo_ids_order":["1330731091","1330731094","1330731098","1330731099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9f2f1ab178cb2b70ee12d5c522b820a.jpg","text":"TemporaryFile(/tmp/multipartBody397945620958584806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599913351,"filename":"image_23012025_03_37_26_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf32b40781630c2889ed57498c4c94c4.jpg","text":"TemporaryFile(/tmp/multipartBody4210292202967821546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599913351,"filename":"image_23012025_03_37_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/604574d2946b8811cf8acd492b296f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2874326683651736326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599913351,"filename":"image_23012025_03_36_56_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4711ce91cee5a37c5d3f20c6d93a8680.jpg","text":"TemporaryFile(/tmp/multipartBody4884856082899888485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599913351,"filename":"image_23012025_03_37_36_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330731098","file1":"1330731094","file0":"1330731091","file3":"1330731099"},"map_files_photo_id_array":[{"photo_id":"1330731098","filename":"file2"},{"photo_id":"1330731094","filename":"file1"},{"photo_id":"1330731091","filename":"file0"},{"photo_id":"1330731099","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330731098":["hashtag1","hashtag2"]},{"1330731094":["hashtag1","hashtag2"]},{"1330731091":["hashtag1","hashtag2"]},{"1330731099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330731098, 1330731094, 1330731091, 1330731099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.123361349105835 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:38:32.658651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_46_10400.jpg', '/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_27_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/37/image_23012025_03_37_46_10400.jpg
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_27_10348.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":["1330731373","1330731304"],"photo_ids_order":["1330731304","1330731373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c2fbfc4659116afbb88f5055baa0bd6.jpg","text":"TemporaryFile(/tmp/multipartBody903814134223639689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599973489,"filename":"image_23012025_03_38_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44603114dd85cbdb448448390adbf4bc.jpg","text":"TemporaryFile(/tmp/multipartBody1401803457706559005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737599973489,"filename":"image_23012025_03_37_46_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330731373","file0":"1330731304"},"map_files_photo_id_array":[{"photo_id":"1330731373","filename":"file1"},{"photo_id":"1330731304","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330731373":["hashtag1","hashtag2"]},{"1330731304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330731373, 1330731304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.812554359436035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:39:04.421440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_25_9396.jpg', '/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_35_10396.jpg', '/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_45_9376.jpg', '/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_25_10343.jpg', '/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_36_10349.jpg', '/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_45_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_25_9396.jpg
/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_35_10396.jpg
/home/pi/Desktop/images/20012025/06/41/image_20012025_06_41_45_9376.jpg
/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_25_10343.jpg
/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_36_10349.jpg
/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_45_9438.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":["1330732067","1330732063","1330731856","1330732071","1330732059","1330732074"],"photo_ids_order":["1330731856","1330732059","1330732063","1330732067","1330732071","1330732074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e860489cbb84efccf20f00757401a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2437248089190624953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600006464,"filename":"image_20012025_06_42_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9533f167d3ecf661551837646de3305e.jpg","text":"TemporaryFile(/tmp/multipartBody4214622679663288257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600006464,"filename":"image_20012025_06_41_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e204f9eed8b5527e2cf456c709373d2.jpg","text":"TemporaryFile(/tmp/multipartBody3463693791674106751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600006464,"filename":"image_20012025_06_41_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86f50021d03ca7cd15b566c31387b62f.jpg","text":"TemporaryFile(/tmp/multipartBody2367740553100233004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600006464,"filename":"image_20012025_06_42_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10564e06735fac1f83187c94a04ae66d.jpg","text":"TemporaryFile(/tmp/multipartBody7124221017083038241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600006464,"filename":"image_20012025_06_41_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c248b3e48d1db65e1cdc844a6db3bed.jpg","text":"TemporaryFile(/tmp/multipartBody814948994880978151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600006464,"filename":"image_20012025_06_42_45_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330732063","file1":"1330732059","file0":"1330731856","file4":"1330732071","file5":"1330732074","file3":"1330732067"},"map_files_photo_id_array":[{"photo_id":"1330732074","filename":"file5"},{"photo_id":"1330732063","filename":"file2"},{"photo_id":"1330732071","filename":"file4"},{"photo_id":"1330732059","filename":"file1"},{"photo_id":"1330731856","filename":"file0"},{"photo_id":"1330732067","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330732067":["hashtag1","hashtag2"]},{"1330732063":["hashtag1","hashtag2"]},{"1330731856":["hashtag1","hashtag2"]},{"1330732071":["hashtag1","hashtag2"]},{"1330732059":["hashtag1","hashtag2"]},{"1330732074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330732067, 1330732063, 1330731856, 1330732071, 1330732059, 1330732074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00867033004761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:39:53.108251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_55_10370.jpg', '/home/pi/Desktop/images/20012025/06/42/image_20012025_06_43_05_9470.jpg', '/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_15_10366.jpg', '/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_26_10359.jpg', '/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_35_9457.jpg', '/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_46_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/42/image_20012025_06_42_55_10370.jpg
/home/pi/Desktop/images/20012025/06/42/image_20012025_06_43_05_9470.jpg
/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_15_10366.jpg
/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_26_10359.jpg
/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_35_9457.jpg
/home/pi/Desktop/images/20012025/06/43/image_20012025_06_43_46_10465.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":["1330732397","1330732352","1330732399","1330732363","1330732108","1330732263"],"photo_ids_order":["1330732108","1330732263","1330732352","1330732363","1330732397","1330732399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b7590960e1f8f3a08fd973c85a9f28e.jpg","text":"TemporaryFile(/tmp/multipartBody292428763642114454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600055455,"filename":"image_20012025_06_43_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f648ac8835177f3a25162effb718cdf.jpg","text":"TemporaryFile(/tmp/multipartBody6089310151399229611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600055455,"filename":"image_20012025_06_43_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa74c16267e064288dd11ad481cbd028.jpg","text":"TemporaryFile(/tmp/multipartBody105048760301701156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600055455,"filename":"image_20012025_06_43_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c54c4655bed8b49579b60515985c4600.jpg","text":"TemporaryFile(/tmp/multipartBody6570945523984858084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600055455,"filename":"image_20012025_06_43_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/344c87f8cd04f07c7abfa57e99da3f92.jpg","text":"TemporaryFile(/tmp/multipartBody8710058871461140018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600055455,"filename":"image_20012025_06_42_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78d163e3e2fd24cd1dade50bdbcd80fc.jpg","text":"TemporaryFile(/tmp/multipartBody1560079547024932131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600055455,"filename":"image_20012025_06_43_05_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330732352","file1":"1330732263","file0":"1330732108","file4":"1330732397","file5":"1330732399","file3":"1330732363"},"map_files_photo_id_array":[{"photo_id":"1330732399","filename":"file5"},{"photo_id":"1330732352","filename":"file2"},{"photo_id":"1330732397","filename":"file4"},{"photo_id":"1330732263","filename":"file1"},{"photo_id":"1330732108","filename":"file0"},{"photo_id":"1330732363","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330732397":["hashtag1","hashtag2"]},{"1330732352":["hashtag1","hashtag2"]},{"1330732399":["hashtag1","hashtag2"]},{"1330732363":["hashtag1","hashtag2"]},{"1330732108":["hashtag1","hashtag2"]},{"1330732263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330732397, 1330732352, 1330732399, 1330732363, 1330732108, 1330732263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83733558654785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:40:42.477355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_36_9343.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_26_9368.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_36_10385.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_56_9369.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_40_06_10348.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_17_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_36_9343.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_26_9368.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_36_10385.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_56_9369.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_40_06_10348.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_17_10321.jpg
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: 0.5542070865631104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:40:52.302430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/43/image_20012025_06_44_05_10361.jpg', '/home/pi/Desktop/images/20012025/06/44/image_20012025_06_44_16_10335.jpg', '/home/pi/Desktop/images/20012025/06/44/image_20012025_06_44_25_9455.jpg', '/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_15_9342.jpg', '/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_25_10359.jpg', '/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_36_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/43/image_20012025_06_44_05_10361.jpg
/home/pi/Desktop/images/20012025/06/44/image_20012025_06_44_16_10335.jpg
/home/pi/Desktop/images/20012025/06/44/image_20012025_06_44_25_9455.jpg
/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_15_9342.jpg
/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_25_10359.jpg
/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_36_10413.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":["1330732634","1330732637","1330732625","1330732639","1330732630","1330732641"],"photo_ids_order":["1330732625","1330732630","1330732634","1330732637","1330732639","1330732641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/704591174bc4427cf14b67dade3b4b24.jpg","text":"TemporaryFile(/tmp/multipartBody1418661600373333905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600114653,"filename":"image_20012025_06_44_25_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5087cf218539f638694bf6628f77d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody320321306563049097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600114653,"filename":"image_20012025_06_45_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b48f74ee768b30d9b1d7df237d879e3.jpg","text":"TemporaryFile(/tmp/multipartBody6841908936953703114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600114653,"filename":"image_20012025_06_44_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae8ec4d13f66d067b8c2406ab8622c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2310279937605297439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600114653,"filename":"image_20012025_06_45_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91ff0906dcc89efadc1303f2e99fe25d.jpg","text":"TemporaryFile(/tmp/multipartBody103871530322559019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600114653,"filename":"image_20012025_06_44_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b86b61d5568ff17461ce590b9e2761f4.jpg","text":"TemporaryFile(/tmp/multipartBody3687350689763559896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600114653,"filename":"image_20012025_06_45_36_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330732634","file1":"1330732630","file0":"1330732625","file4":"1330732639","file5":"1330732641","file3":"1330732637"},"map_files_photo_id_array":[{"photo_id":"1330732641","filename":"file5"},{"photo_id":"1330732634","filename":"file2"},{"photo_id":"1330732639","filename":"file4"},{"photo_id":"1330732630","filename":"file1"},{"photo_id":"1330732625","filename":"file0"},{"photo_id":"1330732637","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330732634":["hashtag1","hashtag2"]},{"1330732637":["hashtag1","hashtag2"]},{"1330732625":["hashtag1","hashtag2"]},{"1330732639":["hashtag1","hashtag2"]},{"1330732630":["hashtag1","hashtag2"]},{"1330732641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330732634, 1330732637, 1330732625, 1330732639, 1330732630, 1330732641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.744505405426025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:41:42.573080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_36_9343.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_26_9368.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_36_10385.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_56_9369.jpg', '/home/pi/Desktop/images/23012025/03/39/image_23012025_03_40_06_10348.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_17_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/38/image_23012025_03_38_36_9343.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_26_9368.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_36_10385.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_39_56_9369.jpg
/home/pi/Desktop/images/23012025/03/39/image_23012025_03_40_06_10348.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_17_10321.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":["1330732691","1330732652","1330732646","1330733389","1330732879","1330733073"],"photo_ids_order":["1330732646","1330732652","1330732691","1330732879","1330733073","1330733389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b79e086ba048216eab0132e40c485676.jpg","text":"TemporaryFile(/tmp/multipartBody3378529107116336799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600163492,"filename":"image_23012025_03_39_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2161522eed4fddaab01d64a65c3036f0.jpg","text":"TemporaryFile(/tmp/multipartBody2792592945586514297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600163492,"filename":"image_23012025_03_39_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/562c145154a27aa88c5a242f66f29090.jpg","text":"TemporaryFile(/tmp/multipartBody4596283726112082263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600163492,"filename":"image_23012025_03_38_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ada4300c7433e47147788affeb27cbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1491015229797949600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600163492,"filename":"image_23012025_03_40_17_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cdd89dbc5b704784b7a80655758eb2c.jpg","text":"TemporaryFile(/tmp/multipartBody679662590936785153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600163492,"filename":"image_23012025_03_39_56_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22a27248a5e7d70d03eadcc31c648d13.jpg","text":"TemporaryFile(/tmp/multipartBody7196986413023550029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600163492,"filename":"image_23012025_03_40_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330732691","file1":"1330732652","file0":"1330732646","file4":"1330733073","file5":"1330733389","file3":"1330732879"},"map_files_photo_id_array":[{"photo_id":"1330733389","filename":"file5"},{"photo_id":"1330732691","filename":"file2"},{"photo_id":"1330733073","filename":"file4"},{"photo_id":"1330732652","filename":"file1"},{"photo_id":"1330732646","filename":"file0"},{"photo_id":"1330732879","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330732691":["hashtag1","hashtag2"]},{"1330732652":["hashtag1","hashtag2"]},{"1330732646":["hashtag1","hashtag2"]},{"1330733389":["hashtag1","hashtag2"]},{"1330732879":["hashtag1","hashtag2"]},{"1330733073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330732691, 1330732652, 1330732646, 1330733389, 1330732879, 1330733073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.124996185302734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:42:32.857077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_26_9347.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_36_10389.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_56_10339.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_16_10409.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_36_9346.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_26_9347.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_36_10389.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_56_10339.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_16_10409.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_36_9346.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_46_10370.jpg
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: 0.5200614929199219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:42:42.766873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_26_9347.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_36_10389.jpg', '/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_56_10339.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_16_10409.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_36_9346.jpg', '/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_26_9347.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_36_10389.jpg
/home/pi/Desktop/images/23012025/03/40/image_23012025_03_40_56_10339.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_16_10409.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_36_9346.jpg
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_46_10370.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":["1330733612","1330733620","1330733701","1330733697","1330733691","1330733616"],"photo_ids_order":["1330733612","1330733616","1330733620","1330733691","1330733697","1330733701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/049688496a3d008b42d7a48a57704a16.jpg","text":"TemporaryFile(/tmp/multipartBody5822897078148625014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600223701,"filename":"image_23012025_03_40_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e481fbf98fcb5aa0a1e465c0cdc9ff60.jpg","text":"TemporaryFile(/tmp/multipartBody8844569391533247855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600223701,"filename":"image_23012025_03_40_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/451334bf5625fce4e0b5a887f056ce19.jpg","text":"TemporaryFile(/tmp/multipartBody1276272512372306554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600223701,"filename":"image_23012025_03_41_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69e7b67b1ccf6aa6fe05db84a0282e56.jpg","text":"TemporaryFile(/tmp/multipartBody8160432228736547428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600223701,"filename":"image_23012025_03_41_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f36488b3e5c6834015c4b70ea92aed22.jpg","text":"TemporaryFile(/tmp/multipartBody7362687957815498110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600223701,"filename":"image_23012025_03_41_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20dc1a8a99d9a3c0a5b455440fbb786e.jpg","text":"TemporaryFile(/tmp/multipartBody8854548680463518830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600223701,"filename":"image_23012025_03_40_36_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330733620","file1":"1330733616","file0":"1330733612","file4":"1330733697","file5":"1330733701","file3":"1330733691"},"map_files_photo_id_array":[{"photo_id":"1330733701","filename":"file5"},{"photo_id":"1330733620","filename":"file2"},{"photo_id":"1330733697","filename":"file4"},{"photo_id":"1330733616","filename":"file1"},{"photo_id":"1330733612","filename":"file0"},{"photo_id":"1330733691","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330733612":["hashtag1","hashtag2"]},{"1330733620":["hashtag1","hashtag2"]},{"1330733701":["hashtag1","hashtag2"]},{"1330733697":["hashtag1","hashtag2"]},{"1330733691":["hashtag1","hashtag2"]},{"1330733616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330733612, 1330733620, 1330733701, 1330733697, 1330733691, 1330733616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.45116329193115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:43:33.187769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_56_9407.jpg', '/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_47_10359.jpg', '/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_56_9349.jpg', '/home/pi/Desktop/images/23012025/03/42/image_23012025_03_43_06_10400.jpg', '/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_17_10343.jpg', '/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_26_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/41/image_23012025_03_41_56_9407.jpg
/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_47_10359.jpg
/home/pi/Desktop/images/23012025/03/42/image_23012025_03_42_56_9349.jpg
/home/pi/Desktop/images/23012025/03/42/image_23012025_03_43_06_10400.jpg
/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_17_10343.jpg
/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_26_9329.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":["1330734223","1330733791","1330734192","1330733793","1330734194","1330733981"],"photo_ids_order":["1330733791","1330733793","1330733981","1330734192","1330734194","1330734223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee27879483ee96c9011a45080fdd28c6.jpg","text":"TemporaryFile(/tmp/multipartBody8137451621411000619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600274481,"filename":"image_23012025_03_43_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27337a81b12d0c78a31d463ee1f7f00a.jpg","text":"TemporaryFile(/tmp/multipartBody369424411462658011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600274481,"filename":"image_23012025_03_41_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b20e412cd28acee4a618a62c5928b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4850672694085661216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600274481,"filename":"image_23012025_03_43_06_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02e1a1f93fd857c793bee47aabd63ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2265262619533170097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600274481,"filename":"image_23012025_03_42_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34498056636e932e5af6920ad5b3236b.jpg","text":"TemporaryFile(/tmp/multipartBody8088738218819059695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600274481,"filename":"image_23012025_03_43_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7070c88bf61d9a32f63fd4665844b06.jpg","text":"TemporaryFile(/tmp/multipartBody9148076627103392703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600274481,"filename":"image_23012025_03_42_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330733981","file1":"1330733793","file0":"1330733791","file4":"1330734194","file5":"1330734223","file3":"1330734192"},"map_files_photo_id_array":[{"photo_id":"1330734223","filename":"file5"},{"photo_id":"1330733981","filename":"file2"},{"photo_id":"1330734194","filename":"file4"},{"photo_id":"1330733793","filename":"file1"},{"photo_id":"1330733791","filename":"file0"},{"photo_id":"1330734192","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330734223":["hashtag1","hashtag2"]},{"1330733791":["hashtag1","hashtag2"]},{"1330734192":["hashtag1","hashtag2"]},{"1330733793":["hashtag1","hashtag2"]},{"1330734194":["hashtag1","hashtag2"]},{"1330733981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330734223, 1330733791, 1330734192, 1330733793, 1330734194, 1330733981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.895599603652954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:44:32.316779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_36_10392.jpg', '/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_46_9462.jpg', '/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_56_10394.jpg', '/home/pi/Desktop/images/23012025/03/43/image_23012025_03_44_07_10347.jpg', '/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_16_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_36_10392.jpg
/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_46_9462.jpg
/home/pi/Desktop/images/23012025/03/43/image_23012025_03_43_56_10394.jpg
/home/pi/Desktop/images/23012025/03/43/image_23012025_03_44_07_10347.jpg
/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_16_9325.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":["1330734394","1330734381","1330734400","1330734389","1330734374"],"photo_ids_order":["1330734374","1330734381","1330734389","1330734394","1330734400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dab484ca9301f0e376e4cf0bd8aa6dec.jpg","text":"TemporaryFile(/tmp/multipartBody2463544723381115406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600333609,"filename":"image_23012025_03_44_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/046aeacef19ff700f0c69bf29b4bd0c6.jpg","text":"TemporaryFile(/tmp/multipartBody632021264516822735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600333609,"filename":"image_23012025_03_43_46_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df06a4d30a16df891a2964ba76c21b90.jpg","text":"TemporaryFile(/tmp/multipartBody1242948436837091660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600333609,"filename":"image_23012025_03_44_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84c2de0bed9d5e1ffd7975405eb1d7c0.jpg","text":"TemporaryFile(/tmp/multipartBody7125360138320495859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600333609,"filename":"image_23012025_03_43_56_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/629fa3e677c76dbf5347a34e59fa2543.jpg","text":"TemporaryFile(/tmp/multipartBody3528053276326985636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600333609,"filename":"image_23012025_03_43_36_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330734389","file1":"1330734381","file0":"1330734374","file4":"1330734400","file3":"1330734394"},"map_files_photo_id_array":[{"photo_id":"1330734389","filename":"file2"},{"photo_id":"1330734400","filename":"file4"},{"photo_id":"1330734381","filename":"file1"},{"photo_id":"1330734374","filename":"file0"},{"photo_id":"1330734394","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330734394":["hashtag1","hashtag2"]},{"1330734381":["hashtag1","hashtag2"]},{"1330734400":["hashtag1","hashtag2"]},{"1330734389":["hashtag1","hashtag2"]},{"1330734374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330734394, 1330734381, 1330734400, 1330734389, 1330734374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.15546274185181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:45:32.407443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_36_9340.jpg', '/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_46_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/44/image_23012025_03_44_36_9340.jpg
/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_46_10473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330734442","1330734437"],"photo_ids_order":["1330734437","1330734442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35160e2baf0fe0c0a9ad85465e64a465.jpg","text":"TemporaryFile(/tmp/multipartBody8027181017536562163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600393235,"filename":"image_23012025_03_45_46_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b5273af6ec356cc726b8bdb84d47185.jpg","text":"TemporaryFile(/tmp/multipartBody8930076741241519431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600393235,"filename":"image_23012025_03_44_36_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330734442","file0":"1330734437"},"map_files_photo_id_array":[{"photo_id":"1330734442","filename":"file1"},{"photo_id":"1330734437","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330734442":["hashtag1","hashtag2"]},{"1330734437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330734442, 1330734437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.473692893981934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:45:52.424307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_55_10351.jpg', '/home/pi/Desktop/images/20012025/06/46/image_20012025_06_46_56_10431.jpg', '/home/pi/Desktop/images/20012025/06/46/image_20012025_06_47_05_9435.jpg', '/home/pi/Desktop/images/20012025/06/47/image_20012025_06_47_45_10338.jpg', '/home/pi/Desktop/images/20012025/06/47/image_20012025_06_47_55_9449.jpg', '/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_16_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/45/image_20012025_06_45_55_10351.jpg
/home/pi/Desktop/images/20012025/06/46/image_20012025_06_46_56_10431.jpg
/home/pi/Desktop/images/20012025/06/46/image_20012025_06_47_05_9435.jpg
/home/pi/Desktop/images/20012025/06/47/image_20012025_06_47_45_10338.jpg
/home/pi/Desktop/images/20012025/06/47/image_20012025_06_47_55_9449.jpg
/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_16_10350.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":["1330734484","1330734478","1330734486","1330734501","1330734488","1330734473"],"photo_ids_order":["1330734473","1330734478","1330734484","1330734486","1330734488","1330734501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab9d663cceedf9120e9676b8c53cc05d.jpg","text":"TemporaryFile(/tmp/multipartBody7154673107135319744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600414810,"filename":"image_20012025_06_47_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5aab054db899d2b2166c48135a8ef73e.jpg","text":"TemporaryFile(/tmp/multipartBody6342111442581155011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600414810,"filename":"image_20012025_06_46_56_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec82751e9ba394ebed7b6a22fe34566c.jpg","text":"TemporaryFile(/tmp/multipartBody2938392997437175944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600414810,"filename":"image_20012025_06_47_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f8219cd1a6dc3d000f114d3933e6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8711147351413941337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600414810,"filename":"image_20012025_06_48_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e289136497a6bb84469b90444d1248c.jpg","text":"TemporaryFile(/tmp/multipartBody4756829783826635333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600414810,"filename":"image_20012025_06_47_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/275e3be851d92ac3088b5bbbadf9ca1f.jpg","text":"TemporaryFile(/tmp/multipartBody2850547818319714327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600414810,"filename":"image_20012025_06_45_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330734484","file1":"1330734478","file0":"1330734473","file4":"1330734488","file5":"1330734501","file3":"1330734486"},"map_files_photo_id_array":[{"photo_id":"1330734501","filename":"file5"},{"photo_id":"1330734484","filename":"file2"},{"photo_id":"1330734488","filename":"file4"},{"photo_id":"1330734478","filename":"file1"},{"photo_id":"1330734473","filename":"file0"},{"photo_id":"1330734486","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330734484":["hashtag1","hashtag2"]},{"1330734478":["hashtag1","hashtag2"]},{"1330734486":["hashtag1","hashtag2"]},{"1330734501":["hashtag1","hashtag2"]},{"1330734488":["hashtag1","hashtag2"]},{"1330734473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330734484, 1330734478, 1330734486, 1330734501, 1330734488, 1330734473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.235188007354736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:46:42.658206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_57_10339.jpg', '/home/pi/Desktop/images/23012025/03/45/image_23012025_03_46_06_9314.jpg', '/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_16_10364.jpg', '/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_26_9337.jpg', '/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_36_10381.jpg', '/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_47_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/45/image_23012025_03_45_57_10339.jpg
/home/pi/Desktop/images/23012025/03/45/image_23012025_03_46_06_9314.jpg
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_16_10364.jpg
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_26_9337.jpg
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_36_10381.jpg
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_47_10465.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":["1330734725","1330734723","1330734510","1330734540","1330734516","1330734746"],"photo_ids_order":["1330734510","1330734516","1330734540","1330734723","1330734725","1330734746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d072a5a8d5c75dfcf1d4096be39cc20f.jpg","text":"TemporaryFile(/tmp/multipartBody4804766642666836045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600463592,"filename":"image_23012025_03_46_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f72cadb9a5f223c537f894d1ee2bffc2.jpg","text":"TemporaryFile(/tmp/multipartBody652063503526106005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600463592,"filename":"image_23012025_03_46_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3a04cdc8ab6b99d5fbdcc35c611fa81.jpg","text":"TemporaryFile(/tmp/multipartBody8398337268281014878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600463592,"filename":"image_23012025_03_45_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2486e40a3c53a6a060f2cdd0bdb1e5e6.jpg","text":"TemporaryFile(/tmp/multipartBody1283795707064359969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600463592,"filename":"image_23012025_03_46_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7efb08fc732dccdfbc12b220d94f5ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8849651728436297918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600463592,"filename":"image_23012025_03_46_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ad6dd0290b0dab24855241ca7a4e0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1219823466959965182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600463592,"filename":"image_23012025_03_46_47_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330734540","file1":"1330734516","file0":"1330734510","file4":"1330734725","file5":"1330734746","file3":"1330734723"},"map_files_photo_id_array":[{"photo_id":"1330734746","filename":"file5"},{"photo_id":"1330734540","filename":"file2"},{"photo_id":"1330734725","filename":"file4"},{"photo_id":"1330734516","filename":"file1"},{"photo_id":"1330734510","filename":"file0"},{"photo_id":"1330734723","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330734725":["hashtag1","hashtag2"]},{"1330734723":["hashtag1","hashtag2"]},{"1330734510":["hashtag1","hashtag2"]},{"1330734540":["hashtag1","hashtag2"]},{"1330734516":["hashtag1","hashtag2"]},{"1330734746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330734725, 1330734723, 1330734510, 1330734540, 1330734516, 1330734746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.21120572090149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:47:32.914030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_56_9436.jpg', '/home/pi/Desktop/images/23012025/03/46/image_23012025_03_47_06_10354.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_16_9346.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_26_10375.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_36_10432.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_46_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_46_56_9436.jpg
/home/pi/Desktop/images/23012025/03/46/image_23012025_03_47_06_10354.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_16_9346.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_26_10375.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_36_10432.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_46_9354.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":["1330735057","1330735030","1330735062","1330735032","1330734879","1330734944"],"photo_ids_order":["1330734879","1330734944","1330735030","1330735032","1330735057","1330735062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ba8d7684c669fb87d26bd53d94a0b45.jpg","text":"TemporaryFile(/tmp/multipartBody8410168101436639982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600513827,"filename":"image_23012025_03_47_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb0cfd0832bae0fbda6d693fd38f469e.jpg","text":"TemporaryFile(/tmp/multipartBody456475128868820802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600513827,"filename":"image_23012025_03_47_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d3ab33721696a29e7c485918a482081.jpg","text":"TemporaryFile(/tmp/multipartBody4436414279127280806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600513827,"filename":"image_23012025_03_47_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5818008571b06ec8db1fbc3642e0b1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2474455871938122781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600513827,"filename":"image_23012025_03_47_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ad58c9071dabac00b1361fdedbd8853.jpg","text":"TemporaryFile(/tmp/multipartBody6790703448071946066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600513827,"filename":"image_23012025_03_46_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6247e7ee00cfc6a13162d46715a97ca5.jpg","text":"TemporaryFile(/tmp/multipartBody5343678336022194428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600513827,"filename":"image_23012025_03_47_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735030","file1":"1330734944","file0":"1330734879","file4":"1330735057","file5":"1330735062","file3":"1330735032"},"map_files_photo_id_array":[{"photo_id":"1330735062","filename":"file5"},{"photo_id":"1330735030","filename":"file2"},{"photo_id":"1330735057","filename":"file4"},{"photo_id":"1330734944","filename":"file1"},{"photo_id":"1330734879","filename":"file0"},{"photo_id":"1330735032","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735057":["hashtag1","hashtag2"]},{"1330735030":["hashtag1","hashtag2"]},{"1330735062":["hashtag1","hashtag2"]},{"1330735032":["hashtag1","hashtag2"]},{"1330734879":["hashtag1","hashtag2"]},{"1330734944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735057, 1330735030, 1330735062, 1330735032, 1330734879, 1330734944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.446834087371826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:48:33.764385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_56_10392.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_48_07_10334.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_16_9429.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_26_10460.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_36_9414.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_46_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_56_10392.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_48_07_10334.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_16_9429.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_26_10460.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_36_9414.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_46_10420.jpg
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: 0.546149492263794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:48:43.220811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_56_10392.jpg', '/home/pi/Desktop/images/23012025/03/47/image_23012025_03_48_07_10334.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_16_9429.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_26_10460.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_36_9414.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_46_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_47_56_10392.jpg
/home/pi/Desktop/images/23012025/03/47/image_23012025_03_48_07_10334.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_16_9429.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_26_10460.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_36_9414.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_46_10420.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":["1330735159","1330735189","1330735174","1330735194","1330735181","1330735163"],"photo_ids_order":["1330735159","1330735163","1330735174","1330735181","1330735189","1330735194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e19f8440adf3c81aa6db40861f5fa63d.jpg","text":"TemporaryFile(/tmp/multipartBody8484828172761044456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600584274,"filename":"image_23012025_03_47_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2c3b13e38958d4be7e07eb9fff49a97.jpg","text":"TemporaryFile(/tmp/multipartBody1447996047555522796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600584274,"filename":"image_23012025_03_48_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f676df0dc842a1e399e19696e60fe90.jpg","text":"TemporaryFile(/tmp/multipartBody5940784914908025629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600584274,"filename":"image_23012025_03_48_16_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfe8e2a08bd857cdfed8417890e3dae6.jpg","text":"TemporaryFile(/tmp/multipartBody6638076193367501950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600584274,"filename":"image_23012025_03_48_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3fd3a2878857e52ddbe778b46f7273b.jpg","text":"TemporaryFile(/tmp/multipartBody1738303051662462257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600584274,"filename":"image_23012025_03_48_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79901a42210ee8376932ec7252c2c435.jpg","text":"TemporaryFile(/tmp/multipartBody5083897355972598804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600584274,"filename":"image_23012025_03_48_07_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735174","file1":"1330735163","file0":"1330735159","file4":"1330735189","file5":"1330735194","file3":"1330735181"},"map_files_photo_id_array":[{"photo_id":"1330735194","filename":"file5"},{"photo_id":"1330735174","filename":"file2"},{"photo_id":"1330735189","filename":"file4"},{"photo_id":"1330735163","filename":"file1"},{"photo_id":"1330735159","filename":"file0"},{"photo_id":"1330735181","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735159":["hashtag1","hashtag2"]},{"1330735189":["hashtag1","hashtag2"]},{"1330735174":["hashtag1","hashtag2"]},{"1330735194":["hashtag1","hashtag2"]},{"1330735181":["hashtag1","hashtag2"]},{"1330735163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735159, 1330735189, 1330735174, 1330735194, 1330735181, 1330735163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.967989444732666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:49:32.439957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_57_10351.jpg', '/home/pi/Desktop/images/23012025/03/48/image_23012025_03_49_06_9341.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_16_10419.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_26_9327.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_36_10457.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_46_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_48_57_10351.jpg
/home/pi/Desktop/images/23012025/03/48/image_23012025_03_49_06_9341.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_16_10419.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_26_9327.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_36_10457.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_46_10340.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":["1330735213","1330735207","1330735239","1330735206","1330735236","1330735211"],"photo_ids_order":["1330735206","1330735207","1330735211","1330735213","1330735236","1330735239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/057a74318860d13c945b428d57de9c42.jpg","text":"TemporaryFile(/tmp/multipartBody1009217161209785662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600633336,"filename":"image_23012025_03_49_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a33485ec2973fa8a542705b7d47344a.jpg","text":"TemporaryFile(/tmp/multipartBody4763853540872767363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600633336,"filename":"image_23012025_03_49_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8013536ae6fe168c4d4d436f757bd130.jpg","text":"TemporaryFile(/tmp/multipartBody1522300543200148115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600633336,"filename":"image_23012025_03_49_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9981aa57ac15e7760a8aa57b3ad3f572.jpg","text":"TemporaryFile(/tmp/multipartBody2304400732024373436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600633336,"filename":"image_23012025_03_48_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8278bd9b768385e0ea2a62a42b580d3.jpg","text":"TemporaryFile(/tmp/multipartBody6717058720402764154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600633336,"filename":"image_23012025_03_49_36_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cedb11d16eba05967cb861b19a206042.jpg","text":"TemporaryFile(/tmp/multipartBody754525033719310733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600633336,"filename":"image_23012025_03_49_16_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735211","file1":"1330735207","file0":"1330735206","file4":"1330735236","file5":"1330735239","file3":"1330735213"},"map_files_photo_id_array":[{"photo_id":"1330735239","filename":"file5"},{"photo_id":"1330735211","filename":"file2"},{"photo_id":"1330735236","filename":"file4"},{"photo_id":"1330735207","filename":"file1"},{"photo_id":"1330735206","filename":"file0"},{"photo_id":"1330735213","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735213":["hashtag1","hashtag2"]},{"1330735207":["hashtag1","hashtag2"]},{"1330735239":["hashtag1","hashtag2"]},{"1330735206":["hashtag1","hashtag2"]},{"1330735236":["hashtag1","hashtag2"]},{"1330735211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735213, 1330735207, 1330735239, 1330735206, 1330735236, 1330735211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70155382156372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:50:32.690071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_56_9351.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_50_06_10347.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_17_10329.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_36_10399.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_47_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_56_9351.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_50_06_10347.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_17_10329.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_36_10399.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_47_10356.jpg
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: 0.5009222030639648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:50:42.670494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_56_9351.jpg', '/home/pi/Desktop/images/23012025/03/49/image_23012025_03_50_06_10347.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_17_10329.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_36_10399.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_47_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_49_56_9351.jpg
/home/pi/Desktop/images/23012025/03/49/image_23012025_03_50_06_10347.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_17_10329.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_36_10399.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_47_10356.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":["1330735366","1330735386","1330735370","1330735393","1330735412"],"photo_ids_order":["1330735366","1330735370","1330735386","1330735393","1330735412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c36b10b1bbae64ada3a4611e37faf3cb.jpg","text":"TemporaryFile(/tmp/multipartBody4598005414322283747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600703564,"filename":"image_23012025_03_49_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ea1631dc99abb4975b02e6955a585ef.jpg","text":"TemporaryFile(/tmp/multipartBody5294491393414627409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600703564,"filename":"image_23012025_03_50_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbe2e5f5edb469873604a9256754e14c.jpg","text":"TemporaryFile(/tmp/multipartBody4929526192129212111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600703564,"filename":"image_23012025_03_50_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac3e242fbcb089199fdc77c6a6eec954.jpg","text":"TemporaryFile(/tmp/multipartBody2741948701676755091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600703564,"filename":"image_23012025_03_50_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/988953c182b976b47a461192c2732949.jpg","text":"TemporaryFile(/tmp/multipartBody7974841274889995929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600703564,"filename":"image_23012025_03_50_47_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735386","file1":"1330735370","file0":"1330735366","file4":"1330735412","file3":"1330735393"},"map_files_photo_id_array":[{"photo_id":"1330735386","filename":"file2"},{"photo_id":"1330735412","filename":"file4"},{"photo_id":"1330735370","filename":"file1"},{"photo_id":"1330735366","filename":"file0"},{"photo_id":"1330735393","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735366":["hashtag1","hashtag2"]},{"1330735386":["hashtag1","hashtag2"]},{"1330735370":["hashtag1","hashtag2"]},{"1330735393":["hashtag1","hashtag2"]},{"1330735412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735366, 1330735386, 1330735370, 1330735393, 1330735412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.7595157623291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:51:32.816200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_56_9335.jpg', '/home/pi/Desktop/images/23012025/03/50/image_23012025_03_51_06_10336.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_17_10339.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_26_9355.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_36_10352.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_46_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_50_56_9335.jpg
/home/pi/Desktop/images/23012025/03/50/image_23012025_03_51_06_10336.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_17_10339.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_26_9355.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_36_10352.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_46_9404.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":["1330735483","1330735477","1330735485","1330735479","1330735475","1330735480"],"photo_ids_order":["1330735475","1330735477","1330735479","1330735480","1330735483","1330735485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85d4c6e4710dc9e38e6d3ac4162a6a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1537462213941168773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600753710,"filename":"image_23012025_03_51_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79a2c9395f94af6edc601a0967654ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2470416301020137274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600753710,"filename":"image_23012025_03_51_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f46c7831acbdeb23abd757c8cab12a79.jpg","text":"TemporaryFile(/tmp/multipartBody5926539805211595432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600753710,"filename":"image_23012025_03_51_46_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a14e436109b468aaf5e823ab2b073332.jpg","text":"TemporaryFile(/tmp/multipartBody6801063802214705230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600753710,"filename":"image_23012025_03_51_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f59e912dab774e508ed938d2ee3db2e.jpg","text":"TemporaryFile(/tmp/multipartBody3332885833267063783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600753710,"filename":"image_23012025_03_50_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9215212fa7cdbf47591b6b9fdce37ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1099332880588447244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600753710,"filename":"image_23012025_03_51_26_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735479","file1":"1330735477","file0":"1330735475","file4":"1330735483","file5":"1330735485","file3":"1330735480"},"map_files_photo_id_array":[{"photo_id":"1330735485","filename":"file5"},{"photo_id":"1330735479","filename":"file2"},{"photo_id":"1330735483","filename":"file4"},{"photo_id":"1330735477","filename":"file1"},{"photo_id":"1330735475","filename":"file0"},{"photo_id":"1330735480","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735483":["hashtag1","hashtag2"]},{"1330735477":["hashtag1","hashtag2"]},{"1330735485":["hashtag1","hashtag2"]},{"1330735479":["hashtag1","hashtag2"]},{"1330735475":["hashtag1","hashtag2"]},{"1330735480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735483, 1330735477, 1330735485, 1330735479, 1330735475, 1330735480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10808777809143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:52:33.019754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_56_10407.jpg', '/home/pi/Desktop/images/23012025/03/51/image_23012025_03_52_06_10337.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_16_9406.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_26_10369.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_37_10347.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_46_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_51_56_10407.jpg
/home/pi/Desktop/images/23012025/03/51/image_23012025_03_52_06_10337.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_16_9406.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_26_10369.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_37_10347.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_46_9361.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":["1330735531","1330735519","1330735540","1330735516","1330735538","1330735523"],"photo_ids_order":["1330735516","1330735519","1330735523","1330735531","1330735538","1330735540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86236fee98a473c5d3a7a0ad80d975e6.jpg","text":"TemporaryFile(/tmp/multipartBody6738441517155760252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600813916,"filename":"image_23012025_03_52_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/941e5af195ced75c11fbe073239efef8.jpg","text":"TemporaryFile(/tmp/multipartBody1372503552590878506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600813916,"filename":"image_23012025_03_52_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f16e2b649b805cf1949e25b0fffa53b9.jpg","text":"TemporaryFile(/tmp/multipartBody2087965733340719262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600813916,"filename":"image_23012025_03_52_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a76be152b01df37a5312d85bb9b472ba.jpg","text":"TemporaryFile(/tmp/multipartBody1132374428406201556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600813916,"filename":"image_23012025_03_51_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dd49e008f530a6861a19a75693d4467.jpg","text":"TemporaryFile(/tmp/multipartBody1842631913285562513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600813916,"filename":"image_23012025_03_52_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68fbe2d7b1b533e2e0ab712e668e7568.jpg","text":"TemporaryFile(/tmp/multipartBody6390917743142073263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600813916,"filename":"image_23012025_03_52_16_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735523","file1":"1330735519","file0":"1330735516","file4":"1330735538","file5":"1330735540","file3":"1330735531"},"map_files_photo_id_array":[{"photo_id":"1330735540","filename":"file5"},{"photo_id":"1330735523","filename":"file2"},{"photo_id":"1330735538","filename":"file4"},{"photo_id":"1330735519","filename":"file1"},{"photo_id":"1330735516","filename":"file0"},{"photo_id":"1330735531","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735531":["hashtag1","hashtag2"]},{"1330735519":["hashtag1","hashtag2"]},{"1330735540":["hashtag1","hashtag2"]},{"1330735516":["hashtag1","hashtag2"]},{"1330735538":["hashtag1","hashtag2"]},{"1330735523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735531, 1330735519, 1330735540, 1330735516, 1330735538, 1330735523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9274263381958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:53:32.370980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_56_10349.jpg', '/home/pi/Desktop/images/23012025/03/52/image_23012025_03_53_07_10329.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_16_9367.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_26_10415.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_36_9315.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_46_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_52_56_10349.jpg
/home/pi/Desktop/images/23012025/03/52/image_23012025_03_53_07_10329.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_16_9367.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_26_10415.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_36_9315.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_46_10476.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":["1330735603","1330735572","1330735614","1330735574","1330735649","1330735601"],"photo_ids_order":["1330735572","1330735574","1330735601","1330735603","1330735614","1330735649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10c62c91aba152ff2fd5434a179a8ff5.jpg","text":"TemporaryFile(/tmp/multipartBody5334988252808624465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600873265,"filename":"image_23012025_03_53_26_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd8e04d691967cee70873e6770171beb.jpg","text":"TemporaryFile(/tmp/multipartBody4249422760885999894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600873265,"filename":"image_23012025_03_52_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16c090479c1dfc1fd64f7979481b2df9.jpg","text":"TemporaryFile(/tmp/multipartBody2433207018904456391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600873265,"filename":"image_23012025_03_53_36_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63740223bb4e934793d27139c3b64f24.jpg","text":"TemporaryFile(/tmp/multipartBody6615652273176701795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600873265,"filename":"image_23012025_03_53_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d727bce656065c486ab8c4f1947854ce.jpg","text":"TemporaryFile(/tmp/multipartBody5902810872048968725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600873265,"filename":"image_23012025_03_53_46_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f709a8350f73e025d83119e7b6d1b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6011208933202036573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600873265,"filename":"image_23012025_03_53_16_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735601","file1":"1330735574","file0":"1330735572","file4":"1330735614","file5":"1330735649","file3":"1330735603"},"map_files_photo_id_array":[{"photo_id":"1330735649","filename":"file5"},{"photo_id":"1330735601","filename":"file2"},{"photo_id":"1330735614","filename":"file4"},{"photo_id":"1330735574","filename":"file1"},{"photo_id":"1330735572","filename":"file0"},{"photo_id":"1330735603","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735603":["hashtag1","hashtag2"]},{"1330735572":["hashtag1","hashtag2"]},{"1330735614":["hashtag1","hashtag2"]},{"1330735574":["hashtag1","hashtag2"]},{"1330735649":["hashtag1","hashtag2"]},{"1330735601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735603, 1330735572, 1330735614, 1330735574, 1330735649, 1330735601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21117353439331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:54:32.566130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_57_10396.jpg', '/home/pi/Desktop/images/23012025/03/53/image_23012025_03_54_06_9340.jpg', '/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_36_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_53_57_10396.jpg
/home/pi/Desktop/images/23012025/03/53/image_23012025_03_54_06_9340.jpg
/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_36_10419.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":["1330735797","1330735716","1330735701"],"photo_ids_order":["1330735701","1330735716","1330735797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef72842f0e74a8e43c842a66b1bba6b6.jpg","text":"TemporaryFile(/tmp/multipartBody695305534187529414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600933412,"filename":"image_23012025_03_54_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4eb53479bc30cc35069dce12a906648.jpg","text":"TemporaryFile(/tmp/multipartBody1207025558456433675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600933412,"filename":"image_23012025_03_54_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/225eec6f472ffdb665a0e18d0142d755.jpg","text":"TemporaryFile(/tmp/multipartBody5852949623179444257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600933412,"filename":"image_23012025_03_53_57_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735797","file1":"1330735716","file0":"1330735701"},"map_files_photo_id_array":[{"photo_id":"1330735797","filename":"file2"},{"photo_id":"1330735716","filename":"file1"},{"photo_id":"1330735701","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735797":["hashtag1","hashtag2"]},{"1330735716":["hashtag1","hashtag2"]},{"1330735701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735797, 1330735716, 1330735701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.023086071014404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:55:04.164645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_25_9347.jpg', '/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_35_10445.jpg', '/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_45_9425.jpg', '/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_55_10365.jpg', '/home/pi/Desktop/images/20012025/06/48/image_20012025_06_49_06_10328.jpg', '/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_15_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_25_9347.jpg
/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_35_10445.jpg
/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_45_9425.jpg
/home/pi/Desktop/images/20012025/06/48/image_20012025_06_48_55_10365.jpg
/home/pi/Desktop/images/20012025/06/48/image_20012025_06_49_06_10328.jpg
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_15_9425.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":["1330735930","1330735918","1330735920","1330735922","1330735916","1330735925"],"photo_ids_order":["1330735916","1330735918","1330735920","1330735922","1330735925","1330735930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1190f8a9f980bd30a3a822e543e4ba6f.jpg","text":"TemporaryFile(/tmp/multipartBody7866674206763256069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600967994,"filename":"image_20012025_06_49_15_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed6e8bb376da7b1faec4b61a2bc884b6.jpg","text":"TemporaryFile(/tmp/multipartBody710904519065729337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600967994,"filename":"image_20012025_06_48_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d44e606e2ddadd1912a91a5897ec8472.jpg","text":"TemporaryFile(/tmp/multipartBody7447156743836598867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600967994,"filename":"image_20012025_06_48_45_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/762e7f599ed1f25b09a4d54551698e56.jpg","text":"TemporaryFile(/tmp/multipartBody357472630526281588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600967994,"filename":"image_20012025_06_48_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fabd575ba47567912edacb2a560a9ab.jpg","text":"TemporaryFile(/tmp/multipartBody7226852419566435658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600967994,"filename":"image_20012025_06_48_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91e652529e316e8fd1c914e32efe3b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8071936786732072634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737600967994,"filename":"image_20012025_06_49_06_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735920","file1":"1330735918","file0":"1330735916","file4":"1330735925","file5":"1330735930","file3":"1330735922"},"map_files_photo_id_array":[{"photo_id":"1330735930","filename":"file5"},{"photo_id":"1330735920","filename":"file2"},{"photo_id":"1330735925","filename":"file4"},{"photo_id":"1330735918","filename":"file1"},{"photo_id":"1330735916","filename":"file0"},{"photo_id":"1330735922","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330735930":["hashtag1","hashtag2"]},{"1330735918":["hashtag1","hashtag2"]},{"1330735920":["hashtag1","hashtag2"]},{"1330735922":["hashtag1","hashtag2"]},{"1330735916":["hashtag1","hashtag2"]},{"1330735925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330735930, 1330735918, 1330735920, 1330735922, 1330735916, 1330735925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.22073435783386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:56:03.829517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_47_10368.jpg', '/home/pi/Desktop/images/23012025/03/54/image_23012025_03_55_06_10325.jpg', '/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_17_10373.jpg', '/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_26_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/54/image_23012025_03_54_47_10368.jpg
/home/pi/Desktop/images/23012025/03/54/image_23012025_03_55_06_10325.jpg
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_17_10373.jpg
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_26_9351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330735942","1330735944","1330735940","1330735943"],"photo_ids_order":["1330735940","1330735942","1330735943","1330735944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b10f1c4387dc3647fcb67ce1b2bd79c0.jpg","text":"TemporaryFile(/tmp/multipartBody8664837810414635109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601024729,"filename":"image_23012025_03_55_06_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c96acb07ec9e4048afae7d3285c6e36.jpg","text":"TemporaryFile(/tmp/multipartBody7796691568518977561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601024729,"filename":"image_23012025_03_55_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abe1d84d6bbc0a6a8d55b4546017347f.jpg","text":"TemporaryFile(/tmp/multipartBody7889521376080796030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601024729,"filename":"image_23012025_03_54_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc87aff0deb6e23ceb323ed305567b8d.jpg","text":"TemporaryFile(/tmp/multipartBody4752325418240061069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601024729,"filename":"image_23012025_03_55_17_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330735943","file1":"1330735942","file0":"1330735940","file3":"1330735944"},"map_files_photo_id_array":[{"photo_id":"1330735943","filename":"file2"},{"photo_id":"1330735942","filename":"file1"},{"photo_id":"1330735940","filename":"file0"},{"photo_id":"1330735944","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330735942":["hashtag1","hashtag2"]},{"1330735944":["hashtag1","hashtag2"]},{"1330735940":["hashtag1","hashtag2"]},{"1330735943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330735942, 1330735944, 1330735940, 1330735943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.43285346031189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:56:33.063678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_56_10462.jpg', '/home/pi/Desktop/images/23012025/03/55/image_23012025_03_56_06_9869.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_17_10472.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_26_9340.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_36_10345.jpg', '/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_47_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_55_56_10462.jpg
/home/pi/Desktop/images/23012025/03/55/image_23012025_03_56_06_9869.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_17_10472.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_26_9340.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_36_10345.jpg
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_47_10411.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":["1330736101","1330736097","1330736076","1330736106","1330736114","1330736123"],"photo_ids_order":["1330736076","1330736097","1330736101","1330736106","1330736114","1330736123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c960abfca22ca2a2bb562835a82f189.jpg","text":"TemporaryFile(/tmp/multipartBody2748250108531499000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601053956,"filename":"image_23012025_03_56_17_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e120dffb569e58cf262bc1367d1eceb2.jpg","text":"TemporaryFile(/tmp/multipartBody790273690075703035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601053956,"filename":"image_23012025_03_56_06_9869.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/956b0adc20a634d431c3960f110866ec.jpg","text":"TemporaryFile(/tmp/multipartBody5047535847337844762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601053956,"filename":"image_23012025_03_55_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/650963b925cf9c96fd57fe7dbbe4dc32.jpg","text":"TemporaryFile(/tmp/multipartBody2374208008784032429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601053956,"filename":"image_23012025_03_56_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18c53a046f5473eb2071c45b47b09c1b.jpg","text":"TemporaryFile(/tmp/multipartBody8598388754624624002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601053956,"filename":"image_23012025_03_56_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5801a03ff4d4de4ae7920d14c16cc850.jpg","text":"TemporaryFile(/tmp/multipartBody4163364535376740899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601053956,"filename":"image_23012025_03_56_47_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330736101","file1":"1330736097","file0":"1330736076","file4":"1330736114","file5":"1330736123","file3":"1330736106"},"map_files_photo_id_array":[{"photo_id":"1330736123","filename":"file5"},{"photo_id":"1330736101","filename":"file2"},{"photo_id":"1330736114","filename":"file4"},{"photo_id":"1330736097","filename":"file1"},{"photo_id":"1330736076","filename":"file0"},{"photo_id":"1330736106","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330736101":["hashtag1","hashtag2"]},{"1330736097":["hashtag1","hashtag2"]},{"1330736076":["hashtag1","hashtag2"]},{"1330736106":["hashtag1","hashtag2"]},{"1330736114":["hashtag1","hashtag2"]},{"1330736123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330736101, 1330736097, 1330736076, 1330736106, 1330736114, 1330736123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97250056266785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 03:57:32.247274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_25_10399.jpg', '/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_35_9342.jpg', '/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_55_10343.jpg', '/home/pi/Desktop/images/20012025/06/49/image_20012025_06_50_05_9411.jpg', '/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_15_10334.jpg', '/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_35_10041.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_25_10399.jpg
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_35_9342.jpg
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_55_10343.jpg
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_50_05_9411.jpg
/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_15_10334.jpg
/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_35_10041.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 03:59:04.495954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_25_10399.jpg', '/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_35_9342.jpg', '/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_55_10343.jpg', '/home/pi/Desktop/images/20012025/06/49/image_20012025_06_50_05_9411.jpg', '/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_15_10334.jpg', '/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_35_10041.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_25_10399.jpg
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_35_9342.jpg
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_49_55_10343.jpg
/home/pi/Desktop/images/20012025/06/49/image_20012025_06_50_05_9411.jpg
/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_15_10334.jpg
/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_35_10041.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":["1330736355","1330736357","1330736360","1330736348","1330736350","1330736344"],"photo_ids_order":["1330736344","1330736348","1330736350","1330736355","1330736357","1330736360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1644c51222e01fbd39ef352fbc7e0a96.jpg","text":"TemporaryFile(/tmp/multipartBody1146106451062207796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601206314,"filename":"image_20012025_06_50_05_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f61e87322f5c36bedb3dbf4cafdd35ef.jpg","text":"TemporaryFile(/tmp/multipartBody6030858588243181410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601206314,"filename":"image_20012025_06_50_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95a38dc5861c7066461102d86b2150dc.jpg","text":"TemporaryFile(/tmp/multipartBody6306546423500210110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601206314,"filename":"image_20012025_06_50_35_10041.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b198fa0f79408770815523284809121.jpg","text":"TemporaryFile(/tmp/multipartBody9114473568846616608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601206314,"filename":"image_20012025_06_49_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cba6b095ba99c351d0a71fff11181867.jpg","text":"TemporaryFile(/tmp/multipartBody7233105629177031309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601206314,"filename":"image_20012025_06_49_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32f248e98aad3e3ed6e253cf3a09b98a.jpg","text":"TemporaryFile(/tmp/multipartBody5813489517543459637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601206314,"filename":"image_20012025_06_49_25_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330736350","file1":"1330736348","file0":"1330736344","file4":"1330736357","file5":"1330736360","file3":"1330736355"},"map_files_photo_id_array":[{"photo_id":"1330736360","filename":"file5"},{"photo_id":"1330736350","filename":"file2"},{"photo_id":"1330736357","filename":"file4"},{"photo_id":"1330736348","filename":"file1"},{"photo_id":"1330736344","filename":"file0"},{"photo_id":"1330736355","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330736355":["hashtag1","hashtag2"]},{"1330736357":["hashtag1","hashtag2"]},{"1330736360":["hashtag1","hashtag2"]},{"1330736348":["hashtag1","hashtag2"]},{"1330736350":["hashtag1","hashtag2"]},{"1330736344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330736355, 1330736357, 1330736360, 1330736348, 1330736350, 1330736344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.968498945236206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 03:59:52.962856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_45_10394.jpg', '/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_55_10348.jpg', '/home/pi/Desktop/images/20012025/06/50/image_20012025_06_51_05_9488.jpg', '/home/pi/Desktop/images/20012025/06/51/image_20012025_06_51_26_10351.jpg', '/home/pi/Desktop/images/20012025/06/51/image_20012025_06_51_35_9425.jpg', '/home/pi/Desktop/images/20012025/06/51/image_20012025_06_51_55_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_45_10394.jpg
/home/pi/Desktop/images/20012025/06/50/image_20012025_06_50_55_10348.jpg
/home/pi/Desktop/images/20012025/06/50/image_20012025_06_51_05_9488.jpg
/home/pi/Desktop/images/20012025/06/51/image_20012025_06_51_26_10351.jpg
/home/pi/Desktop/images/20012025/06/51/image_20012025_06_51_35_9425.jpg
/home/pi/Desktop/images/20012025/06/51/image_20012025_06_51_55_9399.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":["1330736391","1330736370","1330736412","1330736390","1330736366","1330736368"],"photo_ids_order":["1330736366","1330736368","1330736370","1330736390","1330736391","1330736412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/091c7a06e31cd0393a130e418fcbd38d.jpg","text":"TemporaryFile(/tmp/multipartBody7864434740327925509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601255338,"filename":"image_20012025_06_51_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6afad0e9ade0bd83c3ca9b82f2c1e84.jpg","text":"TemporaryFile(/tmp/multipartBody4911808627887839743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601255338,"filename":"image_20012025_06_51_05_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc7abb94fba881bb19267ef336e2ebc3.jpg","text":"TemporaryFile(/tmp/multipartBody4745999775715027459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601255338,"filename":"image_20012025_06_51_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7ec0e6db341414bc69a01fb1ea60d08.jpg","text":"TemporaryFile(/tmp/multipartBody2757688926227270324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601255338,"filename":"image_20012025_06_51_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06816c5c6ae1aa0bf9e784c88978be90.jpg","text":"TemporaryFile(/tmp/multipartBody7677388849146038457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601255338,"filename":"image_20012025_06_50_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ebc07a8abeb4fcd07f6755b972b0fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8770585456575651545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601255338,"filename":"image_20012025_06_50_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330736370","file1":"1330736368","file0":"1330736366","file4":"1330736391","file5":"1330736412","file3":"1330736390"},"map_files_photo_id_array":[{"photo_id":"1330736412","filename":"file5"},{"photo_id":"1330736370","filename":"file2"},{"photo_id":"1330736391","filename":"file4"},{"photo_id":"1330736368","filename":"file1"},{"photo_id":"1330736366","filename":"file0"},{"photo_id":"1330736390","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330736391":["hashtag1","hashtag2"]},{"1330736370":["hashtag1","hashtag2"]},{"1330736412":["hashtag1","hashtag2"]},{"1330736390":["hashtag1","hashtag2"]},{"1330736366":["hashtag1","hashtag2"]},{"1330736368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330736391, 1330736370, 1330736412, 1330736390, 1330736366, 1330736368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.292399406433105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:00:42.314177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_56_9333.jpg', '/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_46_10336.jpg', '/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_56_9336.jpg', '/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_16_10081.jpg', '/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_37_10348.jpg', '/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_46_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/03/56/image_23012025_03_56_56_9333.jpg
/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_46_10336.jpg
/home/pi/Desktop/images/23012025/03/59/image_23012025_03_59_56_9336.jpg
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_16_10081.jpg
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_37_10348.jpg
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_46_9388.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":["1330736691","1330736585","1330736495","1330736980","1330736875","1330736947"],"photo_ids_order":["1330736495","1330736585","1330736691","1330736875","1330736947","1330736980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3de8b8452abc7aa58bb47cc411c96a8.jpg","text":"TemporaryFile(/tmp/multipartBody738697032850667155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601303243,"filename":"image_23012025_03_59_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20b128c609f83253cc4fe54e427ea20b.jpg","text":"TemporaryFile(/tmp/multipartBody5092667249343783505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601303243,"filename":"image_23012025_03_59_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3478cc5c0f866d45991eb3fcd7c91ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1080154418611506622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601303243,"filename":"image_23012025_03_56_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f774b11d7e690888141c126e2542ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4043016947466153819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601303243,"filename":"image_23012025_04_00_46_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6ed872bb68a0cb393b1e2ebbab113e8.jpg","text":"TemporaryFile(/tmp/multipartBody8064220592920455301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601303243,"filename":"image_23012025_04_00_16_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0664c71336e0d33efd54169c22b5b354.jpg","text":"TemporaryFile(/tmp/multipartBody5087726714056629942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601303243,"filename":"image_23012025_04_00_37_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330736691","file1":"1330736585","file0":"1330736495","file4":"1330736947","file5":"1330736980","file3":"1330736875"},"map_files_photo_id_array":[{"photo_id":"1330736980","filename":"file5"},{"photo_id":"1330736691","filename":"file2"},{"photo_id":"1330736947","filename":"file4"},{"photo_id":"1330736585","filename":"file1"},{"photo_id":"1330736495","filename":"file0"},{"photo_id":"1330736875","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330736691":["hashtag1","hashtag2"]},{"1330736585":["hashtag1","hashtag2"]},{"1330736495":["hashtag1","hashtag2"]},{"1330736980":["hashtag1","hashtag2"]},{"1330736875":["hashtag1","hashtag2"]},{"1330736947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330736691, 1330736585, 1330736495, 1330736980, 1330736875, 1330736947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60909843444824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:01:32.310611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_57_10334.jpg', '/home/pi/Desktop/images/23012025/04/00/image_23012025_04_01_07_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_00_57_10334.jpg
/home/pi/Desktop/images/23012025/04/00/image_23012025_04_01_07_10392.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":["1330736993","1330736989"],"photo_ids_order":["1330736989","1330736993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b9cdb3e3294f79e24909c85e483cc08.jpg","text":"TemporaryFile(/tmp/multipartBody5076281275717366955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601353147,"filename":"image_23012025_04_01_07_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfbd809f64b945365c8dc33018913d0a.jpg","text":"TemporaryFile(/tmp/multipartBody1669770081251419225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601353147,"filename":"image_23012025_04_00_57_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330736993","file0":"1330736989"},"map_files_photo_id_array":[{"photo_id":"1330736993","filename":"file1"},{"photo_id":"1330736989","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330736993":["hashtag1","hashtag2"]},{"1330736989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330736993, 1330736989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.34704613685608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:02:03.135229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/51/image_20012025_06_52_05_10347.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_16_10438.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_25_9444.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_35_10353.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_45_9386.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_55_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/51/image_20012025_06_52_05_10347.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_16_10438.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_25_9444.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_35_10353.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_45_9386.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_55_10374.jpg
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: 1.1800765991210938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:02:32.465787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_17_9382.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_17_10348.jpg', '/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_37_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/01/image_23012025_04_01_17_9382.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_17_10348.jpg
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_37_10326.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":["1330737035","1330737038","1330737043"],"photo_ids_order":["1330737035","1330737038","1330737043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/281196911ba0637e4e4d0afb545fdedb.jpg","text":"TemporaryFile(/tmp/multipartBody8198227725545559558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601413319,"filename":"image_23012025_04_01_17_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c42fe37ef6518f7f0dba33cdb520b74a.jpg","text":"TemporaryFile(/tmp/multipartBody8386369466295555846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601413319,"filename":"image_23012025_04_02_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56285efdbd74f512ec46aee0b82419da.jpg","text":"TemporaryFile(/tmp/multipartBody4005655928659120801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601413319,"filename":"image_23012025_04_02_37_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330737043","file1":"1330737038","file0":"1330737035"},"map_files_photo_id_array":[{"photo_id":"1330737043","filename":"file2"},{"photo_id":"1330737038","filename":"file1"},{"photo_id":"1330737035","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330737035":["hashtag1","hashtag2"]},{"1330737038":["hashtag1","hashtag2"]},{"1330737043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330737035, 1330737038, 1330737043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.726146697998047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:03:04.254988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/51/image_20012025_06_52_05_10347.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_16_10438.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_25_9444.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_35_10353.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_45_9386.jpg', '/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_55_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/51/image_20012025_06_52_05_10347.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_16_10438.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_25_9444.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_35_10353.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_45_9386.jpg
/home/pi/Desktop/images/20012025/06/52/image_20012025_06_52_55_10374.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":["1330737060","1330737089","1330737083","1330737065","1330737110","1330737067"],"photo_ids_order":["1330737060","1330737065","1330737067","1330737083","1330737089","1330737110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1980b636829fc1f19f90343eb7157cae.jpg","text":"TemporaryFile(/tmp/multipartBody4463683767076668275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601446254,"filename":"image_20012025_06_52_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59a4a4cc6c95bc06173c2db17c89c4c4.jpg","text":"TemporaryFile(/tmp/multipartBody1787210188613185997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601446254,"filename":"image_20012025_06_52_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c17fcad72632bc9e3397503983344e76.jpg","text":"TemporaryFile(/tmp/multipartBody8235572931237327040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601446254,"filename":"image_20012025_06_52_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73b6e336e762dbe379f6833265087343.jpg","text":"TemporaryFile(/tmp/multipartBody481222759975283351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601446254,"filename":"image_20012025_06_52_16_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4d448e8d716c93dbacaea964a1e760c.jpg","text":"TemporaryFile(/tmp/multipartBody1817352371556446352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601446254,"filename":"image_20012025_06_52_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/496a8bee25905461dfea9555a2079b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3669842072451159274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601446254,"filename":"image_20012025_06_52_25_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330737067","file1":"1330737065","file0":"1330737060","file4":"1330737089","file5":"1330737110","file3":"1330737083"},"map_files_photo_id_array":[{"photo_id":"1330737110","filename":"file5"},{"photo_id":"1330737067","filename":"file2"},{"photo_id":"1330737089","filename":"file4"},{"photo_id":"1330737065","filename":"file1"},{"photo_id":"1330737060","filename":"file0"},{"photo_id":"1330737083","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330737060":["hashtag1","hashtag2"]},{"1330737089":["hashtag1","hashtag2"]},{"1330737083":["hashtag1","hashtag2"]},{"1330737065":["hashtag1","hashtag2"]},{"1330737110":["hashtag1","hashtag2"]},{"1330737067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330737060, 1330737089, 1330737083, 1330737065, 1330737110, 1330737067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15911316871643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:03:52.652962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/53/image_20012025_06_53_36_10335.jpg', '/home/pi/Desktop/images/20012025/06/53/image_20012025_06_53_45_9418.jpg', '/home/pi/Desktop/images/20012025/06/53/image_20012025_06_53_55_10340.jpg', '/home/pi/Desktop/images/20012025/06/53/image_20012025_06_54_05_9387.jpg', '/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_15_10334.jpg', '/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_25_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/53/image_20012025_06_53_36_10335.jpg
/home/pi/Desktop/images/20012025/06/53/image_20012025_06_53_45_9418.jpg
/home/pi/Desktop/images/20012025/06/53/image_20012025_06_53_55_10340.jpg
/home/pi/Desktop/images/20012025/06/53/image_20012025_06_54_05_9387.jpg
/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_15_10334.jpg
/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_25_10353.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":["1330737159","1330737150","1330737153","1330737126","1330737155","1330737124"],"photo_ids_order":["1330737124","1330737126","1330737150","1330737153","1330737155","1330737159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a73a3b6d2e3fc61551a1d8fd479792d7.jpg","text":"TemporaryFile(/tmp/multipartBody3588089379074930789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601495017,"filename":"image_20012025_06_54_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/960105cd1a5bb937e0800e6b4ca765ea.jpg","text":"TemporaryFile(/tmp/multipartBody4793524803188540074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601495017,"filename":"image_20012025_06_53_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/136190ac6dac4d7bb26c5247b8323543.jpg","text":"TemporaryFile(/tmp/multipartBody1211670872645566579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601495017,"filename":"image_20012025_06_54_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d72ef7fa2872f5b308640938946cfa7d.jpg","text":"TemporaryFile(/tmp/multipartBody5594099575187301960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601495017,"filename":"image_20012025_06_53_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e6cb0aa26bce31d277c153071b7ec43.jpg","text":"TemporaryFile(/tmp/multipartBody265469842190207246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601495017,"filename":"image_20012025_06_54_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/703205e0fd21d27a7031bcc4a84ef5fc.jpg","text":"TemporaryFile(/tmp/multipartBody1248650537524578846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601495017,"filename":"image_20012025_06_53_36_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330737150","file1":"1330737126","file0":"1330737124","file4":"1330737155","file5":"1330737159","file3":"1330737153"},"map_files_photo_id_array":[{"photo_id":"1330737159","filename":"file5"},{"photo_id":"1330737150","filename":"file2"},{"photo_id":"1330737155","filename":"file4"},{"photo_id":"1330737126","filename":"file1"},{"photo_id":"1330737124","filename":"file0"},{"photo_id":"1330737153","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330737159":["hashtag1","hashtag2"]},{"1330737150":["hashtag1","hashtag2"]},{"1330737153":["hashtag1","hashtag2"]},{"1330737126":["hashtag1","hashtag2"]},{"1330737155":["hashtag1","hashtag2"]},{"1330737124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330737159, 1330737150, 1330737153, 1330737126, 1330737155, 1330737124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.154664039611816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:04:42.995065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_47_10363.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_17_10470.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_46_9459.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_57_10355.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_04_07_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_47_10363.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_17_10470.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_46_9459.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_57_10355.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_04_07_10333.jpg
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: 0.5182788372039795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:04:52.904339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_35_9453.jpg', '/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_45_10348.jpg', '/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_56_10360.jpg', '/home/pi/Desktop/images/20012025/06/54/image_20012025_06_55_05_9338.jpg', '/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_15_10370.jpg', '/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_25_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_35_9453.jpg
/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_45_10348.jpg
/home/pi/Desktop/images/20012025/06/54/image_20012025_06_54_56_10360.jpg
/home/pi/Desktop/images/20012025/06/54/image_20012025_06_55_05_9338.jpg
/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_15_10370.jpg
/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_25_9352.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":["1330737249","1330737237","1330737242","1330737245","1330737248","1330737247"],"photo_ids_order":["1330737237","1330737242","1330737245","1330737247","1330737248","1330737249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54167eab4f7be77607b2fe7fdd65034a.jpg","text":"TemporaryFile(/tmp/multipartBody7323537954665401317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601555268,"filename":"image_20012025_06_55_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/710b93871e116681ecb7b544b6a92956.jpg","text":"TemporaryFile(/tmp/multipartBody932761166433365918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601555268,"filename":"image_20012025_06_54_35_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fad4bc33a9989b6529c6e64bd737a053.jpg","text":"TemporaryFile(/tmp/multipartBody6289266122325959172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601555268,"filename":"image_20012025_06_54_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58b20c3b1cdd5c19149b394dbd4f4319.jpg","text":"TemporaryFile(/tmp/multipartBody602968281801759521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601555268,"filename":"image_20012025_06_54_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0573f09fe439f40fef8278f7bbd37fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2029992651114432585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601555268,"filename":"image_20012025_06_55_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db6d15b7e7e31d12cbd5bb037d14773a.jpg","text":"TemporaryFile(/tmp/multipartBody7506223227759668654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601555268,"filename":"image_20012025_06_55_05_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330737245","file1":"1330737242","file0":"1330737237","file4":"1330737248","file5":"1330737249","file3":"1330737247"},"map_files_photo_id_array":[{"photo_id":"1330737249","filename":"file5"},{"photo_id":"1330737245","filename":"file2"},{"photo_id":"1330737248","filename":"file4"},{"photo_id":"1330737242","filename":"file1"},{"photo_id":"1330737237","filename":"file0"},{"photo_id":"1330737247","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330737249":["hashtag1","hashtag2"]},{"1330737237":["hashtag1","hashtag2"]},{"1330737242":["hashtag1","hashtag2"]},{"1330737245":["hashtag1","hashtag2"]},{"1330737248":["hashtag1","hashtag2"]},{"1330737247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330737249, 1330737237, 1330737242, 1330737245, 1330737248, 1330737247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18605899810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:05:43.156894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_47_10363.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_17_10470.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_46_9459.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_57_10355.jpg', '/home/pi/Desktop/images/23012025/04/03/image_23012025_04_04_07_10333.jpg', '/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_46_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/02/image_23012025_04_02_47_10363.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_17_10470.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_46_9459.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_03_57_10355.jpg
/home/pi/Desktop/images/23012025/04/03/image_23012025_04_04_07_10333.jpg
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_04_46_9348.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":["1330737300","1330737303","1330737308","1330737298","1330737271","1330737304"],"photo_ids_order":["1330737271","1330737298","1330737300","1330737303","1330737304","1330737308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/523c4f4a9a0e5e019d8f1cbdea67c97a.jpg","text":"TemporaryFile(/tmp/multipartBody2096691565970778253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601604064,"filename":"image_23012025_04_03_46_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbe0a28a5fc000afc9b6ac3ed57bf8b9.jpg","text":"TemporaryFile(/tmp/multipartBody1026880580438210834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601604064,"filename":"image_23012025_04_03_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d328bfa97f35b1808fc610c2fd6a155.jpg","text":"TemporaryFile(/tmp/multipartBody3155502058101355636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601604064,"filename":"image_23012025_04_04_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5305fc9e49889295e5f18b7c1beaa73c.jpg","text":"TemporaryFile(/tmp/multipartBody2139169884174917316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601604064,"filename":"image_23012025_04_03_17_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/478eab17a2e9ce21feea23a057f9607a.jpg","text":"TemporaryFile(/tmp/multipartBody3221209451391226559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601604064,"filename":"image_23012025_04_02_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75fbb6e6934b487111b98c3e4f495c47.jpg","text":"TemporaryFile(/tmp/multipartBody7003352185692935858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601604064,"filename":"image_23012025_04_04_07_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330737300","file1":"1330737298","file0":"1330737271","file4":"1330737304","file5":"1330737308","file3":"1330737303"},"map_files_photo_id_array":[{"photo_id":"1330737308","filename":"file5"},{"photo_id":"1330737300","filename":"file2"},{"photo_id":"1330737304","filename":"file4"},{"photo_id":"1330737298","filename":"file1"},{"photo_id":"1330737271","filename":"file0"},{"photo_id":"1330737303","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330737300":["hashtag1","hashtag2"]},{"1330737303":["hashtag1","hashtag2"]},{"1330737308":["hashtag1","hashtag2"]},{"1330737298":["hashtag1","hashtag2"]},{"1330737271":["hashtag1","hashtag2"]},{"1330737304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330737300, 1330737303, 1330737308, 1330737298, 1330737271, 1330737304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28983807563782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:06:32.498849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/04/image_23012025_04_05_06_9480.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_17_10365.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_47_10361.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_56_9466.jpg', '/home/pi/Desktop/images/23012025/04/05/image_23012025_04_06_07_10351.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_17_10503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/04/image_23012025_04_05_06_9480.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_17_10365.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_47_10361.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_05_56_9466.jpg
/home/pi/Desktop/images/23012025/04/05/image_23012025_04_06_07_10351.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_17_10503.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":["1330737440","1330737997","1330737617","1330737835","1330738254","1330738176"],"photo_ids_order":["1330737440","1330737617","1330737835","1330737997","1330738176","1330738254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b3234101b63ec1b9f496f60490ef25b.jpg","text":"TemporaryFile(/tmp/multipartBody3972790634217073350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601653396,"filename":"image_23012025_04_05_06_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c428035297a8a58541989e46aaa5a915.jpg","text":"TemporaryFile(/tmp/multipartBody5997337328718826654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601653396,"filename":"image_23012025_04_05_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76400f30ffb53a14668b2e235bc9bd0b.jpg","text":"TemporaryFile(/tmp/multipartBody6841401488083180748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601653396,"filename":"image_23012025_04_05_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65c4ae3a21abcde172346b87e8d7926f.jpg","text":"TemporaryFile(/tmp/multipartBody6368016614083866681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601653396,"filename":"image_23012025_04_05_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ac95de106ae0a6550128e664b26fc44.jpg","text":"TemporaryFile(/tmp/multipartBody5083293445368638310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601653396,"filename":"image_23012025_04_06_17_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a800a20ae7372bc2b8079f34a8586424.jpg","text":"TemporaryFile(/tmp/multipartBody2944559541752749457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601653396,"filename":"image_23012025_04_06_07_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330737835","file1":"1330737617","file0":"1330737440","file4":"1330738176","file5":"1330738254","file3":"1330737997"},"map_files_photo_id_array":[{"photo_id":"1330738254","filename":"file5"},{"photo_id":"1330737835","filename":"file2"},{"photo_id":"1330738176","filename":"file4"},{"photo_id":"1330737617","filename":"file1"},{"photo_id":"1330737440","filename":"file0"},{"photo_id":"1330737997","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330737440":["hashtag1","hashtag2"]},{"1330737997":["hashtag1","hashtag2"]},{"1330737617":["hashtag1","hashtag2"]},{"1330737835":["hashtag1","hashtag2"]},{"1330738254":["hashtag1","hashtag2"]},{"1330738176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330737440, 1330737997, 1330737617, 1330737835, 1330738254, 1330738176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.25473976135254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:07:32.691191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_26_9346.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_37_10331.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_47_10396.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_57_9363.jpg', '/home/pi/Desktop/images/23012025/04/06/image_23012025_04_07_07_10338.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_17_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_26_9346.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_37_10331.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_47_10396.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_06_57_9363.jpg
/home/pi/Desktop/images/23012025/04/06/image_23012025_04_07_07_10338.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_17_10346.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":["1330738326","1330738568","1330738339","1330738408","1330738629","1330738614"],"photo_ids_order":["1330738326","1330738339","1330738408","1330738568","1330738614","1330738629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a8576f92a443c081c687410ff50193d.jpg","text":"TemporaryFile(/tmp/multipartBody4133988647140927170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601713657,"filename":"image_23012025_04_06_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2a845afeb4cf607422a10ffbdcdf669.jpg","text":"TemporaryFile(/tmp/multipartBody7254312206785189706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601713657,"filename":"image_23012025_04_06_57_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd3c9e0f1042ef89f97e6969af979ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6098212903632632461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601713657,"filename":"image_23012025_04_06_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff4c9ab78973c2ea00cd41abac77fc81.jpg","text":"TemporaryFile(/tmp/multipartBody5057102721374563241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601713657,"filename":"image_23012025_04_06_47_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34cf8d410c5e4f13895f3d23a1d273dc.jpg","text":"TemporaryFile(/tmp/multipartBody1030790369319097788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601713657,"filename":"image_23012025_04_07_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbdba8a00af3f58ea18a34d0be4ab2e8.jpg","text":"TemporaryFile(/tmp/multipartBody135365477824348853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601713657,"filename":"image_23012025_04_07_07_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330738408","file1":"1330738339","file0":"1330738326","file4":"1330738614","file5":"1330738629","file3":"1330738568"},"map_files_photo_id_array":[{"photo_id":"1330738629","filename":"file5"},{"photo_id":"1330738408","filename":"file2"},{"photo_id":"1330738614","filename":"file4"},{"photo_id":"1330738339","filename":"file1"},{"photo_id":"1330738326","filename":"file0"},{"photo_id":"1330738568","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330738326":["hashtag1","hashtag2"]},{"1330738568":["hashtag1","hashtag2"]},{"1330738339":["hashtag1","hashtag2"]},{"1330738408":["hashtag1","hashtag2"]},{"1330738629":["hashtag1","hashtag2"]},{"1330738614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330738326, 1330738568, 1330738339, 1330738408, 1330738629, 1330738614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91591715812683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:08:32.973071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_27_9338.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_37_10410.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_46_9355.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_57_10350.jpg', '/home/pi/Desktop/images/23012025/04/07/image_23012025_04_08_07_10383.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_16_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_27_9338.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_37_10410.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_46_9355.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_07_57_10350.jpg
/home/pi/Desktop/images/23012025/04/07/image_23012025_04_08_07_10383.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_16_9415.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":["1330738892","1330738871","1330738838","1330738893","1330738819","1330738860"],"photo_ids_order":["1330738819","1330738838","1330738860","1330738871","1330738892","1330738893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe07ef71ffce9660a62cdb8d3350d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5083398531289408100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601773875,"filename":"image_23012025_04_08_07_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53ea6de1a0414f57c139cc82b76e708b.jpg","text":"TemporaryFile(/tmp/multipartBody243148199487361804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601773875,"filename":"image_23012025_04_07_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65a2db879bd584e618139151faa1abbe.jpg","text":"TemporaryFile(/tmp/multipartBody8972142768756479461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601773875,"filename":"image_23012025_04_07_37_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d769bd1a8039f9d3137e36f3c2e7578.jpg","text":"TemporaryFile(/tmp/multipartBody8584819013834265551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601773875,"filename":"image_23012025_04_08_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8844a4e5f1c077a5b586ad568b49e4bf.jpg","text":"TemporaryFile(/tmp/multipartBody3514885939856872876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601773875,"filename":"image_23012025_04_07_27_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e85aa07021e5c97e0bf96ecf3b1773f.jpg","text":"TemporaryFile(/tmp/multipartBody5216009441982848589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601773875,"filename":"image_23012025_04_07_46_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330738860","file1":"1330738838","file0":"1330738819","file4":"1330738892","file5":"1330738893","file3":"1330738871"},"map_files_photo_id_array":[{"photo_id":"1330738893","filename":"file5"},{"photo_id":"1330738860","filename":"file2"},{"photo_id":"1330738892","filename":"file4"},{"photo_id":"1330738838","filename":"file1"},{"photo_id":"1330738819","filename":"file0"},{"photo_id":"1330738871","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330738892":["hashtag1","hashtag2"]},{"1330738871":["hashtag1","hashtag2"]},{"1330738838":["hashtag1","hashtag2"]},{"1330738893":["hashtag1","hashtag2"]},{"1330738819":["hashtag1","hashtag2"]},{"1330738860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330738892, 1330738871, 1330738838, 1330738893, 1330738819, 1330738860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45277142524719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:09:32.254738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_27_10342.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_36_9424.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_47_10363.jpg', '/home/pi/Desktop/images/23012025/04/08/image_23012025_04_09_06_9427.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_17_10346.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_27_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_27_10342.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_36_9424.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_08_47_10363.jpg
/home/pi/Desktop/images/23012025/04/08/image_23012025_04_09_06_9427.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_17_10346.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_27_10417.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":["1330738920","1330738914","1330738910","1330738901","1330738918","1330738905"],"photo_ids_order":["1330738901","1330738905","1330738910","1330738914","1330738918","1330738920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b5a79d7aea1521436f952e5783b7507.jpg","text":"TemporaryFile(/tmp/multipartBody3002179133598615588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601833146,"filename":"image_23012025_04_09_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ac3761c7e658f2141614515b146487d.jpg","text":"TemporaryFile(/tmp/multipartBody2118449892516352709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601833146,"filename":"image_23012025_04_09_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a80cb22cca388f990750fd5c985890c.jpg","text":"TemporaryFile(/tmp/multipartBody5468853832457304456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601833146,"filename":"image_23012025_04_08_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40b89f49d27309fac21d944bda5b1e2c.jpg","text":"TemporaryFile(/tmp/multipartBody7813620173474144199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601833146,"filename":"image_23012025_04_08_27_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/682263748aaa0c89963e5bb8ad7867e5.jpg","text":"TemporaryFile(/tmp/multipartBody4410145656081743670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601833146,"filename":"image_23012025_04_09_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7b2a0337f2035fa619c283df9da9960.jpg","text":"TemporaryFile(/tmp/multipartBody1894795726509889781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601833146,"filename":"image_23012025_04_08_36_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330738910","file1":"1330738905","file0":"1330738901","file4":"1330738918","file5":"1330738920","file3":"1330738914"},"map_files_photo_id_array":[{"photo_id":"1330738920","filename":"file5"},{"photo_id":"1330738910","filename":"file2"},{"photo_id":"1330738918","filename":"file4"},{"photo_id":"1330738905","filename":"file1"},{"photo_id":"1330738901","filename":"file0"},{"photo_id":"1330738914","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330738920":["hashtag1","hashtag2"]},{"1330738914":["hashtag1","hashtag2"]},{"1330738910":["hashtag1","hashtag2"]},{"1330738901":["hashtag1","hashtag2"]},{"1330738918":["hashtag1","hashtag2"]},{"1330738905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330738920, 1330738914, 1330738910, 1330738901, 1330738918, 1330738905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96672606468201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:10:32.380064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_37_9402.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_47_10378.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_56_9492.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_10_07_10323.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_17_10387.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_27_9491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_37_9402.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_47_10378.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_56_9492.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_10_07_10323.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_17_10387.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_27_9491.jpg
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: 0.511481761932373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:10:42.438365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_37_9402.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_47_10378.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_56_9492.jpg', '/home/pi/Desktop/images/23012025/04/09/image_23012025_04_10_07_10323.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_17_10387.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_27_9491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_37_9402.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_47_10378.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_09_56_9492.jpg
/home/pi/Desktop/images/23012025/04/09/image_23012025_04_10_07_10323.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_17_10387.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_27_9491.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":["1330738970","1330738988","1330738981","1330738960","1330738992","1330738965"],"photo_ids_order":["1330738960","1330738965","1330738970","1330738981","1330738988","1330738992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6fd3605d7f1ad9151e28e8cf5841fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8483434298341878729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601903344,"filename":"image_23012025_04_09_56_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4665034463057e28487fac04f8bb2a15.jpg","text":"TemporaryFile(/tmp/multipartBody1087419315279274625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601903344,"filename":"image_23012025_04_10_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c3fd60e8592208689ee5529bcd559f2.jpg","text":"TemporaryFile(/tmp/multipartBody3385574555446134588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601903344,"filename":"image_23012025_04_10_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f4f12f94eab8dd5ce706af3e5bff127.jpg","text":"TemporaryFile(/tmp/multipartBody9019826771002754840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601903344,"filename":"image_23012025_04_09_37_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad3bb3ec657ba36d33dd1c206098c1fd.jpg","text":"TemporaryFile(/tmp/multipartBody5662261042613761362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601903344,"filename":"image_23012025_04_10_27_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bb567f8b614a2139b0636ddc7d76749.jpg","text":"TemporaryFile(/tmp/multipartBody107773094035973581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601903344,"filename":"image_23012025_04_09_47_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330738970","file1":"1330738965","file0":"1330738960","file4":"1330738988","file5":"1330738992","file3":"1330738981"},"map_files_photo_id_array":[{"photo_id":"1330738992","filename":"file5"},{"photo_id":"1330738970","filename":"file2"},{"photo_id":"1330738988","filename":"file4"},{"photo_id":"1330738965","filename":"file1"},{"photo_id":"1330738960","filename":"file0"},{"photo_id":"1330738981","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330738970":["hashtag1","hashtag2"]},{"1330738988":["hashtag1","hashtag2"]},{"1330738981":["hashtag1","hashtag2"]},{"1330738960":["hashtag1","hashtag2"]},{"1330738992":["hashtag1","hashtag2"]},{"1330738965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330738970, 1330738988, 1330738981, 1330738960, 1330738992, 1330738965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25010943412781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:11:32.595285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_37_10335.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_46_9390.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_57_10355.jpg', '/home/pi/Desktop/images/23012025/04/10/image_23012025_04_11_07_10452.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_16_9339.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_27_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_37_10335.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_46_9390.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_10_57_10355.jpg
/home/pi/Desktop/images/23012025/04/10/image_23012025_04_11_07_10452.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_16_9339.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_27_10360.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":["1330739072","1330739069","1330739033","1330739095","1330739071","1330739061"],"photo_ids_order":["1330739033","1330739061","1330739069","1330739071","1330739072","1330739095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cb3ae0658415e9ca13f3cd2a4f45804.jpg","text":"TemporaryFile(/tmp/multipartBody5677772517448933741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601953508,"filename":"image_23012025_04_11_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41374bbcbd8821abc048c0a190f66f25.jpg","text":"TemporaryFile(/tmp/multipartBody1483733206993122605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601953508,"filename":"image_23012025_04_10_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb8196809e233c47ef9163ada60b84f8.jpg","text":"TemporaryFile(/tmp/multipartBody9155659547811655079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601953508,"filename":"image_23012025_04_10_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a05db93804f3ec9067ce392c7b6a34e8.jpg","text":"TemporaryFile(/tmp/multipartBody855053561908334089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601953508,"filename":"image_23012025_04_11_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/545e87aaaa092527d3e539002f34550e.jpg","text":"TemporaryFile(/tmp/multipartBody1565655310001770935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601953508,"filename":"image_23012025_04_11_07_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb3a658f0c840123cc71098f4b82fadb.jpg","text":"TemporaryFile(/tmp/multipartBody6481360690751067859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737601953508,"filename":"image_23012025_04_10_46_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330739069","file1":"1330739061","file0":"1330739033","file4":"1330739072","file5":"1330739095","file3":"1330739071"},"map_files_photo_id_array":[{"photo_id":"1330739095","filename":"file5"},{"photo_id":"1330739069","filename":"file2"},{"photo_id":"1330739072","filename":"file4"},{"photo_id":"1330739061","filename":"file1"},{"photo_id":"1330739033","filename":"file0"},{"photo_id":"1330739071","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330739072":["hashtag1","hashtag2"]},{"1330739069":["hashtag1","hashtag2"]},{"1330739033":["hashtag1","hashtag2"]},{"1330739095":["hashtag1","hashtag2"]},{"1330739071":["hashtag1","hashtag2"]},{"1330739061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330739072, 1330739069, 1330739033, 1330739095, 1330739071, 1330739061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61741518974304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:12:32.971104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_37_10350.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_47_9338.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_57_10339.jpg', '/home/pi/Desktop/images/23012025/04/11/image_23012025_04_12_07_10366.jpg', '/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_17_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_37_10350.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_47_9338.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_11_57_10339.jpg
/home/pi/Desktop/images/23012025/04/11/image_23012025_04_12_07_10366.jpg
/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_17_9360.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":["1330739168","1330739147","1330739175","1330739178","1330739180"],"photo_ids_order":["1330739147","1330739168","1330739175","1330739178","1330739180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4989bcde7ad8e64a3fdb76f19eff81b6.jpg","text":"TemporaryFile(/tmp/multipartBody6917643735218416510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602013869,"filename":"image_23012025_04_11_47_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/818c827db544bccd304c5334d1cd8fc4.jpg","text":"TemporaryFile(/tmp/multipartBody4956706460488261034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602013869,"filename":"image_23012025_04_11_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7af9961d8a85b698c7bb890a9476fffb.jpg","text":"TemporaryFile(/tmp/multipartBody4660207857210085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602013869,"filename":"image_23012025_04_11_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e549633441d0627c09e0aa953edf6772.jpg","text":"TemporaryFile(/tmp/multipartBody3963009314066059948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602013869,"filename":"image_23012025_04_12_07_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24c3d9772c0aa21c1fe643b05f170f59.jpg","text":"TemporaryFile(/tmp/multipartBody8981503047070187044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602013869,"filename":"image_23012025_04_12_17_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330739175","file1":"1330739168","file0":"1330739147","file4":"1330739180","file3":"1330739178"},"map_files_photo_id_array":[{"photo_id":"1330739175","filename":"file2"},{"photo_id":"1330739180","filename":"file4"},{"photo_id":"1330739168","filename":"file1"},{"photo_id":"1330739147","filename":"file0"},{"photo_id":"1330739178","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330739168":["hashtag1","hashtag2"]},{"1330739147":["hashtag1","hashtag2"]},{"1330739175":["hashtag1","hashtag2"]},{"1330739178":["hashtag1","hashtag2"]},{"1330739180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330739168, 1330739147, 1330739175, 1330739178, 1330739180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.19471335411072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:13:33.090509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_35_10339.jpg', '/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_55_9396.jpg', '/home/pi/Desktop/images/20012025/06/55/image_20012025_06_56_05_10385.jpg', '/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_16_10400.jpg', '/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_25_9392.jpg', '/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_35_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_35_10339.jpg
/home/pi/Desktop/images/20012025/06/55/image_20012025_06_55_55_9396.jpg
/home/pi/Desktop/images/20012025/06/55/image_20012025_06_56_05_10385.jpg
/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_16_10400.jpg
/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_25_9392.jpg
/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_35_10329.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":["1330739207","1330739242","1330739236","1330739239","1330739244","1330739223"],"photo_ids_order":["1330739207","1330739223","1330739236","1330739239","1330739242","1330739244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86e8b242daf3b40421f787ff66b528b8.jpg","text":"TemporaryFile(/tmp/multipartBody4967762353717193124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602075453,"filename":"image_20012025_06_55_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfc3d5df2dd01e09bd6539e002c2deb8.jpg","text":"TemporaryFile(/tmp/multipartBody5545861149806799607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602075453,"filename":"image_20012025_06_56_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a17f9c8a902f00858aa4f0760228109d.jpg","text":"TemporaryFile(/tmp/multipartBody2818116921354249522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602075453,"filename":"image_20012025_06_56_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35f0ea4ff391a20153ae701e245d0cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3078724325037192531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602075453,"filename":"image_20012025_06_56_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b924206b4f2abc8ee2af52effcb5882.jpg","text":"TemporaryFile(/tmp/multipartBody6090652998167374757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602075453,"filename":"image_20012025_06_56_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/780ebbeba1750549f6475eae04658696.jpg","text":"TemporaryFile(/tmp/multipartBody8147909586488791408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602075453,"filename":"image_20012025_06_55_55_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330739236","file1":"1330739223","file0":"1330739207","file4":"1330739242","file5":"1330739244","file3":"1330739239"},"map_files_photo_id_array":[{"photo_id":"1330739244","filename":"file5"},{"photo_id":"1330739236","filename":"file2"},{"photo_id":"1330739242","filename":"file4"},{"photo_id":"1330739223","filename":"file1"},{"photo_id":"1330739207","filename":"file0"},{"photo_id":"1330739239","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330739207":["hashtag1","hashtag2"]},{"1330739242":["hashtag1","hashtag2"]},{"1330739236":["hashtag1","hashtag2"]},{"1330739239":["hashtag1","hashtag2"]},{"1330739244":["hashtag1","hashtag2"]},{"1330739223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330739207, 1330739242, 1330739236, 1330739239, 1330739244, 1330739223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.452635765075684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:14:32.270431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_27_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/12/image_23012025_04_12_27_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330739326"],"photo_id":"1330739326","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d3fc813b2acb5aec81a597f039c5c55.jpg","text":"TemporaryFile(/tmp/multipartBody5911153461887788512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602133072,"filename":"image_23012025_04_12_27_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1330739326"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330739326"}],"hashtags":[],"portfolio_id":"19839053","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.580108880996704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:14:52.292103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_45_9473.jpg', '/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_55_10373.jpg', '/home/pi/Desktop/images/20012025/06/56/image_20012025_06_57_06_10355.jpg', '/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_15_9418.jpg', '/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_25_10335.jpg', '/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_36_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_45_9473.jpg
/home/pi/Desktop/images/20012025/06/56/image_20012025_06_56_55_10373.jpg
/home/pi/Desktop/images/20012025/06/56/image_20012025_06_57_06_10355.jpg
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_15_9418.jpg
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_25_10335.jpg
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_36_10350.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":["1330739351","1330739338","1330739346","1330739349","1330739340","1330739343"],"photo_ids_order":["1330739338","1330739340","1330739343","1330739346","1330739349","1330739351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3714ee27981a29871aaac243016e33f9.jpg","text":"TemporaryFile(/tmp/multipartBody7277021310286810961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602154650,"filename":"image_20012025_06_57_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2142fb952c906929770a2097e94b906d.jpg","text":"TemporaryFile(/tmp/multipartBody5632036396160647585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602154650,"filename":"image_20012025_06_56_45_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/849aa34d9c869bb82e249e0e072c3f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2372668432622434608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602154650,"filename":"image_20012025_06_57_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35cb4daa7b6a633e49b65aaedec630b2.jpg","text":"TemporaryFile(/tmp/multipartBody286847725908691938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602154650,"filename":"image_20012025_06_57_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/caefe84c7f6ea8bbe39bf5fb4dfde278.jpg","text":"TemporaryFile(/tmp/multipartBody5932705497580318061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602154650,"filename":"image_20012025_06_56_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16d2f7a5f52b83d26e235b7af9541edc.jpg","text":"TemporaryFile(/tmp/multipartBody6227394203238505052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602154650,"filename":"image_20012025_06_57_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330739343","file1":"1330739340","file0":"1330739338","file4":"1330739349","file5":"1330739351","file3":"1330739346"},"map_files_photo_id_array":[{"photo_id":"1330739351","filename":"file5"},{"photo_id":"1330739343","filename":"file2"},{"photo_id":"1330739349","filename":"file4"},{"photo_id":"1330739340","filename":"file1"},{"photo_id":"1330739338","filename":"file0"},{"photo_id":"1330739346","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330739351":["hashtag1","hashtag2"]},{"1330739338":["hashtag1","hashtag2"]},{"1330739346":["hashtag1","hashtag2"]},{"1330739349":["hashtag1","hashtag2"]},{"1330739340":["hashtag1","hashtag2"]},{"1330739343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330739351, 1330739338, 1330739346, 1330739349, 1330739340, 1330739343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.86052894592285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:15:42.549065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_47_9339.jpg', '/home/pi/Desktop/images/23012025/04/14/image_23012025_04_15_06_9320.jpg', '/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/14/image_23012025_04_14_47_9339.jpg
/home/pi/Desktop/images/23012025/04/14/image_23012025_04_15_06_9320.jpg
/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_47_10348.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":["1330739422","1330739433","1330739415"],"photo_ids_order":["1330739415","1330739422","1330739433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4aad74f2671ab5a80d177cd43abda48.jpg","text":"TemporaryFile(/tmp/multipartBody3170378864532079847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602203408,"filename":"image_23012025_04_15_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e41c8b5af8da65cec2d12a4aabee24c.jpg","text":"TemporaryFile(/tmp/multipartBody5888575847207033332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602203408,"filename":"image_23012025_04_15_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c4c393fad9c74967d070a525d107624.jpg","text":"TemporaryFile(/tmp/multipartBody8005505313087133745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602203408,"filename":"image_23012025_04_14_47_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330739433","file1":"1330739422","file0":"1330739415"},"map_files_photo_id_array":[{"photo_id":"1330739433","filename":"file2"},{"photo_id":"1330739422","filename":"file1"},{"photo_id":"1330739415","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330739422":["hashtag1","hashtag2"]},{"1330739433":["hashtag1","hashtag2"]},{"1330739415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330739422, 1330739433, 1330739415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.638994216918945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:16:32.695623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_57_10359.jpg', '/home/pi/Desktop/images/23012025/04/15/image_23012025_04_16_06_9376.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_17_10333.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_27_10427.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_37_9401.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/15/image_23012025_04_15_57_10359.jpg
/home/pi/Desktop/images/23012025/04/15/image_23012025_04_16_06_9376.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_17_10333.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_27_10427.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_37_9401.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_47_10343.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":["1330739471","1330739491","1330739478","1330739487","1330739502","1330739474"],"photo_ids_order":["1330739471","1330739474","1330739478","1330739487","1330739491","1330739502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da0f7a1b7d9179394cf71d4cfedb0372.jpg","text":"TemporaryFile(/tmp/multipartBody6589713900367759535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602253614,"filename":"image_23012025_04_15_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/234fced3f6b128ab33651c5481803c72.jpg","text":"TemporaryFile(/tmp/multipartBody3203860234167951913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602253614,"filename":"image_23012025_04_16_37_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17cd7d7a84d4b1efe3ec73bd908794c1.jpg","text":"TemporaryFile(/tmp/multipartBody4510092796925589274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602253614,"filename":"image_23012025_04_16_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a956bede82e29714928e1e946139a5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5699218838869428052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602253614,"filename":"image_23012025_04_16_27_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef881c159184814e9a6fa4deeb4a3404.jpg","text":"TemporaryFile(/tmp/multipartBody1100836727592597422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602253614,"filename":"image_23012025_04_16_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b691ef4a7bdeaf6f8aebcee6968de07.jpg","text":"TemporaryFile(/tmp/multipartBody3823815418170421367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602253614,"filename":"image_23012025_04_16_06_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330739478","file1":"1330739474","file0":"1330739471","file4":"1330739491","file5":"1330739502","file3":"1330739487"},"map_files_photo_id_array":[{"photo_id":"1330739502","filename":"file5"},{"photo_id":"1330739478","filename":"file2"},{"photo_id":"1330739491","filename":"file4"},{"photo_id":"1330739474","filename":"file1"},{"photo_id":"1330739471","filename":"file0"},{"photo_id":"1330739487","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330739471":["hashtag1","hashtag2"]},{"1330739491":["hashtag1","hashtag2"]},{"1330739478":["hashtag1","hashtag2"]},{"1330739487":["hashtag1","hashtag2"]},{"1330739502":["hashtag1","hashtag2"]},{"1330739474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330739471, 1330739491, 1330739478, 1330739487, 1330739502, 1330739474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0042929649353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:17:32.928348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_56_9453.jpg', '/home/pi/Desktop/images/23012025/04/16/image_23012025_04_17_07_10323.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_17_10341.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_26_9388.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_37_10328.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_47_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_16_56_9453.jpg
/home/pi/Desktop/images/23012025/04/16/image_23012025_04_17_07_10323.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_17_10341.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_26_9388.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_37_10328.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_47_10449.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":["1330739599","1330739602","1330739595","1330739610","1330739607","1330739687"],"photo_ids_order":["1330739595","1330739599","1330739602","1330739607","1330739610","1330739687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2e92d66e65581ff04a7125e5db7d62a.jpg","text":"TemporaryFile(/tmp/multipartBody7879062342864736953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602313830,"filename":"image_23012025_04_17_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfdeadd0d4da4b3496f2a87073e1a84d.jpg","text":"TemporaryFile(/tmp/multipartBody8351480215821030412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602313830,"filename":"image_23012025_04_17_17_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa9039498a7e5004343c2732f236b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody5976584712285715255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602313830,"filename":"image_23012025_04_16_56_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c7bec1f1a22d2e577c986b31a4d07bc.jpg","text":"TemporaryFile(/tmp/multipartBody8172696728449795086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602313830,"filename":"image_23012025_04_17_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/361f80a37cc4510e3f61c92a7face899.jpg","text":"TemporaryFile(/tmp/multipartBody8152357076819649170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602313830,"filename":"image_23012025_04_17_26_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80efb8d4e80f9c5abe48c5678e75c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody1612669023976243663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602313830,"filename":"image_23012025_04_17_47_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330739602","file1":"1330739599","file0":"1330739595","file4":"1330739610","file5":"1330739687","file3":"1330739607"},"map_files_photo_id_array":[{"photo_id":"1330739687","filename":"file5"},{"photo_id":"1330739602","filename":"file2"},{"photo_id":"1330739610","filename":"file4"},{"photo_id":"1330739599","filename":"file1"},{"photo_id":"1330739595","filename":"file0"},{"photo_id":"1330739607","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330739599":["hashtag1","hashtag2"]},{"1330739602":["hashtag1","hashtag2"]},{"1330739595":["hashtag1","hashtag2"]},{"1330739610":["hashtag1","hashtag2"]},{"1330739607":["hashtag1","hashtag2"]},{"1330739687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330739599, 1330739602, 1330739595, 1330739610, 1330739607, 1330739687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9954731464386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:18:32.231221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_57_9356.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_18_07_10393.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_16_9396.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_36_9791.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_47_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_57_9356.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_18_07_10393.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_16_9396.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_36_9791.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_47_10445.jpg
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: 0.49759340286254883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:18:42.375536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_57_9356.jpg', '/home/pi/Desktop/images/23012025/04/17/image_23012025_04_18_07_10393.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_16_9396.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_36_9791.jpg', '/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_47_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_17_57_9356.jpg
/home/pi/Desktop/images/23012025/04/17/image_23012025_04_18_07_10393.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_16_9396.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_36_9791.jpg
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_47_10445.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":["1330740392","1330740298","1330740396","1330740390","1330740156"],"photo_ids_order":["1330740156","1330740298","1330740390","1330740392","1330740396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb1fea42404d264d111fceac317fd0d7.jpg","text":"TemporaryFile(/tmp/multipartBody5211105861619129488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602383271,"filename":"image_23012025_04_18_36_9791.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9496b9461e0ea239151f4a378ac0166.jpg","text":"TemporaryFile(/tmp/multipartBody8792128308213347844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602383271,"filename":"image_23012025_04_18_07_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82dd44f39677e23d6c14320b3076385c.jpg","text":"TemporaryFile(/tmp/multipartBody1828650939792427961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602383271,"filename":"image_23012025_04_18_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0bec58d03a8cc2810310e9ee5e46fa08.jpg","text":"TemporaryFile(/tmp/multipartBody8163753263434940463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602383271,"filename":"image_23012025_04_18_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8065adac63c4068dcbde1a70d3e1a256.jpg","text":"TemporaryFile(/tmp/multipartBody3841412984656797096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602383271,"filename":"image_23012025_04_17_57_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330740390","file1":"1330740298","file0":"1330740156","file4":"1330740396","file3":"1330740392"},"map_files_photo_id_array":[{"photo_id":"1330740390","filename":"file2"},{"photo_id":"1330740396","filename":"file4"},{"photo_id":"1330740298","filename":"file1"},{"photo_id":"1330740156","filename":"file0"},{"photo_id":"1330740392","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330740392":["hashtag1","hashtag2"]},{"1330740298":["hashtag1","hashtag2"]},{"1330740396":["hashtag1","hashtag2"]},{"1330740390":["hashtag1","hashtag2"]},{"1330740156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330740392, 1330740298, 1330740396, 1330740390, 1330740156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.95693016052246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:19:32.431478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_56_9332.jpg', '/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_17_10187.jpg', '/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_27_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/18/image_23012025_04_18_56_9332.jpg
/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_17_10187.jpg
/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_27_10407.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":["1330740542","1330740539","1330740537"],"photo_ids_order":["1330740537","1330740539","1330740542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07275579c55600a4611c1e83791c76e0.jpg","text":"TemporaryFile(/tmp/multipartBody6990383154705303482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602433277,"filename":"image_23012025_04_19_27_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a36fe0383a8553c85b27d852ca99e54.jpg","text":"TemporaryFile(/tmp/multipartBody6915006770600811778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602433277,"filename":"image_23012025_04_19_17_10187.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ccd118d07d144781b55abb24b627989.jpg","text":"TemporaryFile(/tmp/multipartBody7118813528023023117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602433277,"filename":"image_23012025_04_18_56_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330740542","file1":"1330740539","file0":"1330740537"},"map_files_photo_id_array":[{"photo_id":"1330740542","filename":"file2"},{"photo_id":"1330740539","filename":"file1"},{"photo_id":"1330740537","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330740542":["hashtag1","hashtag2"]},{"1330740539":["hashtag1","hashtag2"]},{"1330740537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330740542, 1330740539, 1330740537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.612220525741577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:20:03.303141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_45_9400.jpg', '/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_55_10371.jpg', '/home/pi/Desktop/images/20012025/06/57/image_20012025_06_58_05_9407.jpg', '/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_15_10346.jpg', '/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_35_9327.jpg', '/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_45_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_45_9400.jpg
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_55_10371.jpg
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_58_05_9407.jpg
/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_15_10346.jpg
/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_35_9327.jpg
/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_45_10329.jpg
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: 1.2231037616729736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:20:32.540630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_37_9424.jpg', '/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_27_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/19/image_23012025_04_19_37_9424.jpg
/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_27_9389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330740584","1330740587"],"photo_ids_order":["1330740584","1330740587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ed3a92a584de3574949c2496d301c12.jpg","text":"TemporaryFile(/tmp/multipartBody4728758388109847045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602493363,"filename":"image_23012025_04_19_37_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/947c6b154178b56c77eeecf14bb05f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6283823660339492703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602493363,"filename":"image_23012025_04_20_27_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330740587","file0":"1330740584"},"map_files_photo_id_array":[{"photo_id":"1330740587","filename":"file1"},{"photo_id":"1330740584","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330740584":["hashtag1","hashtag2"]},{"1330740587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330740584, 1330740587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.210524082183838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:20:52.538497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_45_9400.jpg', '/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_55_10371.jpg', '/home/pi/Desktop/images/20012025/06/57/image_20012025_06_58_05_9407.jpg', '/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_15_10346.jpg', '/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_35_9327.jpg', '/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_45_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_45_9400.jpg
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_57_55_10371.jpg
/home/pi/Desktop/images/20012025/06/57/image_20012025_06_58_05_9407.jpg
/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_15_10346.jpg
/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_35_9327.jpg
/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_45_10329.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":["1330740615","1330740617","1330740628","1330740642","1330740651","1330740639"],"photo_ids_order":["1330740615","1330740617","1330740628","1330740639","1330740642","1330740651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd36a27606668e9e07eb670a3a09b771.jpg","text":"TemporaryFile(/tmp/multipartBody387166836384291481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602514812,"filename":"image_20012025_06_57_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7dab3cb2c53fcad9b33b94178a79477.jpg","text":"TemporaryFile(/tmp/multipartBody6492888497936442452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602514812,"filename":"image_20012025_06_57_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d235305b8b2444974a4075f9a31e1efb.jpg","text":"TemporaryFile(/tmp/multipartBody6173819548341904868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602514812,"filename":"image_20012025_06_58_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6b3e47f671634ee48946684e7a41d78.jpg","text":"TemporaryFile(/tmp/multipartBody2963634233179665875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602514812,"filename":"image_20012025_06_58_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/298ddb57c65a792b1dda009c9593261a.jpg","text":"TemporaryFile(/tmp/multipartBody5990499197738247844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602514812,"filename":"image_20012025_06_58_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/551503f64f9acd7502e284d9f9aaa149.jpg","text":"TemporaryFile(/tmp/multipartBody4417478810492203295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602514812,"filename":"image_20012025_06_58_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330740628","file1":"1330740617","file0":"1330740615","file4":"1330740642","file5":"1330740651","file3":"1330740639"},"map_files_photo_id_array":[{"photo_id":"1330740651","filename":"file5"},{"photo_id":"1330740628","filename":"file2"},{"photo_id":"1330740642","filename":"file4"},{"photo_id":"1330740617","filename":"file1"},{"photo_id":"1330740615","filename":"file0"},{"photo_id":"1330740639","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330740615":["hashtag1","hashtag2"]},{"1330740617":["hashtag1","hashtag2"]},{"1330740628":["hashtag1","hashtag2"]},{"1330740642":["hashtag1","hashtag2"]},{"1330740651":["hashtag1","hashtag2"]},{"1330740639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330740615, 1330740617, 1330740628, 1330740642, 1330740651, 1330740639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75365614891052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:21:42.892115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_57_10376.jpg', '/home/pi/Desktop/images/23012025/04/20/image_23012025_04_21_07_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/20/image_23012025_04_20_57_10376.jpg
/home/pi/Desktop/images/23012025/04/20/image_23012025_04_21_07_10367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330740699","1330740765"],"photo_ids_order":["1330740699","1330740765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7dc05283da43fba8fe2d45fd13e35b4.jpg","text":"TemporaryFile(/tmp/multipartBody5616771924217693436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602563735,"filename":"image_23012025_04_20_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/367bb513022e66361bda6fcbf51a13fe.jpg","text":"TemporaryFile(/tmp/multipartBody436996526944790748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602563735,"filename":"image_23012025_04_21_07_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330740765","file0":"1330740699"},"map_files_photo_id_array":[{"photo_id":"1330740765","filename":"file1"},{"photo_id":"1330740699","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330740699":["hashtag1","hashtag2"]},{"1330740765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330740699, 1330740765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.200079202651978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:22:03.796154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_56_10456.jpg', '/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_15_10353.jpg', '/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_25_9333.jpg', '/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_45_10335.jpg', '/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_55_9419.jpg', '/home/pi/Desktop/images/20012025/07/00/image_20012025_07_00_26_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/06/58/image_20012025_06_58_56_10456.jpg
/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_15_10353.jpg
/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_25_9333.jpg
/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_45_10335.jpg
/home/pi/Desktop/images/20012025/06/59/image_20012025_06_59_55_9419.jpg
/home/pi/Desktop/images/20012025/07/00/image_20012025_07_00_26_10398.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":["1330740995","1330740850","1330740913","1330740882","1330741053","1330740957"],"photo_ids_order":["1330740850","1330740882","1330740913","1330740957","1330740995","1330741053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94d99c1d7591978148d202f8b7d9469e.jpg","text":"TemporaryFile(/tmp/multipartBody7140651078758747400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602585435,"filename":"image_20012025_06_59_55_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47ab9ad74bc4547210e5902ab297d392.jpg","text":"TemporaryFile(/tmp/multipartBody4715830606150417272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602585435,"filename":"image_20012025_06_58_56_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e2fb261fd45b54ed88b14779653aab0.jpg","text":"TemporaryFile(/tmp/multipartBody6937254114149103682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602585435,"filename":"image_20012025_06_59_25_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bec9613005eece317e39123d919df22.jpg","text":"TemporaryFile(/tmp/multipartBody6831624121511685100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602585435,"filename":"image_20012025_06_59_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bcc89b60c79c95191c72c2bc1df19ea.jpg","text":"TemporaryFile(/tmp/multipartBody6278708236034126746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602585435,"filename":"image_20012025_07_00_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f42bca4ba417dddb53ba359771309c8a.jpg","text":"TemporaryFile(/tmp/multipartBody6550858040844034562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602585435,"filename":"image_20012025_06_59_45_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330740913","file1":"1330740882","file0":"1330740850","file4":"1330740995","file5":"1330741053","file3":"1330740957"},"map_files_photo_id_array":[{"photo_id":"1330741053","filename":"file5"},{"photo_id":"1330740913","filename":"file2"},{"photo_id":"1330740995","filename":"file4"},{"photo_id":"1330740882","filename":"file1"},{"photo_id":"1330740850","filename":"file0"},{"photo_id":"1330740957","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330740995":["hashtag1","hashtag2"]},{"1330740850":["hashtag1","hashtag2"]},{"1330740913":["hashtag1","hashtag2"]},{"1330740882":["hashtag1","hashtag2"]},{"1330741053":["hashtag1","hashtag2"]},{"1330740957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330740995, 1330740850, 1330740913, 1330740882, 1330741053, 1330740957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.574132442474365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:22:52.940777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/00/image_20012025_07_00_36_10334.jpg', '/home/pi/Desktop/images/20012025/07/00/image_20012025_07_00_46_9316.jpg', '/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_16_9334.jpg', '/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_26_10351.jpg', '/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_36_10331.jpg', '/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_46_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/00/image_20012025_07_00_36_10334.jpg
/home/pi/Desktop/images/20012025/07/00/image_20012025_07_00_46_9316.jpg
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_16_9334.jpg
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_26_10351.jpg
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_36_10331.jpg
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_46_9346.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":["1330741061","1330741064","1330741060","1330741063","1330741062","1330741067"],"photo_ids_order":["1330741060","1330741061","1330741062","1330741063","1330741064","1330741067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4691ab7d9bfce76db25c463093c872f.jpg","text":"TemporaryFile(/tmp/multipartBody4991317302785545802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602635322,"filename":"image_20012025_07_00_46_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8d8ef420b2e9416e9ca44e5580dc67e.jpg","text":"TemporaryFile(/tmp/multipartBody2370328071898745869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602635322,"filename":"image_20012025_07_01_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68265702c830f8efbe1b2ff35bcc71cd.jpg","text":"TemporaryFile(/tmp/multipartBody4250239519323517868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602635322,"filename":"image_20012025_07_00_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14cfc9ff6b0c0a5ce39d13c2d25400f0.jpg","text":"TemporaryFile(/tmp/multipartBody4677371420279157008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602635322,"filename":"image_20012025_07_01_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a28768a3c184dd03310d86d91159b2d8.jpg","text":"TemporaryFile(/tmp/multipartBody6857072769643199801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602635322,"filename":"image_20012025_07_01_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b77fef19ff6db93a01d9d4e269e00b49.jpg","text":"TemporaryFile(/tmp/multipartBody2858537678157727665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602635322,"filename":"image_20012025_07_01_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741062","file1":"1330741061","file0":"1330741060","file4":"1330741064","file5":"1330741067","file3":"1330741063"},"map_files_photo_id_array":[{"photo_id":"1330741067","filename":"file5"},{"photo_id":"1330741062","filename":"file2"},{"photo_id":"1330741064","filename":"file4"},{"photo_id":"1330741061","filename":"file1"},{"photo_id":"1330741060","filename":"file0"},{"photo_id":"1330741063","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330741061":["hashtag1","hashtag2"]},{"1330741064":["hashtag1","hashtag2"]},{"1330741060":["hashtag1","hashtag2"]},{"1330741063":["hashtag1","hashtag2"]},{"1330741062":["hashtag1","hashtag2"]},{"1330741067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330741061, 1330741064, 1330741060, 1330741063, 1330741062, 1330741067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.236844301223755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:23:42.227872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_16_9409.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_27_10506.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_37_9393.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_47_10356.jpg', '/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_56_9451.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_17_10481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/21/image_23012025_04_21_16_9409.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_27_10506.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_37_9393.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_47_10356.jpg
/home/pi/Desktop/images/23012025/04/22/image_23012025_04_22_56_9451.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_17_10481.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":["1330741103","1330741096","1330741105","1330741092","1330741107","1330741101"],"photo_ids_order":["1330741092","1330741096","1330741101","1330741103","1330741105","1330741107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16aab59504aef2d2068a40bcd5d54029.jpg","text":"TemporaryFile(/tmp/multipartBody2079590718331232834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602683127,"filename":"image_23012025_04_22_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d742a8d4fda83150bbd59afca96a280b.jpg","text":"TemporaryFile(/tmp/multipartBody1378776498326020941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602683127,"filename":"image_23012025_04_22_27_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9cc45304dc2d7aff203005f42047ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7112758934547403981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602683127,"filename":"image_23012025_04_22_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df1d09af3285b96c19f569685f2437d2.jpg","text":"TemporaryFile(/tmp/multipartBody4232740467199640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602683127,"filename":"image_23012025_04_21_16_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79321c9be637f0ea12a8002cc33aa578.jpg","text":"TemporaryFile(/tmp/multipartBody7938770443270243962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602683127,"filename":"image_23012025_04_23_17_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c09f864477a3e5dd7fbbb8613d68f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1135344033264043691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602683127,"filename":"image_23012025_04_22_37_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741101","file1":"1330741096","file0":"1330741092","file4":"1330741105","file5":"1330741107","file3":"1330741103"},"map_files_photo_id_array":[{"photo_id":"1330741107","filename":"file5"},{"photo_id":"1330741101","filename":"file2"},{"photo_id":"1330741105","filename":"file4"},{"photo_id":"1330741096","filename":"file1"},{"photo_id":"1330741092","filename":"file0"},{"photo_id":"1330741103","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741103":["hashtag1","hashtag2"]},{"1330741096":["hashtag1","hashtag2"]},{"1330741105":["hashtag1","hashtag2"]},{"1330741092":["hashtag1","hashtag2"]},{"1330741107":["hashtag1","hashtag2"]},{"1330741101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741103, 1330741096, 1330741105, 1330741092, 1330741107, 1330741101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13231134414673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:24:32.408769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_27_9366.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_37_10325.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_24_07_10319.jpg', '/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_46_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_27_9366.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_37_10325.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_24_07_10319.jpg
/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_46_9430.jpg
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: 0.48722147941589355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:24:42.506456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_27_9366.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_37_10325.jpg', '/home/pi/Desktop/images/23012025/04/23/image_23012025_04_24_07_10319.jpg', '/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_46_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_27_9366.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_23_37_10325.jpg
/home/pi/Desktop/images/23012025/04/23/image_23012025_04_24_07_10319.jpg
/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_46_9430.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":["1330741169","1330741174","1330741164","1330741172"],"photo_ids_order":["1330741164","1330741169","1330741172","1330741174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/593032d6689d658c67f8d1cc877ff9c5.jpg","text":"TemporaryFile(/tmp/multipartBody9129456063182815837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602743518,"filename":"image_23012025_04_23_37_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcd4bec709eb507d84c6cdade6a597bb.jpg","text":"TemporaryFile(/tmp/multipartBody5915991393406807148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602743518,"filename":"image_23012025_04_24_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1e4e2216875646b8a29df1e504d7e31.jpg","text":"TemporaryFile(/tmp/multipartBody3028751365650911868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602743518,"filename":"image_23012025_04_23_27_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bed9e91775cec387cb04cb4004cfa025.jpg","text":"TemporaryFile(/tmp/multipartBody7542354969162025401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602743518,"filename":"image_23012025_04_24_07_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741172","file1":"1330741169","file0":"1330741164","file3":"1330741174"},"map_files_photo_id_array":[{"photo_id":"1330741172","filename":"file2"},{"photo_id":"1330741169","filename":"file1"},{"photo_id":"1330741164","filename":"file0"},{"photo_id":"1330741174","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741169":["hashtag1","hashtag2"]},{"1330741174":["hashtag1","hashtag2"]},{"1330741164":["hashtag1","hashtag2"]},{"1330741172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741169, 1330741174, 1330741164, 1330741172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.864377737045288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:25:32.682898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_57_10388.jpg', '/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_27_10351.jpg', '/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_47_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/24/image_23012025_04_24_57_10388.jpg
/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_27_10351.jpg
/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_47_10357.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":["1330741180","1330741184","1330741187"],"photo_ids_order":["1330741180","1330741184","1330741187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/caaac0c0c0ebd3e3de7f8568da325ba3.jpg","text":"TemporaryFile(/tmp/multipartBody9063907775152467662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602793552,"filename":"image_23012025_04_24_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef188369a4a75e7d9c60d0e8d0697e02.jpg","text":"TemporaryFile(/tmp/multipartBody3702014858975917706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602793552,"filename":"image_23012025_04_25_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9090b73f9fdedeeec17da5864614e5ae.jpg","text":"TemporaryFile(/tmp/multipartBody8531927814263143463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602793552,"filename":"image_23012025_04_25_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741187","file1":"1330741184","file0":"1330741180"},"map_files_photo_id_array":[{"photo_id":"1330741187","filename":"file2"},{"photo_id":"1330741184","filename":"file1"},{"photo_id":"1330741180","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741180":["hashtag1","hashtag2"]},{"1330741184":["hashtag1","hashtag2"]},{"1330741187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741180, 1330741184, 1330741187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.354796409606934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:26:03.570429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_56_10342.jpg', '/home/pi/Desktop/images/20012025/07/01/image_20012025_07_02_05_9440.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_16_10414.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_26_10350.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_36_9317.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_56_10342.jpg
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_02_05_9440.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_16_10414.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_26_10350.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_36_9317.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_46_10344.jpg
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: 1.2573461532592773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:26:32.910453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_57_10437.jpg', '/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_26_9424.jpg', '/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_37_10319.jpg', '/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/25/image_23012025_04_25_57_10437.jpg
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_26_9424.jpg
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_37_10319.jpg
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_47_10359.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":["1330741340","1330741337","1330741363","1330741365"],"photo_ids_order":["1330741337","1330741340","1330741363","1330741365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5abd71a8a2e4e45acfa3def915ef3a6.jpg","text":"TemporaryFile(/tmp/multipartBody1528904768876426964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602853780,"filename":"image_23012025_04_26_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32eb5f53a2401a767d474a649f4b7078.jpg","text":"TemporaryFile(/tmp/multipartBody6517451993141078858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602853780,"filename":"image_23012025_04_25_57_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5aa1226d81335a0cf5902081ff8e8111.jpg","text":"TemporaryFile(/tmp/multipartBody906049288262021070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602853780,"filename":"image_23012025_04_26_37_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d1459089e79412faab3f7ab60c323cf.jpg","text":"TemporaryFile(/tmp/multipartBody1468418879717936502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602853780,"filename":"image_23012025_04_26_47_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741363","file1":"1330741340","file0":"1330741337","file3":"1330741365"},"map_files_photo_id_array":[{"photo_id":"1330741363","filename":"file2"},{"photo_id":"1330741340","filename":"file1"},{"photo_id":"1330741337","filename":"file0"},{"photo_id":"1330741365","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741340":["hashtag1","hashtag2"]},{"1330741337":["hashtag1","hashtag2"]},{"1330741363":["hashtag1","hashtag2"]},{"1330741365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741340, 1330741337, 1330741363, 1330741365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.40918207168579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:27:33.119656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_56_9421.jpg', '/home/pi/Desktop/images/23012025/04/26/image_23012025_04_27_07_10334.jpg', '/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_17_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_26_56_9421.jpg
/home/pi/Desktop/images/23012025/04/26/image_23012025_04_27_07_10334.jpg
/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_17_10471.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":["1330741432","1330741429","1330741422"],"photo_ids_order":["1330741422","1330741429","1330741432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5950379eff70a661d7198331f8eee981.jpg","text":"TemporaryFile(/tmp/multipartBody3396040425781920492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602914002,"filename":"image_23012025_04_27_17_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d973769c562a24657a8a62c75c1c6ccc.jpg","text":"TemporaryFile(/tmp/multipartBody3283274522387045841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602914002,"filename":"image_23012025_04_27_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/296e796af32ed510d2de28cbed18ff08.jpg","text":"TemporaryFile(/tmp/multipartBody731795656355896675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602914002,"filename":"image_23012025_04_26_56_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741432","file1":"1330741429","file0":"1330741422"},"map_files_photo_id_array":[{"photo_id":"1330741432","filename":"file2"},{"photo_id":"1330741429","filename":"file1"},{"photo_id":"1330741422","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741432":["hashtag1","hashtag2"]},{"1330741429":["hashtag1","hashtag2"]},{"1330741422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741432, 1330741429, 1330741422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.1413094997406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:28:03.102496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_56_10342.jpg', '/home/pi/Desktop/images/20012025/07/01/image_20012025_07_02_05_9440.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_16_10414.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_26_10350.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_36_9317.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_01_56_10342.jpg
/home/pi/Desktop/images/20012025/07/01/image_20012025_07_02_05_9440.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_16_10414.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_26_10350.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_36_9317.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_46_10344.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":["1330741487","1330741492","1330741494","1330741503","1330741496","1330741500"],"photo_ids_order":["1330741487","1330741492","1330741494","1330741496","1330741500","1330741503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fdd5d34f04fc2a1b4f85e9cd068ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody3950355056938018489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602944569,"filename":"image_20012025_07_01_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66da79c9f0e1612c00d79343994d1dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1903282425494925098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602944569,"filename":"image_20012025_07_02_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/826f2349ad07407a6247a337a5ad9f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5458583687534083841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602944569,"filename":"image_20012025_07_02_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7982c15734051327c3a195933bf39890.jpg","text":"TemporaryFile(/tmp/multipartBody8369182621609859169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602944569,"filename":"image_20012025_07_02_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa07658d43fbfd9c8ae1920e7c8248f8.jpg","text":"TemporaryFile(/tmp/multipartBody2552909369995664316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602944569,"filename":"image_20012025_07_02_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2369fc3e009567218eda8980606a1374.jpg","text":"TemporaryFile(/tmp/multipartBody3112564578416591825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737602944569,"filename":"image_20012025_07_02_36_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741494","file1":"1330741492","file0":"1330741487","file4":"1330741500","file5":"1330741503","file3":"1330741496"},"map_files_photo_id_array":[{"photo_id":"1330741503","filename":"file5"},{"photo_id":"1330741494","filename":"file2"},{"photo_id":"1330741500","filename":"file4"},{"photo_id":"1330741492","filename":"file1"},{"photo_id":"1330741487","filename":"file0"},{"photo_id":"1330741496","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330741487":["hashtag1","hashtag2"]},{"1330741492":["hashtag1","hashtag2"]},{"1330741494":["hashtag1","hashtag2"]},{"1330741503":["hashtag1","hashtag2"]},{"1330741496":["hashtag1","hashtag2"]},{"1330741500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330741487, 1330741492, 1330741494, 1330741503, 1330741496, 1330741500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.185851097106934 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:29:04.000674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_57_10336.jpg', '/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_17_9357.jpg', '/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_36_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/27/image_23012025_04_27_57_10336.jpg
/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_17_9357.jpg
/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_36_9419.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330741561","1330741560","1330741562"],"photo_ids_order":["1330741560","1330741561","1330741562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2048c52d6032202d0f8ec3f2e6952ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4689171895188710280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603005007,"filename":"image_23012025_04_28_17_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5707c1fc24c2d027a32f7efe91924da.jpg","text":"TemporaryFile(/tmp/multipartBody6820117525413535437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603005007,"filename":"image_23012025_04_27_57_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1eb25c19573051c2130e34b9fcfb2b4.jpg","text":"TemporaryFile(/tmp/multipartBody6303806412872677794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603005007,"filename":"image_23012025_04_28_36_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741562","file1":"1330741561","file0":"1330741560"},"map_files_photo_id_array":[{"photo_id":"1330741562","filename":"file2"},{"photo_id":"1330741561","filename":"file1"},{"photo_id":"1330741560","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741561":["hashtag1","hashtag2"]},{"1330741560":["hashtag1","hashtag2"]},{"1330741562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741561, 1330741560, 1330741562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.604788064956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:29:32.616486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_57_10427.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_17_10347.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_26_9430.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_37_10344.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_47_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/28/image_23012025_04_28_57_10427.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_17_10347.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_26_9430.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_37_10344.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_47_10377.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":["1330741568","1330741573","1330741582","1330741584","1330741577"],"photo_ids_order":["1330741568","1330741573","1330741577","1330741582","1330741584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac9e846b4c237d801171721845874c47.jpg","text":"TemporaryFile(/tmp/multipartBody98523177584453175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603033502,"filename":"image_23012025_04_28_57_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8688824a6081feefbd225d9e38ee421.jpg","text":"TemporaryFile(/tmp/multipartBody598655921509641104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603033502,"filename":"image_23012025_04_29_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc7f2695ff422f9d2a2a0cb3390463d7.jpg","text":"TemporaryFile(/tmp/multipartBody5086610623528895357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603033502,"filename":"image_23012025_04_29_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc343eb70d983000b4c87a51671e465f.jpg","text":"TemporaryFile(/tmp/multipartBody4814297590847632908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603033502,"filename":"image_23012025_04_29_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc177fb4b2e7b7f25b35a99913920a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1659580944966189868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603033502,"filename":"image_23012025_04_29_26_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741577","file1":"1330741573","file0":"1330741568","file4":"1330741584","file3":"1330741582"},"map_files_photo_id_array":[{"photo_id":"1330741577","filename":"file2"},{"photo_id":"1330741584","filename":"file4"},{"photo_id":"1330741573","filename":"file1"},{"photo_id":"1330741568","filename":"file0"},{"photo_id":"1330741582","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741568":["hashtag1","hashtag2"]},{"1330741573":["hashtag1","hashtag2"]},{"1330741582":["hashtag1","hashtag2"]},{"1330741584":["hashtag1","hashtag2"]},{"1330741577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741568, 1330741573, 1330741582, 1330741584, 1330741577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.6628053188324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:30:32.777469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_56_9432.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_30_07_10313.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_17_10400.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_26_9355.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_37_10329.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_46_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_56_9432.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_30_07_10313.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_17_10400.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_26_9355.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_37_10329.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_46_9470.jpg
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: 0.5129761695861816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:30:42.822185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_56_9432.jpg', '/home/pi/Desktop/images/23012025/04/29/image_23012025_04_30_07_10313.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_17_10400.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_26_9355.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_37_10329.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_46_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_29_56_9432.jpg
/home/pi/Desktop/images/23012025/04/29/image_23012025_04_30_07_10313.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_17_10400.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_26_9355.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_37_10329.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_46_9470.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":["1330741784","1330741840","1330741837","1330741689","1330741615","1330741839"],"photo_ids_order":["1330741615","1330741689","1330741784","1330741837","1330741839","1330741840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa1e4676b6b8cec9b0c901aa91fde578.jpg","text":"TemporaryFile(/tmp/multipartBody2251779070399009824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603103741,"filename":"image_23012025_04_30_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2d83f9ca1dcabe216c6ce9429c5b278.jpg","text":"TemporaryFile(/tmp/multipartBody6136213535089412676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603103741,"filename":"image_23012025_04_30_46_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7536b194d306f979742723f85933d30b.jpg","text":"TemporaryFile(/tmp/multipartBody2327572229301300299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603103741,"filename":"image_23012025_04_30_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24dd5979536fbde122ddb6d784b9b2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8983099366119313305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603103741,"filename":"image_23012025_04_30_07_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d1e2c99e59be00f1b90e701e046ab23.jpg","text":"TemporaryFile(/tmp/multipartBody7699711710473156357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603103741,"filename":"image_23012025_04_29_56_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbf4d427d77e92b2c67e020d2a9c50db.jpg","text":"TemporaryFile(/tmp/multipartBody2498249683419329392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603103741,"filename":"image_23012025_04_30_37_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741784","file1":"1330741689","file0":"1330741615","file4":"1330741839","file5":"1330741840","file3":"1330741837"},"map_files_photo_id_array":[{"photo_id":"1330741840","filename":"file5"},{"photo_id":"1330741784","filename":"file2"},{"photo_id":"1330741839","filename":"file4"},{"photo_id":"1330741689","filename":"file1"},{"photo_id":"1330741615","filename":"file0"},{"photo_id":"1330741837","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741784":["hashtag1","hashtag2"]},{"1330741840":["hashtag1","hashtag2"]},{"1330741837":["hashtag1","hashtag2"]},{"1330741689":["hashtag1","hashtag2"]},{"1330741615":["hashtag1","hashtag2"]},{"1330741839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741784, 1330741840, 1330741837, 1330741689, 1330741615, 1330741839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22176909446716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:31:33.086962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_57_10442.jpg', '/home/pi/Desktop/images/23012025/04/30/image_23012025_04_31_07_10443.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_17_9349.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_27_10411.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_36_9443.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_47_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_30_57_10442.jpg
/home/pi/Desktop/images/23012025/04/30/image_23012025_04_31_07_10443.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_17_9349.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_27_10411.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_36_9443.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_47_10373.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":["1330741856","1330741904","1330741852","1330741860","1330741890","1330741898"],"photo_ids_order":["1330741852","1330741856","1330741860","1330741890","1330741898","1330741904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f483b23977ba4c46d2594e16aefeb6a.jpg","text":"TemporaryFile(/tmp/multipartBody107589001994602538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603154014,"filename":"image_23012025_04_31_07_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d305461a1d06ea09b6277a21ec4be049.jpg","text":"TemporaryFile(/tmp/multipartBody8431773381500359200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603154014,"filename":"image_23012025_04_31_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cc1c27a8841de7906d4a448f93cb4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1963974135568690639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603154014,"filename":"image_23012025_04_30_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79ce98ac548ce1aac19c561ef21b4b78.jpg","text":"TemporaryFile(/tmp/multipartBody2805317470505410663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603154014,"filename":"image_23012025_04_31_17_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f334c10328cfe427d2a1a2048645bb46.jpg","text":"TemporaryFile(/tmp/multipartBody4052847564847636881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603154014,"filename":"image_23012025_04_31_27_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa9c9ecfddfd5d266cd6c607b5431edf.jpg","text":"TemporaryFile(/tmp/multipartBody2391062357154727790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603154014,"filename":"image_23012025_04_31_36_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330741860","file1":"1330741856","file0":"1330741852","file4":"1330741898","file5":"1330741904","file3":"1330741890"},"map_files_photo_id_array":[{"photo_id":"1330741904","filename":"file5"},{"photo_id":"1330741860","filename":"file2"},{"photo_id":"1330741898","filename":"file4"},{"photo_id":"1330741856","filename":"file1"},{"photo_id":"1330741852","filename":"file0"},{"photo_id":"1330741890","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330741856":["hashtag1","hashtag2"]},{"1330741904":["hashtag1","hashtag2"]},{"1330741852":["hashtag1","hashtag2"]},{"1330741860":["hashtag1","hashtag2"]},{"1330741890":["hashtag1","hashtag2"]},{"1330741898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330741856, 1330741904, 1330741852, 1330741860, 1330741890, 1330741898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2594256401062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:32:32.260455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_57_10411.jpg', '/home/pi/Desktop/images/23012025/04/31/image_23012025_04_32_06_9328.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_17_10324.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_26_9465.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_37_10321.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_47_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_31_57_10411.jpg
/home/pi/Desktop/images/23012025/04/31/image_23012025_04_32_06_9328.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_17_10324.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_26_9465.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_37_10321.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_47_10357.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":["1330742002","1330742022","1330742031","1330742025","1330742004","1330742028"],"photo_ids_order":["1330742002","1330742004","1330742022","1330742025","1330742028","1330742031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b338f36ca36051d0e386d9ba1ffe6277.jpg","text":"TemporaryFile(/tmp/multipartBody3323059347649266614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603213161,"filename":"image_23012025_04_31_57_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6948f0421eeef482b12db912a6bd0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5653826099313372385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603213161,"filename":"image_23012025_04_32_17_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f812fd5d45db75f19c7dc2f0fcabe3d.jpg","text":"TemporaryFile(/tmp/multipartBody4023653941957934578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603213161,"filename":"image_23012025_04_32_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/337df0c37389d4f72279311714c8014d.jpg","text":"TemporaryFile(/tmp/multipartBody8439623894760148892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603213161,"filename":"image_23012025_04_32_26_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1233249e608c8036967e6ef6e8a89b3c.jpg","text":"TemporaryFile(/tmp/multipartBody406532771640880284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603213161,"filename":"image_23012025_04_32_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0a287840a63c00408122c4f89130b18.jpg","text":"TemporaryFile(/tmp/multipartBody7938336701155215591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603213161,"filename":"image_23012025_04_32_37_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330742022","file1":"1330742004","file0":"1330742002","file4":"1330742028","file5":"1330742031","file3":"1330742025"},"map_files_photo_id_array":[{"photo_id":"1330742031","filename":"file5"},{"photo_id":"1330742022","filename":"file2"},{"photo_id":"1330742028","filename":"file4"},{"photo_id":"1330742004","filename":"file1"},{"photo_id":"1330742002","filename":"file0"},{"photo_id":"1330742025","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330742002":["hashtag1","hashtag2"]},{"1330742022":["hashtag1","hashtag2"]},{"1330742031":["hashtag1","hashtag2"]},{"1330742025":["hashtag1","hashtag2"]},{"1330742004":["hashtag1","hashtag2"]},{"1330742028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330742002, 1330742022, 1330742031, 1330742025, 1330742004, 1330742028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.40701866149902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:33:32.467967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_56_9337.jpg', '/home/pi/Desktop/images/23012025/04/32/image_23012025_04_33_07_10317.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_17_10366.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_26_9341.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_47_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_32_56_9337.jpg
/home/pi/Desktop/images/23012025/04/32/image_23012025_04_33_07_10317.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_17_10366.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_26_9341.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_47_10350.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":["1330742045","1330742047","1330742049","1330742052","1330742051"],"photo_ids_order":["1330742045","1330742047","1330742049","1330742051","1330742052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0703d378a693235643f88e2dabe6833.jpg","text":"TemporaryFile(/tmp/multipartBody5192013921473080890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603273351,"filename":"image_23012025_04_32_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b88ee1670b94cbef2933d1409146cd2.jpg","text":"TemporaryFile(/tmp/multipartBody4128957774115188373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603273351,"filename":"image_23012025_04_33_07_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/772f6493aa787b549a6a28692a4d762b.jpg","text":"TemporaryFile(/tmp/multipartBody5265171456895004702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603273351,"filename":"image_23012025_04_33_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ba0bbb2c0f1030e73d9b2a587b5fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody5740365932323612756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603273351,"filename":"image_23012025_04_33_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48e132ba2feeebc50eaa0f679a4cdc71.jpg","text":"TemporaryFile(/tmp/multipartBody2406542750850235564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603273351,"filename":"image_23012025_04_33_26_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330742049","file1":"1330742047","file0":"1330742045","file4":"1330742052","file3":"1330742051"},"map_files_photo_id_array":[{"photo_id":"1330742049","filename":"file2"},{"photo_id":"1330742052","filename":"file4"},{"photo_id":"1330742047","filename":"file1"},{"photo_id":"1330742045","filename":"file0"},{"photo_id":"1330742051","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330742045":["hashtag1","hashtag2"]},{"1330742047":["hashtag1","hashtag2"]},{"1330742049":["hashtag1","hashtag2"]},{"1330742052":["hashtag1","hashtag2"]},{"1330742051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330742045, 1330742047, 1330742049, 1330742052, 1330742051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.604310512542725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:34:32.706278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_56_9418.jpg', '/home/pi/Desktop/images/23012025/04/33/image_23012025_04_34_07_10371.jpg', '/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_17_10437.jpg', '/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_27_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_33_56_9418.jpg
/home/pi/Desktop/images/23012025/04/33/image_23012025_04_34_07_10371.jpg
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_17_10437.jpg
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_27_9362.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":["1330742140","1330742150","1330742147","1330742120"],"photo_ids_order":["1330742120","1330742140","1330742147","1330742150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82a9147af884ba1000f287597eddc32d.jpg","text":"TemporaryFile(/tmp/multipartBody1341190925990593095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603333568,"filename":"image_23012025_04_34_07_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cc000f51c64aae55785325ad8e97abe.jpg","text":"TemporaryFile(/tmp/multipartBody4770049209208851554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603333568,"filename":"image_23012025_04_34_27_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f762f69eb70b2ed82ab40abdd5a4a918.jpg","text":"TemporaryFile(/tmp/multipartBody1520267930922455838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603333568,"filename":"image_23012025_04_34_17_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1b842f0f543a4b41ea5a8f01c0fa1b6.jpg","text":"TemporaryFile(/tmp/multipartBody2495874927872919865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603333568,"filename":"image_23012025_04_33_56_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330742147","file1":"1330742140","file0":"1330742120","file3":"1330742150"},"map_files_photo_id_array":[{"photo_id":"1330742147","filename":"file2"},{"photo_id":"1330742140","filename":"file1"},{"photo_id":"1330742120","filename":"file0"},{"photo_id":"1330742150","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330742140":["hashtag1","hashtag2"]},{"1330742150":["hashtag1","hashtag2"]},{"1330742147":["hashtag1","hashtag2"]},{"1330742120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330742140, 1330742150, 1330742147, 1330742120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.616567611694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:35:04.535107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_56_10358.jpg', '/home/pi/Desktop/images/20012025/07/02/image_20012025_07_03_06_9336.jpg', '/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_16_10345.jpg', '/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_36_9332.jpg', '/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_46_10350.jpg', '/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_56_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_02_56_10358.jpg
/home/pi/Desktop/images/20012025/07/02/image_20012025_07_03_06_9336.jpg
/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_16_10345.jpg
/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_36_9332.jpg
/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_46_10350.jpg
/home/pi/Desktop/images/20012025/07/03/image_20012025_07_03_56_10358.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":["1330742194","1330742188","1330742185","1330742190","1330742184","1330742186"],"photo_ids_order":["1330742184","1330742185","1330742186","1330742188","1330742190","1330742194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/122fd6c308493beecec11748b32347d8.jpg","text":"TemporaryFile(/tmp/multipartBody4305237916549193796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603366435,"filename":"image_20012025_07_03_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a8bb76e987ec0363b48f0c5b5e31957.jpg","text":"TemporaryFile(/tmp/multipartBody5768725136044394039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603366435,"filename":"image_20012025_07_03_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/863aabd0570883e011f83a032a4787ab.jpg","text":"TemporaryFile(/tmp/multipartBody6688448946063250373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603366435,"filename":"image_20012025_07_03_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f5c35c8adfe0618293c0f3f5dc7dbec.jpg","text":"TemporaryFile(/tmp/multipartBody6578131239917180954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603366435,"filename":"image_20012025_07_03_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1429bdb3d2708ae56f435b1ecc3e9a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4960265684368993146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603366435,"filename":"image_20012025_07_02_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b56b35a9fa51db18d1b60397c58717d8.jpg","text":"TemporaryFile(/tmp/multipartBody964173325416413489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603366435,"filename":"image_20012025_07_03_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330742186","file1":"1330742185","file0":"1330742184","file4":"1330742190","file5":"1330742194","file3":"1330742188"},"map_files_photo_id_array":[{"photo_id":"1330742194","filename":"file5"},{"photo_id":"1330742186","filename":"file2"},{"photo_id":"1330742190","filename":"file4"},{"photo_id":"1330742185","filename":"file1"},{"photo_id":"1330742184","filename":"file0"},{"photo_id":"1330742188","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330742194":["hashtag1","hashtag2"]},{"1330742188":["hashtag1","hashtag2"]},{"1330742185":["hashtag1","hashtag2"]},{"1330742190":["hashtag1","hashtag2"]},{"1330742184":["hashtag1","hashtag2"]},{"1330742186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330742194, 1330742188, 1330742185, 1330742190, 1330742184, 1330742186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61027932167053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:35:53.109564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_16_10336.jpg', '/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_26_9770.jpg', '/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_36_10353.jpg', '/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_45_9345.jpg', '/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_56_10406.jpg', '/home/pi/Desktop/images/20012025/07/04/image_20012025_07_05_06_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_16_10336.jpg
/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_26_9770.jpg
/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_36_10353.jpg
/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_45_9345.jpg
/home/pi/Desktop/images/20012025/07/04/image_20012025_07_04_56_10406.jpg
/home/pi/Desktop/images/20012025/07/04/image_20012025_07_05_06_10433.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":["1330742218","1330742206","1330742232","1330742208","1330742213","1330742207"],"photo_ids_order":["1330742206","1330742207","1330742208","1330742213","1330742218","1330742232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/413ab4a3ebbc9d9307c9e088a8e4f381.jpg","text":"TemporaryFile(/tmp/multipartBody535940007959755189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603415466,"filename":"image_20012025_07_04_56_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a43e7f0953115f094060745b02742c2.jpg","text":"TemporaryFile(/tmp/multipartBody2983424789276577978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603415466,"filename":"image_20012025_07_04_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f7b00c66043fe3be0b8077988bb5dcc.jpg","text":"TemporaryFile(/tmp/multipartBody884620667443771200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603415466,"filename":"image_20012025_07_05_06_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1154382996ee1ffb35f83279548ed45.jpg","text":"TemporaryFile(/tmp/multipartBody5748685724248076432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603415466,"filename":"image_20012025_07_04_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21106cc19c30f2f4e64cc6fb500d084a.jpg","text":"TemporaryFile(/tmp/multipartBody1541048917153172047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603415466,"filename":"image_20012025_07_04_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9aac62f50b0c70ea2f4779811f6ccdba.jpg","text":"TemporaryFile(/tmp/multipartBody3094523281553594204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603415466,"filename":"image_20012025_07_04_26_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330742208","file1":"1330742207","file0":"1330742206","file4":"1330742218","file5":"1330742232","file3":"1330742213"},"map_files_photo_id_array":[{"photo_id":"1330742232","filename":"file5"},{"photo_id":"1330742208","filename":"file2"},{"photo_id":"1330742218","filename":"file4"},{"photo_id":"1330742207","filename":"file1"},{"photo_id":"1330742206","filename":"file0"},{"photo_id":"1330742213","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330742218":["hashtag1","hashtag2"]},{"1330742206":["hashtag1","hashtag2"]},{"1330742232":["hashtag1","hashtag2"]},{"1330742208":["hashtag1","hashtag2"]},{"1330742213":["hashtag1","hashtag2"]},{"1330742207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330742218, 1330742206, 1330742232, 1330742208, 1330742213, 1330742207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.132644176483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:36:42.402935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_37_10357.jpg', '/home/pi/Desktop/images/23012025/04/34/image_23012025_04_35_07_10390.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_27_10321.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_47_10398.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_57_10517.jpg', '/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_17_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_37_10357.jpg
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_35_07_10390.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_27_10321.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_47_10398.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_57_10517.jpg
/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_17_10378.jpg
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: 0.5323677062988281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:36:52.389065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/05/image_20012025_07_05_36_10339.jpg', '/home/pi/Desktop/images/20012025/07/06/image_20012025_07_06_46_10427.jpg', '/home/pi/Desktop/images/20012025/07/06/image_20012025_07_06_56_10388.jpg', '/home/pi/Desktop/images/20012025/07/06/image_20012025_07_07_06_9395.jpg', '/home/pi/Desktop/images/20012025/07/07/image_20012025_07_07_46_9793.jpg', '/home/pi/Desktop/images/20012025/07/07/image_20012025_07_08_06_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/05/image_20012025_07_05_36_10339.jpg
/home/pi/Desktop/images/20012025/07/06/image_20012025_07_06_46_10427.jpg
/home/pi/Desktop/images/20012025/07/06/image_20012025_07_06_56_10388.jpg
/home/pi/Desktop/images/20012025/07/06/image_20012025_07_07_06_9395.jpg
/home/pi/Desktop/images/20012025/07/07/image_20012025_07_07_46_9793.jpg
/home/pi/Desktop/images/20012025/07/07/image_20012025_07_08_06_9417.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":["1330742272","1330742260","1330742254","1330742251","1330742258","1330742249"],"photo_ids_order":["1330742249","1330742251","1330742254","1330742258","1330742260","1330742272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a79ccb629c0ee5cb4ea315c4ead7c4de.jpg","text":"TemporaryFile(/tmp/multipartBody1087227665243668506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603474763,"filename":"image_20012025_07_08_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db0a59a8f11ed001de59d9a3540d701d.jpg","text":"TemporaryFile(/tmp/multipartBody7700374829936871399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603474763,"filename":"image_20012025_07_07_46_9793.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb804d14f295d87d7d19085fb8e3c9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7214207675617100798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603474763,"filename":"image_20012025_07_06_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7bfcf00fe5859ee45ccb2945f616c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4500507720228963654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603474763,"filename":"image_20012025_07_06_46_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c6b84963816a2aab627b9e09f426a07.jpg","text":"TemporaryFile(/tmp/multipartBody8852580436170550766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603474763,"filename":"image_20012025_07_07_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11a0d84bfc1d3d886ccdbc3cdd625df5.jpg","text":"TemporaryFile(/tmp/multipartBody1159961281924597859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603474763,"filename":"image_20012025_07_05_36_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330742254","file1":"1330742251","file0":"1330742249","file4":"1330742260","file5":"1330742272","file3":"1330742258"},"map_files_photo_id_array":[{"photo_id":"1330742272","filename":"file5"},{"photo_id":"1330742254","filename":"file2"},{"photo_id":"1330742260","filename":"file4"},{"photo_id":"1330742251","filename":"file1"},{"photo_id":"1330742249","filename":"file0"},{"photo_id":"1330742258","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330742272":["hashtag1","hashtag2"]},{"1330742260":["hashtag1","hashtag2"]},{"1330742254":["hashtag1","hashtag2"]},{"1330742251":["hashtag1","hashtag2"]},{"1330742258":["hashtag1","hashtag2"]},{"1330742249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330742272, 1330742260, 1330742254, 1330742251, 1330742258, 1330742249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.081543922424316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:37:42.695242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_37_10357.jpg', '/home/pi/Desktop/images/23012025/04/34/image_23012025_04_35_07_10390.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_27_10321.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_47_10398.jpg', '/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_57_10517.jpg', '/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_17_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_34_37_10357.jpg
/home/pi/Desktop/images/23012025/04/34/image_23012025_04_35_07_10390.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_27_10321.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_47_10398.jpg
/home/pi/Desktop/images/23012025/04/35/image_23012025_04_35_57_10517.jpg
/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_17_10378.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":["1330743064","1330743195","1330742866","1330743204","1330742699","1330743209"],"photo_ids_order":["1330742699","1330742866","1330743064","1330743195","1330743204","1330743209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34d1605b4ee8879723b9692b458fc089.jpg","text":"TemporaryFile(/tmp/multipartBody8756240946646879894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603523603,"filename":"image_23012025_04_35_27_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4952e87c6dea7df2383165d40eba2971.jpg","text":"TemporaryFile(/tmp/multipartBody6019919754812250861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603523603,"filename":"image_23012025_04_35_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dc4d24d46377e357b0866ad2a4ff4d8.jpg","text":"TemporaryFile(/tmp/multipartBody3325577962509310685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603523603,"filename":"image_23012025_04_35_07_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b89df313365951e0b54d192275a54ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4709575690026657697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603523603,"filename":"image_23012025_04_35_57_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0ac9e452dec8bc1baa83933fc1c4723.jpg","text":"TemporaryFile(/tmp/multipartBody626387677538433366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603523603,"filename":"image_23012025_04_34_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94563b4b42dc4293ddb69e1084c3cf3b.jpg","text":"TemporaryFile(/tmp/multipartBody5789216043833786867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603523603,"filename":"image_23012025_04_36_17_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330743064","file1":"1330742866","file0":"1330742699","file4":"1330743204","file5":"1330743209","file3":"1330743195"},"map_files_photo_id_array":[{"photo_id":"1330743209","filename":"file5"},{"photo_id":"1330743064","filename":"file2"},{"photo_id":"1330743204","filename":"file4"},{"photo_id":"1330742866","filename":"file1"},{"photo_id":"1330742699","filename":"file0"},{"photo_id":"1330743195","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330743064":["hashtag1","hashtag2"]},{"1330743195":["hashtag1","hashtag2"]},{"1330742866":["hashtag1","hashtag2"]},{"1330743204":["hashtag1","hashtag2"]},{"1330742699":["hashtag1","hashtag2"]},{"1330743209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330743064, 1330743195, 1330742866, 1330743204, 1330742699, 1330743209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67690467834473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:38:32.820500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_37_10335.jpg', '/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_16_9422.jpg', '/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_27_10360.jpg', '/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_57_10352.jpg', '/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_16_9410.jpg', '/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_37_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/36/image_23012025_04_36_37_10335.jpg
/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_16_9422.jpg
/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_27_10360.jpg
/home/pi/Desktop/images/23012025/04/37/image_23012025_04_37_57_10352.jpg
/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_16_9410.jpg
/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_37_10440.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":["1330743331","1330743361","1330743355","1330743359","1330743338","1330743347"],"photo_ids_order":["1330743331","1330743338","1330743347","1330743355","1330743359","1330743361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28a466c5fcb87aec28e85c255601e380.jpg","text":"TemporaryFile(/tmp/multipartBody1776431903104450981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603573720,"filename":"image_23012025_04_36_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c8308a120915889443c7b1dc11f6a11.jpg","text":"TemporaryFile(/tmp/multipartBody1013928495885203636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603573720,"filename":"image_23012025_04_38_37_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d246cc8f77d9e5fde01c0d1be31bc1e2.jpg","text":"TemporaryFile(/tmp/multipartBody1141498362909382183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603573720,"filename":"image_23012025_04_37_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/505cfef50ff0e870e5417cd74b2c951d.jpg","text":"TemporaryFile(/tmp/multipartBody7845262117936811796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603573720,"filename":"image_23012025_04_38_16_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90d511c72c6ef79e55ce2a6e0be2cbde.jpg","text":"TemporaryFile(/tmp/multipartBody764586628288595459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603573720,"filename":"image_23012025_04_37_16_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0420d8a6db12fbc22bcf3769d0b979e0.jpg","text":"TemporaryFile(/tmp/multipartBody1252943362401465569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603573720,"filename":"image_23012025_04_37_27_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330743347","file1":"1330743338","file0":"1330743331","file4":"1330743359","file5":"1330743361","file3":"1330743355"},"map_files_photo_id_array":[{"photo_id":"1330743361","filename":"file5"},{"photo_id":"1330743347","filename":"file2"},{"photo_id":"1330743359","filename":"file4"},{"photo_id":"1330743338","filename":"file1"},{"photo_id":"1330743331","filename":"file0"},{"photo_id":"1330743355","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330743331":["hashtag1","hashtag2"]},{"1330743361":["hashtag1","hashtag2"]},{"1330743355":["hashtag1","hashtag2"]},{"1330743359":["hashtag1","hashtag2"]},{"1330743338":["hashtag1","hashtag2"]},{"1330743347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330743331, 1330743361, 1330743355, 1330743359, 1330743338, 1330743347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.836803674697876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:39:32.264234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_57_10370.jpg', '/home/pi/Desktop/images/23012025/04/38/image_23012025_04_39_06_9454.jpg', '/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_17_10337.jpg', '/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_27_10402.jpg', '/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_36_9341.jpg', '/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/38/image_23012025_04_38_57_10370.jpg
/home/pi/Desktop/images/23012025/04/38/image_23012025_04_39_06_9454.jpg
/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_17_10337.jpg
/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_27_10402.jpg
/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_36_9341.jpg
/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_47_10343.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":["1330744030","1330743891","1330743971","1330743965","1330743908","1330743973"],"photo_ids_order":["1330743891","1330743908","1330743965","1330743971","1330743973","1330744030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/117a138a33ab5230758fbb01679872ef.jpg","text":"TemporaryFile(/tmp/multipartBody622571511188982646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603633186,"filename":"image_23012025_04_39_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c05501802e6fa8e09b47b0f3173fc9b.jpg","text":"TemporaryFile(/tmp/multipartBody4266018375291424519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603633186,"filename":"image_23012025_04_38_57_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d3fde5f55298cff994e1e869a5b2cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3616129395497834309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603633186,"filename":"image_23012025_04_39_27_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4739754fc489287b85b54662a90fe36.jpg","text":"TemporaryFile(/tmp/multipartBody1156827933777371069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603633186,"filename":"image_23012025_04_39_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3fb5038d22aaa4649f1af73c6e2ad18.jpg","text":"TemporaryFile(/tmp/multipartBody2401957378449955108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603633186,"filename":"image_23012025_04_39_06_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0929bc900caf5e87fde6a26fc4e99aeb.jpg","text":"TemporaryFile(/tmp/multipartBody4658753825015416689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603633186,"filename":"image_23012025_04_39_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330743965","file1":"1330743908","file0":"1330743891","file4":"1330743973","file5":"1330744030","file3":"1330743971"},"map_files_photo_id_array":[{"photo_id":"1330744030","filename":"file5"},{"photo_id":"1330743965","filename":"file2"},{"photo_id":"1330743973","filename":"file4"},{"photo_id":"1330743908","filename":"file1"},{"photo_id":"1330743891","filename":"file0"},{"photo_id":"1330743971","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330744030":["hashtag1","hashtag2"]},{"1330743891":["hashtag1","hashtag2"]},{"1330743971":["hashtag1","hashtag2"]},{"1330743965":["hashtag1","hashtag2"]},{"1330743908":["hashtag1","hashtag2"]},{"1330743973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330744030, 1330743891, 1330743971, 1330743965, 1330743908, 1330743973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.03998422622681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:40:32.333115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_57_10353.jpg', '/home/pi/Desktop/images/23012025/04/39/image_23012025_04_40_07_9348.jpg', '/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_17_10343.jpg', '/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_27_10346.jpg', '/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_37_9326.jpg', '/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_47_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/39/image_23012025_04_39_57_10353.jpg
/home/pi/Desktop/images/23012025/04/39/image_23012025_04_40_07_9348.jpg
/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_17_10343.jpg
/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_27_10346.jpg
/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_37_9326.jpg
/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_47_10351.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":["1330744098","1330744097","1330744122","1330744072","1330744075","1330744069"],"photo_ids_order":["1330744069","1330744072","1330744075","1330744097","1330744098","1330744122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70a8a22ceb423fdef5ff381375dbfbf5.jpg","text":"TemporaryFile(/tmp/multipartBody8114881064373265564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603693227,"filename":"image_23012025_04_40_37_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43760973c2c215da98651ff555d7731d.jpg","text":"TemporaryFile(/tmp/multipartBody2121643569321000282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603693227,"filename":"image_23012025_04_40_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2bf3856c681033e3e2aa6301c983e87.jpg","text":"TemporaryFile(/tmp/multipartBody7013638526393149815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603693227,"filename":"image_23012025_04_40_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70cae24ab9161beefb0e2bc30ffca029.jpg","text":"TemporaryFile(/tmp/multipartBody857417822732274778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603693227,"filename":"image_23012025_04_40_07_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b679713a05020a9bdc3c2f5844997316.jpg","text":"TemporaryFile(/tmp/multipartBody4177591803543222609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603693227,"filename":"image_23012025_04_40_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08ac764ffe5f9e976c6723787ada8a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6962713133641349961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603693227,"filename":"image_23012025_04_39_57_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330744075","file1":"1330744072","file0":"1330744069","file4":"1330744098","file5":"1330744122","file3":"1330744097"},"map_files_photo_id_array":[{"photo_id":"1330744122","filename":"file5"},{"photo_id":"1330744075","filename":"file2"},{"photo_id":"1330744098","filename":"file4"},{"photo_id":"1330744072","filename":"file1"},{"photo_id":"1330744069","filename":"file0"},{"photo_id":"1330744097","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330744098":["hashtag1","hashtag2"]},{"1330744097":["hashtag1","hashtag2"]},{"1330744122":["hashtag1","hashtag2"]},{"1330744072":["hashtag1","hashtag2"]},{"1330744075":["hashtag1","hashtag2"]},{"1330744069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330744098, 1330744097, 1330744122, 1330744072, 1330744075, 1330744069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.467129945755005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:41:32.409501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_57_10347.jpg', '/home/pi/Desktop/images/23012025/04/40/image_23012025_04_41_07_9345.jpg', '/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_17_10386.jpg', '/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_26_9430.jpg', '/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_37_10329.jpg', '/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_46_9510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/40/image_23012025_04_40_57_10347.jpg
/home/pi/Desktop/images/23012025/04/40/image_23012025_04_41_07_9345.jpg
/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_17_10386.jpg
/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_26_9430.jpg
/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_37_10329.jpg
/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_46_9510.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":["1330744191","1330744194","1330744197","1330744189","1330744276","1330744261"],"photo_ids_order":["1330744189","1330744191","1330744194","1330744197","1330744261","1330744276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1026a59d928e7e051c945a8b32ec0935.jpg","text":"TemporaryFile(/tmp/multipartBody4445164717671633608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603753308,"filename":"image_23012025_04_41_07_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbd4dc010c3b7153f8d764f7da6b5676.jpg","text":"TemporaryFile(/tmp/multipartBody5218026427383442096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603753308,"filename":"image_23012025_04_41_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8309ac29dd10d92da0678d4197fbed20.jpg","text":"TemporaryFile(/tmp/multipartBody6087943825255441399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603753308,"filename":"image_23012025_04_41_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7679ef5741e6373e40847544c9d5af9e.jpg","text":"TemporaryFile(/tmp/multipartBody73479682364197339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603753308,"filename":"image_23012025_04_40_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea289d246087ad1bdb934386a2642a16.jpg","text":"TemporaryFile(/tmp/multipartBody4547880944633140955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603753308,"filename":"image_23012025_04_41_46_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/808a8365ade723eda017bb21868d03f8.jpg","text":"TemporaryFile(/tmp/multipartBody3317087870177246284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603753308,"filename":"image_23012025_04_41_37_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330744194","file1":"1330744191","file0":"1330744189","file4":"1330744261","file5":"1330744276","file3":"1330744197"},"map_files_photo_id_array":[{"photo_id":"1330744276","filename":"file5"},{"photo_id":"1330744194","filename":"file2"},{"photo_id":"1330744261","filename":"file4"},{"photo_id":"1330744191","filename":"file1"},{"photo_id":"1330744189","filename":"file0"},{"photo_id":"1330744197","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330744191":["hashtag1","hashtag2"]},{"1330744194":["hashtag1","hashtag2"]},{"1330744197":["hashtag1","hashtag2"]},{"1330744189":["hashtag1","hashtag2"]},{"1330744276":["hashtag1","hashtag2"]},{"1330744261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330744191, 1330744194, 1330744197, 1330744189, 1330744276, 1330744261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.92810034751892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:42:32.604323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_57_10363.jpg', '/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_16_9336.jpg', '/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_27_10358.jpg', '/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_37_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/41/image_23012025_04_41_57_10363.jpg
/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_16_9336.jpg
/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_27_10358.jpg
/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_37_10321.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":["1330744336","1330744342","1330744366","1330744339"],"photo_ids_order":["1330744336","1330744339","1330744342","1330744366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13009e526dca5eee3e047fbbceadfa70.jpg","text":"TemporaryFile(/tmp/multipartBody7844764791988016160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603813477,"filename":"image_23012025_04_41_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2803643dd4b652f661b68f054b694d6.jpg","text":"TemporaryFile(/tmp/multipartBody7874049823403092180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603813477,"filename":"image_23012025_04_42_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9af1f55367a6a962ce95865132a64851.jpg","text":"TemporaryFile(/tmp/multipartBody6258423543400985678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603813477,"filename":"image_23012025_04_42_37_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54f96da314d34107718c0bcc1ebd32ec.jpg","text":"TemporaryFile(/tmp/multipartBody2740748469059341002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603813477,"filename":"image_23012025_04_42_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330744342","file1":"1330744339","file0":"1330744336","file3":"1330744366"},"map_files_photo_id_array":[{"photo_id":"1330744342","filename":"file2"},{"photo_id":"1330744339","filename":"file1"},{"photo_id":"1330744336","filename":"file0"},{"photo_id":"1330744366","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330744336":["hashtag1","hashtag2"]},{"1330744342":["hashtag1","hashtag2"]},{"1330744366":["hashtag1","hashtag2"]},{"1330744339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330744336, 1330744342, 1330744366, 1330744339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.75756812095642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:43:33.018699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_57_10379.jpg', '/home/pi/Desktop/images/23012025/04/42/image_23012025_04_43_07_10452.jpg', '/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_17_9332.jpg', '/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_27_10358.jpg', '/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/42/image_23012025_04_42_57_10379.jpg
/home/pi/Desktop/images/23012025/04/42/image_23012025_04_43_07_10452.jpg
/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_17_9332.jpg
/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_27_10358.jpg
/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_47_10355.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":["1330744408","1330744428","1330744418","1330744426","1330744411"],"photo_ids_order":["1330744408","1330744411","1330744418","1330744426","1330744428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0008128f1180b4177617775dbe066e42.jpg","text":"TemporaryFile(/tmp/multipartBody1916628375387385799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603873934,"filename":"image_23012025_04_42_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f6078f46b989c2f14edc16111196a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7770809886187256422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603873934,"filename":"image_23012025_04_43_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f44033de98d75c8c6b8d7ae7885ad5b5.jpg","text":"TemporaryFile(/tmp/multipartBody5556218961791267564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603873934,"filename":"image_23012025_04_43_17_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ffb12ea7aa63c91802bae5d58242c6d.jpg","text":"TemporaryFile(/tmp/multipartBody290233762540092233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603873934,"filename":"image_23012025_04_43_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2a0f34c88061a74748bc32dd541092e.jpg","text":"TemporaryFile(/tmp/multipartBody6613048011082123002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603873934,"filename":"image_23012025_04_43_07_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330744418","file1":"1330744411","file0":"1330744408","file4":"1330744428","file3":"1330744426"},"map_files_photo_id_array":[{"photo_id":"1330744418","filename":"file2"},{"photo_id":"1330744428","filename":"file4"},{"photo_id":"1330744411","filename":"file1"},{"photo_id":"1330744408","filename":"file0"},{"photo_id":"1330744426","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330744408":["hashtag1","hashtag2"]},{"1330744428":["hashtag1","hashtag2"]},{"1330744418":["hashtag1","hashtag2"]},{"1330744426":["hashtag1","hashtag2"]},{"1330744411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330744408, 1330744428, 1330744418, 1330744426, 1330744411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.782097578048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:44:33.102750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_57_10467.jpg', '/home/pi/Desktop/images/23012025/04/43/image_23012025_04_44_06_9335.jpg', '/home/pi/Desktop/images/23012025/04/44/image_23012025_04_44_17_10343.jpg', '/home/pi/Desktop/images/23012025/04/44/image_23012025_04_44_47_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/43/image_23012025_04_43_57_10467.jpg
/home/pi/Desktop/images/23012025/04/43/image_23012025_04_44_06_9335.jpg
/home/pi/Desktop/images/23012025/04/44/image_23012025_04_44_17_10343.jpg
/home/pi/Desktop/images/23012025/04/44/image_23012025_04_44_47_10356.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":["1330744485","1330744470","1330744487","1330744483"],"photo_ids_order":["1330744470","1330744483","1330744485","1330744487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee165e2353edcc3bcd922eb768fb4fce.jpg","text":"TemporaryFile(/tmp/multipartBody8292256826748694845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603933993,"filename":"image_23012025_04_44_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8359e55fde1c75973f0b9b2d22dae5e.jpg","text":"TemporaryFile(/tmp/multipartBody5970099787790868660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603933993,"filename":"image_23012025_04_43_57_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b607789b1edb90c34ab5804f650c9143.jpg","text":"TemporaryFile(/tmp/multipartBody906759338572064373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603933993,"filename":"image_23012025_04_44_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/975664782ba67bf99b75b8718c98ad8f.jpg","text":"TemporaryFile(/tmp/multipartBody4809679149191160085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737603933993,"filename":"image_23012025_04_44_06_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330744485","file1":"1330744483","file0":"1330744470","file3":"1330744487"},"map_files_photo_id_array":[{"photo_id":"1330744485","filename":"file2"},{"photo_id":"1330744483","filename":"file1"},{"photo_id":"1330744470","filename":"file0"},{"photo_id":"1330744487","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330744485":["hashtag1","hashtag2"]},{"1330744470":["hashtag1","hashtag2"]},{"1330744487":["hashtag1","hashtag2"]},{"1330744483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330744485, 1330744470, 1330744487, 1330744483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.28871178627014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:45:32.375343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_26_10343.jpg', '/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_36_9311.jpg', '/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_46_10406.jpg', '/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_56_10352.jpg', '/home/pi/Desktop/images/20012025/07/09/image_20012025_07_09_16_10343.jpg', '/home/pi/Desktop/images/20012025/07/09/image_20012025_07_10_06_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_26_10343.jpg
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_36_9311.jpg
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_46_10406.jpg
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_56_10352.jpg
/home/pi/Desktop/images/20012025/07/09/image_20012025_07_09_16_10343.jpg
/home/pi/Desktop/images/20012025/07/09/image_20012025_07_10_06_10421.jpg
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: 1.9978344440460205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:45:42.500112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_26_10343.jpg', '/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_36_9311.jpg', '/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_46_10406.jpg', '/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_56_10352.jpg', '/home/pi/Desktop/images/20012025/07/09/image_20012025_07_09_16_10343.jpg', '/home/pi/Desktop/images/20012025/07/09/image_20012025_07_10_06_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_26_10343.jpg
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_36_9311.jpg
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_46_10406.jpg
/home/pi/Desktop/images/20012025/07/08/image_20012025_07_08_56_10352.jpg
/home/pi/Desktop/images/20012025/07/09/image_20012025_07_09_16_10343.jpg
/home/pi/Desktop/images/20012025/07/09/image_20012025_07_10_06_10421.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":["1330744698","1330744848","1330744716","1330744704","1330744829","1330744724"],"photo_ids_order":["1330744698","1330744704","1330744716","1330744724","1330744829","1330744848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1baac2149be0d85dc4f695fff296218.jpg","text":"TemporaryFile(/tmp/multipartBody5441806871360111431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604003928,"filename":"image_20012025_07_08_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/594c2e6ebbba22837d6c07147cfa79e7.jpg","text":"TemporaryFile(/tmp/multipartBody4643261265041845408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604003928,"filename":"image_20012025_07_10_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f1825d44d573b53e8eb45fbeb1d7e88.jpg","text":"TemporaryFile(/tmp/multipartBody2469701293383480404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604003928,"filename":"image_20012025_07_08_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcf17415f82c475866ae72235267761c.jpg","text":"TemporaryFile(/tmp/multipartBody7085662583951898674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604003928,"filename":"image_20012025_07_08_36_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/087f7de72344be930dd2950d98a970c0.jpg","text":"TemporaryFile(/tmp/multipartBody8967136468268753603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604003928,"filename":"image_20012025_07_09_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22374ec274e39da1da607e16cbdb306f.jpg","text":"TemporaryFile(/tmp/multipartBody563833421301802355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604003928,"filename":"image_20012025_07_08_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330744716","file1":"1330744704","file0":"1330744698","file4":"1330744829","file5":"1330744848","file3":"1330744724"},"map_files_photo_id_array":[{"photo_id":"1330744848","filename":"file5"},{"photo_id":"1330744716","filename":"file2"},{"photo_id":"1330744829","filename":"file4"},{"photo_id":"1330744704","filename":"file1"},{"photo_id":"1330744698","filename":"file0"},{"photo_id":"1330744724","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330744698":["hashtag1","hashtag2"]},{"1330744848":["hashtag1","hashtag2"]},{"1330744716":["hashtag1","hashtag2"]},{"1330744704":["hashtag1","hashtag2"]},{"1330744829":["hashtag1","hashtag2"]},{"1330744724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330744698, 1330744848, 1330744716, 1330744704, 1330744829, 1330744724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.66415452957153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:46:32.627479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/44/image_23012025_04_44_56_9469.jpg', '/home/pi/Desktop/images/23012025/04/45/image_23012025_04_45_17_10367.jpg', '/home/pi/Desktop/images/23012025/04/45/image_23012025_04_45_37_10349.jpg', '/home/pi/Desktop/images/23012025/04/45/image_23012025_04_45_57_10892.jpg', '/home/pi/Desktop/images/23012025/04/45/image_23012025_04_46_07_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/44/image_23012025_04_44_56_9469.jpg
/home/pi/Desktop/images/23012025/04/45/image_23012025_04_45_17_10367.jpg
/home/pi/Desktop/images/23012025/04/45/image_23012025_04_45_37_10349.jpg
/home/pi/Desktop/images/23012025/04/45/image_23012025_04_45_57_10892.jpg
/home/pi/Desktop/images/23012025/04/45/image_23012025_04_46_07_9321.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":["1330745037","1330745020","1330745014","1330744948","1330744942"],"photo_ids_order":["1330744942","1330744948","1330745014","1330745020","1330745037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00f208b584b0cce62e73f97b671331fb.jpg","text":"TemporaryFile(/tmp/multipartBody4173783564484680957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604053506,"filename":"image_23012025_04_46_07_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0b72dbda424e521e891339faf3e8482.jpg","text":"TemporaryFile(/tmp/multipartBody7211566507552268155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604053506,"filename":"image_23012025_04_45_57_10892.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee782a126be9a70af8bb8a3e12a96d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4879021231822552995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604053506,"filename":"image_23012025_04_45_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ae1481d2338b57badcd450381a505ec.jpg","text":"TemporaryFile(/tmp/multipartBody6628655229835241579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604053506,"filename":"image_23012025_04_45_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fdc8cbc38a425e02a19995f00e3f941.jpg","text":"TemporaryFile(/tmp/multipartBody8337733528278294640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604053506,"filename":"image_23012025_04_44_56_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745014","file1":"1330744948","file0":"1330744942","file4":"1330745037","file3":"1330745020"},"map_files_photo_id_array":[{"photo_id":"1330745014","filename":"file2"},{"photo_id":"1330745037","filename":"file4"},{"photo_id":"1330744948","filename":"file1"},{"photo_id":"1330744942","filename":"file0"},{"photo_id":"1330745020","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745037":["hashtag1","hashtag2"]},{"1330745020":["hashtag1","hashtag2"]},{"1330745014":["hashtag1","hashtag2"]},{"1330744948":["hashtag1","hashtag2"]},{"1330744942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745037, 1330745020, 1330745014, 1330744948, 1330744942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.59518599510193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:47:32.749229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/46/image_23012025_04_46_37_9485.jpg', '/home/pi/Desktop/images/23012025/04/47/image_23012025_04_47_37_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/46/image_23012025_04_46_37_9485.jpg
/home/pi/Desktop/images/23012025/04/47/image_23012025_04_47_37_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330745114","1330745092"],"photo_ids_order":["1330745092","1330745114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19588c3d52a2dadce6ad8fd684afed89.jpg","text":"TemporaryFile(/tmp/multipartBody4587042696868692402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604113593,"filename":"image_23012025_04_47_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e41c4f6598b81a78657c66d35834237.jpg","text":"TemporaryFile(/tmp/multipartBody2624532590527128507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604113593,"filename":"image_23012025_04_46_37_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330745114","file0":"1330745092"},"map_files_photo_id_array":[{"photo_id":"1330745114","filename":"file1"},{"photo_id":"1330745092","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745114":["hashtag1","hashtag2"]},{"1330745092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745114, 1330745092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.033118724822998 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:48:03.670846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/10/image_20012025_07_10_36_10419.jpg', '/home/pi/Desktop/images/20012025/07/10/image_20012025_07_10_46_10343.jpg', '/home/pi/Desktop/images/20012025/07/10/image_20012025_07_11_06_10352.jpg', '/home/pi/Desktop/images/20012025/07/11/image_20012025_07_11_16_10323.jpg', '/home/pi/Desktop/images/20012025/07/11/image_20012025_07_11_26_9349.jpg', '/home/pi/Desktop/images/20012025/07/11/image_20012025_07_11_36_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/10/image_20012025_07_10_36_10419.jpg
/home/pi/Desktop/images/20012025/07/10/image_20012025_07_10_46_10343.jpg
/home/pi/Desktop/images/20012025/07/10/image_20012025_07_11_06_10352.jpg
/home/pi/Desktop/images/20012025/07/11/image_20012025_07_11_16_10323.jpg
/home/pi/Desktop/images/20012025/07/11/image_20012025_07_11_26_9349.jpg
/home/pi/Desktop/images/20012025/07/11/image_20012025_07_11_36_10324.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":["1330745150","1330745168","1330745155","1330745152","1330745134","1330745151"],"photo_ids_order":["1330745134","1330745150","1330745151","1330745152","1330745155","1330745168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fac97c27cdda223b5e4800fa50c2a3bd.jpg","text":"TemporaryFile(/tmp/multipartBody7675866617804092702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604145297,"filename":"image_20012025_07_10_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16f9952d3b6d62d3e97ebe6dddc95741.jpg","text":"TemporaryFile(/tmp/multipartBody5559206527981708805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604145297,"filename":"image_20012025_07_11_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/294afa11db01f2b71c8e029a0c9de627.jpg","text":"TemporaryFile(/tmp/multipartBody4774008782796348870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604145297,"filename":"image_20012025_07_11_26_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ebfbd2542d5440002186fc39812e5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6900174156702248643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604145297,"filename":"image_20012025_07_11_16_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e70b517b99eaf96882336f101e0022e.jpg","text":"TemporaryFile(/tmp/multipartBody7698429924758674485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604145297,"filename":"image_20012025_07_10_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aca1981799be5192b09ba38e39050cf6.jpg","text":"TemporaryFile(/tmp/multipartBody5085777143168257252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604145297,"filename":"image_20012025_07_11_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745151","file1":"1330745150","file0":"1330745134","file4":"1330745155","file5":"1330745168","file3":"1330745152"},"map_files_photo_id_array":[{"photo_id":"1330745168","filename":"file5"},{"photo_id":"1330745151","filename":"file2"},{"photo_id":"1330745155","filename":"file4"},{"photo_id":"1330745150","filename":"file1"},{"photo_id":"1330745134","filename":"file0"},{"photo_id":"1330745152","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330745150":["hashtag1","hashtag2"]},{"1330745168":["hashtag1","hashtag2"]},{"1330745155":["hashtag1","hashtag2"]},{"1330745152":["hashtag1","hashtag2"]},{"1330745134":["hashtag1","hashtag2"]},{"1330745151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330745150, 1330745168, 1330745155, 1330745152, 1330745134, 1330745151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24116563796997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:48:53.013435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/11/image_20012025_07_12_06_10337.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_16_9327.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_26_10358.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_36_10333.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_46_9362.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_13_05_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/11/image_20012025_07_12_06_10337.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_16_9327.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_26_10358.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_36_10333.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_46_9362.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_13_05_9354.jpg
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: 1.9820163249969482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:49:03.685177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/47/image_23012025_04_47_57_10354.jpg', '/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_16_9400.jpg', '/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_27_10464.jpg', '/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_36_9457.jpg', '/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_46_10006.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/47/image_23012025_04_47_57_10354.jpg
/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_16_9400.jpg
/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_27_10464.jpg
/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_36_9457.jpg
/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_46_10006.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330745201","1330745194","1330745197","1330745190","1330745184"],"photo_ids_order":["1330745184","1330745190","1330745194","1330745197","1330745201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fad658cdbe023472b341f55513c1aff9.jpg","text":"TemporaryFile(/tmp/multipartBody8580550892674857353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604204817,"filename":"image_23012025_04_48_46_10006.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/610bba27538a9d8c96f10ab5026508fa.jpg","text":"TemporaryFile(/tmp/multipartBody8427490312615699882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604204817,"filename":"image_23012025_04_48_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7df23acac84a299c631e11a03956c78.jpg","text":"TemporaryFile(/tmp/multipartBody2500549795071033448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604204817,"filename":"image_23012025_04_48_36_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad5864eabc1b6a263dfaf0743db01db1.jpg","text":"TemporaryFile(/tmp/multipartBody9027623472390165323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604204817,"filename":"image_23012025_04_48_16_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/650818e7061f6df9762bc7bd345c386d.jpg","text":"TemporaryFile(/tmp/multipartBody5775786893960334198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604204817,"filename":"image_23012025_04_47_57_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745194","file1":"1330745190","file0":"1330745184","file4":"1330745201","file3":"1330745197"},"map_files_photo_id_array":[{"photo_id":"1330745194","filename":"file2"},{"photo_id":"1330745201","filename":"file4"},{"photo_id":"1330745190","filename":"file1"},{"photo_id":"1330745184","filename":"file0"},{"photo_id":"1330745197","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745201":["hashtag1","hashtag2"]},{"1330745194":["hashtag1","hashtag2"]},{"1330745197":["hashtag1","hashtag2"]},{"1330745190":["hashtag1","hashtag2"]},{"1330745184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745201, 1330745194, 1330745197, 1330745190, 1330745184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.879239082336426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:49:42.301420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_57_10357.jpg', '/home/pi/Desktop/images/23012025/04/48/image_23012025_04_49_07_10318.jpg', '/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_16_9330.jpg', '/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_27_10351.jpg', '/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_37_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/48/image_23012025_04_48_57_10357.jpg
/home/pi/Desktop/images/23012025/04/48/image_23012025_04_49_07_10318.jpg
/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_16_9330.jpg
/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_27_10351.jpg
/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_37_10340.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":["1330745214","1330745216","1330745212","1330745215","1330745209"],"photo_ids_order":["1330745209","1330745212","1330745214","1330745215","1330745216"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/387300dedabf79d9d7f141b15cacd2f1.jpg","text":"TemporaryFile(/tmp/multipartBody5163089500675781358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604243215,"filename":"image_23012025_04_49_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04511a8512dd90368f025a4ebea1f48b.jpg","text":"TemporaryFile(/tmp/multipartBody7466167601052055596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604243215,"filename":"image_23012025_04_49_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fdd0f88770ad8c41d175f3acd16fc3e.jpg","text":"TemporaryFile(/tmp/multipartBody3009959950122879098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604243215,"filename":"image_23012025_04_49_07_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e6ff6f014537a1d0308dc89a1f52c19.jpg","text":"TemporaryFile(/tmp/multipartBody2948876336121383868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604243215,"filename":"image_23012025_04_49_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3dd3d55b68428780e74d3e482d6a5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5678416898940219090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604243215,"filename":"image_23012025_04_48_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745214","file1":"1330745212","file0":"1330745209","file4":"1330745216","file3":"1330745215"},"map_files_photo_id_array":[{"photo_id":"1330745214","filename":"file2"},{"photo_id":"1330745216","filename":"file4"},{"photo_id":"1330745212","filename":"file1"},{"photo_id":"1330745209","filename":"file0"},{"photo_id":"1330745215","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745214":["hashtag1","hashtag2"]},{"1330745216":["hashtag1","hashtag2"]},{"1330745212":["hashtag1","hashtag2"]},{"1330745215":["hashtag1","hashtag2"]},{"1330745209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745214, 1330745216, 1330745212, 1330745215, 1330745209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.523905754089355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:50:32.398707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_57_10346.jpg', '/home/pi/Desktop/images/23012025/04/49/image_23012025_04_50_07_10465.jpg', '/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_17_9350.jpg', '/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_27_10431.jpg', '/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_47_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_57_10346.jpg
/home/pi/Desktop/images/23012025/04/49/image_23012025_04_50_07_10465.jpg
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_17_9350.jpg
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_27_10431.jpg
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_47_10445.jpg
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: 0.5179877281188965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:50:42.516520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_57_10346.jpg', '/home/pi/Desktop/images/23012025/04/49/image_23012025_04_50_07_10465.jpg', '/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_17_9350.jpg', '/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_27_10431.jpg', '/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_47_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/49/image_23012025_04_49_57_10346.jpg
/home/pi/Desktop/images/23012025/04/49/image_23012025_04_50_07_10465.jpg
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_17_9350.jpg
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_27_10431.jpg
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_47_10445.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":["1330745241","1330745238","1330745240","1330745234","1330745228"],"photo_ids_order":["1330745228","1330745234","1330745238","1330745240","1330745241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f996ae9888befbeb67838e2a77ffa20.jpg","text":"TemporaryFile(/tmp/multipartBody2957789773807138565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604303429,"filename":"image_23012025_04_50_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/962740362e154d45c3dca434fb41f687.jpg","text":"TemporaryFile(/tmp/multipartBody5101993481294014706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604303429,"filename":"image_23012025_04_50_17_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ec01a43394f7171540b8fa4f2ca06d8.jpg","text":"TemporaryFile(/tmp/multipartBody1821709444743548131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604303429,"filename":"image_23012025_04_50_27_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdf2c19c2e78357b9937a25d7f613c20.jpg","text":"TemporaryFile(/tmp/multipartBody1669710830378801353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604303429,"filename":"image_23012025_04_50_07_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f957696d09f066d90db7d48f717d19da.jpg","text":"TemporaryFile(/tmp/multipartBody7576500984179493248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604303429,"filename":"image_23012025_04_49_57_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745238","file1":"1330745234","file0":"1330745228","file4":"1330745241","file3":"1330745240"},"map_files_photo_id_array":[{"photo_id":"1330745238","filename":"file2"},{"photo_id":"1330745241","filename":"file4"},{"photo_id":"1330745234","filename":"file1"},{"photo_id":"1330745228","filename":"file0"},{"photo_id":"1330745240","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745241":["hashtag1","hashtag2"]},{"1330745238":["hashtag1","hashtag2"]},{"1330745240":["hashtag1","hashtag2"]},{"1330745234":["hashtag1","hashtag2"]},{"1330745228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745241, 1330745238, 1330745240, 1330745234, 1330745228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.063517570495605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:51:32.547044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_57_10401.jpg', '/home/pi/Desktop/images/23012025/04/50/image_23012025_04_51_07_9336.jpg', '/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_17_10357.jpg', '/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_26_9392.jpg', '/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_37_10429.jpg', '/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_47_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_50_57_10401.jpg
/home/pi/Desktop/images/23012025/04/50/image_23012025_04_51_07_9336.jpg
/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_17_10357.jpg
/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_26_9392.jpg
/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_37_10429.jpg
/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_47_10462.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":["1330745328","1330745324","1330745327","1330745293","1330745305","1330745308"],"photo_ids_order":["1330745293","1330745305","1330745308","1330745324","1330745327","1330745328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25d1afee9f19f548e128b3b126555be2.jpg","text":"TemporaryFile(/tmp/multipartBody2919499095987466732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604353450,"filename":"image_23012025_04_51_47_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa21ea51e5775b3a9a32a24c9e8f793f.jpg","text":"TemporaryFile(/tmp/multipartBody3015220786564490454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604353450,"filename":"image_23012025_04_51_26_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a42ab2b1fe78ec646e095a7d7afa3663.jpg","text":"TemporaryFile(/tmp/multipartBody8928643981177675637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604353450,"filename":"image_23012025_04_51_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31d4392b4c9a011c01573b94fc06bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody1456326525579283318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604353450,"filename":"image_23012025_04_50_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8169108efc8c643130294d0b9516b42.jpg","text":"TemporaryFile(/tmp/multipartBody1541927887597512126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604353450,"filename":"image_23012025_04_51_07_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3a1ed2353d4bd48f8590a93ea0852f1.jpg","text":"TemporaryFile(/tmp/multipartBody5484847277492738128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604353450,"filename":"image_23012025_04_51_17_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745308","file1":"1330745305","file0":"1330745293","file4":"1330745327","file5":"1330745328","file3":"1330745324"},"map_files_photo_id_array":[{"photo_id":"1330745328","filename":"file5"},{"photo_id":"1330745308","filename":"file2"},{"photo_id":"1330745327","filename":"file4"},{"photo_id":"1330745305","filename":"file1"},{"photo_id":"1330745293","filename":"file0"},{"photo_id":"1330745324","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745328":["hashtag1","hashtag2"]},{"1330745324":["hashtag1","hashtag2"]},{"1330745327":["hashtag1","hashtag2"]},{"1330745293":["hashtag1","hashtag2"]},{"1330745305":["hashtag1","hashtag2"]},{"1330745308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745328, 1330745324, 1330745327, 1330745293, 1330745305, 1330745308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.127989292144775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:52:32.813358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_57_9423.jpg', '/home/pi/Desktop/images/23012025/04/51/image_23012025_04_52_07_10332.jpg', '/home/pi/Desktop/images/23012025/04/52/image_23012025_04_52_27_10352.jpg', '/home/pi/Desktop/images/23012025/04/52/image_23012025_04_52_47_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/51/image_23012025_04_51_57_9423.jpg
/home/pi/Desktop/images/23012025/04/51/image_23012025_04_52_07_10332.jpg
/home/pi/Desktop/images/23012025/04/52/image_23012025_04_52_27_10352.jpg
/home/pi/Desktop/images/23012025/04/52/image_23012025_04_52_47_9366.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":["1330745361","1330745334","1330745351","1330745365"],"photo_ids_order":["1330745334","1330745351","1330745361","1330745365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f554bc3c8899580aab48eeff97463ef.jpg","text":"TemporaryFile(/tmp/multipartBody4348646905469709994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604413678,"filename":"image_23012025_04_52_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09216fbd668fde9183b6f87b2a7f3afd.jpg","text":"TemporaryFile(/tmp/multipartBody7519346279655387116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604413678,"filename":"image_23012025_04_51_57_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fff30485178bc4b9fcad8b63920e9335.jpg","text":"TemporaryFile(/tmp/multipartBody3199035681483710738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604413678,"filename":"image_23012025_04_52_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d90eb2e82f06619d0b7cfdd08ea9385.jpg","text":"TemporaryFile(/tmp/multipartBody2864390580930013433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604413678,"filename":"image_23012025_04_52_47_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745361","file1":"1330745351","file0":"1330745334","file3":"1330745365"},"map_files_photo_id_array":[{"photo_id":"1330745361","filename":"file2"},{"photo_id":"1330745351","filename":"file1"},{"photo_id":"1330745334","filename":"file0"},{"photo_id":"1330745365","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745361":["hashtag1","hashtag2"]},{"1330745334":["hashtag1","hashtag2"]},{"1330745351":["hashtag1","hashtag2"]},{"1330745365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745361, 1330745334, 1330745351, 1330745365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.306580066680908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:53:04.371591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/11/image_20012025_07_12_06_10337.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_16_9327.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_26_10358.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_36_10333.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_46_9362.jpg', '/home/pi/Desktop/images/20012025/07/12/image_20012025_07_13_05_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/11/image_20012025_07_12_06_10337.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_16_9327.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_26_10358.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_36_10333.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_12_46_9362.jpg
/home/pi/Desktop/images/20012025/07/12/image_20012025_07_13_05_9354.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":["1330745399","1330745418","1330745411","1330745402","1330745425","1330745404"],"photo_ids_order":["1330745399","1330745402","1330745404","1330745411","1330745418","1330745425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38b887a910e55fa6e793be0d841454a2.jpg","text":"TemporaryFile(/tmp/multipartBody8241782278583382039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604446320,"filename":"image_20012025_07_12_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/006532f32fd3a1a8e1cbfc49c031de10.jpg","text":"TemporaryFile(/tmp/multipartBody1901619329194135967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604446320,"filename":"image_20012025_07_12_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efbd653a854bc50e9836fbb00c157b21.jpg","text":"TemporaryFile(/tmp/multipartBody1405530371590330009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604446320,"filename":"image_20012025_07_12_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ece20e6b074c14b054aaef6fbbe968b.jpg","text":"TemporaryFile(/tmp/multipartBody1537699882319999848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604446320,"filename":"image_20012025_07_12_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18c90a0312ff3fac3e28a2cbc7b743a7.jpg","text":"TemporaryFile(/tmp/multipartBody6240684864425270185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604446320,"filename":"image_20012025_07_13_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9019a8b8c1f16fb450784a36bf01b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody5762744519054881695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604446320,"filename":"image_20012025_07_12_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745404","file1":"1330745402","file0":"1330745399","file4":"1330745418","file5":"1330745425","file3":"1330745411"},"map_files_photo_id_array":[{"photo_id":"1330745425","filename":"file5"},{"photo_id":"1330745404","filename":"file2"},{"photo_id":"1330745418","filename":"file4"},{"photo_id":"1330745402","filename":"file1"},{"photo_id":"1330745399","filename":"file0"},{"photo_id":"1330745411","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330745399":["hashtag1","hashtag2"]},{"1330745418":["hashtag1","hashtag2"]},{"1330745411":["hashtag1","hashtag2"]},{"1330745402":["hashtag1","hashtag2"]},{"1330745425":["hashtag1","hashtag2"]},{"1330745404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330745399, 1330745418, 1330745411, 1330745402, 1330745425, 1330745404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.918701171875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 04:53:52.838265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_16_10421.jpg', '/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_26_10349.jpg', '/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_36_9323.jpg', '/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_46_10465.jpg', '/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_56_10363.jpg', '/home/pi/Desktop/images/20012025/07/13/image_20012025_07_14_06_9310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_16_10421.jpg
/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_26_10349.jpg
/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_36_9323.jpg
/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_46_10465.jpg
/home/pi/Desktop/images/20012025/07/13/image_20012025_07_13_56_10363.jpg
/home/pi/Desktop/images/20012025/07/13/image_20012025_07_14_06_9310.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":["1330745505","1330745507","1330745482","1330745509","1330745503","1330745484"],"photo_ids_order":["1330745482","1330745484","1330745503","1330745505","1330745507","1330745509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66bb162d451973f762f4808dbae8932e.jpg","text":"TemporaryFile(/tmp/multipartBody7080218512340238655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604495215,"filename":"image_20012025_07_13_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cd87774491ac1aaf35a893ce42f8f15.jpg","text":"TemporaryFile(/tmp/multipartBody3257141321268248519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604495215,"filename":"image_20012025_07_13_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b362fe7e81ac42681149d65e9313c59.jpg","text":"TemporaryFile(/tmp/multipartBody3685313879813432514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604495215,"filename":"image_20012025_07_13_16_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d098375d41f47d4248ecf1bac654d728.jpg","text":"TemporaryFile(/tmp/multipartBody5420308114194995867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604495215,"filename":"image_20012025_07_14_06_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fefbf98963a5dcef2af211493aa53d40.jpg","text":"TemporaryFile(/tmp/multipartBody1736889256666775257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604495215,"filename":"image_20012025_07_13_36_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/def96898c9da165d2963641cf8f89cdb.jpg","text":"TemporaryFile(/tmp/multipartBody171417411105118147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604495215,"filename":"image_20012025_07_13_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745503","file1":"1330745484","file0":"1330745482","file4":"1330745507","file5":"1330745509","file3":"1330745505"},"map_files_photo_id_array":[{"photo_id":"1330745509","filename":"file5"},{"photo_id":"1330745503","filename":"file2"},{"photo_id":"1330745507","filename":"file4"},{"photo_id":"1330745484","filename":"file1"},{"photo_id":"1330745482","filename":"file0"},{"photo_id":"1330745505","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330745505":["hashtag1","hashtag2"]},{"1330745507":["hashtag1","hashtag2"]},{"1330745482":["hashtag1","hashtag2"]},{"1330745509":["hashtag1","hashtag2"]},{"1330745503":["hashtag1","hashtag2"]},{"1330745484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330745505, 1330745507, 1330745482, 1330745509, 1330745503, 1330745484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.190001487731934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:54:43.049155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/52/image_23012025_04_52_57_10348.jpg', '/home/pi/Desktop/images/23012025/04/52/image_23012025_04_53_07_10327.jpg', '/home/pi/Desktop/images/23012025/04/53/image_23012025_04_53_17_9408.jpg', '/home/pi/Desktop/images/23012025/04/53/image_23012025_04_53_27_10496.jpg', '/home/pi/Desktop/images/23012025/04/53/image_23012025_04_53_36_9377.jpg', '/home/pi/Desktop/images/23012025/04/53/image_23012025_04_54_07_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/52/image_23012025_04_52_57_10348.jpg
/home/pi/Desktop/images/23012025/04/52/image_23012025_04_53_07_10327.jpg
/home/pi/Desktop/images/23012025/04/53/image_23012025_04_53_17_9408.jpg
/home/pi/Desktop/images/23012025/04/53/image_23012025_04_53_27_10496.jpg
/home/pi/Desktop/images/23012025/04/53/image_23012025_04_53_36_9377.jpg
/home/pi/Desktop/images/23012025/04/53/image_23012025_04_54_07_10384.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":["1330745520","1330745517","1330745522","1330745525","1330745528","1330745524"],"photo_ids_order":["1330745517","1330745520","1330745522","1330745524","1330745525","1330745528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f76bb4cf2a8d4c180597d03b062e332.jpg","text":"TemporaryFile(/tmp/multipartBody635128736464139162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604543964,"filename":"image_23012025_04_53_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dfbf3161b6976e93c4ab29abd26cb8d.jpg","text":"TemporaryFile(/tmp/multipartBody8126302903841187548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604543964,"filename":"image_23012025_04_52_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e81d5c65ffcd421ee0c28cbde229591f.jpg","text":"TemporaryFile(/tmp/multipartBody9052235040262080568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604543964,"filename":"image_23012025_04_53_17_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25b7d82ed5b54e3d8d6a74860a068401.jpg","text":"TemporaryFile(/tmp/multipartBody1375126015634545635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604543964,"filename":"image_23012025_04_53_36_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5a148b6b8aba9325f7d58be85dabc52.jpg","text":"TemporaryFile(/tmp/multipartBody1070582434972937800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604543964,"filename":"image_23012025_04_54_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/842fd458520b44c7b53c86f6fceb2283.jpg","text":"TemporaryFile(/tmp/multipartBody6493730046407478336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604543964,"filename":"image_23012025_04_53_27_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745522","file1":"1330745520","file0":"1330745517","file4":"1330745525","file5":"1330745528","file3":"1330745524"},"map_files_photo_id_array":[{"photo_id":"1330745528","filename":"file5"},{"photo_id":"1330745522","filename":"file2"},{"photo_id":"1330745525","filename":"file4"},{"photo_id":"1330745520","filename":"file1"},{"photo_id":"1330745517","filename":"file0"},{"photo_id":"1330745524","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745520":["hashtag1","hashtag2"]},{"1330745517":["hashtag1","hashtag2"]},{"1330745522":["hashtag1","hashtag2"]},{"1330745525":["hashtag1","hashtag2"]},{"1330745528":["hashtag1","hashtag2"]},{"1330745524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745520, 1330745517, 1330745522, 1330745525, 1330745528, 1330745524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80708956718445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:55:32.431985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_26_9403.jpg', '/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_37_10330.jpg', '/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_47_10413.jpg', '/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_57_9376.jpg', '/home/pi/Desktop/images/23012025/04/54/image_23012025_04_55_07_10326.jpg', '/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_27_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_26_9403.jpg
/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_37_10330.jpg
/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_47_10413.jpg
/home/pi/Desktop/images/23012025/04/54/image_23012025_04_54_57_9376.jpg
/home/pi/Desktop/images/23012025/04/54/image_23012025_04_55_07_10326.jpg
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_27_10356.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":["1330745558","1330745560","1330745554","1330745557","1330745542","1330745539"],"photo_ids_order":["1330745539","1330745542","1330745554","1330745557","1330745558","1330745560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af67c043c360a63aa3a9036e62384c38.jpg","text":"TemporaryFile(/tmp/multipartBody7516594530049849442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604595446,"filename":"image_23012025_04_55_07_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3197e41f5566394669c19a03c32ba0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7047447925392688217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604595446,"filename":"image_23012025_04_55_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdde47c130bb4fb1ec85b444233d54e7.jpg","text":"TemporaryFile(/tmp/multipartBody3434025680643267509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604595446,"filename":"image_23012025_04_54_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09a3d5cd55d96691f74b5ba8733281db.jpg","text":"TemporaryFile(/tmp/multipartBody1083053790252884824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604595446,"filename":"image_23012025_04_54_57_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/930e23b1b88c003104645aab4ba9bbff.jpg","text":"TemporaryFile(/tmp/multipartBody6377157188196372394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604595446,"filename":"image_23012025_04_54_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af87522dfb52b34cdbfbfc59d62f41fe.jpg","text":"TemporaryFile(/tmp/multipartBody5493271633213486940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604595446,"filename":"image_23012025_04_54_26_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745554","file1":"1330745542","file0":"1330745539","file4":"1330745558","file5":"1330745560","file3":"1330745557"},"map_files_photo_id_array":[{"photo_id":"1330745560","filename":"file5"},{"photo_id":"1330745554","filename":"file2"},{"photo_id":"1330745558","filename":"file4"},{"photo_id":"1330745542","filename":"file1"},{"photo_id":"1330745539","filename":"file0"},{"photo_id":"1330745557","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745558":["hashtag1","hashtag2"]},{"1330745560":["hashtag1","hashtag2"]},{"1330745554":["hashtag1","hashtag2"]},{"1330745557":["hashtag1","hashtag2"]},{"1330745542":["hashtag1","hashtag2"]},{"1330745539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745558, 1330745560, 1330745554, 1330745557, 1330745542, 1330745539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.947946548461914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:56:32.516926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_37_10334.jpg', '/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_46_9338.jpg', '/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_57_10345.jpg', '/home/pi/Desktop/images/23012025/04/55/image_23012025_04_56_07_10353.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_16_9346.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_27_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_37_10334.jpg
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_46_9338.jpg
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_57_10345.jpg
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_56_07_10353.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_16_9346.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_27_10344.jpg
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: 0.5336618423461914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:56:42.522996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_37_10334.jpg', '/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_46_9338.jpg', '/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_57_10345.jpg', '/home/pi/Desktop/images/23012025/04/55/image_23012025_04_56_07_10353.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_16_9346.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_27_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_37_10334.jpg
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_46_9338.jpg
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_55_57_10345.jpg
/home/pi/Desktop/images/23012025/04/55/image_23012025_04_56_07_10353.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_16_9346.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_27_10344.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":["1330745610","1330745613","1330745585","1330745593","1330745605","1330745574"],"photo_ids_order":["1330745574","1330745585","1330745593","1330745605","1330745610","1330745613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a1045bde3ef99154d2091b2654f5090.jpg","text":"TemporaryFile(/tmp/multipartBody1896649349891842649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604663426,"filename":"image_23012025_04_56_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ef4c39ccde7ca40199643c981e50977.jpg","text":"TemporaryFile(/tmp/multipartBody6520077018678227045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604663426,"filename":"image_23012025_04_56_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8927f55e4f55c5e8cba84daf3d127b56.jpg","text":"TemporaryFile(/tmp/multipartBody8455371033660356937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604663426,"filename":"image_23012025_04_55_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d9bd7224b8b7a1ec821870f596b33c1.jpg","text":"TemporaryFile(/tmp/multipartBody234367927185732512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604663426,"filename":"image_23012025_04_55_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca13f12b604444504b0a28e34ae195ec.jpg","text":"TemporaryFile(/tmp/multipartBody7451574179322430011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604663426,"filename":"image_23012025_04_56_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecfd84ddb4bd4c4f1abb85c85235a861.jpg","text":"TemporaryFile(/tmp/multipartBody4246066420703449480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604663426,"filename":"image_23012025_04_55_37_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745593","file1":"1330745585","file0":"1330745574","file4":"1330745610","file5":"1330745613","file3":"1330745605"},"map_files_photo_id_array":[{"photo_id":"1330745613","filename":"file5"},{"photo_id":"1330745593","filename":"file2"},{"photo_id":"1330745610","filename":"file4"},{"photo_id":"1330745585","filename":"file1"},{"photo_id":"1330745574","filename":"file0"},{"photo_id":"1330745605","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745610":["hashtag1","hashtag2"]},{"1330745613":["hashtag1","hashtag2"]},{"1330745585":["hashtag1","hashtag2"]},{"1330745593":["hashtag1","hashtag2"]},{"1330745605":["hashtag1","hashtag2"]},{"1330745574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745610, 1330745613, 1330745585, 1330745593, 1330745605, 1330745574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10399270057678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:57:32.727610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_37_10459.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_47_9352.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_57_10346.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_57_07_10324.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_17_9330.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_27_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_37_10459.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_47_9352.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_57_10346.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_57_07_10324.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_17_9330.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_27_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 04:59:03.573783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_37_10459.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_47_9352.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_57_10346.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_57_07_10324.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_17_9330.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_27_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_37_10459.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_47_9352.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_57_10346.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_57_07_10324.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_17_9330.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_27_10370.jpg
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: 0.6132485866546631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 04:59:32.286414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_37_10459.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_47_9352.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_57_10346.jpg', '/home/pi/Desktop/images/23012025/04/56/image_23012025_04_57_07_10324.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_17_9330.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_27_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_37_10459.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_47_9352.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_56_57_10346.jpg
/home/pi/Desktop/images/23012025/04/56/image_23012025_04_57_07_10324.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_17_9330.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_27_10370.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":["1330745835","1330745829","1330745837","1330745806","1330745809","1330745799"],"photo_ids_order":["1330745799","1330745806","1330745809","1330745829","1330745835","1330745837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e64443daad7de7b7c134f9bc692bd525.jpg","text":"TemporaryFile(/tmp/multipartBody8250633341328777739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604833192,"filename":"image_23012025_04_57_17_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1cfe7bee5797f22636ed4374585c897.jpg","text":"TemporaryFile(/tmp/multipartBody1587603634008968562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604833192,"filename":"image_23012025_04_57_07_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41ff35148fba56d9ee546141c40affd5.jpg","text":"TemporaryFile(/tmp/multipartBody4396698051204145042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604833192,"filename":"image_23012025_04_57_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/287791d1e3dfca79200ffe833078a35f.jpg","text":"TemporaryFile(/tmp/multipartBody468521915675871657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604833192,"filename":"image_23012025_04_56_47_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c6b7c98214e274a8270a4bb601d53d1.jpg","text":"TemporaryFile(/tmp/multipartBody8620404867550992865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604833192,"filename":"image_23012025_04_56_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f900c4119df1a0c4bfe1f0cc6238486d.jpg","text":"TemporaryFile(/tmp/multipartBody5903461836807200938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604833192,"filename":"image_23012025_04_56_37_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745809","file1":"1330745806","file0":"1330745799","file4":"1330745835","file5":"1330745837","file3":"1330745829"},"map_files_photo_id_array":[{"photo_id":"1330745837","filename":"file5"},{"photo_id":"1330745809","filename":"file2"},{"photo_id":"1330745835","filename":"file4"},{"photo_id":"1330745806","filename":"file1"},{"photo_id":"1330745799","filename":"file0"},{"photo_id":"1330745829","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745835":["hashtag1","hashtag2"]},{"1330745829":["hashtag1","hashtag2"]},{"1330745837":["hashtag1","hashtag2"]},{"1330745806":["hashtag1","hashtag2"]},{"1330745809":["hashtag1","hashtag2"]},{"1330745799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745835, 1330745829, 1330745837, 1330745806, 1330745809, 1330745799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22150635719299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:00:32.412935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_37_10323.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_47_9363.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_57_10342.jpg', '/home/pi/Desktop/images/23012025/04/57/image_23012025_04_58_06_9437.jpg', '/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_17_10337.jpg', '/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_27_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_37_10323.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_47_9363.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_57_57_10342.jpg
/home/pi/Desktop/images/23012025/04/57/image_23012025_04_58_06_9437.jpg
/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_17_10337.jpg
/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_27_10395.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":["1330745841","1330745873","1330745881","1330745851","1330745892","1330745847"],"photo_ids_order":["1330745841","1330745847","1330745851","1330745873","1330745881","1330745892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/339c66351daa43ec44bb941081b600d8.jpg","text":"TemporaryFile(/tmp/multipartBody1048698222735292544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604893404,"filename":"image_23012025_04_57_37_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c2f18bb5602e42ee4003acf944f0768.jpg","text":"TemporaryFile(/tmp/multipartBody6574924994021391728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604893404,"filename":"image_23012025_04_58_06_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f4713d3a1d84e8752012dd25b823a24.jpg","text":"TemporaryFile(/tmp/multipartBody7205519251819706633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604893404,"filename":"image_23012025_04_58_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2fe785704f2c931dd6b16ff8a2285e2.jpg","text":"TemporaryFile(/tmp/multipartBody1367170598764328899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604893404,"filename":"image_23012025_04_57_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb758c55f191ec416070eb99a70f09d0.jpg","text":"TemporaryFile(/tmp/multipartBody5658582915825920269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604893404,"filename":"image_23012025_04_58_27_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f334cc5ca0e9b0c3cc27ee82b26475b2.jpg","text":"TemporaryFile(/tmp/multipartBody971935882215876429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604893404,"filename":"image_23012025_04_57_47_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745851","file1":"1330745847","file0":"1330745841","file4":"1330745881","file5":"1330745892","file3":"1330745873"},"map_files_photo_id_array":[{"photo_id":"1330745892","filename":"file5"},{"photo_id":"1330745851","filename":"file2"},{"photo_id":"1330745881","filename":"file4"},{"photo_id":"1330745847","filename":"file1"},{"photo_id":"1330745841","filename":"file0"},{"photo_id":"1330745873","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745841":["hashtag1","hashtag2"]},{"1330745873":["hashtag1","hashtag2"]},{"1330745881":["hashtag1","hashtag2"]},{"1330745851":["hashtag1","hashtag2"]},{"1330745892":["hashtag1","hashtag2"]},{"1330745847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745841, 1330745873, 1330745881, 1330745851, 1330745892, 1330745847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32075524330139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:01:32.632188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_36_9333.jpg', '/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_47_10352.jpg', '/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_56_9475.jpg', '/home/pi/Desktop/images/23012025/04/58/image_23012025_04_59_07_10315.jpg', '/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_17_10411.jpg', '/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_26_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_36_9333.jpg
/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_47_10352.jpg
/home/pi/Desktop/images/23012025/04/58/image_23012025_04_58_56_9475.jpg
/home/pi/Desktop/images/23012025/04/58/image_23012025_04_59_07_10315.jpg
/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_17_10411.jpg
/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_26_9337.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":["1330745961","1330745954","1330745948","1330745956","1330745959","1330745952"],"photo_ids_order":["1330745948","1330745952","1330745954","1330745956","1330745959","1330745961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5261b6608f2c8895f687bf3049cc724.jpg","text":"TemporaryFile(/tmp/multipartBody8710485657506140594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604953567,"filename":"image_23012025_04_59_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cff2c2083b4e72dcb9fb20740cff5864.jpg","text":"TemporaryFile(/tmp/multipartBody3484901842417726785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604953567,"filename":"image_23012025_04_58_56_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbb7e20f71dbd3d6610cd116e5793018.jpg","text":"TemporaryFile(/tmp/multipartBody7603902717325918124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604953567,"filename":"image_23012025_04_58_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82f6ee13da7da1a9f8202a7f7450a9dc.jpg","text":"TemporaryFile(/tmp/multipartBody5646292247202226371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604953567,"filename":"image_23012025_04_59_07_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d0e45451d5f9c24e30829dc2f5cad1b.jpg","text":"TemporaryFile(/tmp/multipartBody1206367762310415489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604953567,"filename":"image_23012025_04_59_17_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/780283c81c03dbc207c08acf952d6f93.jpg","text":"TemporaryFile(/tmp/multipartBody7803143866515798305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737604953567,"filename":"image_23012025_04_58_47_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745954","file1":"1330745952","file0":"1330745948","file4":"1330745959","file5":"1330745961","file3":"1330745956"},"map_files_photo_id_array":[{"photo_id":"1330745961","filename":"file5"},{"photo_id":"1330745954","filename":"file2"},{"photo_id":"1330745959","filename":"file4"},{"photo_id":"1330745952","filename":"file1"},{"photo_id":"1330745948","filename":"file0"},{"photo_id":"1330745956","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745961":["hashtag1","hashtag2"]},{"1330745954":["hashtag1","hashtag2"]},{"1330745948":["hashtag1","hashtag2"]},{"1330745956":["hashtag1","hashtag2"]},{"1330745959":["hashtag1","hashtag2"]},{"1330745952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745961, 1330745954, 1330745948, 1330745956, 1330745959, 1330745952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.0182363986969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:02:32.981087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_37_10333.jpg', '/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_47_10480.jpg', '/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_56_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_37_10333.jpg
/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_47_10480.jpg
/home/pi/Desktop/images/23012025/04/59/image_23012025_04_59_56_9348.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":["1330745983","1330745977","1330745973"],"photo_ids_order":["1330745973","1330745977","1330745983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f7fc71dfaf3d1d2d26aefea744a72f9.jpg","text":"TemporaryFile(/tmp/multipartBody2698642524222213748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605013843,"filename":"image_23012025_04_59_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1923cc807f0344479e938ca37cc0b02.jpg","text":"TemporaryFile(/tmp/multipartBody579622872833090347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605013843,"filename":"image_23012025_04_59_47_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e8f681d3d633f87f1d2fb01645da0a8.jpg","text":"TemporaryFile(/tmp/multipartBody1758217242769754502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605013843,"filename":"image_23012025_04_59_37_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330745983","file1":"1330745977","file0":"1330745973"},"map_files_photo_id_array":[{"photo_id":"1330745983","filename":"file2"},{"photo_id":"1330745977","filename":"file1"},{"photo_id":"1330745973","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330745983":["hashtag1","hashtag2"]},{"1330745977":["hashtag1","hashtag2"]},{"1330745973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330745983, 1330745977, 1330745973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.13891887664795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:03:03.545780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_16_10338.jpg', '/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_25_9423.jpg', '/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_36_10413.jpg', '/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_45_9586.jpg', '/home/pi/Desktop/images/20012025/07/14/image_20012025_07_15_06_10402.jpg', '/home/pi/Desktop/images/20012025/07/15/image_20012025_07_15_16_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_16_10338.jpg
/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_25_9423.jpg
/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_36_10413.jpg
/home/pi/Desktop/images/20012025/07/14/image_20012025_07_14_45_9586.jpg
/home/pi/Desktop/images/20012025/07/14/image_20012025_07_15_06_10402.jpg
/home/pi/Desktop/images/20012025/07/15/image_20012025_07_15_16_9330.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":["1330746353","1330746721","1330746508","1330746162","1330746285","1330746060"],"photo_ids_order":["1330746060","1330746162","1330746285","1330746353","1330746508","1330746721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10dc7637fea7619f77c22c2254bf566c.jpg","text":"TemporaryFile(/tmp/multipartBody60567299186435640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605045533,"filename":"image_20012025_07_14_45_9586.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3372cd6e940b7d57c5dbe5440bed28f1.jpg","text":"TemporaryFile(/tmp/multipartBody3863929096107186486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605045533,"filename":"image_20012025_07_15_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e469c021a99a858f2ac746b28ced49bf.jpg","text":"TemporaryFile(/tmp/multipartBody1323129026797980303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605045533,"filename":"image_20012025_07_15_06_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/225cb62cb14846d77828c18432fea9a6.jpg","text":"TemporaryFile(/tmp/multipartBody282318504539479636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605045533,"filename":"image_20012025_07_14_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5254545c398f6ebf184b3889b46142ca.jpg","text":"TemporaryFile(/tmp/multipartBody6027028665748620224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605045533,"filename":"image_20012025_07_14_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d446b450f4602c290f9611de361174eb.jpg","text":"TemporaryFile(/tmp/multipartBody3331245419987473598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605045533,"filename":"image_20012025_07_14_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330746285","file1":"1330746162","file0":"1330746060","file4":"1330746508","file5":"1330746721","file3":"1330746353"},"map_files_photo_id_array":[{"photo_id":"1330746721","filename":"file5"},{"photo_id":"1330746285","filename":"file2"},{"photo_id":"1330746508","filename":"file4"},{"photo_id":"1330746162","filename":"file1"},{"photo_id":"1330746060","filename":"file0"},{"photo_id":"1330746353","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330746353":["hashtag1","hashtag2"]},{"1330746721":["hashtag1","hashtag2"]},{"1330746508":["hashtag1","hashtag2"]},{"1330746162":["hashtag1","hashtag2"]},{"1330746285":["hashtag1","hashtag2"]},{"1330746060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330746353, 1330746721, 1330746508, 1330746162, 1330746285, 1330746060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.92985272407532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:03:52.199464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/15/image_20012025_07_15_26_10456.jpg', '/home/pi/Desktop/images/20012025/07/15/image_20012025_07_15_46_10464.jpg', '/home/pi/Desktop/images/20012025/07/16/image_20012025_07_17_06_9322.jpg', '/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_16_10447.jpg', '/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_25_9336.jpg', '/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_36_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/15/image_20012025_07_15_26_10456.jpg
/home/pi/Desktop/images/20012025/07/15/image_20012025_07_15_46_10464.jpg
/home/pi/Desktop/images/20012025/07/16/image_20012025_07_17_06_9322.jpg
/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_16_10447.jpg
/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_25_9336.jpg
/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_36_10382.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":["1330746911","1330746910","1330747221","1330746957","1330747085","1330746912"],"photo_ids_order":["1330746910","1330746911","1330746912","1330746957","1330747085","1330747221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad9b112c8297de8f9bb820b117d12784.jpg","text":"TemporaryFile(/tmp/multipartBody39540720246995314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605094583,"filename":"image_20012025_07_15_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a144963684cbc8d7bb1c8eef6d7cc0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2161743057261758024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605094583,"filename":"image_20012025_07_15_26_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01b8c5581534ecafe8da978872c3cedd.jpg","text":"TemporaryFile(/tmp/multipartBody1319632365853020287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605094583,"filename":"image_20012025_07_17_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15b61e3d6a8ab52bc85975b2203eccb9.jpg","text":"TemporaryFile(/tmp/multipartBody7895405397036072183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605094583,"filename":"image_20012025_07_17_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b8d26285db95369496b8bec2cd8e840.jpg","text":"TemporaryFile(/tmp/multipartBody6305063440527771383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605094583,"filename":"image_20012025_07_17_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac3cc968bae1766e282f1b0a88c13878.jpg","text":"TemporaryFile(/tmp/multipartBody3009778230341414583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605094583,"filename":"image_20012025_07_17_06_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330746912","file1":"1330746911","file0":"1330746910","file4":"1330747085","file5":"1330747221","file3":"1330746957"},"map_files_photo_id_array":[{"photo_id":"1330747221","filename":"file5"},{"photo_id":"1330746912","filename":"file2"},{"photo_id":"1330747085","filename":"file4"},{"photo_id":"1330746911","filename":"file1"},{"photo_id":"1330746910","filename":"file0"},{"photo_id":"1330746957","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330746911":["hashtag1","hashtag2"]},{"1330746910":["hashtag1","hashtag2"]},{"1330747221":["hashtag1","hashtag2"]},{"1330746957":["hashtag1","hashtag2"]},{"1330747085":["hashtag1","hashtag2"]},{"1330746912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330746911, 1330746910, 1330747221, 1330746957, 1330747085, 1330746912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.595993995666504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:04:52.407377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_46_10348.jpg', '/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_55_9351.jpg', '/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_26_9337.jpg', '/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_36_10408.jpg', '/home/pi/Desktop/images/20012025/07/18/image_20012025_07_19_06_10380.jpg', '/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_15_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_46_10348.jpg
/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_55_9351.jpg
/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_26_9337.jpg
/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_36_10408.jpg
/home/pi/Desktop/images/20012025/07/18/image_20012025_07_19_06_10380.jpg
/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_15_9321.jpg
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: 1.9879841804504395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:05:04.324620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_46_10348.jpg', '/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_55_9351.jpg', '/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_26_9337.jpg', '/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_36_10408.jpg', '/home/pi/Desktop/images/20012025/07/18/image_20012025_07_19_06_10380.jpg', '/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_15_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_46_10348.jpg
/home/pi/Desktop/images/20012025/07/17/image_20012025_07_17_55_9351.jpg
/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_26_9337.jpg
/home/pi/Desktop/images/20012025/07/18/image_20012025_07_18_36_10408.jpg
/home/pi/Desktop/images/20012025/07/18/image_20012025_07_19_06_10380.jpg
/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_15_9321.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":["1330747832","1330747836","1330747959","1330747824","1330747731","1330747676"],"photo_ids_order":["1330747676","1330747731","1330747824","1330747832","1330747836","1330747959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44a7ad20a4e49d878b4e2de337e1e93a.jpg","text":"TemporaryFile(/tmp/multipartBody2609020255496502407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605166146,"filename":"image_20012025_07_18_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/695b4702704cc4ca8133639e78291008.jpg","text":"TemporaryFile(/tmp/multipartBody2331303432915862587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605166146,"filename":"image_20012025_07_19_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec2dcbf0b985c75ae1688d825dc1688b.jpg","text":"TemporaryFile(/tmp/multipartBody5277341375831679247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605166146,"filename":"image_20012025_07_19_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/680b5f1d7b577a94c01c2b44f03aaf66.jpg","text":"TemporaryFile(/tmp/multipartBody5588703744751504062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605166146,"filename":"image_20012025_07_18_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a0214c781f8ec52fcf7eb63af902d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2050673851900727151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605166146,"filename":"image_20012025_07_17_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e2512217a6f717b7bb86086999b91d7.jpg","text":"TemporaryFile(/tmp/multipartBody910174744552377058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605166146,"filename":"image_20012025_07_17_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330747824","file1":"1330747731","file0":"1330747676","file4":"1330747836","file5":"1330747959","file3":"1330747832"},"map_files_photo_id_array":[{"photo_id":"1330747959","filename":"file5"},{"photo_id":"1330747824","filename":"file2"},{"photo_id":"1330747836","filename":"file4"},{"photo_id":"1330747731","filename":"file1"},{"photo_id":"1330747676","filename":"file0"},{"photo_id":"1330747832","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330747832":["hashtag1","hashtag2"]},{"1330747836":["hashtag1","hashtag2"]},{"1330747959":["hashtag1","hashtag2"]},{"1330747824":["hashtag1","hashtag2"]},{"1330747731":["hashtag1","hashtag2"]},{"1330747676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330747832, 1330747836, 1330747959, 1330747824, 1330747731, 1330747676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.81906604766846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:05:52.764380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_26_10389.jpg', '/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_46_9344.jpg', '/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_56_10379.jpg', '/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_16_9388.jpg', '/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_26_10410.jpg', '/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_36_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_26_10389.jpg
/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_46_9344.jpg
/home/pi/Desktop/images/20012025/07/19/image_20012025_07_19_56_10379.jpg
/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_16_9388.jpg
/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_26_10410.jpg
/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_36_10343.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":["1330748024","1330748026","1330748022","1330748019","1330748013","1330748021"],"photo_ids_order":["1330748013","1330748019","1330748021","1330748022","1330748024","1330748026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdbd2d563b17952d920ccabf37a71a07.jpg","text":"TemporaryFile(/tmp/multipartBody4248407077947016316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605215112,"filename":"image_20012025_07_20_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28a2d5bc8f1395a2a27a3cc96105025e.jpg","text":"TemporaryFile(/tmp/multipartBody2353245097654531875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605215112,"filename":"image_20012025_07_20_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8096511ec4d6eb03dc53baf1a370244.jpg","text":"TemporaryFile(/tmp/multipartBody4544637409900220621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605215112,"filename":"image_20012025_07_20_16_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d8aa04211bef65c2c6d075c553f8f88.jpg","text":"TemporaryFile(/tmp/multipartBody1921141044908493151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605215112,"filename":"image_20012025_07_19_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e6ecca064723cb61cd0fca8e125887c.jpg","text":"TemporaryFile(/tmp/multipartBody7538524633574062318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605215112,"filename":"image_20012025_07_19_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c05e81142dbbb67c36696c7feb45899a.jpg","text":"TemporaryFile(/tmp/multipartBody4848771876198734420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605215112,"filename":"image_20012025_07_19_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330748021","file1":"1330748019","file0":"1330748013","file4":"1330748024","file5":"1330748026","file3":"1330748022"},"map_files_photo_id_array":[{"photo_id":"1330748026","filename":"file5"},{"photo_id":"1330748021","filename":"file2"},{"photo_id":"1330748024","filename":"file4"},{"photo_id":"1330748019","filename":"file1"},{"photo_id":"1330748013","filename":"file0"},{"photo_id":"1330748022","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330748024":["hashtag1","hashtag2"]},{"1330748026":["hashtag1","hashtag2"]},{"1330748022":["hashtag1","hashtag2"]},{"1330748019":["hashtag1","hashtag2"]},{"1330748013":["hashtag1","hashtag2"]},{"1330748021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330748024, 1330748026, 1330748022, 1330748019, 1330748013, 1330748021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.8752965927124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:06:52.993299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_46_9399.jpg', '/home/pi/Desktop/images/20012025/07/20/image_20012025_07_21_05_9341.jpg', '/home/pi/Desktop/images/20012025/07/21/image_20012025_07_21_46_10356.jpg', '/home/pi/Desktop/images/20012025/07/22/image_20012025_07_23_06_10361.jpg', '/home/pi/Desktop/images/20012025/07/23/image_20012025_07_23_15_9338.jpg', '/home/pi/Desktop/images/20012025/07/23/image_20012025_07_23_36_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/20/image_20012025_07_20_46_9399.jpg
/home/pi/Desktop/images/20012025/07/20/image_20012025_07_21_05_9341.jpg
/home/pi/Desktop/images/20012025/07/21/image_20012025_07_21_46_10356.jpg
/home/pi/Desktop/images/20012025/07/22/image_20012025_07_23_06_10361.jpg
/home/pi/Desktop/images/20012025/07/23/image_20012025_07_23_15_9338.jpg
/home/pi/Desktop/images/20012025/07/23/image_20012025_07_23_36_10344.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":["1330748102","1330748074","1330748121","1330748078","1330748111","1330748054"],"photo_ids_order":["1330748054","1330748074","1330748078","1330748102","1330748111","1330748121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16032a34430c85de1afba49a54ae5628.jpg","text":"TemporaryFile(/tmp/multipartBody7956041508387391587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605275369,"filename":"image_20012025_07_23_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39634d02dfab5da39d9677ee135e1b50.jpg","text":"TemporaryFile(/tmp/multipartBody7910083021533330688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605275369,"filename":"image_20012025_07_21_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9696b0e6d385cfd053f533bf8beb896f.jpg","text":"TemporaryFile(/tmp/multipartBody8241529187641134612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605275369,"filename":"image_20012025_07_23_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25ddc0f94177ac4bbc39f6a01bf306f7.jpg","text":"TemporaryFile(/tmp/multipartBody8153239417245691831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605275369,"filename":"image_20012025_07_21_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59308abb8578a55df84454f1a8e155e8.jpg","text":"TemporaryFile(/tmp/multipartBody3406933188763708380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605275369,"filename":"image_20012025_07_23_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78d7c73508f73f893fb86227d32019b7.jpg","text":"TemporaryFile(/tmp/multipartBody6746977387597814972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605275369,"filename":"image_20012025_07_20_46_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330748078","file1":"1330748074","file0":"1330748054","file4":"1330748111","file5":"1330748121","file3":"1330748102"},"map_files_photo_id_array":[{"photo_id":"1330748121","filename":"file5"},{"photo_id":"1330748078","filename":"file2"},{"photo_id":"1330748111","filename":"file4"},{"photo_id":"1330748074","filename":"file1"},{"photo_id":"1330748054","filename":"file0"},{"photo_id":"1330748102","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330748102":["hashtag1","hashtag2"]},{"1330748074":["hashtag1","hashtag2"]},{"1330748121":["hashtag1","hashtag2"]},{"1330748078":["hashtag1","hashtag2"]},{"1330748111":["hashtag1","hashtag2"]},{"1330748054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330748102, 1330748074, 1330748121, 1330748078, 1330748111, 1330748054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60630822181702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:07:42.317188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/01/image_23012025_05_01_14_10071.jpg', '/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_14_9359.jpg', '/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_55_10325.jpg', '/home/pi/Desktop/images/23012025/05/05/image_23012025_05_06_04_9395.jpg', '/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_15_10415.jpg', '/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_54_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/01/image_23012025_05_01_14_10071.jpg
/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_14_9359.jpg
/home/pi/Desktop/images/23012025/05/05/image_23012025_05_05_55_10325.jpg
/home/pi/Desktop/images/23012025/05/05/image_23012025_05_06_04_9395.jpg
/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_15_10415.jpg
/home/pi/Desktop/images/23012025/05/06/image_23012025_05_06_54_9354.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":["1330748377","1330748323","1330748230","1330748224","1330748373","1330748228"],"photo_ids_order":["1330748224","1330748228","1330748230","1330748323","1330748373","1330748377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0162a8645ad3090fb96a2bfb89cd7bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3626767026022692436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605323249,"filename":"image_23012025_05_06_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e23576402265a075bac41d17b370086e.jpg","text":"TemporaryFile(/tmp/multipartBody1645627868024435432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605323249,"filename":"image_23012025_05_06_04_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7162feac78ba1f620204cf9d0173be0d.jpg","text":"TemporaryFile(/tmp/multipartBody3704522014324875583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605323249,"filename":"image_23012025_05_05_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4542f139160dd771d570be22a604461f.jpg","text":"TemporaryFile(/tmp/multipartBody383955251064013669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605323249,"filename":"image_23012025_05_01_14_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acc5550387780ed60e00084d9ea3674e.jpg","text":"TemporaryFile(/tmp/multipartBody5842809296231607017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605323249,"filename":"image_23012025_05_06_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f856b054bdaff41f31fcbfb9b624b26.jpg","text":"TemporaryFile(/tmp/multipartBody8436738163058075154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605323249,"filename":"image_23012025_05_05_14_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330748230","file1":"1330748228","file0":"1330748224","file4":"1330748373","file5":"1330748377","file3":"1330748323"},"map_files_photo_id_array":[{"photo_id":"1330748377","filename":"file5"},{"photo_id":"1330748230","filename":"file2"},{"photo_id":"1330748373","filename":"file4"},{"photo_id":"1330748228","filename":"file1"},{"photo_id":"1330748224","filename":"file0"},{"photo_id":"1330748323","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330748377":["hashtag1","hashtag2"]},{"1330748323":["hashtag1","hashtag2"]},{"1330748230":["hashtag1","hashtag2"]},{"1330748224":["hashtag1","hashtag2"]},{"1330748373":["hashtag1","hashtag2"]},{"1330748228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330748377, 1330748323, 1330748230, 1330748224, 1330748373, 1330748228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48522996902466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:08:32.386593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_15_10355.jpg', '/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_35_10427.jpg', '/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_54_9331.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_14_9379.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_24_10347.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_35_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_15_10355.jpg
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_35_10427.jpg
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_54_9331.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_14_9379.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_24_10347.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_35_10360.jpg
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: 0.5254878997802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:08:42.558780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_15_10355.jpg', '/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_35_10427.jpg', '/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_54_9331.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_14_9379.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_24_10347.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_35_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_15_10355.jpg
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_35_10427.jpg
/home/pi/Desktop/images/23012025/05/07/image_23012025_05_07_54_9331.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_14_9379.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_24_10347.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_35_10360.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":["1330748550","1330748523","1330748579","1330748570","1330748576","1330748516"],"photo_ids_order":["1330748516","1330748523","1330748550","1330748570","1330748576","1330748579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46973477704317af4962cc184c3d24f9.jpg","text":"TemporaryFile(/tmp/multipartBody3674091238945262164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605383472,"filename":"image_23012025_05_07_54_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/539333da391d129f113a5f9fc7cd7675.jpg","text":"TemporaryFile(/tmp/multipartBody4157598950191906918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605383472,"filename":"image_23012025_05_07_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e3b84d19bc03061aef0ab0be2285536.jpg","text":"TemporaryFile(/tmp/multipartBody1434295565516377272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605383472,"filename":"image_23012025_05_08_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9b595cc93eb096f46db259fb0551c20.jpg","text":"TemporaryFile(/tmp/multipartBody3294171829900569673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605383472,"filename":"image_23012025_05_08_14_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37b3b2e1b5b3d97082211607ac940623.jpg","text":"TemporaryFile(/tmp/multipartBody6327036252976797280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605383472,"filename":"image_23012025_05_08_24_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07372606363df8f7b022b2702689b61c.jpg","text":"TemporaryFile(/tmp/multipartBody4636463534692665674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605383472,"filename":"image_23012025_05_07_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330748550","file1":"1330748523","file0":"1330748516","file4":"1330748576","file5":"1330748579","file3":"1330748570"},"map_files_photo_id_array":[{"photo_id":"1330748579","filename":"file5"},{"photo_id":"1330748550","filename":"file2"},{"photo_id":"1330748576","filename":"file4"},{"photo_id":"1330748523","filename":"file1"},{"photo_id":"1330748516","filename":"file0"},{"photo_id":"1330748570","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330748550":["hashtag1","hashtag2"]},{"1330748523":["hashtag1","hashtag2"]},{"1330748579":["hashtag1","hashtag2"]},{"1330748570":["hashtag1","hashtag2"]},{"1330748576":["hashtag1","hashtag2"]},{"1330748516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330748550, 1330748523, 1330748579, 1330748570, 1330748576, 1330748516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87727451324463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:09:32.724897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_55_10368.jpg', '/home/pi/Desktop/images/23012025/05/08/image_23012025_05_09_05_10363.jpg', '/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_25_10358.jpg', '/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_08_55_10368.jpg
/home/pi/Desktop/images/23012025/05/08/image_23012025_05_09_05_10363.jpg
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_25_10358.jpg
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_44_9355.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":["1330748608","1330748602","1330748595","1330748604"],"photo_ids_order":["1330748595","1330748602","1330748604","1330748608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ba4eb26d9679a0a5ca2cfedcbbfd59a.jpg","text":"TemporaryFile(/tmp/multipartBody7194254991525936502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433612,"filename":"image_23012025_05_09_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fd96a4ebb5cb14ecfd298872017b54a.jpg","text":"TemporaryFile(/tmp/multipartBody5165505271684660070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433612,"filename":"image_23012025_05_09_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46d208ccb0e405c73e19559efad7ab68.jpg","text":"TemporaryFile(/tmp/multipartBody4140311111796805865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433612,"filename":"image_23012025_05_08_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7de95e3cdca36096cdab74ee3f4c01aa.jpg","text":"TemporaryFile(/tmp/multipartBody2753436312816917319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605433612,"filename":"image_23012025_05_09_25_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330748604","file1":"1330748602","file0":"1330748595","file3":"1330748608"},"map_files_photo_id_array":[{"photo_id":"1330748604","filename":"file2"},{"photo_id":"1330748602","filename":"file1"},{"photo_id":"1330748595","filename":"file0"},{"photo_id":"1330748608","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330748608":["hashtag1","hashtag2"]},{"1330748602":["hashtag1","hashtag2"]},{"1330748595":["hashtag1","hashtag2"]},{"1330748604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330748608, 1330748602, 1330748595, 1330748604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.843838930130005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:10:03.629459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/23/image_20012025_07_24_05_9343.jpg', '/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_26_10369.jpg', '/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_56_10362.jpg', '/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_46_10436.jpg', '/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_55_9355.jpg', '/home/pi/Desktop/images/20012025/07/26/image_20012025_07_26_26_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/23/image_20012025_07_24_05_9343.jpg
/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_26_10369.jpg
/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_56_10362.jpg
/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_46_10436.jpg
/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_55_9355.jpg
/home/pi/Desktop/images/20012025/07/26/image_20012025_07_26_26_9342.jpg
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: 1.2561450004577637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:10:32.948866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_55_10341.jpg', '/home/pi/Desktop/images/23012025/05/09/image_23012025_05_10_04_9443.jpg', '/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_15_10353.jpg', '/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_25_10471.jpg', '/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_09_55_10341.jpg
/home/pi/Desktop/images/23012025/05/09/image_23012025_05_10_04_9443.jpg
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_15_10353.jpg
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_25_10471.jpg
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_45_10348.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":["1330748635","1330748625","1330748621","1330748639","1330748630"],"photo_ids_order":["1330748621","1330748625","1330748630","1330748635","1330748639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98ccbb3ec9f4d83bcee3cba234a90392.jpg","text":"TemporaryFile(/tmp/multipartBody8086876639567937281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493837,"filename":"image_23012025_05_10_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09e0dcff036a854f3cc93ade6fcf4b08.jpg","text":"TemporaryFile(/tmp/multipartBody1060462851221224564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493837,"filename":"image_23012025_05_10_04_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e456c1b57e64ffcfa81e50061a3a3cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4684924820063100047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493837,"filename":"image_23012025_05_09_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d3aa3a183ee2179191e3383201076a1.jpg","text":"TemporaryFile(/tmp/multipartBody2891248792194339225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493837,"filename":"image_23012025_05_10_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c33ad45afc1983f1ac546c7781b735b9.jpg","text":"TemporaryFile(/tmp/multipartBody7424837694396389090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605493837,"filename":"image_23012025_05_10_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330748630","file1":"1330748625","file0":"1330748621","file4":"1330748639","file3":"1330748635"},"map_files_photo_id_array":[{"photo_id":"1330748630","filename":"file2"},{"photo_id":"1330748639","filename":"file4"},{"photo_id":"1330748625","filename":"file1"},{"photo_id":"1330748621","filename":"file0"},{"photo_id":"1330748635","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330748635":["hashtag1","hashtag2"]},{"1330748625":["hashtag1","hashtag2"]},{"1330748621":["hashtag1","hashtag2"]},{"1330748639":["hashtag1","hashtag2"]},{"1330748630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330748635, 1330748625, 1330748621, 1330748639, 1330748630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.409910678863525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:11:33.094398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_54_9373.jpg', '/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_15_10387.jpg', '/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_24_9407.jpg', '/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_35_10351.jpg', '/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_45_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/10/image_23012025_05_10_54_9373.jpg
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_15_10387.jpg
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_24_9407.jpg
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_35_10351.jpg
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_45_10333.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":["1330748752","1330748719","1330748697","1330748693","1330748741"],"photo_ids_order":["1330748693","1330748697","1330748719","1330748741","1330748752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf2c4bef7970fa2ea85907d22cbcdd7e.jpg","text":"TemporaryFile(/tmp/multipartBody2692416400052550921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605554015,"filename":"image_23012025_05_11_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6962d5d6e96d7b3c3887a224749c6980.jpg","text":"TemporaryFile(/tmp/multipartBody2477852841288594521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605554015,"filename":"image_23012025_05_11_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a8a3dc28ef0002adaa90bffc0875d44.jpg","text":"TemporaryFile(/tmp/multipartBody7586327233404515375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605554015,"filename":"image_23012025_05_11_15_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49fca22a6584368553329008e2ed8614.jpg","text":"TemporaryFile(/tmp/multipartBody8104092695755654872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605554015,"filename":"image_23012025_05_10_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30aa745c83c2d114e3aea5bd7884eab5.jpg","text":"TemporaryFile(/tmp/multipartBody7110958011496968292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605554015,"filename":"image_23012025_05_11_35_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330748719","file1":"1330748697","file0":"1330748693","file4":"1330748752","file3":"1330748741"},"map_files_photo_id_array":[{"photo_id":"1330748719","filename":"file2"},{"photo_id":"1330748752","filename":"file4"},{"photo_id":"1330748697","filename":"file1"},{"photo_id":"1330748693","filename":"file0"},{"photo_id":"1330748741","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330748752":["hashtag1","hashtag2"]},{"1330748719":["hashtag1","hashtag2"]},{"1330748697":["hashtag1","hashtag2"]},{"1330748693":["hashtag1","hashtag2"]},{"1330748741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330748752, 1330748719, 1330748697, 1330748693, 1330748741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.21408152580261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:12:32.333557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_54_9393.jpg', '/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_54_9393.jpg
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_25_10344.jpg
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: 0.4556701183319092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:12:42.401640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_54_9393.jpg', '/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/11/image_23012025_05_11_54_9393.jpg
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_25_10344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330749159","1330749150"],"photo_ids_order":["1330749150","1330749159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a14edc8cc30d269f7967c89339a31218.jpg","text":"TemporaryFile(/tmp/multipartBody6299420699492629042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605623247,"filename":"image_23012025_05_12_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dea8537b0c953b648651a69cfda6674.jpg","text":"TemporaryFile(/tmp/multipartBody137166496315012921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605623247,"filename":"image_23012025_05_11_54_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330749159","file0":"1330749150"},"map_files_photo_id_array":[{"photo_id":"1330749159","filename":"file1"},{"photo_id":"1330749150","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749159":["hashtag1","hashtag2"]},{"1330749150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749159, 1330749150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.21380352973938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:13:03.764070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/23/image_20012025_07_24_05_9343.jpg', '/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_26_10369.jpg', '/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_56_10362.jpg', '/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_46_10436.jpg', '/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_55_9355.jpg', '/home/pi/Desktop/images/20012025/07/26/image_20012025_07_26_26_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/23/image_20012025_07_24_05_9343.jpg
/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_26_10369.jpg
/home/pi/Desktop/images/20012025/07/24/image_20012025_07_24_56_10362.jpg
/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_46_10436.jpg
/home/pi/Desktop/images/20012025/07/25/image_20012025_07_25_55_9355.jpg
/home/pi/Desktop/images/20012025/07/26/image_20012025_07_26_26_9342.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":["1330749274","1330749205","1330749297","1330749246","1330749236","1330749271"],"photo_ids_order":["1330749205","1330749236","1330749246","1330749271","1330749274","1330749297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e46d190f3a7e3ed5195b4fc3d6676c8.jpg","text":"TemporaryFile(/tmp/multipartBody562071713358622492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605645537,"filename":"image_20012025_07_25_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b56c998d0f52355b75e032eb2f8ba083.jpg","text":"TemporaryFile(/tmp/multipartBody5721905326042144644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605645537,"filename":"image_20012025_07_24_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bebdfb778e8f870f71b81654aafc864.jpg","text":"TemporaryFile(/tmp/multipartBody8578931788599704139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605645537,"filename":"image_20012025_07_26_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/837bf3ce171af3cd940c15495d3e4c96.jpg","text":"TemporaryFile(/tmp/multipartBody4377911908657804983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605645537,"filename":"image_20012025_07_24_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d06b1441834a28a03c54ab240dd0fc8d.jpg","text":"TemporaryFile(/tmp/multipartBody8386593497924478802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605645537,"filename":"image_20012025_07_24_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b57b76cc550eac7e0d3f6907a3351926.jpg","text":"TemporaryFile(/tmp/multipartBody7311272512113165992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605645537,"filename":"image_20012025_07_25_46_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749246","file1":"1330749236","file0":"1330749205","file4":"1330749274","file5":"1330749297","file3":"1330749271"},"map_files_photo_id_array":[{"photo_id":"1330749297","filename":"file5"},{"photo_id":"1330749246","filename":"file2"},{"photo_id":"1330749274","filename":"file4"},{"photo_id":"1330749236","filename":"file1"},{"photo_id":"1330749205","filename":"file0"},{"photo_id":"1330749271","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330749274":["hashtag1","hashtag2"]},{"1330749205":["hashtag1","hashtag2"]},{"1330749297":["hashtag1","hashtag2"]},{"1330749246":["hashtag1","hashtag2"]},{"1330749236":["hashtag1","hashtag2"]},{"1330749271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330749274, 1330749205, 1330749297, 1330749246, 1330749236, 1330749271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0353798866272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:13:52.561748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/26/image_20012025_07_26_56_9337.jpg', '/home/pi/Desktop/images/20012025/07/27/image_20012025_07_27_16_10344.jpg', '/home/pi/Desktop/images/20012025/07/27/image_20012025_07_27_36_10349.jpg', '/home/pi/Desktop/images/20012025/07/27/image_20012025_07_27_56_10354.jpg', '/home/pi/Desktop/images/20012025/07/27/image_20012025_07_28_06_10403.jpg', '/home/pi/Desktop/images/20012025/07/28/image_20012025_07_28_16_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/26/image_20012025_07_26_56_9337.jpg
/home/pi/Desktop/images/20012025/07/27/image_20012025_07_27_16_10344.jpg
/home/pi/Desktop/images/20012025/07/27/image_20012025_07_27_36_10349.jpg
/home/pi/Desktop/images/20012025/07/27/image_20012025_07_27_56_10354.jpg
/home/pi/Desktop/images/20012025/07/27/image_20012025_07_28_06_10403.jpg
/home/pi/Desktop/images/20012025/07/28/image_20012025_07_28_16_9405.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":["1330749307","1330749310","1330749312","1330749309","1330749311","1330749308"],"photo_ids_order":["1330749307","1330749308","1330749309","1330749310","1330749311","1330749312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17c3c65c3aee5e31deb73329c0ff7d50.jpg","text":"TemporaryFile(/tmp/multipartBody7250247818764632039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605694945,"filename":"image_20012025_07_26_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47a1942b41c8c86f0e9f15e1acaa470a.jpg","text":"TemporaryFile(/tmp/multipartBody766379856767185665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605694945,"filename":"image_20012025_07_27_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/199e24e126c98d953ae8c042801c1e37.jpg","text":"TemporaryFile(/tmp/multipartBody1706707928739151328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605694945,"filename":"image_20012025_07_28_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91bbdaa40c7499097c1e2db632886acc.jpg","text":"TemporaryFile(/tmp/multipartBody9088144083398518094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605694945,"filename":"image_20012025_07_27_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f980480dcc65f36ca3e543c783df1b5.jpg","text":"TemporaryFile(/tmp/multipartBody5509424480229252229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605694945,"filename":"image_20012025_07_28_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13fd3c7fbd49b08a22675de78ee4484c.jpg","text":"TemporaryFile(/tmp/multipartBody2598648446698508176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605694945,"filename":"image_20012025_07_27_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749309","file1":"1330749308","file0":"1330749307","file4":"1330749311","file5":"1330749312","file3":"1330749310"},"map_files_photo_id_array":[{"photo_id":"1330749312","filename":"file5"},{"photo_id":"1330749309","filename":"file2"},{"photo_id":"1330749311","filename":"file4"},{"photo_id":"1330749308","filename":"file1"},{"photo_id":"1330749307","filename":"file0"},{"photo_id":"1330749310","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330749307":["hashtag1","hashtag2"]},{"1330749310":["hashtag1","hashtag2"]},{"1330749312":["hashtag1","hashtag2"]},{"1330749309":["hashtag1","hashtag2"]},{"1330749311":["hashtag1","hashtag2"]},{"1330749308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330749307, 1330749310, 1330749312, 1330749309, 1330749311, 1330749308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.15828824043274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:14:42.804866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_55_10426.jpg', '/home/pi/Desktop/images/23012025/05/12/image_23012025_05_13_05_10470.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_14_9340.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_25_10371.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_34_9365.jpg', '/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_12_55_10426.jpg
/home/pi/Desktop/images/23012025/05/12/image_23012025_05_13_05_10470.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_14_9340.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_25_10371.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_34_9365.jpg
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_13_45_10334.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":["1330749372","1330749342","1330749383","1330749386","1330749389","1330749391"],"photo_ids_order":["1330749342","1330749372","1330749383","1330749386","1330749389","1330749391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5c7d4dc69b643882200886b1103ff06.jpg","text":"TemporaryFile(/tmp/multipartBody1541637228994297137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605743701,"filename":"image_23012025_05_13_05_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/612645347190a050ee0e40b1c9e25f46.jpg","text":"TemporaryFile(/tmp/multipartBody3011029262614441750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605743701,"filename":"image_23012025_05_12_55_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea904815fb8be9567f5fb12c9325e46d.jpg","text":"TemporaryFile(/tmp/multipartBody6858154688855089926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605743701,"filename":"image_23012025_05_13_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ada087132d2391a0ebc39ef73002d5fa.jpg","text":"TemporaryFile(/tmp/multipartBody9079445131753846365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605743701,"filename":"image_23012025_05_13_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/896e12447901dceeae57ff3364d9910b.jpg","text":"TemporaryFile(/tmp/multipartBody8893463724770141329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605743701,"filename":"image_23012025_05_13_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f58dd0714d42e76d1a6fe187fd572d19.jpg","text":"TemporaryFile(/tmp/multipartBody8643470366747426659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605743701,"filename":"image_23012025_05_13_45_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749383","file1":"1330749372","file0":"1330749342","file4":"1330749389","file5":"1330749391","file3":"1330749386"},"map_files_photo_id_array":[{"photo_id":"1330749391","filename":"file5"},{"photo_id":"1330749383","filename":"file2"},{"photo_id":"1330749389","filename":"file4"},{"photo_id":"1330749372","filename":"file1"},{"photo_id":"1330749342","filename":"file0"},{"photo_id":"1330749386","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749372":["hashtag1","hashtag2"]},{"1330749342":["hashtag1","hashtag2"]},{"1330749383":["hashtag1","hashtag2"]},{"1330749386":["hashtag1","hashtag2"]},{"1330749389":["hashtag1","hashtag2"]},{"1330749391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749372, 1330749342, 1330749383, 1330749386, 1330749389, 1330749391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65013313293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:15:33.008825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/13/image_23012025_05_14_04_9349.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_15_10441.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_25_10372.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_34_9358.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_45_10353.jpg', '/home/pi/Desktop/images/23012025/05/14/image_23012025_05_15_04_9317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/13/image_23012025_05_14_04_9349.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_15_10441.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_25_10372.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_34_9358.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_14_45_10353.jpg
/home/pi/Desktop/images/23012025/05/14/image_23012025_05_15_04_9317.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":["1330749466","1330749482","1330749420","1330749479","1330749473","1330749461"],"photo_ids_order":["1330749420","1330749461","1330749466","1330749473","1330749479","1330749482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4155297b4a04e78b587cf1b9843dedba.jpg","text":"TemporaryFile(/tmp/multipartBody5548965961280030480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605793906,"filename":"image_23012025_05_14_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76d39c70a6358544b0aa1dfe956f552d.jpg","text":"TemporaryFile(/tmp/multipartBody8476561448719099677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605793906,"filename":"image_23012025_05_15_04_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93e4669f8bce14089435b7377d2d3d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4067015430641467984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605793906,"filename":"image_23012025_05_14_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/278563eef0225e64aba5db5d246c3b1f.jpg","text":"TemporaryFile(/tmp/multipartBody539578926950370372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605793906,"filename":"image_23012025_05_14_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7892ab56ded1b0814892026a6b4102c4.jpg","text":"TemporaryFile(/tmp/multipartBody1569849074060391741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605793906,"filename":"image_23012025_05_14_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9579c1b976ed0c97c0e9c54b7e3957e.jpg","text":"TemporaryFile(/tmp/multipartBody7652696707715729112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605793906,"filename":"image_23012025_05_14_15_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749466","file1":"1330749461","file0":"1330749420","file4":"1330749479","file5":"1330749482","file3":"1330749473"},"map_files_photo_id_array":[{"photo_id":"1330749482","filename":"file5"},{"photo_id":"1330749466","filename":"file2"},{"photo_id":"1330749479","filename":"file4"},{"photo_id":"1330749461","filename":"file1"},{"photo_id":"1330749420","filename":"file0"},{"photo_id":"1330749473","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749466":["hashtag1","hashtag2"]},{"1330749482":["hashtag1","hashtag2"]},{"1330749420":["hashtag1","hashtag2"]},{"1330749479":["hashtag1","hashtag2"]},{"1330749473":["hashtag1","hashtag2"]},{"1330749461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749466, 1330749482, 1330749420, 1330749479, 1330749473, 1330749461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.12467288970947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:16:52.144447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/28/image_20012025_07_28_56_10365.jpg', '/home/pi/Desktop/images/20012025/07/28/image_20012025_07_29_06_9347.jpg', '/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_16_10411.jpg', '/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_26_10416.jpg', '/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_36_9371.jpg', '/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/28/image_20012025_07_28_56_10365.jpg
/home/pi/Desktop/images/20012025/07/28/image_20012025_07_29_06_9347.jpg
/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_16_10411.jpg
/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_26_10416.jpg
/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_36_9371.jpg
/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_46_10341.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":["1330749514","1330749492","1330749495","1330749510","1330749530","1330749490"],"photo_ids_order":["1330749490","1330749492","1330749495","1330749510","1330749514","1330749530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff16896e1bc8679e834bc407d2e4f55f.jpg","text":"TemporaryFile(/tmp/multipartBody2388299927556473122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605874503,"filename":"image_20012025_07_29_36_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58aa17d64daa1f762d2afd7e890735c7.jpg","text":"TemporaryFile(/tmp/multipartBody7877460674019963417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605874503,"filename":"image_20012025_07_29_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00bd1216ab4535dfcf1079523a79f432.jpg","text":"TemporaryFile(/tmp/multipartBody4905999379880063449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605874503,"filename":"image_20012025_07_29_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d4a926d5e69bb1bf23a895b11f3bcde.jpg","text":"TemporaryFile(/tmp/multipartBody8674178181254143909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605874503,"filename":"image_20012025_07_29_26_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86fc3f57b5c8fc35ec55f75efdf95551.jpg","text":"TemporaryFile(/tmp/multipartBody823462022718887939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605874503,"filename":"image_20012025_07_29_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/853213a00b6ad7feb27853db70e40dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1152729964412442457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605874503,"filename":"image_20012025_07_28_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749495","file1":"1330749492","file0":"1330749490","file4":"1330749514","file5":"1330749530","file3":"1330749510"},"map_files_photo_id_array":[{"photo_id":"1330749530","filename":"file5"},{"photo_id":"1330749495","filename":"file2"},{"photo_id":"1330749514","filename":"file4"},{"photo_id":"1330749492","filename":"file1"},{"photo_id":"1330749490","filename":"file0"},{"photo_id":"1330749510","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330749514":["hashtag1","hashtag2"]},{"1330749492":["hashtag1","hashtag2"]},{"1330749495":["hashtag1","hashtag2"]},{"1330749510":["hashtag1","hashtag2"]},{"1330749530":["hashtag1","hashtag2"]},{"1330749490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330749514, 1330749492, 1330749495, 1330749510, 1330749530, 1330749490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.095773220062256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:17:42.476212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_15_10354.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_24_9433.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_35_10340.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_45_10340.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_54_9459.jpg', '/home/pi/Desktop/images/23012025/05/15/image_23012025_05_16_05_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_15_10354.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_24_9433.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_35_10340.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_45_10340.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_15_54_9459.jpg
/home/pi/Desktop/images/23012025/05/15/image_23012025_05_16_05_10360.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":["1330749597","1330749601","1330749593","1330749575","1330749605","1330749568"],"photo_ids_order":["1330749568","1330749575","1330749593","1330749597","1330749601","1330749605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34279e14a12c587410822b115e29ff86.jpg","text":"TemporaryFile(/tmp/multipartBody5803595807886863649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605923397,"filename":"image_23012025_05_15_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d6b7c34e025351562e30a1ade4ee416.jpg","text":"TemporaryFile(/tmp/multipartBody8438904808096425225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605923397,"filename":"image_23012025_05_15_54_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3563bca192fabf649973e40d9f35d26.jpg","text":"TemporaryFile(/tmp/multipartBody3888789126520446385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605923397,"filename":"image_23012025_05_15_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73e1c8ee74dacb32bcbdab135a46f5fc.jpg","text":"TemporaryFile(/tmp/multipartBody6420513469396886669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605923397,"filename":"image_23012025_05_15_24_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9e4d06840e4960daea1bcc5fa0c2478.jpg","text":"TemporaryFile(/tmp/multipartBody3063373302179643991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605923397,"filename":"image_23012025_05_16_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b4b0c0dd47873b3878048514ee9d2f7.jpg","text":"TemporaryFile(/tmp/multipartBody932220189966056716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605923397,"filename":"image_23012025_05_15_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749593","file1":"1330749575","file0":"1330749568","file4":"1330749601","file5":"1330749605","file3":"1330749597"},"map_files_photo_id_array":[{"photo_id":"1330749605","filename":"file5"},{"photo_id":"1330749593","filename":"file2"},{"photo_id":"1330749601","filename":"file4"},{"photo_id":"1330749575","filename":"file1"},{"photo_id":"1330749568","filename":"file0"},{"photo_id":"1330749597","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749597":["hashtag1","hashtag2"]},{"1330749601":["hashtag1","hashtag2"]},{"1330749593":["hashtag1","hashtag2"]},{"1330749575":["hashtag1","hashtag2"]},{"1330749605":["hashtag1","hashtag2"]},{"1330749568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749597, 1330749601, 1330749593, 1330749575, 1330749605, 1330749568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1934540271759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:18:32.571401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_24_9340.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_35_10354.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_44_9419.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_55_10343.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_17_05_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_24_9340.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_35_10354.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_44_9419.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_55_10343.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_17_05_10409.jpg
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: 0.5139474868774414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:18:42.589483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_24_9340.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_35_10354.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_44_9419.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_55_10343.jpg', '/home/pi/Desktop/images/23012025/05/16/image_23012025_05_17_05_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_24_9340.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_35_10354.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_44_9419.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_16_55_10343.jpg
/home/pi/Desktop/images/23012025/05/16/image_23012025_05_17_05_10409.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":["1330749699","1330749687","1330749645","1330749650","1330749673"],"photo_ids_order":["1330749645","1330749650","1330749673","1330749687","1330749699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05660f642f38c8490eb231e87e81e0d0.jpg","text":"TemporaryFile(/tmp/multipartBody912476754847642147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605983486,"filename":"image_23012025_05_17_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca81cb4f00e337bc9e12075960778334.jpg","text":"TemporaryFile(/tmp/multipartBody4930196200454734942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605983486,"filename":"image_23012025_05_16_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2b5df9ef77ea7b8c7d2ca2be17df8da.jpg","text":"TemporaryFile(/tmp/multipartBody3369587442670100693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605983486,"filename":"image_23012025_05_16_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f07ea95dc24fd2c900fb0477fcbf070e.jpg","text":"TemporaryFile(/tmp/multipartBody2334309099682381723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605983486,"filename":"image_23012025_05_16_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/204d76aaa176cbd2e172c12691bd6dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4764543638491323085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737605983486,"filename":"image_23012025_05_16_44_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749673","file1":"1330749650","file0":"1330749645","file4":"1330749699","file3":"1330749687"},"map_files_photo_id_array":[{"photo_id":"1330749673","filename":"file2"},{"photo_id":"1330749699","filename":"file4"},{"photo_id":"1330749650","filename":"file1"},{"photo_id":"1330749645","filename":"file0"},{"photo_id":"1330749687","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749699":["hashtag1","hashtag2"]},{"1330749687":["hashtag1","hashtag2"]},{"1330749645":["hashtag1","hashtag2"]},{"1330749650":["hashtag1","hashtag2"]},{"1330749673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749699, 1330749687, 1330749645, 1330749650, 1330749673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.548906326293945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:19:33.012732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/17/image_23012025_05_18_04_9348.jpg', '/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_15_10354.jpg', '/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_24_9349.jpg', '/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_35_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/17/image_23012025_05_18_04_9348.jpg
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_15_10354.jpg
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_24_9349.jpg
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_35_10328.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":["1330749715","1330749718","1330749719","1330749716"],"photo_ids_order":["1330749715","1330749716","1330749718","1330749719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc4c4132a8750cb3223626d6f3c42e39.jpg","text":"TemporaryFile(/tmp/multipartBody1731278494661487990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606033904,"filename":"image_23012025_05_18_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5717950174344786dfe166d5fbad5a4.jpg","text":"TemporaryFile(/tmp/multipartBody6083854331896927793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606033904,"filename":"image_23012025_05_19_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3926df9806d8476e129403474d033386.jpg","text":"TemporaryFile(/tmp/multipartBody8287503146096853903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606033904,"filename":"image_23012025_05_19_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b2fa7e3e58cc66751b7904cc379caf0.jpg","text":"TemporaryFile(/tmp/multipartBody4961626530489487358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606033904,"filename":"image_23012025_05_19_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749718","file1":"1330749716","file0":"1330749715","file3":"1330749719"},"map_files_photo_id_array":[{"photo_id":"1330749718","filename":"file2"},{"photo_id":"1330749716","filename":"file1"},{"photo_id":"1330749715","filename":"file0"},{"photo_id":"1330749719","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749715":["hashtag1","hashtag2"]},{"1330749718":["hashtag1","hashtag2"]},{"1330749719":["hashtag1","hashtag2"]},{"1330749716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749715, 1330749718, 1330749719, 1330749716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.59507942199707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:20:02.798360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_55_9358.jpg', '/home/pi/Desktop/images/20012025/07/29/image_20012025_07_30_06_10395.jpg', '/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_16_10380.jpg', '/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_26_9329.jpg', '/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_36_10343.jpg', '/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/29/image_20012025_07_29_55_9358.jpg
/home/pi/Desktop/images/20012025/07/29/image_20012025_07_30_06_10395.jpg
/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_16_10380.jpg
/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_26_9329.jpg
/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_36_10343.jpg
/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_46_10350.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":["1330749735","1330749743","1330749731","1330749725","1330749740","1330749728"],"photo_ids_order":["1330749725","1330749728","1330749731","1330749735","1330749740","1330749743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fc83926a6e4df9158a301f1300f46a9.jpg","text":"TemporaryFile(/tmp/multipartBody3210330807442307810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606064373,"filename":"image_20012025_07_30_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73774f5ff845bbd2b2cef85e632d4314.jpg","text":"TemporaryFile(/tmp/multipartBody5551830662833941673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606064373,"filename":"image_20012025_07_30_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d669ff5b2e350329730b2cde3e841aa.jpg","text":"TemporaryFile(/tmp/multipartBody7294971646775623233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606064373,"filename":"image_20012025_07_30_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d25eaaf576bdaf74c48c3364b5a272fa.jpg","text":"TemporaryFile(/tmp/multipartBody2699556334050909098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606064373,"filename":"image_20012025_07_29_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ddb67f3d86153576a3081a418bd00a8.jpg","text":"TemporaryFile(/tmp/multipartBody8549373315080219337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606064373,"filename":"image_20012025_07_30_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5496be6efbe4995c2eb1765fdc42bfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2291508306396310905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606064373,"filename":"image_20012025_07_30_06_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749731","file1":"1330749728","file0":"1330749725","file4":"1330749740","file5":"1330749743","file3":"1330749735"},"map_files_photo_id_array":[{"photo_id":"1330749743","filename":"file5"},{"photo_id":"1330749731","filename":"file2"},{"photo_id":"1330749740","filename":"file4"},{"photo_id":"1330749728","filename":"file1"},{"photo_id":"1330749725","filename":"file0"},{"photo_id":"1330749735","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330749735":["hashtag1","hashtag2"]},{"1330749743":["hashtag1","hashtag2"]},{"1330749731":["hashtag1","hashtag2"]},{"1330749725":["hashtag1","hashtag2"]},{"1330749740":["hashtag1","hashtag2"]},{"1330749728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330749735, 1330749743, 1330749731, 1330749725, 1330749740, 1330749728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99723505973816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:20:52.183434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_56_9363.jpg', '/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_16_10343.jpg', '/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_26_9346.jpg', '/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_46_10342.jpg', '/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_56_9351.jpg', '/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_15_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/30/image_20012025_07_30_56_9363.jpg
/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_16_10343.jpg
/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_26_9346.jpg
/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_46_10342.jpg
/home/pi/Desktop/images/20012025/07/31/image_20012025_07_31_56_9351.jpg
/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_15_9318.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":["1330749757","1330749747","1330749761","1330749751","1330749754","1330749748"],"photo_ids_order":["1330749747","1330749748","1330749751","1330749754","1330749757","1330749761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d619ba51a190e0bb62061dc236ee452.jpg","text":"TemporaryFile(/tmp/multipartBody5807269161136219823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606114696,"filename":"image_20012025_07_31_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2a68421c4b3a308b410b58b1fe750a7.jpg","text":"TemporaryFile(/tmp/multipartBody3508788653303443227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606114696,"filename":"image_20012025_07_30_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27b4053f061a1cfcff69e24a010c7002.jpg","text":"TemporaryFile(/tmp/multipartBody8442504864818635158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606114696,"filename":"image_20012025_07_32_15_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18ccf63d55facb6846a65c6509ee72ad.jpg","text":"TemporaryFile(/tmp/multipartBody4666633037322062183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606114696,"filename":"image_20012025_07_31_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59ce59befb6c7f43fbfb09d713ccfd50.jpg","text":"TemporaryFile(/tmp/multipartBody541676348457847976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606114696,"filename":"image_20012025_07_31_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/598acdb2fe159aeacbebed4d40205545.jpg","text":"TemporaryFile(/tmp/multipartBody3025112553648449491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606114696,"filename":"image_20012025_07_31_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749751","file1":"1330749748","file0":"1330749747","file4":"1330749757","file5":"1330749761","file3":"1330749754"},"map_files_photo_id_array":[{"photo_id":"1330749761","filename":"file5"},{"photo_id":"1330749751","filename":"file2"},{"photo_id":"1330749757","filename":"file4"},{"photo_id":"1330749748","filename":"file1"},{"photo_id":"1330749747","filename":"file0"},{"photo_id":"1330749754","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330749757":["hashtag1","hashtag2"]},{"1330749747":["hashtag1","hashtag2"]},{"1330749761":["hashtag1","hashtag2"]},{"1330749751":["hashtag1","hashtag2"]},{"1330749754":["hashtag1","hashtag2"]},{"1330749748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330749757, 1330749747, 1330749761, 1330749751, 1330749754, 1330749748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.600136041641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:21:42.500707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_54_9426.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_14_9394.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_55_10382.jpg', '/home/pi/Desktop/images/23012025/05/20/image_23012025_05_21_05_10350.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_14_9326.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_25_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/19/image_23012025_05_19_54_9426.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_14_9394.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_20_55_10382.jpg
/home/pi/Desktop/images/23012025/05/20/image_23012025_05_21_05_10350.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_14_9326.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_25_10337.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":["1330749780","1330749777","1330749774","1330749767","1330749782","1330749770"],"photo_ids_order":["1330749767","1330749770","1330749774","1330749777","1330749780","1330749782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9110f3b9ba672bcf9b15b0d0938f4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody396865143532105223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606163421,"filename":"image_23012025_05_21_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7ff91097d579de5461e0c2a02ffa893.jpg","text":"TemporaryFile(/tmp/multipartBody5000987029700129281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606163421,"filename":"image_23012025_05_21_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88c4d2cbfe93492d1ef0a0cb258ae0c5.jpg","text":"TemporaryFile(/tmp/multipartBody2780913039884940825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606163421,"filename":"image_23012025_05_20_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd52caacba498dec284f0de36716352c.jpg","text":"TemporaryFile(/tmp/multipartBody6401452925050216484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606163421,"filename":"image_23012025_05_19_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af8c7290d76148981c65237a4d03dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody8457658758943746665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606163421,"filename":"image_23012025_05_21_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ddf725311bb0dbfa072aa6310118a77.jpg","text":"TemporaryFile(/tmp/multipartBody875880209997474136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606163421,"filename":"image_23012025_05_20_14_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749774","file1":"1330749770","file0":"1330749767","file4":"1330749780","file5":"1330749782","file3":"1330749777"},"map_files_photo_id_array":[{"photo_id":"1330749782","filename":"file5"},{"photo_id":"1330749774","filename":"file2"},{"photo_id":"1330749780","filename":"file4"},{"photo_id":"1330749770","filename":"file1"},{"photo_id":"1330749767","filename":"file0"},{"photo_id":"1330749777","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749780":["hashtag1","hashtag2"]},{"1330749777":["hashtag1","hashtag2"]},{"1330749774":["hashtag1","hashtag2"]},{"1330749767":["hashtag1","hashtag2"]},{"1330749782":["hashtag1","hashtag2"]},{"1330749770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749780, 1330749777, 1330749774, 1330749767, 1330749782, 1330749770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95215177536011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:22:32.604142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_35_10352.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_44_9397.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_55_10334.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_22_05_10479.jpg', '/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_14_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_35_10352.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_44_9397.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_55_10334.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_22_05_10479.jpg
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_14_9334.jpg
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: 1.8369364738464355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:22:42.615034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_35_10352.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_44_9397.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_55_10334.jpg', '/home/pi/Desktop/images/23012025/05/21/image_23012025_05_22_05_10479.jpg', '/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_14_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_35_10352.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_44_9397.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_21_55_10334.jpg
/home/pi/Desktop/images/23012025/05/21/image_23012025_05_22_05_10479.jpg
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_14_9334.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":["1330749813","1330749801","1330749810","1330749806","1330749796"],"photo_ids_order":["1330749796","1330749801","1330749806","1330749810","1330749813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5816ff60cd73945fbe0acdb784c040ff.jpg","text":"TemporaryFile(/tmp/multipartBody8780178286568611532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606223520,"filename":"image_23012025_05_22_14_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ada220b15e4b5553048445fa073b518b.jpg","text":"TemporaryFile(/tmp/multipartBody5500374876671142205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606223520,"filename":"image_23012025_05_21_44_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4c29233c75c9bfb4efd1e985d7679cf.jpg","text":"TemporaryFile(/tmp/multipartBody8847923501175387333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606223520,"filename":"image_23012025_05_22_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c2ebd33f836f5be561cd68c0a27c35a.jpg","text":"TemporaryFile(/tmp/multipartBody3723545786371109937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606223520,"filename":"image_23012025_05_21_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b86914a547e27fb80434bb1e5d024659.jpg","text":"TemporaryFile(/tmp/multipartBody5582086389809433974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606223520,"filename":"image_23012025_05_21_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749806","file1":"1330749801","file0":"1330749796","file4":"1330749813","file3":"1330749810"},"map_files_photo_id_array":[{"photo_id":"1330749806","filename":"file2"},{"photo_id":"1330749813","filename":"file4"},{"photo_id":"1330749801","filename":"file1"},{"photo_id":"1330749796","filename":"file0"},{"photo_id":"1330749810","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749813":["hashtag1","hashtag2"]},{"1330749801":["hashtag1","hashtag2"]},{"1330749810":["hashtag1","hashtag2"]},{"1330749806":["hashtag1","hashtag2"]},{"1330749796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749813, 1330749801, 1330749810, 1330749806, 1330749796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.51935815811157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:23:32.884997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_34_9410.jpg', '/home/pi/Desktop/images/23012025/05/22/image_23012025_05_23_04_9345.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_15_10332.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_25_10361.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_34_9401.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_45_10567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_22_34_9410.jpg
/home/pi/Desktop/images/23012025/05/22/image_23012025_05_23_04_9345.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_15_10332.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_25_10361.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_34_9401.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_45_10567.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":["1330749858","1330749834","1330749878","1330749845","1330749839","1330749868"],"photo_ids_order":["1330749834","1330749839","1330749845","1330749858","1330749868","1330749878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3c88160948fc38f591d772eed719fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3391173205220813714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606273805,"filename":"image_23012025_05_23_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c367adf0905d070a03b13b1cdea68032.jpg","text":"TemporaryFile(/tmp/multipartBody4375597302824301121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606273805,"filename":"image_23012025_05_22_34_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f14d7d5d50a0559e164cac35f6d12c8.jpg","text":"TemporaryFile(/tmp/multipartBody3903814515023522719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606273805,"filename":"image_23012025_05_23_45_10567.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99defc0991192d736879a4b16067d68d.jpg","text":"TemporaryFile(/tmp/multipartBody2043572857494240282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606273805,"filename":"image_23012025_05_23_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c782dcfa3f26f47c84ab88dd476cef5f.jpg","text":"TemporaryFile(/tmp/multipartBody7156158895673777894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606273805,"filename":"image_23012025_05_23_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/775847c5d0adec5a03460ed09173bdcd.jpg","text":"TemporaryFile(/tmp/multipartBody8497710367311990626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606273805,"filename":"image_23012025_05_23_34_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330749845","file1":"1330749839","file0":"1330749834","file4":"1330749868","file5":"1330749878","file3":"1330749858"},"map_files_photo_id_array":[{"photo_id":"1330749878","filename":"file5"},{"photo_id":"1330749845","filename":"file2"},{"photo_id":"1330749868","filename":"file4"},{"photo_id":"1330749839","filename":"file1"},{"photo_id":"1330749834","filename":"file0"},{"photo_id":"1330749858","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330749858":["hashtag1","hashtag2"]},{"1330749834":["hashtag1","hashtag2"]},{"1330749878":["hashtag1","hashtag2"]},{"1330749845":["hashtag1","hashtag2"]},{"1330749839":["hashtag1","hashtag2"]},{"1330749868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330749858, 1330749834, 1330749878, 1330749845, 1330749839, 1330749868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.108152627944946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:24:33.036003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_54_9189.jpg', '/home/pi/Desktop/images/23012025/05/23/image_23012025_05_24_05_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_23_54_9189.jpg
/home/pi/Desktop/images/23012025/05/23/image_23012025_05_24_05_10361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330750051","1330750043"],"photo_ids_order":["1330750043","1330750051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbcf74353b493d986ff771ab6124d91e.jpg","text":"TemporaryFile(/tmp/multipartBody639733912495275678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606333874,"filename":"image_23012025_05_24_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cce7278d5558b62fe20c9daf02594cf0.jpg","text":"TemporaryFile(/tmp/multipartBody262494287015542440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606333874,"filename":"image_23012025_05_23_54_9189.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330750051","file0":"1330750043"},"map_files_photo_id_array":[{"photo_id":"1330750051","filename":"file1"},{"photo_id":"1330750043","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330750051":["hashtag1","hashtag2"]},{"1330750043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330750051, 1330750043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.29019045829773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:24:53.005860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_26_10404.jpg', '/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_36_10354.jpg', '/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_45_9323.jpg', '/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_56_10376.jpg', '/home/pi/Desktop/images/20012025/07/32/image_20012025_07_33_06_10339.jpg', '/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_26_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_26_10404.jpg
/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_36_10354.jpg
/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_45_9323.jpg
/home/pi/Desktop/images/20012025/07/32/image_20012025_07_32_56_10376.jpg
/home/pi/Desktop/images/20012025/07/32/image_20012025_07_33_06_10339.jpg
/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_26_10428.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":["1330750109","1330750126","1330750129","1330750206","1330750128","1330750103"],"photo_ids_order":["1330750103","1330750109","1330750126","1330750128","1330750129","1330750206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5150a91c1241460f3c671f03565443a4.jpg","text":"TemporaryFile(/tmp/multipartBody5072057529466062409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606355390,"filename":"image_20012025_07_32_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8876e3be0be137c68c6033bd668d2768.jpg","text":"TemporaryFile(/tmp/multipartBody6811301976654072425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606355390,"filename":"image_20012025_07_32_45_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d19c2eb825308b69f6e9744c80969576.jpg","text":"TemporaryFile(/tmp/multipartBody9108958138802159477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606355390,"filename":"image_20012025_07_33_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de0f8af8724e9a7948ef665853570808.jpg","text":"TemporaryFile(/tmp/multipartBody775523856298565680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606355390,"filename":"image_20012025_07_33_26_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84f9391491043e780473b3bf1fdc5c7a.jpg","text":"TemporaryFile(/tmp/multipartBody9094089191545134699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606355390,"filename":"image_20012025_07_32_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57d7e797299863dd354afeb09c513733.jpg","text":"TemporaryFile(/tmp/multipartBody4834091585505006996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606355390,"filename":"image_20012025_07_32_26_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330750126","file1":"1330750109","file0":"1330750103","file4":"1330750129","file5":"1330750206","file3":"1330750128"},"map_files_photo_id_array":[{"photo_id":"1330750206","filename":"file5"},{"photo_id":"1330750126","filename":"file2"},{"photo_id":"1330750129","filename":"file4"},{"photo_id":"1330750109","filename":"file1"},{"photo_id":"1330750103","filename":"file0"},{"photo_id":"1330750128","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330750109":["hashtag1","hashtag2"]},{"1330750126":["hashtag1","hashtag2"]},{"1330750129":["hashtag1","hashtag2"]},{"1330750206":["hashtag1","hashtag2"]},{"1330750128":["hashtag1","hashtag2"]},{"1330750103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330750109, 1330750126, 1330750129, 1330750206, 1330750128, 1330750103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.042208671569824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:25:42.386407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_54_9373.jpg', '/home/pi/Desktop/images/23012025/05/24/image_23012025_05_25_05_10379.jpg', '/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_14_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/24/image_23012025_05_24_54_9373.jpg
/home/pi/Desktop/images/23012025/05/24/image_23012025_05_25_05_10379.jpg
/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_14_9436.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":["1330750285","1330750259","1330750334"],"photo_ids_order":["1330750259","1330750285","1330750334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50041cbd3369a02902e57feea5b357e2.jpg","text":"TemporaryFile(/tmp/multipartBody378786137450302425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606403250,"filename":"image_23012025_05_25_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/021a196cf0af75de7ced9e1853932c22.jpg","text":"TemporaryFile(/tmp/multipartBody5794266339925438391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606403250,"filename":"image_23012025_05_24_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04b9f4e3c2316ce686a8eba29f1f6215.jpg","text":"TemporaryFile(/tmp/multipartBody635541458467027697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606403250,"filename":"image_23012025_05_25_14_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330750334","file1":"1330750285","file0":"1330750259"},"map_files_photo_id_array":[{"photo_id":"1330750334","filename":"file2"},{"photo_id":"1330750285","filename":"file1"},{"photo_id":"1330750259","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330750285":["hashtag1","hashtag2"]},{"1330750259":["hashtag1","hashtag2"]},{"1330750334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330750285, 1330750259, 1330750334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.681251764297485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:26:32.595590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_35_10349.jpg', '/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_25_10369.jpg', '/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_34_9460.jpg', '/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/25/image_23012025_05_25_35_10349.jpg
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_25_10369.jpg
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_34_9460.jpg
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_45_10346.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":["1330750616","1330750612","1330750620","1330750623"],"photo_ids_order":["1330750612","1330750616","1330750620","1330750623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41e1b6ab271ceac0ae776f0eb2f26cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5568044246035209682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606453466,"filename":"image_23012025_05_26_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0586652a113bca4b5b4de2fa5a626e32.jpg","text":"TemporaryFile(/tmp/multipartBody3160274646600983492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606453466,"filename":"image_23012025_05_25_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/655d9b034f9d396e9ea02d83fd2641d1.jpg","text":"TemporaryFile(/tmp/multipartBody4726981437261445516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606453466,"filename":"image_23012025_05_26_34_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8f4ce426fd5cd5ebe7ad1fedef82225.jpg","text":"TemporaryFile(/tmp/multipartBody5415453570082618618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606453466,"filename":"image_23012025_05_26_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330750620","file1":"1330750616","file0":"1330750612","file3":"1330750623"},"map_files_photo_id_array":[{"photo_id":"1330750620","filename":"file2"},{"photo_id":"1330750616","filename":"file1"},{"photo_id":"1330750612","filename":"file0"},{"photo_id":"1330750623","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330750616":["hashtag1","hashtag2"]},{"1330750612":["hashtag1","hashtag2"]},{"1330750620":["hashtag1","hashtag2"]},{"1330750623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330750616, 1330750612, 1330750620, 1330750623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.500186920166016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:27:32.760882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_55_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/26/image_23012025_05_26_55_10399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330750683"],"photo_id":"1330750683","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5420655ec8c2b85468307b5d8de3815.jpg","text":"TemporaryFile(/tmp/multipartBody9002941868769456745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606513581,"filename":"image_23012025_05_26_55_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1330750683"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330750683"}],"hashtags":[],"portfolio_id":"19839053","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.83769965171814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:27:52.730858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_36_10336.jpg', '/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_46_9324.jpg', '/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_56_10459.jpg', '/home/pi/Desktop/images/20012025/07/33/image_20012025_07_34_06_9460.jpg', '/home/pi/Desktop/images/20012025/07/34/image_20012025_07_34_16_10338.jpg', '/home/pi/Desktop/images/20012025/07/34/image_20012025_07_34_56_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_36_10336.jpg
/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_46_9324.jpg
/home/pi/Desktop/images/20012025/07/33/image_20012025_07_33_56_10459.jpg
/home/pi/Desktop/images/20012025/07/33/image_20012025_07_34_06_9460.jpg
/home/pi/Desktop/images/20012025/07/34/image_20012025_07_34_16_10338.jpg
/home/pi/Desktop/images/20012025/07/34/image_20012025_07_34_56_10360.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":["1330750750","1330750755","1330750764","1330750758","1330750767","1330750752"],"photo_ids_order":["1330750750","1330750752","1330750755","1330750758","1330750764","1330750767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebc6d25bf023837ff7d12adab068b495.jpg","text":"TemporaryFile(/tmp/multipartBody7811383227050610889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606535089,"filename":"image_20012025_07_33_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4f22e3cea7540658fd7dcb7433889df.jpg","text":"TemporaryFile(/tmp/multipartBody239819994662201168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606535089,"filename":"image_20012025_07_33_56_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3453f91348725b8a8ecf1471ab2b5250.jpg","text":"TemporaryFile(/tmp/multipartBody2770373626058747200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606535089,"filename":"image_20012025_07_34_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd1948fffc821242609b6373a93fa188.jpg","text":"TemporaryFile(/tmp/multipartBody996453238253700179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606535089,"filename":"image_20012025_07_34_06_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ad94f41c560ba46970a2de7936d7363.jpg","text":"TemporaryFile(/tmp/multipartBody6054922767192402563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606535089,"filename":"image_20012025_07_34_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af1706bf6c93a17e5bd7ee893550c06e.jpg","text":"TemporaryFile(/tmp/multipartBody4823451466779797004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606535089,"filename":"image_20012025_07_33_46_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330750755","file1":"1330750752","file0":"1330750750","file4":"1330750764","file5":"1330750767","file3":"1330750758"},"map_files_photo_id_array":[{"photo_id":"1330750767","filename":"file5"},{"photo_id":"1330750755","filename":"file2"},{"photo_id":"1330750764","filename":"file4"},{"photo_id":"1330750752","filename":"file1"},{"photo_id":"1330750750","filename":"file0"},{"photo_id":"1330750758","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330750750":["hashtag1","hashtag2"]},{"1330750755":["hashtag1","hashtag2"]},{"1330750764":["hashtag1","hashtag2"]},{"1330750758":["hashtag1","hashtag2"]},{"1330750767":["hashtag1","hashtag2"]},{"1330750752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330750750, 1330750755, 1330750764, 1330750758, 1330750767, 1330750752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13320732116699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:28:43.263416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_15_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_15_10367.jpg
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: 0.430403470993042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:28:53.122977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/34/image_20012025_07_35_06_9357.jpg', '/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_25_9368.jpg', '/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_36_10393.jpg', '/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_46_10366.jpg', '/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_56_9444.jpg', '/home/pi/Desktop/images/20012025/07/35/image_20012025_07_36_06_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/34/image_20012025_07_35_06_9357.jpg
/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_25_9368.jpg
/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_36_10393.jpg
/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_46_10366.jpg
/home/pi/Desktop/images/20012025/07/35/image_20012025_07_35_56_9444.jpg
/home/pi/Desktop/images/20012025/07/35/image_20012025_07_36_06_10352.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":["1330750819","1330750785","1330750806","1330750793","1330750817","1330750789"],"photo_ids_order":["1330750785","1330750789","1330750793","1330750806","1330750817","1330750819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95c454cff0a4dd24e81523e315373e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1484838006968224529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606595494,"filename":"image_20012025_07_36_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5be0b88e6809030827320c3ccd9b040.jpg","text":"TemporaryFile(/tmp/multipartBody5814480112955012830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606595494,"filename":"image_20012025_07_35_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b09ea22883e065ae1a3a744c0b2cb053.jpg","text":"TemporaryFile(/tmp/multipartBody1918157340901533062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606595494,"filename":"image_20012025_07_35_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dd572e7cd637162f75afbf8baabd23a.jpg","text":"TemporaryFile(/tmp/multipartBody394563107315661363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606595494,"filename":"image_20012025_07_35_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/549141a1d32221b74769ccd63a8789c1.jpg","text":"TemporaryFile(/tmp/multipartBody5348758671027273707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606595494,"filename":"image_20012025_07_35_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecdb5c321b73a0f27b5229dd8f1f9bae.jpg","text":"TemporaryFile(/tmp/multipartBody5357324105124699003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606595494,"filename":"image_20012025_07_35_25_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330750793","file1":"1330750789","file0":"1330750785","file4":"1330750817","file5":"1330750819","file3":"1330750806"},"map_files_photo_id_array":[{"photo_id":"1330750819","filename":"file5"},{"photo_id":"1330750793","filename":"file2"},{"photo_id":"1330750817","filename":"file4"},{"photo_id":"1330750789","filename":"file1"},{"photo_id":"1330750785","filename":"file0"},{"photo_id":"1330750806","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330750819":["hashtag1","hashtag2"]},{"1330750785":["hashtag1","hashtag2"]},{"1330750806":["hashtag1","hashtag2"]},{"1330750793":["hashtag1","hashtag2"]},{"1330750817":["hashtag1","hashtag2"]},{"1330750789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330750819, 1330750785, 1330750806, 1330750793, 1330750817, 1330750789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.771018505096436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:29:42.513266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_15_10367.jpg', '/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_34_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/27/image_23012025_05_27_15_10367.jpg
/home/pi/Desktop/images/23012025/05/28/image_23012025_05_28_34_9353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330750831","1330750827"],"photo_ids_order":["1330750827","1330750831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d366da7280141b980ea65f1258207e95.jpg","text":"TemporaryFile(/tmp/multipartBody4205918225239098519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606643375,"filename":"image_23012025_05_28_34_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33b104c72f086fd7c0814e4ffa5f307a.jpg","text":"TemporaryFile(/tmp/multipartBody8372539650876411885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606643375,"filename":"image_23012025_05_27_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330750831","file0":"1330750827"},"map_files_photo_id_array":[{"photo_id":"1330750831","filename":"file1"},{"photo_id":"1330750827","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330750831":["hashtag1","hashtag2"]},{"1330750827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330750831, 1330750827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.23663067817688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:30:03.262823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/36/image_20012025_07_36_26_9349.jpg', '/home/pi/Desktop/images/20012025/07/36/image_20012025_07_36_36_10405.jpg', '/home/pi/Desktop/images/20012025/07/36/image_20012025_07_36_56_10405.jpg', '/home/pi/Desktop/images/20012025/07/36/image_20012025_07_37_06_10465.jpg', '/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_16_9324.jpg', '/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_26_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/36/image_20012025_07_36_26_9349.jpg
/home/pi/Desktop/images/20012025/07/36/image_20012025_07_36_36_10405.jpg
/home/pi/Desktop/images/20012025/07/36/image_20012025_07_36_56_10405.jpg
/home/pi/Desktop/images/20012025/07/36/image_20012025_07_37_06_10465.jpg
/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_16_9324.jpg
/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_26_10416.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":["1330750891","1330750872","1330750854","1330750886","1330750850","1330750838"],"photo_ids_order":["1330750838","1330750850","1330750854","1330750872","1330750886","1330750891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72caccdd3fea716eae27ef35a0e7b61d.jpg","text":"TemporaryFile(/tmp/multipartBody9042730970123142151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606664847,"filename":"image_20012025_07_37_26_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ee9345c391baed03626d7a6a6b02305.jpg","text":"TemporaryFile(/tmp/multipartBody287407546186566749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606664847,"filename":"image_20012025_07_37_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81bc536a5d1d43b5b09f064d5dccd38c.jpg","text":"TemporaryFile(/tmp/multipartBody4084053403302767513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606664847,"filename":"image_20012025_07_36_56_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/345f1a8806cfe526396eeabea0f618dd.jpg","text":"TemporaryFile(/tmp/multipartBody3942860614227357164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606664847,"filename":"image_20012025_07_37_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ef5570449243ebec2f02110043f9681.jpg","text":"TemporaryFile(/tmp/multipartBody3226054522727763462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606664847,"filename":"image_20012025_07_36_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cb92f9ea401e55a6dd8f7634252e0f8.jpg","text":"TemporaryFile(/tmp/multipartBody5745493471732895517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606664847,"filename":"image_20012025_07_36_26_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330750854","file1":"1330750850","file0":"1330750838","file4":"1330750886","file5":"1330750891","file3":"1330750872"},"map_files_photo_id_array":[{"photo_id":"1330750891","filename":"file5"},{"photo_id":"1330750854","filename":"file2"},{"photo_id":"1330750886","filename":"file4"},{"photo_id":"1330750850","filename":"file1"},{"photo_id":"1330750838","filename":"file0"},{"photo_id":"1330750872","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330750891":["hashtag1","hashtag2"]},{"1330750872":["hashtag1","hashtag2"]},{"1330750854":["hashtag1","hashtag2"]},{"1330750886":["hashtag1","hashtag2"]},{"1330750850":["hashtag1","hashtag2"]},{"1330750838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330750891, 1330750872, 1330750854, 1330750886, 1330750850, 1330750838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66082143783569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:30:52.557701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_35_9336.jpg', '/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_46_10384.jpg', '/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_56_10425.jpg', '/home/pi/Desktop/images/20012025/07/37/image_20012025_07_38_06_9370.jpg', '/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_16_10347.jpg', '/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_26_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_35_9336.jpg
/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_46_10384.jpg
/home/pi/Desktop/images/20012025/07/37/image_20012025_07_37_56_10425.jpg
/home/pi/Desktop/images/20012025/07/37/image_20012025_07_38_06_9370.jpg
/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_16_10347.jpg
/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_26_10381.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":["1330751032","1330751029","1330751025","1330750941","1330750911","1330751036"],"photo_ids_order":["1330750911","1330750941","1330751025","1330751029","1330751032","1330751036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d797f432747c5b501530213194673bf.jpg","text":"TemporaryFile(/tmp/multipartBody18161360290323739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606714918,"filename":"image_20012025_07_38_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/325737665ee126e6154263028485485d.jpg","text":"TemporaryFile(/tmp/multipartBody7388051102221506303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606714918,"filename":"image_20012025_07_38_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7635172b87cc71a5dccb2e78bce498af.jpg","text":"TemporaryFile(/tmp/multipartBody4835716876237383061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606714918,"filename":"image_20012025_07_37_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/684135b290742cb89f9c8f9dbabfb9c0.jpg","text":"TemporaryFile(/tmp/multipartBody7904666937340548199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606714918,"filename":"image_20012025_07_37_46_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f056f448ff9506e4495345888a2f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody5045995299607004445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606714918,"filename":"image_20012025_07_37_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84d5f0c6f4592d57be308198560f62db.jpg","text":"TemporaryFile(/tmp/multipartBody3789880993048590537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606714918,"filename":"image_20012025_07_38_26_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751025","file1":"1330750941","file0":"1330750911","file4":"1330751032","file5":"1330751036","file3":"1330751029"},"map_files_photo_id_array":[{"photo_id":"1330751036","filename":"file5"},{"photo_id":"1330751025","filename":"file2"},{"photo_id":"1330751032","filename":"file4"},{"photo_id":"1330750941","filename":"file1"},{"photo_id":"1330750911","filename":"file0"},{"photo_id":"1330751029","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330751032":["hashtag1","hashtag2"]},{"1330751029":["hashtag1","hashtag2"]},{"1330751025":["hashtag1","hashtag2"]},{"1330750941":["hashtag1","hashtag2"]},{"1330750911":["hashtag1","hashtag2"]},{"1330751036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330751032, 1330751029, 1330751025, 1330750941, 1330750911, 1330751036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.90534210205078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:31:52.775459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_36_9327.jpg', '/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_46_10360.jpg', '/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_56_10352.jpg', '/home/pi/Desktop/images/20012025/07/38/image_20012025_07_39_06_9332.jpg', '/home/pi/Desktop/images/20012025/07/39/image_20012025_07_39_46_10431.jpg', '/home/pi/Desktop/images/20012025/07/39/image_20012025_07_40_06_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_36_9327.jpg
/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_46_10360.jpg
/home/pi/Desktop/images/20012025/07/38/image_20012025_07_38_56_10352.jpg
/home/pi/Desktop/images/20012025/07/38/image_20012025_07_39_06_9332.jpg
/home/pi/Desktop/images/20012025/07/39/image_20012025_07_39_46_10431.jpg
/home/pi/Desktop/images/20012025/07/39/image_20012025_07_40_06_9336.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":["1330751050","1330751070","1330751073","1330751076","1330751049","1330751081"],"photo_ids_order":["1330751049","1330751050","1330751070","1330751073","1330751076","1330751081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/760a2ea22113de59f4cd36548ceb7a64.jpg","text":"TemporaryFile(/tmp/multipartBody8709194213117920731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606775153,"filename":"image_20012025_07_38_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2eb5dbeb9d4bc3be816590a6d0529fa1.jpg","text":"TemporaryFile(/tmp/multipartBody794410249781747088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606775153,"filename":"image_20012025_07_38_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ab2eae8f780c3b7efa1c0218e9c52fe.jpg","text":"TemporaryFile(/tmp/multipartBody5688588918435156441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606775153,"filename":"image_20012025_07_39_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f70e89ebcf111fd6488326c59829fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5281193957214546650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606775153,"filename":"image_20012025_07_39_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6fe7a3b47faef65379cb5d8b358bcda.jpg","text":"TemporaryFile(/tmp/multipartBody3983890673340249466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606775153,"filename":"image_20012025_07_38_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ebfc83f9e5e321ab14af56a213ed9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1378617559833032560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606775153,"filename":"image_20012025_07_40_06_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751070","file1":"1330751050","file0":"1330751049","file4":"1330751076","file5":"1330751081","file3":"1330751073"},"map_files_photo_id_array":[{"photo_id":"1330751081","filename":"file5"},{"photo_id":"1330751070","filename":"file2"},{"photo_id":"1330751076","filename":"file4"},{"photo_id":"1330751050","filename":"file1"},{"photo_id":"1330751049","filename":"file0"},{"photo_id":"1330751073","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330751050":["hashtag1","hashtag2"]},{"1330751070":["hashtag1","hashtag2"]},{"1330751073":["hashtag1","hashtag2"]},{"1330751076":["hashtag1","hashtag2"]},{"1330751049":["hashtag1","hashtag2"]},{"1330751081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330751050, 1330751070, 1330751073, 1330751076, 1330751049, 1330751081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64099097251892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:32:43.102639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/28/image_23012025_05_29_05_10346.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_24_9339.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_55_10356.jpg', '/home/pi/Desktop/images/23012025/05/30/image_23012025_05_31_05_10322.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_14_9339.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/28/image_23012025_05_29_05_10346.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_24_9339.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_30_55_10356.jpg
/home/pi/Desktop/images/23012025/05/30/image_23012025_05_31_05_10322.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_14_9339.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_35_10357.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":["1330751160","1330751103","1330751156","1330751132","1330751114","1330751117"],"photo_ids_order":["1330751103","1330751114","1330751117","1330751132","1330751156","1330751160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45711fb9eddcafdaa3d519ee8f521943.jpg","text":"TemporaryFile(/tmp/multipartBody5275599373710343641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606824020,"filename":"image_23012025_05_31_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bd11d020002c39f407c22f1e6dddbb2.jpg","text":"TemporaryFile(/tmp/multipartBody6109732402018859224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606824020,"filename":"image_23012025_05_29_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/189a210578ffce78fd5da2b79596757a.jpg","text":"TemporaryFile(/tmp/multipartBody5721028827469278665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606824020,"filename":"image_23012025_05_31_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aae9efd832aeea8fd9ee4a9ee65a74bb.jpg","text":"TemporaryFile(/tmp/multipartBody7446095596627120064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606824020,"filename":"image_23012025_05_31_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6d1dd48d500870c11af4d78f2056588.jpg","text":"TemporaryFile(/tmp/multipartBody4781171768115490954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606824020,"filename":"image_23012025_05_30_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96ba3eb96bdfb101dde62cb66bb4f5eb.jpg","text":"TemporaryFile(/tmp/multipartBody2542410085560008867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606824020,"filename":"image_23012025_05_30_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751117","file1":"1330751114","file0":"1330751103","file4":"1330751156","file5":"1330751160","file3":"1330751132"},"map_files_photo_id_array":[{"photo_id":"1330751160","filename":"file5"},{"photo_id":"1330751117","filename":"file2"},{"photo_id":"1330751156","filename":"file4"},{"photo_id":"1330751114","filename":"file1"},{"photo_id":"1330751103","filename":"file0"},{"photo_id":"1330751132","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330751160":["hashtag1","hashtag2"]},{"1330751103":["hashtag1","hashtag2"]},{"1330751156":["hashtag1","hashtag2"]},{"1330751132":["hashtag1","hashtag2"]},{"1330751114":["hashtag1","hashtag2"]},{"1330751117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330751160, 1330751103, 1330751156, 1330751132, 1330751114, 1330751117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.85568881034851 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:33:32.374198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_55_10355.jpg', '/home/pi/Desktop/images/23012025/05/31/image_23012025_05_32_05_10331.jpg', '/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_25_10358.jpg', '/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_35_10351.jpg', '/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_44_9326.jpg', '/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_55_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_31_55_10355.jpg
/home/pi/Desktop/images/23012025/05/31/image_23012025_05_32_05_10331.jpg
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_25_10358.jpg
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_35_10351.jpg
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_44_9326.jpg
/home/pi/Desktop/images/23012025/05/32/image_23012025_05_32_55_10427.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":["1330751236","1330751217","1330751231","1330751210","1330751234","1330751207"],"photo_ids_order":["1330751207","1330751210","1330751217","1330751231","1330751234","1330751236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a95d2a0e87dcdf3410e5d967dc950a8.jpg","text":"TemporaryFile(/tmp/multipartBody1428182497526061701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606873282,"filename":"image_23012025_05_32_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f4600b7fbaa134676be2eb3c40ad3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4182009364612942486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606873282,"filename":"image_23012025_05_32_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1421443d892730e87ed68a35779ee867.jpg","text":"TemporaryFile(/tmp/multipartBody9100248764189913364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606873282,"filename":"image_23012025_05_32_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90ad2cd1cc63a1815938937d9805febf.jpg","text":"TemporaryFile(/tmp/multipartBody444640925704081504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606873282,"filename":"image_23012025_05_32_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09af4e804fe9bc93f54c2e66c02a70d5.jpg","text":"TemporaryFile(/tmp/multipartBody4854419760810656601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606873282,"filename":"image_23012025_05_32_44_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b097a1741f162f8e0a4280886ef9ff3f.jpg","text":"TemporaryFile(/tmp/multipartBody2694345474239880313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606873282,"filename":"image_23012025_05_31_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751217","file1":"1330751210","file0":"1330751207","file4":"1330751234","file5":"1330751236","file3":"1330751231"},"map_files_photo_id_array":[{"photo_id":"1330751236","filename":"file5"},{"photo_id":"1330751217","filename":"file2"},{"photo_id":"1330751234","filename":"file4"},{"photo_id":"1330751210","filename":"file1"},{"photo_id":"1330751207","filename":"file0"},{"photo_id":"1330751231","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330751236":["hashtag1","hashtag2"]},{"1330751217":["hashtag1","hashtag2"]},{"1330751231":["hashtag1","hashtag2"]},{"1330751210":["hashtag1","hashtag2"]},{"1330751234":["hashtag1","hashtag2"]},{"1330751207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330751236, 1330751217, 1330751231, 1330751210, 1330751234, 1330751207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49796438217163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:34:32.552129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_25_10458.jpg', '/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_45_10344.jpg', '/home/pi/Desktop/images/23012025/05/33/image_23012025_05_34_05_10334.jpg', '/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_15_10356.jpg', '/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_24_9409.jpg', '/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_45_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_25_10458.jpg
/home/pi/Desktop/images/23012025/05/33/image_23012025_05_33_45_10344.jpg
/home/pi/Desktop/images/23012025/05/33/image_23012025_05_34_05_10334.jpg
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_15_10356.jpg
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_24_9409.jpg
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_45_10450.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":["1330751317","1330751313","1330751316","1330751304","1330751336","1330751306"],"photo_ids_order":["1330751304","1330751306","1330751313","1330751316","1330751317","1330751336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/490bba15ce7096929e917c8835b92329.jpg","text":"TemporaryFile(/tmp/multipartBody5186522270038555391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606933453,"filename":"image_23012025_05_34_24_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c99e4998faebc9e22722cdf3624af9e7.jpg","text":"TemporaryFile(/tmp/multipartBody6130441682511969847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606933453,"filename":"image_23012025_05_34_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebcc82200a2e980c4842df5b85eb5353.jpg","text":"TemporaryFile(/tmp/multipartBody7166404562981279057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606933453,"filename":"image_23012025_05_34_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b8602061e1837ddb6cdaee37f8b519d.jpg","text":"TemporaryFile(/tmp/multipartBody2624912068507946711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606933453,"filename":"image_23012025_05_33_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fac83b921f0ea505ab985ca3775c3a6.jpg","text":"TemporaryFile(/tmp/multipartBody1383773597748138340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606933453,"filename":"image_23012025_05_34_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5acd3b2ade9c7e09aa26a5207c2441f7.jpg","text":"TemporaryFile(/tmp/multipartBody8436441740900647779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606933453,"filename":"image_23012025_05_33_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751313","file1":"1330751306","file0":"1330751304","file4":"1330751317","file5":"1330751336","file3":"1330751316"},"map_files_photo_id_array":[{"photo_id":"1330751336","filename":"file5"},{"photo_id":"1330751313","filename":"file2"},{"photo_id":"1330751317","filename":"file4"},{"photo_id":"1330751306","filename":"file1"},{"photo_id":"1330751304","filename":"file0"},{"photo_id":"1330751316","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330751317":["hashtag1","hashtag2"]},{"1330751313":["hashtag1","hashtag2"]},{"1330751316":["hashtag1","hashtag2"]},{"1330751304":["hashtag1","hashtag2"]},{"1330751336":["hashtag1","hashtag2"]},{"1330751306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330751317, 1330751313, 1330751316, 1330751304, 1330751336, 1330751306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35460066795349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:35:32.782664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_54_9333.jpg', '/home/pi/Desktop/images/23012025/05/34/image_23012025_05_35_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_34_54_9333.jpg
/home/pi/Desktop/images/23012025/05/34/image_23012025_05_35_05_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751354","1330751353"],"photo_ids_order":["1330751353","1330751354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87fb3671e439b592bd8a62d785f4e0e4.jpg","text":"TemporaryFile(/tmp/multipartBody3993454409864625731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606993632,"filename":"image_23012025_05_35_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1309d4e50c41ecb2b3e4a9d6ad6f7319.jpg","text":"TemporaryFile(/tmp/multipartBody6038843769942413512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737606993632,"filename":"image_23012025_05_34_54_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330751354","file0":"1330751353"},"map_files_photo_id_array":[{"photo_id":"1330751354","filename":"file1"},{"photo_id":"1330751353","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330751354":["hashtag1","hashtag2"]},{"1330751353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330751354, 1330751353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.96679139137268 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:36:03.667608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/40/image_20012025_07_40_16_10415.jpg', '/home/pi/Desktop/images/20012025/07/40/image_20012025_07_40_36_10432.jpg', '/home/pi/Desktop/images/20012025/07/40/image_20012025_07_40_46_10365.jpg', '/home/pi/Desktop/images/20012025/07/41/image_20012025_07_42_06_10362.jpg', '/home/pi/Desktop/images/20012025/07/42/image_20012025_07_42_35_9315.jpg', '/home/pi/Desktop/images/20012025/07/42/image_20012025_07_42_46_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/40/image_20012025_07_40_16_10415.jpg
/home/pi/Desktop/images/20012025/07/40/image_20012025_07_40_36_10432.jpg
/home/pi/Desktop/images/20012025/07/40/image_20012025_07_40_46_10365.jpg
/home/pi/Desktop/images/20012025/07/41/image_20012025_07_42_06_10362.jpg
/home/pi/Desktop/images/20012025/07/42/image_20012025_07_42_35_9315.jpg
/home/pi/Desktop/images/20012025/07/42/image_20012025_07_42_46_10424.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":["1330751376","1330751361","1330751369","1330751357","1330751365","1330751374"],"photo_ids_order":["1330751357","1330751361","1330751365","1330751369","1330751374","1330751376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66cf77fa84b55997ace82e10f9042ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7087382688736460749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607025344,"filename":"image_20012025_07_42_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82bd6ac58fbd0781cc74b200f3d22159.jpg","text":"TemporaryFile(/tmp/multipartBody874268894034080284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607025344,"filename":"image_20012025_07_40_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/005f11039a39a6373dc2e64f814000c6.jpg","text":"TemporaryFile(/tmp/multipartBody987120877828838931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607025344,"filename":"image_20012025_07_42_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93a50af458f549f339833867bc9f36ba.jpg","text":"TemporaryFile(/tmp/multipartBody4807891714917345581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607025344,"filename":"image_20012025_07_40_16_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41ea24c3fab038c90ebeef6520762de1.jpg","text":"TemporaryFile(/tmp/multipartBody1333610723397532126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607025344,"filename":"image_20012025_07_40_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c5d5dbdf3e7f903baf1fb9be9414e37.jpg","text":"TemporaryFile(/tmp/multipartBody7426443768590276342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607025344,"filename":"image_20012025_07_42_35_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751365","file1":"1330751361","file0":"1330751357","file4":"1330751374","file5":"1330751376","file3":"1330751369"},"map_files_photo_id_array":[{"photo_id":"1330751376","filename":"file5"},{"photo_id":"1330751365","filename":"file2"},{"photo_id":"1330751374","filename":"file4"},{"photo_id":"1330751361","filename":"file1"},{"photo_id":"1330751357","filename":"file0"},{"photo_id":"1330751369","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330751376":["hashtag1","hashtag2"]},{"1330751361":["hashtag1","hashtag2"]},{"1330751369":["hashtag1","hashtag2"]},{"1330751357":["hashtag1","hashtag2"]},{"1330751365":["hashtag1","hashtag2"]},{"1330751374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330751376, 1330751361, 1330751369, 1330751357, 1330751365, 1330751374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.10492134094238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:36:52.976518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/43/image_20012025_07_43_16_10324.jpg', '/home/pi/Desktop/images/20012025/07/43/image_20012025_07_43_36_9349.jpg', '/home/pi/Desktop/images/20012025/07/43/image_20012025_07_43_56_10348.jpg', '/home/pi/Desktop/images/20012025/07/44/image_20012025_07_44_16_10333.jpg', '/home/pi/Desktop/images/20012025/07/44/image_20012025_07_44_36_10357.jpg', '/home/pi/Desktop/images/20012025/07/44/image_20012025_07_44_56_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/43/image_20012025_07_43_16_10324.jpg
/home/pi/Desktop/images/20012025/07/43/image_20012025_07_43_36_9349.jpg
/home/pi/Desktop/images/20012025/07/43/image_20012025_07_43_56_10348.jpg
/home/pi/Desktop/images/20012025/07/44/image_20012025_07_44_16_10333.jpg
/home/pi/Desktop/images/20012025/07/44/image_20012025_07_44_36_10357.jpg
/home/pi/Desktop/images/20012025/07/44/image_20012025_07_44_56_10391.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":["1330751388","1330751382","1330751390","1330751384","1330751386","1330751380"],"photo_ids_order":["1330751380","1330751382","1330751384","1330751386","1330751388","1330751390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7ade0e64d838123e054c59ec5bb8b3e.jpg","text":"TemporaryFile(/tmp/multipartBody3062162288891379737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607075343,"filename":"image_20012025_07_44_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c3f5147abd996b47644c96aab52da44.jpg","text":"TemporaryFile(/tmp/multipartBody6866293058106306259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607075343,"filename":"image_20012025_07_43_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95ba1adbc8dd6aaf2fd7e9d7291e2e2c.jpg","text":"TemporaryFile(/tmp/multipartBody4465387582250671318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607075343,"filename":"image_20012025_07_44_56_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d77739829b491a26004e4f5c400eb48c.jpg","text":"TemporaryFile(/tmp/multipartBody4209689544156578029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607075343,"filename":"image_20012025_07_43_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a471595de0972b823ac5455fc0e112e.jpg","text":"TemporaryFile(/tmp/multipartBody6864972452729646185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607075343,"filename":"image_20012025_07_44_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d68bc090f2a0b0f76589d8749658bc2b.jpg","text":"TemporaryFile(/tmp/multipartBody7986902064500397228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607075343,"filename":"image_20012025_07_43_16_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751384","file1":"1330751382","file0":"1330751380","file4":"1330751388","file5":"1330751390","file3":"1330751386"},"map_files_photo_id_array":[{"photo_id":"1330751390","filename":"file5"},{"photo_id":"1330751384","filename":"file2"},{"photo_id":"1330751388","filename":"file4"},{"photo_id":"1330751382","filename":"file1"},{"photo_id":"1330751380","filename":"file0"},{"photo_id":"1330751386","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330751388":["hashtag1","hashtag2"]},{"1330751382":["hashtag1","hashtag2"]},{"1330751390":["hashtag1","hashtag2"]},{"1330751384":["hashtag1","hashtag2"]},{"1330751386":["hashtag1","hashtag2"]},{"1330751380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330751388, 1330751382, 1330751390, 1330751384, 1330751386, 1330751380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.865790367126465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:37:42.306335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_14_9325.jpg', '/home/pi/Desktop/images/23012025/05/36/image_23012025_05_37_04_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/35/image_23012025_05_35_14_9325.jpg
/home/pi/Desktop/images/23012025/05/36/image_23012025_05_37_04_9341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751415","1330751403"],"photo_ids_order":["1330751403","1330751415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e873ccf4f9ecbcac2888051130ed57f4.jpg","text":"TemporaryFile(/tmp/multipartBody6488739436475233690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607123164,"filename":"image_23012025_05_37_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/212c4da3ffaf7ada5a338ad37ec68a96.jpg","text":"TemporaryFile(/tmp/multipartBody4088169087008870994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607123164,"filename":"image_23012025_05_35_14_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330751415","file0":"1330751403"},"map_files_photo_id_array":[{"photo_id":"1330751415","filename":"file1"},{"photo_id":"1330751403","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330751415":["hashtag1","hashtag2"]},{"1330751403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330751415, 1330751403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.458651542663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:38:02.881791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_16_9365.jpg', '/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_26_10399.jpg', '/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_35_9424.jpg', '/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_46_10388.jpg', '/home/pi/Desktop/images/20012025/07/46/image_20012025_07_46_36_9329.jpg', '/home/pi/Desktop/images/20012025/07/46/image_20012025_07_46_46_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_16_9365.jpg
/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_26_10399.jpg
/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_35_9424.jpg
/home/pi/Desktop/images/20012025/07/45/image_20012025_07_45_46_10388.jpg
/home/pi/Desktop/images/20012025/07/46/image_20012025_07_46_36_9329.jpg
/home/pi/Desktop/images/20012025/07/46/image_20012025_07_46_46_10398.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":["1330751434","1330751536","1330751453","1330751540","1330751456","1330751491"],"photo_ids_order":["1330751434","1330751453","1330751456","1330751491","1330751536","1330751540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0af2b1d1dd039336d84a501b116004af.jpg","text":"TemporaryFile(/tmp/multipartBody5269527411995821423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607144445,"filename":"image_20012025_07_45_16_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58ccc9a203f8299df6c5f227adfce623.jpg","text":"TemporaryFile(/tmp/multipartBody3259800643906608309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607144445,"filename":"image_20012025_07_46_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a293bcc99d51efddb6ec5166fc7c467c.jpg","text":"TemporaryFile(/tmp/multipartBody5176769223918464224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607144445,"filename":"image_20012025_07_45_26_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb2669927a932ebb74eeb9fa5884ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody1714556720840873324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607144445,"filename":"image_20012025_07_46_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ecd434257cec5121c300aef05879ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2317840532862311126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607144445,"filename":"image_20012025_07_45_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8f4ae92bdbf0534f7203c64bff09399.jpg","text":"TemporaryFile(/tmp/multipartBody3232111539301205509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607144445,"filename":"image_20012025_07_45_46_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751456","file1":"1330751453","file0":"1330751434","file4":"1330751536","file5":"1330751540","file3":"1330751491"},"map_files_photo_id_array":[{"photo_id":"1330751540","filename":"file5"},{"photo_id":"1330751456","filename":"file2"},{"photo_id":"1330751536","filename":"file4"},{"photo_id":"1330751453","filename":"file1"},{"photo_id":"1330751434","filename":"file0"},{"photo_id":"1330751491","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330751434":["hashtag1","hashtag2"]},{"1330751536":["hashtag1","hashtag2"]},{"1330751453":["hashtag1","hashtag2"]},{"1330751540":["hashtag1","hashtag2"]},{"1330751456":["hashtag1","hashtag2"]},{"1330751491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330751434, 1330751536, 1330751453, 1330751540, 1330751456, 1330751491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50069808959961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:38:52.263936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/46/image_20012025_07_47_06_9328.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_16_10418.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_26_10343.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_46_10336.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_56_9397.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_48_06_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/46/image_20012025_07_47_06_9328.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_16_10418.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_26_10343.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_46_10336.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_56_9397.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_48_06_10325.jpg
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: 2.0183024406433105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:39:03.847341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/37/image_23012025_05_37_45_10345.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330751574"],"photo_id":"1330751574","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f21327c18a20f985f4d4c26288b67a1c.jpg","text":"TemporaryFile(/tmp/multipartBody3382256540462751439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607204853,"filename":"image_23012025_05_37_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1330751574"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330751574"}],"hashtags":[],"portfolio_id":"19839053","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.877293109893799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:39:32.458438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_54_9393.jpg', '/home/pi/Desktop/images/23012025/05/38/image_23012025_05_39_05_10324.jpg', '/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_45_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/38/image_23012025_05_38_54_9393.jpg
/home/pi/Desktop/images/23012025/05/38/image_23012025_05_39_05_10324.jpg
/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_45_10409.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":["1330751591","1330751594","1330751593"],"photo_ids_order":["1330751591","1330751593","1330751594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0391e6c77cf08431d321b2fa944967a6.jpg","text":"TemporaryFile(/tmp/multipartBody9107671526940154913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607233328,"filename":"image_23012025_05_38_54_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a90853c293974713bd044a3e4000a26.jpg","text":"TemporaryFile(/tmp/multipartBody9179619030783869440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607233328,"filename":"image_23012025_05_39_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14ae69b4cc98760b58a6c6c4ff2e7337.jpg","text":"TemporaryFile(/tmp/multipartBody5630020285205901858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607233328,"filename":"image_23012025_05_39_05_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330751594","file1":"1330751593","file0":"1330751591"},"map_files_photo_id_array":[{"photo_id":"1330751594","filename":"file2"},{"photo_id":"1330751593","filename":"file1"},{"photo_id":"1330751591","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330751591":["hashtag1","hashtag2"]},{"1330751594":["hashtag1","hashtag2"]},{"1330751593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330751591, 1330751594, 1330751593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.61187982559204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:40:03.385610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/46/image_20012025_07_47_06_9328.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_16_10418.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_26_10343.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_46_10336.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_56_9397.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_48_06_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/46/image_20012025_07_47_06_9328.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_16_10418.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_26_10343.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_46_10336.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_56_9397.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_48_06_10325.jpg
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: 1.1319704055786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:40:32.660982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_54_9337.jpg', '/home/pi/Desktop/images/23012025/05/39/image_23012025_05_40_05_10341.jpg', '/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_14_9398.jpg', '/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_25_10362.jpg', '/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_44_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/39/image_23012025_05_39_54_9337.jpg
/home/pi/Desktop/images/23012025/05/39/image_23012025_05_40_05_10341.jpg
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_14_9398.jpg
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_25_10362.jpg
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_44_9328.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":["1330752678","1330752675","1330752680","1330752671","1330752668"],"photo_ids_order":["1330752668","1330752671","1330752675","1330752678","1330752680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4fd0d637cacff2755011c8057beaa75.jpg","text":"TemporaryFile(/tmp/multipartBody5033599975233580172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607293544,"filename":"image_23012025_05_40_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/999f8482205eb85f6caa575c16c55325.jpg","text":"TemporaryFile(/tmp/multipartBody699220990458624225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607293544,"filename":"image_23012025_05_40_14_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24a5d4c396cb0e419ac2290a77d58a78.jpg","text":"TemporaryFile(/tmp/multipartBody4144324769034681215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607293544,"filename":"image_23012025_05_40_44_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dd9719640e1601329542910fd09ef78.jpg","text":"TemporaryFile(/tmp/multipartBody1126038010151035330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607293544,"filename":"image_23012025_05_40_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/747ee721b26c48ba2145f9036da0fa33.jpg","text":"TemporaryFile(/tmp/multipartBody4431680892343419352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607293544,"filename":"image_23012025_05_39_54_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330752675","file1":"1330752671","file0":"1330752668","file4":"1330752680","file3":"1330752678"},"map_files_photo_id_array":[{"photo_id":"1330752675","filename":"file2"},{"photo_id":"1330752680","filename":"file4"},{"photo_id":"1330752671","filename":"file1"},{"photo_id":"1330752668","filename":"file0"},{"photo_id":"1330752678","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330752678":["hashtag1","hashtag2"]},{"1330752675":["hashtag1","hashtag2"]},{"1330752680":["hashtag1","hashtag2"]},{"1330752671":["hashtag1","hashtag2"]},{"1330752668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330752678, 1330752675, 1330752680, 1330752671, 1330752668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.210299491882324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:41:33.058318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_55_10347.jpg', '/home/pi/Desktop/images/23012025/05/40/image_23012025_05_41_05_10336.jpg', '/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_14_9332.jpg', '/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_25_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_40_55_10347.jpg
/home/pi/Desktop/images/23012025/05/40/image_23012025_05_41_05_10336.jpg
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_14_9332.jpg
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_25_10363.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":["1330752720","1330752733","1330752730","1330752727"],"photo_ids_order":["1330752720","1330752727","1330752730","1330752733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ac175d24f31fedf03eeb89236c69134.jpg","text":"TemporaryFile(/tmp/multipartBody641819201410673532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607353957,"filename":"image_23012025_05_40_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b57cb3e80f4421cd80abb92f61b895fb.jpg","text":"TemporaryFile(/tmp/multipartBody5820606179745940636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607353957,"filename":"image_23012025_05_41_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37b1dae26c5878345cef5043e367f022.jpg","text":"TemporaryFile(/tmp/multipartBody304341281006807871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607353957,"filename":"image_23012025_05_41_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e01037ecb674f07fb923d45d5dd69e6.jpg","text":"TemporaryFile(/tmp/multipartBody5080482992072169294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607353957,"filename":"image_23012025_05_41_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330752730","file1":"1330752727","file0":"1330752720","file3":"1330752733"},"map_files_photo_id_array":[{"photo_id":"1330752730","filename":"file2"},{"photo_id":"1330752727","filename":"file1"},{"photo_id":"1330752720","filename":"file0"},{"photo_id":"1330752733","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330752720":["hashtag1","hashtag2"]},{"1330752733":["hashtag1","hashtag2"]},{"1330752730":["hashtag1","hashtag2"]},{"1330752727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330752720, 1330752733, 1330752730, 1330752727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.555752992630005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:42:32.230676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_35_10487.jpg', '/home/pi/Desktop/images/23012025/05/41/image_23012025_05_42_04_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_41_35_10487.jpg
/home/pi/Desktop/images/23012025/05/41/image_23012025_05_42_04_9404.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":["1330753199","1330753168"],"photo_ids_order":["1330753168","1330753199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f796d6981f0f6b41a9628648b755e3a8.jpg","text":"TemporaryFile(/tmp/multipartBody5518470034855607673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607413067,"filename":"image_23012025_05_42_04_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58be1f96dbe0aaef6a4f9a2094bee905.jpg","text":"TemporaryFile(/tmp/multipartBody5561951680481458153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607413067,"filename":"image_23012025_05_41_35_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330753199","file0":"1330753168"},"map_files_photo_id_array":[{"photo_id":"1330753199","filename":"file1"},{"photo_id":"1330753168","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330753199":["hashtag1","hashtag2"]},{"1330753168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330753199, 1330753168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.227351903915405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:43:03.461550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/46/image_20012025_07_47_06_9328.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_16_10418.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_26_10343.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_46_10336.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_56_9397.jpg', '/home/pi/Desktop/images/20012025/07/47/image_20012025_07_48_06_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/46/image_20012025_07_47_06_9328.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_16_10418.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_26_10343.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_46_10336.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_47_56_9397.jpg
/home/pi/Desktop/images/20012025/07/47/image_20012025_07_48_06_10325.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":["1330753305","1330753289","1330753382","1330753406","1330753415","1330753345"],"photo_ids_order":["1330753289","1330753305","1330753345","1330753382","1330753406","1330753415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/308210033af1a401f418ea462aa73850.jpg","text":"TemporaryFile(/tmp/multipartBody6727557864820756877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607445336,"filename":"image_20012025_07_47_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0384766430eceab6b0496a29b2ef271.jpg","text":"TemporaryFile(/tmp/multipartBody3518040047858563018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607445336,"filename":"image_20012025_07_47_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e02619a210788de67867cd07859b714.jpg","text":"TemporaryFile(/tmp/multipartBody7767753883319078687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607445336,"filename":"image_20012025_07_47_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37bcbed38bc4518883caf8c097a82a03.jpg","text":"TemporaryFile(/tmp/multipartBody1074904165405922374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607445336,"filename":"image_20012025_07_47_56_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e18eff981716793fa8a2269dd6e8b43d.jpg","text":"TemporaryFile(/tmp/multipartBody7160436227382909922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607445336,"filename":"image_20012025_07_48_06_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0d0b3dd7e2e3ab5e3d992014f279ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8743586815995331502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607445336,"filename":"image_20012025_07_47_26_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330753345","file1":"1330753305","file0":"1330753289","file4":"1330753406","file5":"1330753415","file3":"1330753382"},"map_files_photo_id_array":[{"photo_id":"1330753415","filename":"file5"},{"photo_id":"1330753345","filename":"file2"},{"photo_id":"1330753406","filename":"file4"},{"photo_id":"1330753305","filename":"file1"},{"photo_id":"1330753289","filename":"file0"},{"photo_id":"1330753382","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330753305":["hashtag1","hashtag2"]},{"1330753289":["hashtag1","hashtag2"]},{"1330753382":["hashtag1","hashtag2"]},{"1330753406":["hashtag1","hashtag2"]},{"1330753415":["hashtag1","hashtag2"]},{"1330753345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330753305, 1330753289, 1330753382, 1330753406, 1330753415, 1330753345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.683722257614136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:43:52.376307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_26_9350.jpg', '/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_36_10356.jpg', '/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_46_10351.jpg', '/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_56_9349.jpg', '/home/pi/Desktop/images/20012025/07/48/image_20012025_07_49_06_10411.jpg', '/home/pi/Desktop/images/20012025/07/49/image_20012025_07_49_36_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_26_9350.jpg
/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_36_10356.jpg
/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_46_10351.jpg
/home/pi/Desktop/images/20012025/07/48/image_20012025_07_48_56_9349.jpg
/home/pi/Desktop/images/20012025/07/48/image_20012025_07_49_06_10411.jpg
/home/pi/Desktop/images/20012025/07/49/image_20012025_07_49_36_10397.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":["1330753443","1330753472","1330753502","1330753450","1330753494","1330753476"],"photo_ids_order":["1330753443","1330753450","1330753472","1330753476","1330753494","1330753502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d7f09b0db735395863b1c85ac658bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8276798884338226327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607494746,"filename":"image_20012025_07_48_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43ccd9186eaa8309bded769c4cded055.jpg","text":"TemporaryFile(/tmp/multipartBody7028849899536494663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607494746,"filename":"image_20012025_07_48_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cbaf8b2ab4fcd24c9987caf2c98f8e0.jpg","text":"TemporaryFile(/tmp/multipartBody6209075719033447530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607494746,"filename":"image_20012025_07_49_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/021c97ddcfbac75b2bcef5a92d321a40.jpg","text":"TemporaryFile(/tmp/multipartBody6158965803137081688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607494746,"filename":"image_20012025_07_48_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fd4c43a6f23bf2b471d04162358d7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3143203113326930390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607494746,"filename":"image_20012025_07_49_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cca2418cddb1f20f5bf5a3d30586bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5439620170475171709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607494746,"filename":"image_20012025_07_48_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330753472","file1":"1330753450","file0":"1330753443","file4":"1330753494","file5":"1330753502","file3":"1330753476"},"map_files_photo_id_array":[{"photo_id":"1330753502","filename":"file5"},{"photo_id":"1330753472","filename":"file2"},{"photo_id":"1330753494","filename":"file4"},{"photo_id":"1330753450","filename":"file1"},{"photo_id":"1330753443","filename":"file0"},{"photo_id":"1330753476","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330753443":["hashtag1","hashtag2"]},{"1330753472":["hashtag1","hashtag2"]},{"1330753502":["hashtag1","hashtag2"]},{"1330753450":["hashtag1","hashtag2"]},{"1330753494":["hashtag1","hashtag2"]},{"1330753476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330753443, 1330753472, 1330753502, 1330753450, 1330753494, 1330753476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.94455599784851 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:44:42.644398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_45_10364.jpg', '/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_15_10331.jpg', '/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/42/image_23012025_05_42_45_10364.jpg
/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_15_10331.jpg
/home/pi/Desktop/images/23012025/05/43/image_23012025_05_43_45_10356.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":["1330753527","1330753535","1330753511"],"photo_ids_order":["1330753511","1330753527","1330753535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c087c8dcb3c0483cc200eea48c5c6f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1099388286200056664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607543522,"filename":"image_23012025_05_43_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/748e70c2aca0cfbdb6191c6ac490c713.jpg","text":"TemporaryFile(/tmp/multipartBody988075480020459495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607543522,"filename":"image_23012025_05_43_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b74299d30ca91c73bca24e01526cd383.jpg","text":"TemporaryFile(/tmp/multipartBody1670066437114365421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607543522,"filename":"image_23012025_05_42_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330753535","file1":"1330753527","file0":"1330753511"},"map_files_photo_id_array":[{"photo_id":"1330753535","filename":"file2"},{"photo_id":"1330753527","filename":"file1"},{"photo_id":"1330753511","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330753527":["hashtag1","hashtag2"]},{"1330753535":["hashtag1","hashtag2"]},{"1330753511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330753527, 1330753535, 1330753511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.810978174209595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:45:33.661367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/43/image_23012025_05_44_05_10358.jpg', '/home/pi/Desktop/images/23012025/05/44/image_23012025_05_45_05_10351.jpg', '/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_25_10424.jpg', '/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_34_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/43/image_23012025_05_44_05_10358.jpg
/home/pi/Desktop/images/23012025/05/44/image_23012025_05_45_05_10351.jpg
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_25_10424.jpg
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_34_9391.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":["1330753605","1330753574","1330753619","1330753563"],"photo_ids_order":["1330753563","1330753574","1330753605","1330753619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fb272f46c6d88e5bdf57cf13d3767da.jpg","text":"TemporaryFile(/tmp/multipartBody2663594842969288622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607594542,"filename":"image_23012025_05_45_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e94494031e31fe82794ac8a314bbdaf2.jpg","text":"TemporaryFile(/tmp/multipartBody7492453554197145668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607594542,"filename":"image_23012025_05_45_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86013c7ea1f13baf9f21014337574f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3637409123237914312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607594542,"filename":"image_23012025_05_45_34_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3214da9252d6a7e823534d7063c3f752.jpg","text":"TemporaryFile(/tmp/multipartBody319777828106195208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607594542,"filename":"image_23012025_05_44_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330753605","file1":"1330753574","file0":"1330753563","file3":"1330753619"},"map_files_photo_id_array":[{"photo_id":"1330753605","filename":"file2"},{"photo_id":"1330753574","filename":"file1"},{"photo_id":"1330753563","filename":"file0"},{"photo_id":"1330753619","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330753605":["hashtag1","hashtag2"]},{"1330753574":["hashtag1","hashtag2"]},{"1330753619":["hashtag1","hashtag2"]},{"1330753563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330753605, 1330753574, 1330753619, 1330753563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.9823784828186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:46:32.620630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_45_10361.jpg', '/home/pi/Desktop/images/23012025/05/45/image_23012025_05_46_04_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_45_45_10361.jpg
/home/pi/Desktop/images/23012025/05/45/image_23012025_05_46_04_9339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330753701","1330753706"],"photo_ids_order":["1330753701","1330753706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70c23c9b65634e5e79a544c2f1c37f4e.jpg","text":"TemporaryFile(/tmp/multipartBody2878699485711318770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607653464,"filename":"image_23012025_05_45_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8509dce7aa6d890ad111a73d10096646.jpg","text":"TemporaryFile(/tmp/multipartBody7906244740813456484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607653464,"filename":"image_23012025_05_46_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330753706","file0":"1330753701"},"map_files_photo_id_array":[{"photo_id":"1330753706","filename":"file1"},{"photo_id":"1330753701","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330753701":["hashtag1","hashtag2"]},{"1330753706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330753701, 1330753706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.88759446144104 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:47:04.621713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/49/image_20012025_07_49_46_9401.jpg', '/home/pi/Desktop/images/20012025/07/49/image_20012025_07_49_56_10353.jpg', '/home/pi/Desktop/images/20012025/07/49/image_20012025_07_50_06_10330.jpg', '/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_16_9329.jpg', '/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_26_10357.jpg', '/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_36_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/49/image_20012025_07_49_46_9401.jpg
/home/pi/Desktop/images/20012025/07/49/image_20012025_07_49_56_10353.jpg
/home/pi/Desktop/images/20012025/07/49/image_20012025_07_50_06_10330.jpg
/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_16_9329.jpg
/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_26_10357.jpg
/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_36_10345.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":["1330754007","1330753796","1330754012","1330754003","1330753736","1330753867"],"photo_ids_order":["1330753736","1330753796","1330753867","1330754003","1330754007","1330754012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a7629fe50c2cc4568a83403a98c1187.jpg","text":"TemporaryFile(/tmp/multipartBody4831883478940788728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607686651,"filename":"image_20012025_07_50_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93ca4e9f90de16c9358aae7dbd5c9f06.jpg","text":"TemporaryFile(/tmp/multipartBody3833456625282912030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607686651,"filename":"image_20012025_07_49_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/094c5e5ccf4a575dc91c959ab013b896.jpg","text":"TemporaryFile(/tmp/multipartBody2153884437178945388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607686651,"filename":"image_20012025_07_50_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2863aa054623c22726495c5c609f4db4.jpg","text":"TemporaryFile(/tmp/multipartBody6393339474351967869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607686651,"filename":"image_20012025_07_50_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90b8f3c6866766f28882f410b854775e.jpg","text":"TemporaryFile(/tmp/multipartBody6429706344165633202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607686651,"filename":"image_20012025_07_49_46_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69817dd3952ca1df9e8f81228f13841f.jpg","text":"TemporaryFile(/tmp/multipartBody5968775845728030602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607686651,"filename":"image_20012025_07_50_06_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330753867","file1":"1330753796","file0":"1330753736","file4":"1330754007","file5":"1330754012","file3":"1330754003"},"map_files_photo_id_array":[{"photo_id":"1330754012","filename":"file5"},{"photo_id":"1330753867","filename":"file2"},{"photo_id":"1330754007","filename":"file4"},{"photo_id":"1330753796","filename":"file1"},{"photo_id":"1330753736","filename":"file0"},{"photo_id":"1330754003","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330754007":["hashtag1","hashtag2"]},{"1330753796":["hashtag1","hashtag2"]},{"1330754012":["hashtag1","hashtag2"]},{"1330754003":["hashtag1","hashtag2"]},{"1330753736":["hashtag1","hashtag2"]},{"1330753867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330754007, 1330753796, 1330754012, 1330754003, 1330753736, 1330753867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.3092896938324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:47:52.799220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_46_9323.jpg', '/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_56_10362.jpg', '/home/pi/Desktop/images/20012025/07/50/image_20012025_07_51_06_10328.jpg', '/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_16_9392.jpg', '/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_35_9330.jpg', '/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_46_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_46_9323.jpg
/home/pi/Desktop/images/20012025/07/50/image_20012025_07_50_56_10362.jpg
/home/pi/Desktop/images/20012025/07/50/image_20012025_07_51_06_10328.jpg
/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_16_9392.jpg
/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_35_9330.jpg
/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_46_10394.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":["1330754106","1330754429","1330754155","1330754436","1330754448","1330754238"],"photo_ids_order":["1330754106","1330754155","1330754238","1330754429","1330754436","1330754448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ad7cf864fdf3beb0b919335b67b76c1.jpg","text":"TemporaryFile(/tmp/multipartBody9213708658076052932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607735158,"filename":"image_20012025_07_50_46_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f0aad252e4c2159ad021b7afbc3441d.jpg","text":"TemporaryFile(/tmp/multipartBody7510105667295479666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607735158,"filename":"image_20012025_07_51_16_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8342aed11088d9353cfa3c76c18d045b.jpg","text":"TemporaryFile(/tmp/multipartBody6716123637733998847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607735158,"filename":"image_20012025_07_50_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc8644bb37f426518d605e96cc6b2fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2029565908977985140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607735158,"filename":"image_20012025_07_51_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ae68d7e6abb4b5b8e493873d36c09c3.jpg","text":"TemporaryFile(/tmp/multipartBody3258072001596886407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607735158,"filename":"image_20012025_07_51_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4bde33a7b8c8fa1904f686f00e105d4.jpg","text":"TemporaryFile(/tmp/multipartBody4190392602127404128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607735158,"filename":"image_20012025_07_51_06_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330754238","file1":"1330754155","file0":"1330754106","file4":"1330754436","file5":"1330754448","file3":"1330754429"},"map_files_photo_id_array":[{"photo_id":"1330754448","filename":"file5"},{"photo_id":"1330754238","filename":"file2"},{"photo_id":"1330754436","filename":"file4"},{"photo_id":"1330754155","filename":"file1"},{"photo_id":"1330754106","filename":"file0"},{"photo_id":"1330754429","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330754106":["hashtag1","hashtag2"]},{"1330754429":["hashtag1","hashtag2"]},{"1330754155":["hashtag1","hashtag2"]},{"1330754436":["hashtag1","hashtag2"]},{"1330754448":["hashtag1","hashtag2"]},{"1330754238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330754106, 1330754429, 1330754155, 1330754436, 1330754448, 1330754238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.310014724731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:48:53.026021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_56_10341.jpg', '/home/pi/Desktop/images/20012025/07/51/image_20012025_07_52_06_9343.jpg', '/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_16_10334.jpg', '/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_26_10339.jpg', '/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_36_9325.jpg', '/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_46_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/51/image_20012025_07_51_56_10341.jpg
/home/pi/Desktop/images/20012025/07/51/image_20012025_07_52_06_9343.jpg
/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_16_10334.jpg
/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_26_10339.jpg
/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_36_9325.jpg
/home/pi/Desktop/images/20012025/07/52/image_20012025_07_52_46_10385.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":["1330754555","1330754551","1330754545","1330754548","1330754541","1330754597"],"photo_ids_order":["1330754541","1330754545","1330754548","1330754551","1330754555","1330754597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e58112643cef3aac543c03ca00be5a6.jpg","text":"TemporaryFile(/tmp/multipartBody6029918646720909348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607795410,"filename":"image_20012025_07_52_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e6748e94ecb1cb37d52056795b94876.jpg","text":"TemporaryFile(/tmp/multipartBody1776871060843477716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607795410,"filename":"image_20012025_07_52_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a1fb364f5201fb6aea785f9c98df347.jpg","text":"TemporaryFile(/tmp/multipartBody1160792412002685604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607795410,"filename":"image_20012025_07_52_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c05cdab522a9a8581c2c8267ba9988fa.jpg","text":"TemporaryFile(/tmp/multipartBody8869459894367942593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607795410,"filename":"image_20012025_07_52_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3fe97d8ddc903dff83772ff8e5c2114.jpg","text":"TemporaryFile(/tmp/multipartBody2370219339521728269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607795410,"filename":"image_20012025_07_51_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e8d95002ba41fc4ecb220c365ac0812.jpg","text":"TemporaryFile(/tmp/multipartBody7970474024759837119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607795410,"filename":"image_20012025_07_52_46_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330754548","file1":"1330754545","file0":"1330754541","file4":"1330754555","file5":"1330754597","file3":"1330754551"},"map_files_photo_id_array":[{"photo_id":"1330754597","filename":"file5"},{"photo_id":"1330754548","filename":"file2"},{"photo_id":"1330754555","filename":"file4"},{"photo_id":"1330754545","filename":"file1"},{"photo_id":"1330754541","filename":"file0"},{"photo_id":"1330754551","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330754555":["hashtag1","hashtag2"]},{"1330754551":["hashtag1","hashtag2"]},{"1330754545":["hashtag1","hashtag2"]},{"1330754548":["hashtag1","hashtag2"]},{"1330754541":["hashtag1","hashtag2"]},{"1330754597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330754555, 1330754551, 1330754545, 1330754548, 1330754541, 1330754597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58826470375061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:49:42.459857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_35_9439.jpg', '/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_44_9335.jpg', '/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_34_9426.jpg', '/home/pi/Desktop/images/23012025/05/48/image_23012025_05_49_04_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/46/image_23012025_05_46_35_9439.jpg
/home/pi/Desktop/images/23012025/05/47/image_23012025_05_47_44_9335.jpg
/home/pi/Desktop/images/23012025/05/48/image_23012025_05_48_34_9426.jpg
/home/pi/Desktop/images/23012025/05/48/image_23012025_05_49_04_9389.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":["1330754663","1330754648","1330754656","1330754661"],"photo_ids_order":["1330754648","1330754656","1330754661","1330754663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/671b50c1d79799edf4ddd7cd7f14d1a8.jpg","text":"TemporaryFile(/tmp/multipartBody1933835312465391425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607843359,"filename":"image_23012025_05_49_04_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14334d3141f98830eff11a3374a4d6bc.jpg","text":"TemporaryFile(/tmp/multipartBody606811528809956521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607843359,"filename":"image_23012025_05_46_35_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6269a7e7c1e879a238e653d9e00b8eb.jpg","text":"TemporaryFile(/tmp/multipartBody6575891475344639085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607843359,"filename":"image_23012025_05_47_44_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5de6399df6daacb6968dc3c53059bba3.jpg","text":"TemporaryFile(/tmp/multipartBody8241378663469077704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607843359,"filename":"image_23012025_05_48_34_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330754661","file1":"1330754656","file0":"1330754648","file3":"1330754663"},"map_files_photo_id_array":[{"photo_id":"1330754661","filename":"file2"},{"photo_id":"1330754656","filename":"file1"},{"photo_id":"1330754648","filename":"file0"},{"photo_id":"1330754663","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330754663":["hashtag1","hashtag2"]},{"1330754648":["hashtag1","hashtag2"]},{"1330754656":["hashtag1","hashtag2"]},{"1330754661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330754663, 1330754648, 1330754656, 1330754661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.388275146484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:50:32.375174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_25_10400.jpg', '/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_35_10349.jpg', '/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_44_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/49/image_23012025_05_49_25_10400.jpg
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_35_10349.jpg
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_44_9428.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":["1330754714","1330754711","1330754691"],"photo_ids_order":["1330754691","1330754711","1330754714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60eace58e2b2c8169e4874e2d37ff38e.jpg","text":"TemporaryFile(/tmp/multipartBody6383131570279694085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607893237,"filename":"image_23012025_05_50_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9b4760688015b593556dfa4a679ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody103365036451197149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607893237,"filename":"image_23012025_05_50_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b2ecf10e09f64a028d4fdf4c937c530.jpg","text":"TemporaryFile(/tmp/multipartBody2617797696959697659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607893237,"filename":"image_23012025_05_49_25_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330754714","file1":"1330754711","file0":"1330754691"},"map_files_photo_id_array":[{"photo_id":"1330754714","filename":"file2"},{"photo_id":"1330754711","filename":"file1"},{"photo_id":"1330754691","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330754714":["hashtag1","hashtag2"]},{"1330754711":["hashtag1","hashtag2"]},{"1330754691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330754714, 1330754711, 1330754691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.797418355941772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:51:32.599969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_55_10369.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_14_9453.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_25_10344.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_34_9368.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_45_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_55_10369.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_14_9453.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_25_10344.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_34_9368.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_45_10337.jpg
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: 0.5050318241119385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:51:42.663437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_55_10369.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_14_9453.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_25_10344.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_34_9368.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_45_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/50/image_23012025_05_50_55_10369.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_14_9453.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_25_10344.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_34_9368.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_45_10337.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":["1330754782","1330754779","1330754784","1330754766","1330754775"],"photo_ids_order":["1330754766","1330754775","1330754779","1330754782","1330754784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14a9d98ebd07d249b876a62167d7355a.jpg","text":"TemporaryFile(/tmp/multipartBody9021188255839031042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607963578,"filename":"image_23012025_05_51_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69a96aa51a413775a6e8e5003cc572e4.jpg","text":"TemporaryFile(/tmp/multipartBody3889697691363104119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607963578,"filename":"image_23012025_05_51_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89f983bec3a414bdbb2ceb70c6ea5a03.jpg","text":"TemporaryFile(/tmp/multipartBody3095640628484659666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607963578,"filename":"image_23012025_05_51_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd3e59218c39c1344cd1fec77112bc38.jpg","text":"TemporaryFile(/tmp/multipartBody4791508781105616418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607963578,"filename":"image_23012025_05_50_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5075662b302d6e8167c16f56966edc58.jpg","text":"TemporaryFile(/tmp/multipartBody527739639906985705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737607963578,"filename":"image_23012025_05_51_14_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330754779","file1":"1330754775","file0":"1330754766","file4":"1330754784","file3":"1330754782"},"map_files_photo_id_array":[{"photo_id":"1330754779","filename":"file2"},{"photo_id":"1330754784","filename":"file4"},{"photo_id":"1330754775","filename":"file1"},{"photo_id":"1330754766","filename":"file0"},{"photo_id":"1330754782","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330754782":["hashtag1","hashtag2"]},{"1330754779":["hashtag1","hashtag2"]},{"1330754784":["hashtag1","hashtag2"]},{"1330754766":["hashtag1","hashtag2"]},{"1330754775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330754782, 1330754779, 1330754784, 1330754766, 1330754775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.42513298988342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:52:32.858793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_55_10371.jpg', '/home/pi/Desktop/images/23012025/05/51/image_23012025_05_52_04_9463.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_15_10436.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_24_9394.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_35_10360.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_45_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_51_55_10371.jpg
/home/pi/Desktop/images/23012025/05/51/image_23012025_05_52_04_9463.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_15_10436.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_24_9394.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_35_10360.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_45_10412.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":["1330754867","1330754819","1330754926","1330754877","1330754886","1330754853"],"photo_ids_order":["1330754819","1330754853","1330754867","1330754877","1330754886","1330754926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/407448d1341afa72b1aae14cc0718864.jpg","text":"TemporaryFile(/tmp/multipartBody5203768897013637383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608013768,"filename":"image_23012025_05_52_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/671fcf7b2622864afc708f4194a53929.jpg","text":"TemporaryFile(/tmp/multipartBody8114415521328273159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608013768,"filename":"image_23012025_05_51_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3766e02493701f65e499ba64d4d2ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6693546276259288655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608013768,"filename":"image_23012025_05_52_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/855c0f20d03e4b069c0ca251d6936941.jpg","text":"TemporaryFile(/tmp/multipartBody7650520784673886167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608013768,"filename":"image_23012025_05_52_24_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0229c24178ff243e221bb81266dbee39.jpg","text":"TemporaryFile(/tmp/multipartBody5846814320475103961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608013768,"filename":"image_23012025_05_52_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fcfb70b998bc104e7f37c21b8794bec.jpg","text":"TemporaryFile(/tmp/multipartBody965355306865764618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608013768,"filename":"image_23012025_05_52_04_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330754867","file1":"1330754853","file0":"1330754819","file4":"1330754886","file5":"1330754926","file3":"1330754877"},"map_files_photo_id_array":[{"photo_id":"1330754926","filename":"file5"},{"photo_id":"1330754867","filename":"file2"},{"photo_id":"1330754886","filename":"file4"},{"photo_id":"1330754853","filename":"file1"},{"photo_id":"1330754819","filename":"file0"},{"photo_id":"1330754877","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330754867":["hashtag1","hashtag2"]},{"1330754819":["hashtag1","hashtag2"]},{"1330754926":["hashtag1","hashtag2"]},{"1330754877":["hashtag1","hashtag2"]},{"1330754886":["hashtag1","hashtag2"]},{"1330754853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330754867, 1330754819, 1330754926, 1330754877, 1330754886, 1330754853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76662302017212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:53:32.305848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_54_9348.jpg', '/home/pi/Desktop/images/23012025/05/52/image_23012025_05_53_05_10331.jpg', '/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_15_10351.jpg', '/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_24_9441.jpg', '/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_35_10352.jpg', '/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_44_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_52_54_9348.jpg
/home/pi/Desktop/images/23012025/05/52/image_23012025_05_53_05_10331.jpg
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_15_10351.jpg
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_24_9441.jpg
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_35_10352.jpg
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_44_9393.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":["1330755058","1330755069","1330755057","1330755048","1330755042","1330755071"],"photo_ids_order":["1330755042","1330755048","1330755057","1330755058","1330755069","1330755071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c33f436bd27e1af8346956b405c8a089.jpg","text":"TemporaryFile(/tmp/multipartBody8092234171610600060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608073230,"filename":"image_23012025_05_53_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebaeb0ab1556095da678ddd2fa745065.jpg","text":"TemporaryFile(/tmp/multipartBody8392107565325957815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608073230,"filename":"image_23012025_05_53_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/953413711f2e38c35f269c72793783a0.jpg","text":"TemporaryFile(/tmp/multipartBody5795763218898044120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608073230,"filename":"image_23012025_05_53_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/400490bba0bee19afede7462ab4f125b.jpg","text":"TemporaryFile(/tmp/multipartBody1983224982859456014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608073230,"filename":"image_23012025_05_53_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e33219e90f63f161bb46b998f4ed568e.jpg","text":"TemporaryFile(/tmp/multipartBody7783464490249834902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608073230,"filename":"image_23012025_05_52_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11e7195e201db5c8a76dd7b215f7e558.jpg","text":"TemporaryFile(/tmp/multipartBody486416474964606221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608073230,"filename":"image_23012025_05_53_44_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755057","file1":"1330755048","file0":"1330755042","file4":"1330755069","file5":"1330755071","file3":"1330755058"},"map_files_photo_id_array":[{"photo_id":"1330755071","filename":"file5"},{"photo_id":"1330755057","filename":"file2"},{"photo_id":"1330755069","filename":"file4"},{"photo_id":"1330755048","filename":"file1"},{"photo_id":"1330755042","filename":"file0"},{"photo_id":"1330755058","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330755058":["hashtag1","hashtag2"]},{"1330755069":["hashtag1","hashtag2"]},{"1330755057":["hashtag1","hashtag2"]},{"1330755048":["hashtag1","hashtag2"]},{"1330755042":["hashtag1","hashtag2"]},{"1330755071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330755058, 1330755069, 1330755057, 1330755048, 1330755042, 1330755071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49843621253967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:54:32.342510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_55_10357.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_14_9421.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_34_9570.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_55_10357.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_14_9421.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_34_9570.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_45_10342.jpg
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: 0.4907257556915283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:54:42.474613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_55_10357.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_14_9421.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_34_9570.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/53/image_23012025_05_53_55_10357.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_14_9421.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_34_9570.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_45_10342.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":["1330755145","1330755130","1330755155","1330755149"],"photo_ids_order":["1330755130","1330755145","1330755149","1330755155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7b28a4141dc1d2418198ea67c014fc5.jpg","text":"TemporaryFile(/tmp/multipartBody5074167976139406859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608143371,"filename":"image_23012025_05_54_14_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/236f2936a340d94813b992b6062727e0.jpg","text":"TemporaryFile(/tmp/multipartBody6501799386409565920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608143371,"filename":"image_23012025_05_53_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9af3fad5ad84764a5751426a2df91d3.jpg","text":"TemporaryFile(/tmp/multipartBody846659141879812021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608143371,"filename":"image_23012025_05_54_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85154c113564fb0558ac9d9ef9cc02da.jpg","text":"TemporaryFile(/tmp/multipartBody7320805957699717317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608143371,"filename":"image_23012025_05_54_34_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755149","file1":"1330755145","file0":"1330755130","file3":"1330755155"},"map_files_photo_id_array":[{"photo_id":"1330755149","filename":"file2"},{"photo_id":"1330755145","filename":"file1"},{"photo_id":"1330755130","filename":"file0"},{"photo_id":"1330755155","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330755145":["hashtag1","hashtag2"]},{"1330755130":["hashtag1","hashtag2"]},{"1330755155":["hashtag1","hashtag2"]},{"1330755149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330755145, 1330755130, 1330755155, 1330755149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.87246870994568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:55:32.473484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_55_10351.jpg', '/home/pi/Desktop/images/23012025/05/54/image_23012025_05_55_04_9397.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_15_10365.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_25_10445.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_34_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_54_55_10351.jpg
/home/pi/Desktop/images/23012025/05/54/image_23012025_05_55_04_9397.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_15_10365.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_25_10445.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_34_9372.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":["1330755341","1330755335","1330755328","1330755342","1330755306"],"photo_ids_order":["1330755306","1330755328","1330755335","1330755341","1330755342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08d2f7fd705282e29c837dd283a0712b.jpg","text":"TemporaryFile(/tmp/multipartBody1573078626830791975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608193381,"filename":"image_23012025_05_55_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9102836cfdad3b2a1b9c39b8c4dc6250.jpg","text":"TemporaryFile(/tmp/multipartBody7659279476479715519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608193381,"filename":"image_23012025_05_55_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a436115bae78321b0cb9c8f84e4a4973.jpg","text":"TemporaryFile(/tmp/multipartBody3009305548048343815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608193381,"filename":"image_23012025_05_55_04_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f85584d9da58615fec3e4469e44a9be.jpg","text":"TemporaryFile(/tmp/multipartBody5923668929053437946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608193381,"filename":"image_23012025_05_55_34_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6551701c8586b96a4bbaa22a6f37b322.jpg","text":"TemporaryFile(/tmp/multipartBody1360955433359161430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608193381,"filename":"image_23012025_05_54_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755335","file1":"1330755328","file0":"1330755306","file4":"1330755342","file3":"1330755341"},"map_files_photo_id_array":[{"photo_id":"1330755335","filename":"file2"},{"photo_id":"1330755342","filename":"file4"},{"photo_id":"1330755328","filename":"file1"},{"photo_id":"1330755306","filename":"file0"},{"photo_id":"1330755341","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330755341":["hashtag1","hashtag2"]},{"1330755335":["hashtag1","hashtag2"]},{"1330755328":["hashtag1","hashtag2"]},{"1330755342":["hashtag1","hashtag2"]},{"1330755306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330755341, 1330755335, 1330755328, 1330755342, 1330755306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.72154951095581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:56:32.647359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_45_10358.jpg', '/home/pi/Desktop/images/23012025/05/55/image_23012025_05_56_05_10401.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_15_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_55_45_10358.jpg
/home/pi/Desktop/images/23012025/05/55/image_23012025_05_56_05_10401.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_15_10360.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":["1330755361","1330755366","1330755363"],"photo_ids_order":["1330755361","1330755363","1330755366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59c2bf74f0eb2bb6ce4acc04943fac78.jpg","text":"TemporaryFile(/tmp/multipartBody9055835375610117602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608253512,"filename":"image_23012025_05_55_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/562ab773e29c0be39d1d27990848179c.jpg","text":"TemporaryFile(/tmp/multipartBody6713917118839352673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608253512,"filename":"image_23012025_05_56_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/588af06c7c5d537d6ebdd99c0a1fb115.jpg","text":"TemporaryFile(/tmp/multipartBody1475280039067315892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608253512,"filename":"image_23012025_05_56_05_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755366","file1":"1330755363","file0":"1330755361"},"map_files_photo_id_array":[{"photo_id":"1330755366","filename":"file2"},{"photo_id":"1330755363","filename":"file1"},{"photo_id":"1330755361","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330755361":["hashtag1","hashtag2"]},{"1330755366":["hashtag1","hashtag2"]},{"1330755363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330755361, 1330755366, 1330755363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.057788848876953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:57:04.595318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/52/image_20012025_07_53_06_9493.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_16_10329.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_25_9355.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_56_9348.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_54_06_10320.jpg', '/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_16_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/52/image_20012025_07_53_06_9493.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_16_10329.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_25_9355.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_56_9348.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_54_06_10320.jpg
/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_16_10329.jpg
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: 1.600203275680542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 05:57:32.886444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_24_9354.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_57_05_10361.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_25_10350.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_24_9354.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_57_05_10361.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_25_10350.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 05:59:04.012106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_24_9354.jpg', '/home/pi/Desktop/images/23012025/05/56/image_23012025_05_57_05_10361.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_25_10350.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_35_10357.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_55_10354.jpg', '/home/pi/Desktop/images/23012025/05/57/image_23012025_05_58_05_10524.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_56_24_9354.jpg
/home/pi/Desktop/images/23012025/05/56/image_23012025_05_57_05_10361.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_25_10350.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_35_10357.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_57_55_10354.jpg
/home/pi/Desktop/images/23012025/05/57/image_23012025_05_58_05_10524.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":["1330755455","1330755449","1330755437","1330755453","1330755441","1330755444"],"photo_ids_order":["1330755437","1330755441","1330755444","1330755449","1330755453","1330755455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8c21cdc56731ea97c1e52a7fbe76bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7569219379011996707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608406914,"filename":"image_23012025_05_58_05_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f87f688af0f7b919eb3aeee7e6169dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4738409329678817733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608406914,"filename":"image_23012025_05_57_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d87e57317211ba2547da9360b08d2a41.jpg","text":"TemporaryFile(/tmp/multipartBody6239421433140175165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608406914,"filename":"image_23012025_05_56_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a0c7caab856815c04c73a95d9857e8b.jpg","text":"TemporaryFile(/tmp/multipartBody6935438897989185659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608406914,"filename":"image_23012025_05_57_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7faa45e6915f2ec6a92173c79b35d2c8.jpg","text":"TemporaryFile(/tmp/multipartBody7641877316055844912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608406914,"filename":"image_23012025_05_57_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6450ed8f8074f7d877605ba381412c7c.jpg","text":"TemporaryFile(/tmp/multipartBody974784906648087526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608406914,"filename":"image_23012025_05_57_25_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755444","file1":"1330755441","file0":"1330755437","file4":"1330755453","file5":"1330755455","file3":"1330755449"},"map_files_photo_id_array":[{"photo_id":"1330755455","filename":"file5"},{"photo_id":"1330755444","filename":"file2"},{"photo_id":"1330755453","filename":"file4"},{"photo_id":"1330755441","filename":"file1"},{"photo_id":"1330755437","filename":"file0"},{"photo_id":"1330755449","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330755455":["hashtag1","hashtag2"]},{"1330755449":["hashtag1","hashtag2"]},{"1330755437":["hashtag1","hashtag2"]},{"1330755453":["hashtag1","hashtag2"]},{"1330755441":["hashtag1","hashtag2"]},{"1330755444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330755455, 1330755449, 1330755437, 1330755453, 1330755441, 1330755444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.55519676208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 05:59:52.563774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/52/image_20012025_07_53_06_9493.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_16_10329.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_25_9355.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_56_9348.jpg', '/home/pi/Desktop/images/20012025/07/53/image_20012025_07_54_06_10320.jpg', '/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_16_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/52/image_20012025_07_53_06_9493.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_16_10329.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_25_9355.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_53_56_9348.jpg
/home/pi/Desktop/images/20012025/07/53/image_20012025_07_54_06_10320.jpg
/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_16_10329.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":["1330755481","1330755466","1330755474","1330755477","1330755479","1330755470"],"photo_ids_order":["1330755466","1330755470","1330755474","1330755477","1330755479","1330755481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2508b104322fbe19bc9a36d2d8421e4a.jpg","text":"TemporaryFile(/tmp/multipartBody6073811242954801802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608454878,"filename":"image_20012025_07_54_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de368df2be3df6e426d30e4e8da31222.jpg","text":"TemporaryFile(/tmp/multipartBody5705130750621030446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608454878,"filename":"image_20012025_07_53_06_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61fee6ba130c1dc5a4d963cedf7d018c.jpg","text":"TemporaryFile(/tmp/multipartBody8685234674228680444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608454878,"filename":"image_20012025_07_53_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2178efdd9dd40e00e42f378c4ec0d804.jpg","text":"TemporaryFile(/tmp/multipartBody6559098047369006252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608454878,"filename":"image_20012025_07_53_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16a84b31ff3f79944cde6d8930ba439e.jpg","text":"TemporaryFile(/tmp/multipartBody5460028581735217209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608454878,"filename":"image_20012025_07_54_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a49d98306526636ea967651e43089140.jpg","text":"TemporaryFile(/tmp/multipartBody5648228782804634844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608454878,"filename":"image_20012025_07_53_16_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755474","file1":"1330755470","file0":"1330755466","file4":"1330755479","file5":"1330755481","file3":"1330755477"},"map_files_photo_id_array":[{"photo_id":"1330755481","filename":"file5"},{"photo_id":"1330755474","filename":"file2"},{"photo_id":"1330755479","filename":"file4"},{"photo_id":"1330755470","filename":"file1"},{"photo_id":"1330755466","filename":"file0"},{"photo_id":"1330755477","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330755481":["hashtag1","hashtag2"]},{"1330755466":["hashtag1","hashtag2"]},{"1330755474":["hashtag1","hashtag2"]},{"1330755477":["hashtag1","hashtag2"]},{"1330755479":["hashtag1","hashtag2"]},{"1330755470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330755481, 1330755466, 1330755474, 1330755477, 1330755479, 1330755470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.536468267440796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:00:42.786616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_15_9361.jpg', '/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_34_9403.jpg', '/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_45_10343.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_15_10338.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_25_10407.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_35_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_15_9361.jpg
/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_34_9403.jpg
/home/pi/Desktop/images/23012025/05/58/image_23012025_05_58_45_10343.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_15_10338.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_25_10407.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_35_9464.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":["1330755506","1330755556","1330755532","1330755525","1330755494","1330755563"],"photo_ids_order":["1330755494","1330755506","1330755525","1330755532","1330755556","1330755563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f85061b1255f01f403ddeed0d442522.jpg","text":"TemporaryFile(/tmp/multipartBody1840885799295124968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608503711,"filename":"image_23012025_05_58_34_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6afde7379bb8e5b523daf871a34dd641.jpg","text":"TemporaryFile(/tmp/multipartBody2697631315595122782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608503711,"filename":"image_23012025_05_59_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c44742a709fb0be443bc94a1be0f1cd3.jpg","text":"TemporaryFile(/tmp/multipartBody3262669953751078867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608503711,"filename":"image_23012025_05_59_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b6952135d0dc59e3b70b97180c91b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6696558774326738389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608503711,"filename":"image_23012025_05_58_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9394395214ca8ed0c53dde81e7a51f84.jpg","text":"TemporaryFile(/tmp/multipartBody3965257407751557054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608503711,"filename":"image_23012025_05_58_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/feaa7368822b57e4cbefc44633bb0673.jpg","text":"TemporaryFile(/tmp/multipartBody6364907704750350346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608503711,"filename":"image_23012025_05_59_35_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755525","file1":"1330755506","file0":"1330755494","file4":"1330755556","file5":"1330755563","file3":"1330755532"},"map_files_photo_id_array":[{"photo_id":"1330755563","filename":"file5"},{"photo_id":"1330755525","filename":"file2"},{"photo_id":"1330755556","filename":"file4"},{"photo_id":"1330755506","filename":"file1"},{"photo_id":"1330755494","filename":"file0"},{"photo_id":"1330755532","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330755506":["hashtag1","hashtag2"]},{"1330755556":["hashtag1","hashtag2"]},{"1330755532":["hashtag1","hashtag2"]},{"1330755525":["hashtag1","hashtag2"]},{"1330755494":["hashtag1","hashtag2"]},{"1330755563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330755506, 1330755556, 1330755532, 1330755525, 1330755494, 1330755563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.62721586227417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:01:33.056410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_45_10438.jpg', '/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_54_9416.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_15_10064.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_25_10353.jpg', '/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_36_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_45_10438.jpg
/home/pi/Desktop/images/23012025/05/59/image_23012025_05_59_54_9416.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_15_10064.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_25_10353.jpg
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_36_10349.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":["1330755653","1330755694","1330755619","1330755642","1330755680"],"photo_ids_order":["1330755619","1330755642","1330755653","1330755680","1330755694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcb7f894d954ce118aa8e2e0ddabd9e6.jpg","text":"TemporaryFile(/tmp/multipartBody7051551786926686722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608553984,"filename":"image_23012025_06_00_15_10064.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59c83081f77a79664f245d9f703ae400.jpg","text":"TemporaryFile(/tmp/multipartBody299116363905987209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608553984,"filename":"image_23012025_06_00_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f855823048ca0650570e42881f77414.jpg","text":"TemporaryFile(/tmp/multipartBody3252353692264062954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608553984,"filename":"image_23012025_05_59_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09d59aedb3ae8322193ae563bdaf5fac.jpg","text":"TemporaryFile(/tmp/multipartBody7587186183742815746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608553984,"filename":"image_23012025_05_59_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/470a5e2e3fb8897c7e381044d4265ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1921822233223279354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608553984,"filename":"image_23012025_06_00_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755653","file1":"1330755642","file0":"1330755619","file4":"1330755694","file3":"1330755680"},"map_files_photo_id_array":[{"photo_id":"1330755653","filename":"file2"},{"photo_id":"1330755694","filename":"file4"},{"photo_id":"1330755642","filename":"file1"},{"photo_id":"1330755619","filename":"file0"},{"photo_id":"1330755680","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330755653":["hashtag1","hashtag2"]},{"1330755694":["hashtag1","hashtag2"]},{"1330755619":["hashtag1","hashtag2"]},{"1330755642":["hashtag1","hashtag2"]},{"1330755680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330755653, 1330755694, 1330755619, 1330755642, 1330755680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.703221559524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:02:32.995209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_26_9360.jpg', '/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_46_10338.jpg', '/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_56_9427.jpg', '/home/pi/Desktop/images/20012025/07/54/image_20012025_07_55_06_10339.jpg', '/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_16_9411.jpg', '/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_26_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_26_9360.jpg
/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_46_10338.jpg
/home/pi/Desktop/images/20012025/07/54/image_20012025_07_54_56_9427.jpg
/home/pi/Desktop/images/20012025/07/54/image_20012025_07_55_06_10339.jpg
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_16_9411.jpg
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_26_10335.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":["1330755889","1330755883","1330755886","1330755856","1330755795","1330755779"],"photo_ids_order":["1330755779","1330755795","1330755856","1330755883","1330755886","1330755889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecbe4f6ff85020f4391694574f10a182.jpg","text":"TemporaryFile(/tmp/multipartBody2617918313816433885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608615360,"filename":"image_20012025_07_55_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84395a24272a59aa67654b69c6ae3d20.jpg","text":"TemporaryFile(/tmp/multipartBody517194401060018612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608615360,"filename":"image_20012025_07_55_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a32f844d3b241cbaa3dc84d524699ed.jpg","text":"TemporaryFile(/tmp/multipartBody858223911156927172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608615360,"filename":"image_20012025_07_55_16_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/284b9f6d59eef26f1b4221d023abe1d4.jpg","text":"TemporaryFile(/tmp/multipartBody1444616755975731420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608615360,"filename":"image_20012025_07_54_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef06c52b077627268afc771f5fccc3aa.jpg","text":"TemporaryFile(/tmp/multipartBody7360967546054587550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608615360,"filename":"image_20012025_07_54_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91f9e20732a0103fbface7e1e47f47b2.jpg","text":"TemporaryFile(/tmp/multipartBody2035221226087137169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608615360,"filename":"image_20012025_07_54_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755856","file1":"1330755795","file0":"1330755779","file4":"1330755886","file5":"1330755889","file3":"1330755883"},"map_files_photo_id_array":[{"photo_id":"1330755889","filename":"file5"},{"photo_id":"1330755856","filename":"file2"},{"photo_id":"1330755886","filename":"file4"},{"photo_id":"1330755795","filename":"file1"},{"photo_id":"1330755779","filename":"file0"},{"photo_id":"1330755883","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330755889":["hashtag1","hashtag2"]},{"1330755883":["hashtag1","hashtag2"]},{"1330755886":["hashtag1","hashtag2"]},{"1330755856":["hashtag1","hashtag2"]},{"1330755795":["hashtag1","hashtag2"]},{"1330755779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330755889, 1330755883, 1330755886, 1330755856, 1330755795, 1330755779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99422597885132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:03:32.431849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_45_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/00/image_23012025_06_00_45_9400.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330755903"],"photo_id":"1330755903","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a750abc932580a77707e90e5323e687.jpg","text":"TemporaryFile(/tmp/multipartBody6642057263549353639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608673247,"filename":"image_23012025_06_00_45_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1330755903"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330755903"}],"hashtags":[],"portfolio_id":"19839053","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.35253643989563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:03:52.439277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_46_9323.jpg', '/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_56_10459.jpg', '/home/pi/Desktop/images/20012025/07/55/image_20012025_07_56_05_9335.jpg', '/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_46_10390.jpg', '/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_56_10350.jpg', '/home/pi/Desktop/images/20012025/07/56/image_20012025_07_57_06_9492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_46_9323.jpg
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_56_10459.jpg
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_56_05_9335.jpg
/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_46_10390.jpg
/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_56_10350.jpg
/home/pi/Desktop/images/20012025/07/56/image_20012025_07_57_06_9492.jpg
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: 1.9987454414367676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:04:03.252648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_46_9323.jpg', '/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_56_10459.jpg', '/home/pi/Desktop/images/20012025/07/55/image_20012025_07_56_05_9335.jpg', '/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_46_10390.jpg', '/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_56_10350.jpg', '/home/pi/Desktop/images/20012025/07/56/image_20012025_07_57_06_9492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_46_9323.jpg
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_55_56_10459.jpg
/home/pi/Desktop/images/20012025/07/55/image_20012025_07_56_05_9335.jpg
/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_46_10390.jpg
/home/pi/Desktop/images/20012025/07/56/image_20012025_07_56_56_10350.jpg
/home/pi/Desktop/images/20012025/07/56/image_20012025_07_57_06_9492.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":["1330756007","1330755957","1330755983","1330756016","1330755953","1330755947"],"photo_ids_order":["1330755947","1330755953","1330755957","1330755983","1330756007","1330756016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4bc2b8113fd70f2896b9d07b13e4d28.jpg","text":"TemporaryFile(/tmp/multipartBody2391290974982877369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608704775,"filename":"image_20012025_07_56_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dca61fee0e17b2ed6e868ab936baac9.jpg","text":"TemporaryFile(/tmp/multipartBody696006115602781795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608704775,"filename":"image_20012025_07_56_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1b00fb1f6fdb14c2156f5aa1a364a72.jpg","text":"TemporaryFile(/tmp/multipartBody8625069034509615115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608704775,"filename":"image_20012025_07_56_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47800e26e785c1c9e25014a4c42453bd.jpg","text":"TemporaryFile(/tmp/multipartBody134225936412981378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608704775,"filename":"image_20012025_07_57_06_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b31ccb6c2b8ae0966e40a928aa389f4.jpg","text":"TemporaryFile(/tmp/multipartBody5286464892966554680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608704775,"filename":"image_20012025_07_55_56_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa4a4833f1b85c0282c5da3a24b2e71c.jpg","text":"TemporaryFile(/tmp/multipartBody7557852163157086660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608704775,"filename":"image_20012025_07_55_46_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330755957","file1":"1330755953","file0":"1330755947","file4":"1330756007","file5":"1330756016","file3":"1330755983"},"map_files_photo_id_array":[{"photo_id":"1330756016","filename":"file5"},{"photo_id":"1330755957","filename":"file2"},{"photo_id":"1330756007","filename":"file4"},{"photo_id":"1330755953","filename":"file1"},{"photo_id":"1330755947","filename":"file0"},{"photo_id":"1330755983","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330756007":["hashtag1","hashtag2"]},{"1330755957":["hashtag1","hashtag2"]},{"1330755983":["hashtag1","hashtag2"]},{"1330756016":["hashtag1","hashtag2"]},{"1330755953":["hashtag1","hashtag2"]},{"1330755947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330756007, 1330755957, 1330755983, 1330756016, 1330755953, 1330755947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.1819109916687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:04:52.557251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/57/image_20012025_07_57_36_10345.jpg', '/home/pi/Desktop/images/20012025/07/57/image_20012025_07_57_46_10337.jpg', '/home/pi/Desktop/images/20012025/07/57/image_20012025_07_57_56_9343.jpg', '/home/pi/Desktop/images/20012025/07/58/image_20012025_07_58_26_9393.jpg', '/home/pi/Desktop/images/20012025/07/58/image_20012025_07_58_36_10457.jpg', '/home/pi/Desktop/images/20012025/07/58/image_20012025_07_58_56_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/57/image_20012025_07_57_36_10345.jpg
/home/pi/Desktop/images/20012025/07/57/image_20012025_07_57_46_10337.jpg
/home/pi/Desktop/images/20012025/07/57/image_20012025_07_57_56_9343.jpg
/home/pi/Desktop/images/20012025/07/58/image_20012025_07_58_26_9393.jpg
/home/pi/Desktop/images/20012025/07/58/image_20012025_07_58_36_10457.jpg
/home/pi/Desktop/images/20012025/07/58/image_20012025_07_58_56_10390.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":["1330756193","1330756029","1330756244","1330756145","1330756049","1330756034"],"photo_ids_order":["1330756029","1330756034","1330756049","1330756145","1330756193","1330756244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/904111dd2d457a3179562967c46830ec.jpg","text":"TemporaryFile(/tmp/multipartBody5428847357590240327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608754956,"filename":"image_20012025_07_58_36_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a3871c5bc86c6700dc31277ee84acfb.jpg","text":"TemporaryFile(/tmp/multipartBody9155334302900900308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608754956,"filename":"image_20012025_07_57_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc78545c179d2abf00b2566aee908c00.jpg","text":"TemporaryFile(/tmp/multipartBody6744234800146507335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608754956,"filename":"image_20012025_07_58_56_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5c6826e3ae7f25d6a91946d7c8eaacd.jpg","text":"TemporaryFile(/tmp/multipartBody8666931627321232132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608754956,"filename":"image_20012025_07_58_26_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f008edd1aacf4f2eb8bbd99b6abd668.jpg","text":"TemporaryFile(/tmp/multipartBody5349481309139896405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608754956,"filename":"image_20012025_07_57_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f87a921b29f42329f6f870b6487b1585.jpg","text":"TemporaryFile(/tmp/multipartBody4608822937260077363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608754956,"filename":"image_20012025_07_57_46_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330756049","file1":"1330756034","file0":"1330756029","file4":"1330756193","file5":"1330756244","file3":"1330756145"},"map_files_photo_id_array":[{"photo_id":"1330756244","filename":"file5"},{"photo_id":"1330756049","filename":"file2"},{"photo_id":"1330756193","filename":"file4"},{"photo_id":"1330756034","filename":"file1"},{"photo_id":"1330756029","filename":"file0"},{"photo_id":"1330756145","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330756193":["hashtag1","hashtag2"]},{"1330756029":["hashtag1","hashtag2"]},{"1330756244":["hashtag1","hashtag2"]},{"1330756145":["hashtag1","hashtag2"]},{"1330756049":["hashtag1","hashtag2"]},{"1330756034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330756193, 1330756029, 1330756244, 1330756145, 1330756049, 1330756034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.255940437316895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:05:42.925067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_16_10418.jpg', '/home/pi/Desktop/images/23012025/06/03/image_23012025_06_04_06_10357.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_36_10401.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_45_9418.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_55_10355.jpg', '/home/pi/Desktop/images/23012025/06/04/image_23012025_06_05_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/03/image_23012025_06_03_16_10418.jpg
/home/pi/Desktop/images/23012025/06/03/image_23012025_06_04_06_10357.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_36_10401.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_45_9418.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_04_55_10355.jpg
/home/pi/Desktop/images/23012025/06/04/image_23012025_06_05_06_10340.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":["1330756261","1330756252","1330756266","1330756254","1330756256","1330756271"],"photo_ids_order":["1330756252","1330756254","1330756256","1330756261","1330756266","1330756271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c54d28f692fead618e31968a775ffe35.jpg","text":"TemporaryFile(/tmp/multipartBody410785539830345072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608803880,"filename":"image_23012025_06_04_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ac45cbb520e6aa20fc21713faa0884c.jpg","text":"TemporaryFile(/tmp/multipartBody2163663468520662435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608803880,"filename":"image_23012025_06_03_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46f331c0a784eadcc4aa48a81bdf40a1.jpg","text":"TemporaryFile(/tmp/multipartBody273887642095486519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608803880,"filename":"image_23012025_06_04_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1caf080a788c814c94f314928fb7f88e.jpg","text":"TemporaryFile(/tmp/multipartBody6896085951017948456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608803880,"filename":"image_23012025_06_04_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c345954a05d7cbe8fef55743c3a68881.jpg","text":"TemporaryFile(/tmp/multipartBody5654874981011990847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608803880,"filename":"image_23012025_06_04_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bcd62d2f017d0c2468a3d7a8b0a1142.jpg","text":"TemporaryFile(/tmp/multipartBody4587238836399360826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608803880,"filename":"image_23012025_06_05_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330756256","file1":"1330756254","file0":"1330756252","file4":"1330756266","file5":"1330756271","file3":"1330756261"},"map_files_photo_id_array":[{"photo_id":"1330756271","filename":"file5"},{"photo_id":"1330756256","filename":"file2"},{"photo_id":"1330756266","filename":"file4"},{"photo_id":"1330756254","filename":"file1"},{"photo_id":"1330756252","filename":"file0"},{"photo_id":"1330756261","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330756261":["hashtag1","hashtag2"]},{"1330756252":["hashtag1","hashtag2"]},{"1330756266":["hashtag1","hashtag2"]},{"1330756254":["hashtag1","hashtag2"]},{"1330756256":["hashtag1","hashtag2"]},{"1330756271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330756261, 1330756252, 1330756266, 1330756254, 1330756256, 1330756271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.41707229614258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:06:32.961306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_15_9411.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_26_10360.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_36_10347.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_45_9412.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_56_10350.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_06_05_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_15_9411.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_26_10360.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_36_10347.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_45_9412.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_56_10350.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_06_05_9462.jpg
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: 0.5487823486328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:06:43.010447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_15_9411.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_26_10360.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_36_10347.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_45_9412.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_56_10350.jpg', '/home/pi/Desktop/images/23012025/06/05/image_23012025_06_06_05_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_15_9411.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_26_10360.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_36_10347.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_45_9412.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_05_56_10350.jpg
/home/pi/Desktop/images/23012025/06/05/image_23012025_06_06_05_9462.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":["1330756294","1330756288","1330756303","1330756306","1330756299","1330756291"],"photo_ids_order":["1330756288","1330756291","1330756294","1330756299","1330756303","1330756306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e54d211eb17338675a3ef3fc6f40e46.jpg","text":"TemporaryFile(/tmp/multipartBody7428678196260883347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608863916,"filename":"image_23012025_06_05_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae19b2015f5c67a7f2b8d3dcebfb28c1.jpg","text":"TemporaryFile(/tmp/multipartBody5436731329035569226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608863916,"filename":"image_23012025_06_05_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/623d430369a3f07023204c15ac82b49b.jpg","text":"TemporaryFile(/tmp/multipartBody1867902968902934154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608863916,"filename":"image_23012025_06_05_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bf03daf1ee1cede0fbbb30a648a9028.jpg","text":"TemporaryFile(/tmp/multipartBody8383774385660202866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608863916,"filename":"image_23012025_06_06_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e238183db9c3167d7b7e2c727caede19.jpg","text":"TemporaryFile(/tmp/multipartBody5679586429076177136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608863916,"filename":"image_23012025_06_05_45_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85dbe88e9b4ed349aec5c3eabc9b46a0.jpg","text":"TemporaryFile(/tmp/multipartBody3513895006583604018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608863916,"filename":"image_23012025_06_05_26_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330756294","file1":"1330756291","file0":"1330756288","file4":"1330756303","file5":"1330756306","file3":"1330756299"},"map_files_photo_id_array":[{"photo_id":"1330756306","filename":"file5"},{"photo_id":"1330756294","filename":"file2"},{"photo_id":"1330756303","filename":"file4"},{"photo_id":"1330756291","filename":"file1"},{"photo_id":"1330756288","filename":"file0"},{"photo_id":"1330756299","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330756294":["hashtag1","hashtag2"]},{"1330756288":["hashtag1","hashtag2"]},{"1330756303":["hashtag1","hashtag2"]},{"1330756306":["hashtag1","hashtag2"]},{"1330756299":["hashtag1","hashtag2"]},{"1330756291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330756294, 1330756288, 1330756303, 1330756306, 1330756299, 1330756291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23883056640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:07:33.169866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_16_10437.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_26_10392.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_35_9389.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_46_10330.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_55_9420.jpg', '/home/pi/Desktop/images/23012025/06/06/image_23012025_06_07_06_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_16_10437.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_26_10392.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_35_9389.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_46_10330.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_06_55_9420.jpg
/home/pi/Desktop/images/23012025/06/06/image_23012025_06_07_06_10444.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":["1330756504","1330756327","1330756392","1330756320","1330756682","1330756317"],"photo_ids_order":["1330756317","1330756320","1330756327","1330756392","1330756504","1330756682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ef8229c78df2da53c153fa7feef3e86.jpg","text":"TemporaryFile(/tmp/multipartBody2707366073540227804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608914070,"filename":"image_23012025_06_06_55_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b3270c770e1f16b505f6f4c7c43d97e.jpg","text":"TemporaryFile(/tmp/multipartBody145930687022952362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608914070,"filename":"image_23012025_06_06_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6deeee37681a3c3f1a98704776a5d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5078358336851969928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608914070,"filename":"image_23012025_06_06_46_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6d42981855115407b49f6ae822716d9.jpg","text":"TemporaryFile(/tmp/multipartBody3037836048152224865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608914070,"filename":"image_23012025_06_06_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/144e26e9fbfaff6c27a7639ecfa32901.jpg","text":"TemporaryFile(/tmp/multipartBody3411591425683350275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608914070,"filename":"image_23012025_06_07_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb8728370e14f0431ff80c87adec30bc.jpg","text":"TemporaryFile(/tmp/multipartBody2816882691887310134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608914070,"filename":"image_23012025_06_06_16_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330756327","file1":"1330756320","file0":"1330756317","file4":"1330756504","file5":"1330756682","file3":"1330756392"},"map_files_photo_id_array":[{"photo_id":"1330756682","filename":"file5"},{"photo_id":"1330756327","filename":"file2"},{"photo_id":"1330756504","filename":"file4"},{"photo_id":"1330756320","filename":"file1"},{"photo_id":"1330756317","filename":"file0"},{"photo_id":"1330756392","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330756504":["hashtag1","hashtag2"]},{"1330756327":["hashtag1","hashtag2"]},{"1330756392":["hashtag1","hashtag2"]},{"1330756320":["hashtag1","hashtag2"]},{"1330756682":["hashtag1","hashtag2"]},{"1330756317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330756504, 1330756327, 1330756392, 1330756320, 1330756682, 1330756317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.418073654174805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:08:32.446394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_16_10354.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_36_10322.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_46_10351.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_55_9362.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_08_06_10334.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_15_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_16_10354.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_36_10322.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_46_10351.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_55_9362.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_08_06_10334.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_15_9406.jpg
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: 0.5123145580291748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:08:42.514374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_16_10354.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_36_10322.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_46_10351.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_55_9362.jpg', '/home/pi/Desktop/images/23012025/06/07/image_23012025_06_08_06_10334.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_15_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_16_10354.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_36_10322.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_46_10351.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_07_55_9362.jpg
/home/pi/Desktop/images/23012025/06/07/image_23012025_06_08_06_10334.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_15_9406.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":["1330757242","1330757101","1330757250","1330757231","1330757170","1330757245"],"photo_ids_order":["1330757101","1330757170","1330757231","1330757242","1330757245","1330757250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c7382314bf8c3bfbb09bd21f53ca72e.jpg","text":"TemporaryFile(/tmp/multipartBody6443289787738355725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608983427,"filename":"image_23012025_06_07_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b55ec7769838e36fcec22047c4d3375.jpg","text":"TemporaryFile(/tmp/multipartBody5850599031875027002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608983427,"filename":"image_23012025_06_07_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b782f281219fc46ee2354b3139383bd.jpg","text":"TemporaryFile(/tmp/multipartBody7711197423997379585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608983427,"filename":"image_23012025_06_08_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b88ec5e6fd07f56d585ffa807181f11.jpg","text":"TemporaryFile(/tmp/multipartBody4720848906732460305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608983427,"filename":"image_23012025_06_07_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bf30ab14a09ab9c73fad192b3fc238d.jpg","text":"TemporaryFile(/tmp/multipartBody8420970580554721533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608983427,"filename":"image_23012025_06_07_36_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9160c00bd60bcc559cc2218593e85ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2048336960443845592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737608983427,"filename":"image_23012025_06_08_06_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330757231","file1":"1330757170","file0":"1330757101","file4":"1330757245","file5":"1330757250","file3":"1330757242"},"map_files_photo_id_array":[{"photo_id":"1330757250","filename":"file5"},{"photo_id":"1330757231","filename":"file2"},{"photo_id":"1330757245","filename":"file4"},{"photo_id":"1330757170","filename":"file1"},{"photo_id":"1330757101","filename":"file0"},{"photo_id":"1330757242","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330757242":["hashtag1","hashtag2"]},{"1330757101":["hashtag1","hashtag2"]},{"1330757250":["hashtag1","hashtag2"]},{"1330757231":["hashtag1","hashtag2"]},{"1330757170":["hashtag1","hashtag2"]},{"1330757245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330757242, 1330757101, 1330757250, 1330757231, 1330757170, 1330757245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.575005531311035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:09:42.719862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_25_10350.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_36_10342.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_56_10365.jpg', '/home/pi/Desktop/images/23012025/06/08/image_23012025_06_09_06_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_25_10350.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_36_10342.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_08_56_10365.jpg
/home/pi/Desktop/images/23012025/06/08/image_23012025_06_09_06_10355.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":["1330757298","1330757273","1330757276","1330757266"],"photo_ids_order":["1330757266","1330757273","1330757276","1330757298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fefe044a7a152030be96dcee8ec119d3.jpg","text":"TemporaryFile(/tmp/multipartBody7078751541345066715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609044078,"filename":"image_23012025_06_09_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fa3b37d444979cc873d7a8cd1188145.jpg","text":"TemporaryFile(/tmp/multipartBody4341318748478038020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609044078,"filename":"image_23012025_06_08_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8420de753868722a2a87081104dcfafb.jpg","text":"TemporaryFile(/tmp/multipartBody7738606591232533279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609044078,"filename":"image_23012025_06_08_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40a0bf5c1dacd8fd100606664b77bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody2697423747886552725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609044078,"filename":"image_23012025_06_08_25_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330757276","file1":"1330757273","file0":"1330757266","file3":"1330757298"},"map_files_photo_id_array":[{"photo_id":"1330757276","filename":"file2"},{"photo_id":"1330757273","filename":"file1"},{"photo_id":"1330757266","filename":"file0"},{"photo_id":"1330757298","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330757298":["hashtag1","hashtag2"]},{"1330757273":["hashtag1","hashtag2"]},{"1330757276":["hashtag1","hashtag2"]},{"1330757266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330757298, 1330757273, 1330757276, 1330757266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.228970527648926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:10:32.937278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_36_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_09_36_10341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330757689"],"photo_id":"1330757689","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8ec443879339da9528b3c9e256b74d4.jpg","text":"TemporaryFile(/tmp/multipartBody3972550811753969674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609093746,"filename":"image_23012025_06_09_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1330757689"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1330757689"}],"hashtags":[],"portfolio_id":"19839053","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.951534986495972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:10:52.921084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/07/58/image_20012025_07_59_06_10338.jpg', '/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_15_9351.jpg', '/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_26_10436.jpg', '/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_36_10331.jpg', '/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_46_9343.jpg', '/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_56_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/07/58/image_20012025_07_59_06_10338.jpg
/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_15_9351.jpg
/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_26_10436.jpg
/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_36_10331.jpg
/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_46_9343.jpg
/home/pi/Desktop/images/20012025/07/59/image_20012025_07_59_56_10338.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":["1330757895","1330757889","1330757862","1330757892","1330757884","1330757842"],"photo_ids_order":["1330757842","1330757862","1330757884","1330757889","1330757892","1330757895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7121c7d9ee78622b4748332fc914f798.jpg","text":"TemporaryFile(/tmp/multipartBody8763790797545464441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609115310,"filename":"image_20012025_07_59_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0dffefc2652bf3d535d0b458db299a4.jpg","text":"TemporaryFile(/tmp/multipartBody2476871764543464932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609115310,"filename":"image_20012025_07_59_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc6ac6f97a0ce9e8437cd5ea01b2e8e9.jpg","text":"TemporaryFile(/tmp/multipartBody8092221933383786524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609115310,"filename":"image_20012025_07_59_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86eda4d180f27017f77c971487962598.jpg","text":"TemporaryFile(/tmp/multipartBody6245865817706739530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609115310,"filename":"image_20012025_07_59_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29b1a87cffcaaccc008fa6d79113adfe.jpg","text":"TemporaryFile(/tmp/multipartBody1868852384075478559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609115310,"filename":"image_20012025_07_59_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6995411c7098ed54e2e351e8c8d75aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6115430141152822620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609115310,"filename":"image_20012025_07_59_06_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330757884","file1":"1330757862","file0":"1330757842","file4":"1330757892","file5":"1330757895","file3":"1330757889"},"map_files_photo_id_array":[{"photo_id":"1330757895","filename":"file5"},{"photo_id":"1330757884","filename":"file2"},{"photo_id":"1330757892","filename":"file4"},{"photo_id":"1330757862","filename":"file1"},{"photo_id":"1330757842","filename":"file0"},{"photo_id":"1330757889","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330757895":["hashtag1","hashtag2"]},{"1330757889":["hashtag1","hashtag2"]},{"1330757862":["hashtag1","hashtag2"]},{"1330757892":["hashtag1","hashtag2"]},{"1330757884":["hashtag1","hashtag2"]},{"1330757842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330757895, 1330757889, 1330757862, 1330757892, 1330757884, 1330757842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.159677028656006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:11:43.207269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/09/image_23012025_06_10_06_10342.jpg', '/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_25_9455.jpg', '/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_36_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/09/image_23012025_06_10_06_10342.jpg
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_25_9455.jpg
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_36_10345.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":["1330757901","1330757912","1330757920"],"photo_ids_order":["1330757901","1330757912","1330757920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fa6e0e4d982c3331d33adb6f502393b.jpg","text":"TemporaryFile(/tmp/multipartBody4652312450003218974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609164074,"filename":"image_23012025_06_10_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95bf237fbdfe8bbe31592926044569e7.jpg","text":"TemporaryFile(/tmp/multipartBody1169539786702011791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609164074,"filename":"image_23012025_06_11_25_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa0e9de09c573e315b5847ad8c7fa6f4.jpg","text":"TemporaryFile(/tmp/multipartBody1988041867985436546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609164074,"filename":"image_23012025_06_11_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330757920","file1":"1330757912","file0":"1330757901"},"map_files_photo_id_array":[{"photo_id":"1330757920","filename":"file2"},{"photo_id":"1330757912","filename":"file1"},{"photo_id":"1330757901","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330757901":["hashtag1","hashtag2"]},{"1330757912":["hashtag1","hashtag2"]},{"1330757920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330757901, 1330757912, 1330757920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.484734296798706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:12:32.318637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_46_10359.jpg', '/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_15_9496.jpg', '/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_26_10358.jpg', '/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_36_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/11/image_23012025_06_11_46_10359.jpg
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_15_9496.jpg
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_26_10358.jpg
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_36_10331.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":["1330757946","1330757931","1330757934","1330757939"],"photo_ids_order":["1330757931","1330757934","1330757939","1330757946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9547022116864246bd7824ebf3f95779.jpg","text":"TemporaryFile(/tmp/multipartBody2935524900834389259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609213186,"filename":"image_23012025_06_12_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0599dfb9b30dbf5b4abf0705eaed4a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8186285562202249355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609213186,"filename":"image_23012025_06_11_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a9e4e03a2560742d0d00b7f7da04344.jpg","text":"TemporaryFile(/tmp/multipartBody5448183588646213380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609213186,"filename":"image_23012025_06_12_15_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c1b181f3585fa0824aa1d4d698e08cc.jpg","text":"TemporaryFile(/tmp/multipartBody1196226388391172291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609213186,"filename":"image_23012025_06_12_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330757939","file1":"1330757934","file0":"1330757931","file3":"1330757946"},"map_files_photo_id_array":[{"photo_id":"1330757939","filename":"file2"},{"photo_id":"1330757934","filename":"file1"},{"photo_id":"1330757931","filename":"file0"},{"photo_id":"1330757946","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330757946":["hashtag1","hashtag2"]},{"1330757931":["hashtag1","hashtag2"]},{"1330757934":["hashtag1","hashtag2"]},{"1330757939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330757946, 1330757931, 1330757934, 1330757939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.93566012382507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:13:32.622483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_45_9392.jpg', '/home/pi/Desktop/images/23012025/06/12/image_23012025_06_13_05_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_12_45_9392.jpg
/home/pi/Desktop/images/23012025/06/12/image_23012025_06_13_05_9386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330758051","1330758068"],"photo_ids_order":["1330758051","1330758068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09202e3942880bd216df8106f6216b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3363322395833002131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609273462,"filename":"image_23012025_06_12_45_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fee54fbd7ed279b7ff0a6a5c0b7e780.jpg","text":"TemporaryFile(/tmp/multipartBody4983173084598939935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609273462,"filename":"image_23012025_06_13_05_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330758068","file0":"1330758051"},"map_files_photo_id_array":[{"photo_id":"1330758068","filename":"file1"},{"photo_id":"1330758051","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330758051":["hashtag1","hashtag2"]},{"1330758068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330758051, 1330758068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.067512273788452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:13:52.525558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_14_10073.jpg', '/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_25_10346.jpg', '/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_35_10345.jpg', '/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_44_9404.jpg', '/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_55_10341.jpg', '/home/pi/Desktop/images/20012025/08/01/image_20012025_08_02_05_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_14_10073.jpg
/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_25_10346.jpg
/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_35_10345.jpg
/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_44_9404.jpg
/home/pi/Desktop/images/20012025/08/01/image_20012025_08_01_55_10341.jpg
/home/pi/Desktop/images/20012025/08/01/image_20012025_08_02_05_10469.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":["1330758126","1330758107","1330758091","1330758085","1330758100","1330758087"],"photo_ids_order":["1330758085","1330758087","1330758091","1330758100","1330758107","1330758126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f4ac88b250529f4661c405a80912506.jpg","text":"TemporaryFile(/tmp/multipartBody5130410827577337629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609294871,"filename":"image_20012025_08_02_05_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28d2d1eb41c0c3d178cb1eb99a13e45a.jpg","text":"TemporaryFile(/tmp/multipartBody418026813583966270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609294871,"filename":"image_20012025_08_01_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d20fab1f3d09cbd75ab37513427de2f.jpg","text":"TemporaryFile(/tmp/multipartBody2511841363358695220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609294871,"filename":"image_20012025_08_01_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16ffad094fde378d5658ab831113aa1f.jpg","text":"TemporaryFile(/tmp/multipartBody6457702246767460870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609294871,"filename":"image_20012025_08_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ca401bfc7a7bc8f7cea92db6915a15f.jpg","text":"TemporaryFile(/tmp/multipartBody3484346109581132768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609294871,"filename":"image_20012025_08_01_44_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b601ad71f1ed117b5fc7b5f3b316d3ef.jpg","text":"TemporaryFile(/tmp/multipartBody3911647346016105351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609294871,"filename":"image_20012025_08_01_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330758091","file1":"1330758087","file0":"1330758085","file4":"1330758107","file5":"1330758126","file3":"1330758100"},"map_files_photo_id_array":[{"photo_id":"1330758126","filename":"file5"},{"photo_id":"1330758091","filename":"file2"},{"photo_id":"1330758107","filename":"file4"},{"photo_id":"1330758087","filename":"file1"},{"photo_id":"1330758085","filename":"file0"},{"photo_id":"1330758100","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330758126":["hashtag1","hashtag2"]},{"1330758107":["hashtag1","hashtag2"]},{"1330758091":["hashtag1","hashtag2"]},{"1330758085":["hashtag1","hashtag2"]},{"1330758100":["hashtag1","hashtag2"]},{"1330758087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330758126, 1330758107, 1330758091, 1330758085, 1330758100, 1330758087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50346779823303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:14:42.884752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/02/image_20012025_08_02_14_9330.jpg', '/home/pi/Desktop/images/20012025/08/02/image_20012025_08_02_44_10344.jpg', '/home/pi/Desktop/images/20012025/08/02/image_20012025_08_02_55_10482.jpg', '/home/pi/Desktop/images/20012025/08/02/image_20012025_08_03_04_9338.jpg', '/home/pi/Desktop/images/20012025/08/03/image_20012025_08_03_15_10340.jpg', '/home/pi/Desktop/images/20012025/08/03/image_20012025_08_03_25_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/02/image_20012025_08_02_14_9330.jpg
/home/pi/Desktop/images/20012025/08/02/image_20012025_08_02_44_10344.jpg
/home/pi/Desktop/images/20012025/08/02/image_20012025_08_02_55_10482.jpg
/home/pi/Desktop/images/20012025/08/02/image_20012025_08_03_04_9338.jpg
/home/pi/Desktop/images/20012025/08/03/image_20012025_08_03_15_10340.jpg
/home/pi/Desktop/images/20012025/08/03/image_20012025_08_03_25_10421.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":["1330758182","1330758209","1330758193","1330758178","1330758211","1330758235"],"photo_ids_order":["1330758178","1330758182","1330758193","1330758209","1330758211","1330758235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a60d775396e16a80b7ba7aa0bb168bab.jpg","text":"TemporaryFile(/tmp/multipartBody7902195073568508023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609344397,"filename":"image_20012025_08_02_44_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76a42c7f5d1c5db300edcadd9653db3a.jpg","text":"TemporaryFile(/tmp/multipartBody2428801903951344008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609344397,"filename":"image_20012025_08_03_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e1568f2fc33803128b28349e37d7c02.jpg","text":"TemporaryFile(/tmp/multipartBody1552198192177209917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609344397,"filename":"image_20012025_08_02_55_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41a98e81cfcc50faf74c9c79db8edadc.jpg","text":"TemporaryFile(/tmp/multipartBody7312253186333587279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609344397,"filename":"image_20012025_08_02_14_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65f4415997c96c462d5a273a59637ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4667727902045528273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609344397,"filename":"image_20012025_08_03_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d47ee17e8c3625969c9f77199d61962f.jpg","text":"TemporaryFile(/tmp/multipartBody4003351197242007940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609344397,"filename":"image_20012025_08_03_25_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330758193","file1":"1330758182","file0":"1330758178","file4":"1330758211","file5":"1330758235","file3":"1330758209"},"map_files_photo_id_array":[{"photo_id":"1330758235","filename":"file5"},{"photo_id":"1330758193","filename":"file2"},{"photo_id":"1330758211","filename":"file4"},{"photo_id":"1330758182","filename":"file1"},{"photo_id":"1330758178","filename":"file0"},{"photo_id":"1330758209","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330758182":["hashtag1","hashtag2"]},{"1330758209":["hashtag1","hashtag2"]},{"1330758193":["hashtag1","hashtag2"]},{"1330758178":["hashtag1","hashtag2"]},{"1330758211":["hashtag1","hashtag2"]},{"1330758235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330758182, 1330758209, 1330758193, 1330758178, 1330758211, 1330758235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.69184803962708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:16:02.861109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/03/image_20012025_08_03_34_9339.jpg', '/home/pi/Desktop/images/20012025/08/03/image_20012025_08_04_04_10373.jpg', '/home/pi/Desktop/images/20012025/08/04/image_20012025_08_04_15_10356.jpg', '/home/pi/Desktop/images/20012025/08/04/image_20012025_08_04_24_9326.jpg', '/home/pi/Desktop/images/20012025/08/04/image_20012025_08_04_45_10411.jpg', '/home/pi/Desktop/images/20012025/08/04/image_20012025_08_05_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/03/image_20012025_08_03_34_9339.jpg
/home/pi/Desktop/images/20012025/08/03/image_20012025_08_04_04_10373.jpg
/home/pi/Desktop/images/20012025/08/04/image_20012025_08_04_15_10356.jpg
/home/pi/Desktop/images/20012025/08/04/image_20012025_08_04_24_9326.jpg
/home/pi/Desktop/images/20012025/08/04/image_20012025_08_04_45_10411.jpg
/home/pi/Desktop/images/20012025/08/04/image_20012025_08_05_05_10349.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":["1330758252","1330758261","1330758254","1330758257","1330758256","1330758259"],"photo_ids_order":["1330758252","1330758254","1330758256","1330758257","1330758259","1330758261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81cb890136c01c912c4bfc420729bd53.jpg","text":"TemporaryFile(/tmp/multipartBody5304407023822830923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609424423,"filename":"image_20012025_08_03_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/785504f535f8c24276c51e51a76b1fd3.jpg","text":"TemporaryFile(/tmp/multipartBody2044861880975996231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609424423,"filename":"image_20012025_08_05_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0568177ba6a22523a8577d35fe689802.jpg","text":"TemporaryFile(/tmp/multipartBody370644786148427150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609424423,"filename":"image_20012025_08_04_04_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4985f579923370e376b9071f213f05a1.jpg","text":"TemporaryFile(/tmp/multipartBody4285491687578448099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609424423,"filename":"image_20012025_08_04_24_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/801194aec0bf4e067b3ad5722ec73303.jpg","text":"TemporaryFile(/tmp/multipartBody3093586528099324508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609424423,"filename":"image_20012025_08_04_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/197b809d28d83652e1fb58e65ca2042c.jpg","text":"TemporaryFile(/tmp/multipartBody8369566356074892682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609424423,"filename":"image_20012025_08_04_45_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330758256","file1":"1330758254","file0":"1330758252","file4":"1330758259","file5":"1330758261","file3":"1330758257"},"map_files_photo_id_array":[{"photo_id":"1330758261","filename":"file5"},{"photo_id":"1330758256","filename":"file2"},{"photo_id":"1330758259","filename":"file4"},{"photo_id":"1330758254","filename":"file1"},{"photo_id":"1330758252","filename":"file0"},{"photo_id":"1330758257","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330758252":["hashtag1","hashtag2"]},{"1330758261":["hashtag1","hashtag2"]},{"1330758254":["hashtag1","hashtag2"]},{"1330758257":["hashtag1","hashtag2"]},{"1330758256":["hashtag1","hashtag2"]},{"1330758259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330758252, 1330758261, 1330758254, 1330758257, 1330758256, 1330758259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94619274139404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:16:52.161993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_15_10385.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_24_9340.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_35_10417.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_44_9316.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_54_10344.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_06_05_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_15_10385.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_24_9340.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_35_10417.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_44_9316.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_54_10344.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_06_05_10367.jpg
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: 1.976247787475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:17:03.995694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_26_10340.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_25_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/13/image_23012025_06_13_26_10340.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_25_9449.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330758312","1330758269"],"photo_ids_order":["1330758269","1330758312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/586734e56e37bd7227605d2de9736bc6.jpg","text":"TemporaryFile(/tmp/multipartBody7571524439649458991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609484959,"filename":"image_23012025_06_16_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b69e387aa76d1d748388a396445f4fb.jpg","text":"TemporaryFile(/tmp/multipartBody2301465009863786402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609484959,"filename":"image_23012025_06_13_26_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330758312","file0":"1330758269"},"map_files_photo_id_array":[{"photo_id":"1330758312","filename":"file1"},{"photo_id":"1330758269","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330758312":["hashtag1","hashtag2"]},{"1330758269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330758312, 1330758269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.919403076171875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:17:32.451018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_45_9476.jpg', '/home/pi/Desktop/images/23012025/06/16/image_23012025_06_17_06_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_16_45_9476.jpg
/home/pi/Desktop/images/23012025/06/16/image_23012025_06_17_06_10338.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":["1330758433","1330758378"],"photo_ids_order":["1330758378","1330758433"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0de742f09abf1ccdef5cf536774d14d.jpg","text":"TemporaryFile(/tmp/multipartBody140076137211772826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609513281,"filename":"image_23012025_06_17_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0ca442fd09a74f71f13f569aad7c05b.jpg","text":"TemporaryFile(/tmp/multipartBody6814637572904299882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609513281,"filename":"image_23012025_06_16_45_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330758433","file0":"1330758378"},"map_files_photo_id_array":[{"photo_id":"1330758433","filename":"file1"},{"photo_id":"1330758378","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330758433":["hashtag1","hashtag2"]},{"1330758378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330758433, 1330758378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.47032380104065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:18:03.234559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_15_10385.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_24_9340.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_35_10417.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_44_9316.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_54_10344.jpg', '/home/pi/Desktop/images/20012025/08/05/image_20012025_08_06_05_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_15_10385.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_24_9340.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_35_10417.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_44_9316.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_05_54_10344.jpg
/home/pi/Desktop/images/20012025/08/05/image_20012025_08_06_05_10367.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":["1330758600","1330758646","1330758640","1330758643","1330758637","1330758607"],"photo_ids_order":["1330758600","1330758607","1330758637","1330758640","1330758643","1330758646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1483ced278126e116091b849dd599d6.jpg","text":"TemporaryFile(/tmp/multipartBody3963861065943523328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609544699,"filename":"image_20012025_08_05_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58ea2facb7832ee128c462732fcf8fc1.jpg","text":"TemporaryFile(/tmp/multipartBody4364918828968085347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609544699,"filename":"image_20012025_08_06_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6ac03f605a77c60de1b3040faf0ee44.jpg","text":"TemporaryFile(/tmp/multipartBody7599135000694715776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609544699,"filename":"image_20012025_08_05_44_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee67643005ca290847b75ef77b786e45.jpg","text":"TemporaryFile(/tmp/multipartBody3202041695315972445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609544699,"filename":"image_20012025_08_05_54_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f67f405315eef1e0912aa189b6c7945d.jpg","text":"TemporaryFile(/tmp/multipartBody8356216472345217862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609544699,"filename":"image_20012025_08_05_35_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0108d354bd1080e644c3847a0a6341b3.jpg","text":"TemporaryFile(/tmp/multipartBody7716000881375806552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609544699,"filename":"image_20012025_08_05_24_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330758637","file1":"1330758607","file0":"1330758600","file4":"1330758643","file5":"1330758646","file3":"1330758640"},"map_files_photo_id_array":[{"photo_id":"1330758646","filename":"file5"},{"photo_id":"1330758637","filename":"file2"},{"photo_id":"1330758643","filename":"file4"},{"photo_id":"1330758607","filename":"file1"},{"photo_id":"1330758600","filename":"file0"},{"photo_id":"1330758640","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330758600":["hashtag1","hashtag2"]},{"1330758646":["hashtag1","hashtag2"]},{"1330758640":["hashtag1","hashtag2"]},{"1330758643":["hashtag1","hashtag2"]},{"1330758637":["hashtag1","hashtag2"]},{"1330758607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330758600, 1330758646, 1330758640, 1330758643, 1330758637, 1330758607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73861312866211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:18:54.587295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/06/image_20012025_08_06_14_9344.jpg', '/home/pi/Desktop/images/20012025/08/06/image_20012025_08_06_35_10434.jpg', '/home/pi/Desktop/images/20012025/08/06/image_20012025_08_06_55_10333.jpg', '/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_25_10400.jpg', '/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_34_9326.jpg', '/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_45_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/06/image_20012025_08_06_14_9344.jpg
/home/pi/Desktop/images/20012025/08/06/image_20012025_08_06_35_10434.jpg
/home/pi/Desktop/images/20012025/08/06/image_20012025_08_06_55_10333.jpg
/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_25_10400.jpg
/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_34_9326.jpg
/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_45_10338.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":["1330758686","1330758683","1330758719","1330758697","1330758688","1330758715"],"photo_ids_order":["1330758683","1330758686","1330758688","1330758697","1330758715","1330758719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcfa19a541e1cb6a0aaef20e3265a831.jpg","text":"TemporaryFile(/tmp/multipartBody7309916547430271632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609596947,"filename":"image_20012025_08_06_35_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9772ee4ae15b9c88b9acf68a61e865c7.jpg","text":"TemporaryFile(/tmp/multipartBody3359430308002873335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609596947,"filename":"image_20012025_08_06_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5934384788cdc6a3096cd17401786b0e.jpg","text":"TemporaryFile(/tmp/multipartBody5939806978871037199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609596947,"filename":"image_20012025_08_07_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c504c8ea834342cb1e6056462e78f981.jpg","text":"TemporaryFile(/tmp/multipartBody1322047365559510283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609596947,"filename":"image_20012025_08_07_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e88851faedd0b1aab58efd749866dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1554805198205341158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609596947,"filename":"image_20012025_08_06_55_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85a515bc8353bfb99c18e0fea8571f9c.jpg","text":"TemporaryFile(/tmp/multipartBody8135954724380838889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609596947,"filename":"image_20012025_08_07_34_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330758688","file1":"1330758686","file0":"1330758683","file4":"1330758715","file5":"1330758719","file3":"1330758697"},"map_files_photo_id_array":[{"photo_id":"1330758719","filename":"file5"},{"photo_id":"1330758688","filename":"file2"},{"photo_id":"1330758715","filename":"file4"},{"photo_id":"1330758686","filename":"file1"},{"photo_id":"1330758683","filename":"file0"},{"photo_id":"1330758697","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330758686":["hashtag1","hashtag2"]},{"1330758683":["hashtag1","hashtag2"]},{"1330758719":["hashtag1","hashtag2"]},{"1330758697":["hashtag1","hashtag2"]},{"1330758688":["hashtag1","hashtag2"]},{"1330758715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330758686, 1330758683, 1330758719, 1330758697, 1330758688, 1330758715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10551071166992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:19:42.879465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_15_9334.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_26_10360.jpg', '/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_56_10367.jpg', '/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_16_10361.jpg', '/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_25_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/17/image_23012025_06_17_15_9334.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_26_10360.jpg
/home/pi/Desktop/images/23012025/06/18/image_23012025_06_18_56_10367.jpg
/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_16_10361.jpg
/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_25_9402.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":["1330758791","1330758788","1330758793","1330758792","1330758795"],"photo_ids_order":["1330758788","1330758791","1330758792","1330758793","1330758795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a359c1909b9f20a180d0d386818b7a2.jpg","text":"TemporaryFile(/tmp/multipartBody7013006322887978798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609643790,"filename":"image_23012025_06_18_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a815e1057dd5aca62c3624da420ad75.jpg","text":"TemporaryFile(/tmp/multipartBody2225025160268585793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609643790,"filename":"image_23012025_06_17_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79fc98a6c3b90120b9d9fbfc23ad92ba.jpg","text":"TemporaryFile(/tmp/multipartBody580977664876223075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609643790,"filename":"image_23012025_06_19_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a629e5f3ad4a538870cf362dcda64731.jpg","text":"TemporaryFile(/tmp/multipartBody1344721262073683131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609643790,"filename":"image_23012025_06_18_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50f81b722cc296f798d7e451427c6a28.jpg","text":"TemporaryFile(/tmp/multipartBody7771453428340457782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609643790,"filename":"image_23012025_06_19_25_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330758792","file1":"1330758791","file0":"1330758788","file4":"1330758795","file3":"1330758793"},"map_files_photo_id_array":[{"photo_id":"1330758792","filename":"file2"},{"photo_id":"1330758795","filename":"file4"},{"photo_id":"1330758791","filename":"file1"},{"photo_id":"1330758788","filename":"file0"},{"photo_id":"1330758793","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330758791":["hashtag1","hashtag2"]},{"1330758788":["hashtag1","hashtag2"]},{"1330758793":["hashtag1","hashtag2"]},{"1330758792":["hashtag1","hashtag2"]},{"1330758795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330758791, 1330758788, 1330758793, 1330758792, 1330758795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.34931039810181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:20:32.993574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_35_10338.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_16_10372.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_25_9352.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_36_10340.jpg', '/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/19/image_23012025_06_19_35_10338.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_16_10372.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_25_9352.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_36_10340.jpg
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_46_10343.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":["1330759571","1330759576","1330759558","1330759554","1330759563"],"photo_ids_order":["1330759554","1330759558","1330759563","1330759571","1330759576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45a96a892fba402f0757c3ea52adba12.jpg","text":"TemporaryFile(/tmp/multipartBody8801896838358276946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609693904,"filename":"image_23012025_06_20_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e11d7b0f6f19b1c9c8134f978de54bed.jpg","text":"TemporaryFile(/tmp/multipartBody5170101035081111443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609693904,"filename":"image_23012025_06_20_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dc7c7fb17ea9e25eadce06f1685af15.jpg","text":"TemporaryFile(/tmp/multipartBody8550975276671852718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609693904,"filename":"image_23012025_06_20_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0b5434af6ee3c29af28560df7586d07.jpg","text":"TemporaryFile(/tmp/multipartBody2717808503175136246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609693904,"filename":"image_23012025_06_19_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9db15920b7bce49da28d715df46cd0d.jpg","text":"TemporaryFile(/tmp/multipartBody7176730209193114940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609693904,"filename":"image_23012025_06_20_25_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330759563","file1":"1330759558","file0":"1330759554","file4":"1330759576","file3":"1330759571"},"map_files_photo_id_array":[{"photo_id":"1330759563","filename":"file2"},{"photo_id":"1330759576","filename":"file4"},{"photo_id":"1330759558","filename":"file1"},{"photo_id":"1330759554","filename":"file0"},{"photo_id":"1330759571","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330759571":["hashtag1","hashtag2"]},{"1330759576":["hashtag1","hashtag2"]},{"1330759558":["hashtag1","hashtag2"]},{"1330759554":["hashtag1","hashtag2"]},{"1330759563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330759571, 1330759576, 1330759558, 1330759554, 1330759563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.07012128829956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:21:32.177120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_55_9449.jpg', '/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/20/image_23012025_06_20_55_9449.jpg
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_26_10350.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":["1330759838","1330759840"],"photo_ids_order":["1330759838","1330759840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bead467a8ba78355385d6b08fb1715a.jpg","text":"TemporaryFile(/tmp/multipartBody1381306434421688941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609753010,"filename":"image_23012025_06_20_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a15c1ef86caa1d893801f628bb15de2.jpg","text":"TemporaryFile(/tmp/multipartBody5192523722281980617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609753010,"filename":"image_23012025_06_21_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330759840","file0":"1330759838"},"map_files_photo_id_array":[{"photo_id":"1330759840","filename":"file1"},{"photo_id":"1330759838","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330759838":["hashtag1","hashtag2"]},{"1330759840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330759838, 1330759840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.129610061645508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:22:03.130613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_55_10450.jpg', '/home/pi/Desktop/images/20012025/08/07/image_20012025_08_08_04_9358.jpg', '/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_15_10343.jpg', '/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_25_10387.jpg', '/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_34_9323.jpg', '/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_55_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/07/image_20012025_08_07_55_10450.jpg
/home/pi/Desktop/images/20012025/08/07/image_20012025_08_08_04_9358.jpg
/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_15_10343.jpg
/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_25_10387.jpg
/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_34_9323.jpg
/home/pi/Desktop/images/20012025/08/08/image_20012025_08_08_55_10341.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":["1330759865","1330759859","1330759867","1330759861","1330759855","1330759863"],"photo_ids_order":["1330759855","1330759859","1330759861","1330759863","1330759865","1330759867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a72163c086ca31c80c64350006914bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2738239531973245431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609785520,"filename":"image_20012025_08_08_34_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fd3299684c9d662d9dbba87dc927a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6243395022486160747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609785520,"filename":"image_20012025_08_08_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da35f3cc7fcf9e43bd6de4c0c3c34cee.jpg","text":"TemporaryFile(/tmp/multipartBody3463884484067705076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609785520,"filename":"image_20012025_08_08_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/494da012e659822ba76c3beb7c70eff8.jpg","text":"TemporaryFile(/tmp/multipartBody7168824513381851041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609785520,"filename":"image_20012025_08_08_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60a473d32fc764c788d69ebc44d0435e.jpg","text":"TemporaryFile(/tmp/multipartBody1919915958559130124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609785520,"filename":"image_20012025_08_07_55_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5941bbd3140c91c13bd6b2fdfb80fa81.jpg","text":"TemporaryFile(/tmp/multipartBody2436263231807263267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609785520,"filename":"image_20012025_08_08_25_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330759861","file1":"1330759859","file0":"1330759855","file4":"1330759865","file5":"1330759867","file3":"1330759863"},"map_files_photo_id_array":[{"photo_id":"1330759867","filename":"file5"},{"photo_id":"1330759861","filename":"file2"},{"photo_id":"1330759865","filename":"file4"},{"photo_id":"1330759859","filename":"file1"},{"photo_id":"1330759855","filename":"file0"},{"photo_id":"1330759863","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330759865":["hashtag1","hashtag2"]},{"1330759859":["hashtag1","hashtag2"]},{"1330759867":["hashtag1","hashtag2"]},{"1330759861":["hashtag1","hashtag2"]},{"1330759855":["hashtag1","hashtag2"]},{"1330759863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330759865, 1330759859, 1330759867, 1330759861, 1330759855, 1330759863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.45006799697876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:22:52.398973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/08/image_20012025_08_09_04_9319.jpg', '/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_15_10388.jpg', '/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_24_9355.jpg', '/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_45_10464.jpg', '/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_54_9364.jpg', '/home/pi/Desktop/images/20012025/08/09/image_20012025_08_10_05_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/08/image_20012025_08_09_04_9319.jpg
/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_15_10388.jpg
/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_24_9355.jpg
/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_45_10464.jpg
/home/pi/Desktop/images/20012025/08/09/image_20012025_08_09_54_9364.jpg
/home/pi/Desktop/images/20012025/08/09/image_20012025_08_10_05_10353.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":["1330759908","1330759925","1330759885","1330759939","1330759912","1330759929"],"photo_ids_order":["1330759885","1330759908","1330759912","1330759925","1330759929","1330759939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4224899913d587cb20817a88f789f70.jpg","text":"TemporaryFile(/tmp/multipartBody6619747718446163556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609834771,"filename":"image_20012025_08_09_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eae51c8dbebcd5cd0b751ccb11ac3024.jpg","text":"TemporaryFile(/tmp/multipartBody2861481625952226979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609834771,"filename":"image_20012025_08_09_45_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ef9a66250c5b240b11016cf7dd2803f.jpg","text":"TemporaryFile(/tmp/multipartBody6764218138151968386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609834771,"filename":"image_20012025_08_09_04_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0c674d205ef84dbd6d6ff528ebb20b7.jpg","text":"TemporaryFile(/tmp/multipartBody7651427690092648419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609834771,"filename":"image_20012025_08_10_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f5048fd12ae3400bf00a3aedfa7b9f7.jpg","text":"TemporaryFile(/tmp/multipartBody566127482512868974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609834771,"filename":"image_20012025_08_09_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9b25258de89b37ff1ab2a26242840dd.jpg","text":"TemporaryFile(/tmp/multipartBody4816087884388743459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609834771,"filename":"image_20012025_08_09_54_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330759912","file1":"1330759908","file0":"1330759885","file4":"1330759929","file5":"1330759939","file3":"1330759925"},"map_files_photo_id_array":[{"photo_id":"1330759939","filename":"file5"},{"photo_id":"1330759912","filename":"file2"},{"photo_id":"1330759929","filename":"file4"},{"photo_id":"1330759908","filename":"file1"},{"photo_id":"1330759885","filename":"file0"},{"photo_id":"1330759925","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330759908":["hashtag1","hashtag2"]},{"1330759925":["hashtag1","hashtag2"]},{"1330759885":["hashtag1","hashtag2"]},{"1330759939":["hashtag1","hashtag2"]},{"1330759912":["hashtag1","hashtag2"]},{"1330759929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330759908, 1330759925, 1330759885, 1330759939, 1330759912, 1330759929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64267110824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:23:42.637544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_45_9395.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_15_9404.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_26_10359.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_35_9429.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_46_10433.jpg', '/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_55_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/21/image_23012025_06_21_45_9395.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_15_9404.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_26_10359.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_35_9429.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_46_10433.jpg
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_22_55_9425.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":["1330759991","1330759967","1330760000","1330759995","1330759986","1330760005"],"photo_ids_order":["1330759967","1330759986","1330759991","1330759995","1330760000","1330760005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f035ea3d1403faae714db9f47e470ecd.jpg","text":"TemporaryFile(/tmp/multipartBody9177452871979024510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609883570,"filename":"image_23012025_06_22_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e06bf08e37fed5b6489b5de3d764479b.jpg","text":"TemporaryFile(/tmp/multipartBody6961362558101409220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609883570,"filename":"image_23012025_06_21_45_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fa11cd1c449da138c803d63932755ed.jpg","text":"TemporaryFile(/tmp/multipartBody2115758530302719262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609883570,"filename":"image_23012025_06_22_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d3842b0c6de976f979bde534802e7ba.jpg","text":"TemporaryFile(/tmp/multipartBody8428321186532715232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609883570,"filename":"image_23012025_06_22_35_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/317f7caff98a64498924231f33d98263.jpg","text":"TemporaryFile(/tmp/multipartBody5389211497724273696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609883570,"filename":"image_23012025_06_22_15_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31450636ec3b09dfc7fa5868cb82ea43.jpg","text":"TemporaryFile(/tmp/multipartBody70860423230923521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609883570,"filename":"image_23012025_06_22_55_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330759991","file1":"1330759986","file0":"1330759967","file4":"1330760000","file5":"1330760005","file3":"1330759995"},"map_files_photo_id_array":[{"photo_id":"1330760005","filename":"file5"},{"photo_id":"1330759991","filename":"file2"},{"photo_id":"1330760000","filename":"file4"},{"photo_id":"1330759986","filename":"file1"},{"photo_id":"1330759967","filename":"file0"},{"photo_id":"1330759995","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330759991":["hashtag1","hashtag2"]},{"1330759967":["hashtag1","hashtag2"]},{"1330760000":["hashtag1","hashtag2"]},{"1330759995":["hashtag1","hashtag2"]},{"1330759986":["hashtag1","hashtag2"]},{"1330760005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330759991, 1330759967, 1330760000, 1330759995, 1330759986, 1330760005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.395867347717285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:24:33.000544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/22/image_23012025_06_23_05_10346.jpg', '/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_55_9337.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_16_10440.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_25_9345.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_36_10334.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_46_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/22/image_23012025_06_23_05_10346.jpg
/home/pi/Desktop/images/23012025/06/23/image_23012025_06_23_55_9337.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_16_10440.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_25_9345.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_36_10334.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_46_10330.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":["1330760070","1330760073","1330760019","1330760078","1330760023","1330760076"],"photo_ids_order":["1330760019","1330760023","1330760070","1330760073","1330760076","1330760078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e50cede955951ae201205aa592973507.jpg","text":"TemporaryFile(/tmp/multipartBody3534274786597521948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609933900,"filename":"image_23012025_06_24_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38ed2e342d1cb094f9452febbb257bed.jpg","text":"TemporaryFile(/tmp/multipartBody2434353094923325072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609933900,"filename":"image_23012025_06_24_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ceb0953b511d74d63c2a6aa7f7a80269.jpg","text":"TemporaryFile(/tmp/multipartBody826489920900455646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609933900,"filename":"image_23012025_06_23_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58a6ad7f9cf30c09289e0eb06e56bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody1683192844547539448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609933900,"filename":"image_23012025_06_24_46_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e23427bf6a9538f7d39d4888a7b20c5.jpg","text":"TemporaryFile(/tmp/multipartBody5068561375748162968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609933900,"filename":"image_23012025_06_23_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac90583097e1f298a9a0707deaebc1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3824180941475244815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609933900,"filename":"image_23012025_06_24_36_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330760070","file1":"1330760023","file0":"1330760019","file4":"1330760076","file5":"1330760078","file3":"1330760073"},"map_files_photo_id_array":[{"photo_id":"1330760078","filename":"file5"},{"photo_id":"1330760070","filename":"file2"},{"photo_id":"1330760076","filename":"file4"},{"photo_id":"1330760023","filename":"file1"},{"photo_id":"1330760019","filename":"file0"},{"photo_id":"1330760073","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330760070":["hashtag1","hashtag2"]},{"1330760073":["hashtag1","hashtag2"]},{"1330760019":["hashtag1","hashtag2"]},{"1330760078":["hashtag1","hashtag2"]},{"1330760023":["hashtag1","hashtag2"]},{"1330760076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330760070, 1330760073, 1330760019, 1330760078, 1330760023, 1330760076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.429931640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:25:32.251872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_55_9417.jpg', '/home/pi/Desktop/images/23012025/06/24/image_23012025_06_25_06_10331.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_15_9441.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_26_10357.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_36_10449.jpg', '/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_45_9476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_24_55_9417.jpg
/home/pi/Desktop/images/23012025/06/24/image_23012025_06_25_06_10331.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_15_9441.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_26_10357.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_36_10449.jpg
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_45_9476.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":["1330760130","1330760127","1330760132","1330760102","1330760134","1330760119"],"photo_ids_order":["1330760102","1330760119","1330760127","1330760130","1330760132","1330760134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b8523123655c318f9434b6a40605d42.jpg","text":"TemporaryFile(/tmp/multipartBody8236430184692175317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609993148,"filename":"image_23012025_06_25_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efcc96a00bc6c45f07606b3c851c5e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3788278616501321206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609993148,"filename":"image_23012025_06_25_15_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b52effc8c73aa4f1c269b4991734ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3862686421485683929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609993148,"filename":"image_23012025_06_25_36_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cef9dd2cf89e6ba36f789fc2b1cdc1dc.jpg","text":"TemporaryFile(/tmp/multipartBody6713669193238416982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609993148,"filename":"image_23012025_06_24_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3866ab9229c2333a7ca35aca87ddd6b.jpg","text":"TemporaryFile(/tmp/multipartBody564605209775911913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609993148,"filename":"image_23012025_06_25_45_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e571c0aa87f40e6e49ac566444f292d.jpg","text":"TemporaryFile(/tmp/multipartBody8327058709462387678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737609993148,"filename":"image_23012025_06_25_06_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330760127","file1":"1330760119","file0":"1330760102","file4":"1330760132","file5":"1330760134","file3":"1330760130"},"map_files_photo_id_array":[{"photo_id":"1330760134","filename":"file5"},{"photo_id":"1330760127","filename":"file2"},{"photo_id":"1330760132","filename":"file4"},{"photo_id":"1330760119","filename":"file1"},{"photo_id":"1330760102","filename":"file0"},{"photo_id":"1330760130","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330760130":["hashtag1","hashtag2"]},{"1330760127":["hashtag1","hashtag2"]},{"1330760132":["hashtag1","hashtag2"]},{"1330760102":["hashtag1","hashtag2"]},{"1330760134":["hashtag1","hashtag2"]},{"1330760119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330760130, 1330760127, 1330760132, 1330760102, 1330760134, 1330760119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11541438102722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:26:32.378789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_56_10364.jpg', '/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_35_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_56_10364.jpg
/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_35_9456.jpg
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: 0.45714569091796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:26:42.354900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_56_10364.jpg', '/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_35_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/25/image_23012025_06_25_56_10364.jpg
/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_35_9456.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330760160","1330760156"],"photo_ids_order":["1330760156","1330760160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4db0297a021d434cf01d93af35d1d441.jpg","text":"TemporaryFile(/tmp/multipartBody8583196457613869273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610063196,"filename":"image_23012025_06_26_35_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13b3f92762180077fa78e8a1487b2b31.jpg","text":"TemporaryFile(/tmp/multipartBody4013607981747630209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610063196,"filename":"image_23012025_06_25_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330760160","file0":"1330760156"},"map_files_photo_id_array":[{"photo_id":"1330760160","filename":"file1"},{"photo_id":"1330760156","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330760160":["hashtag1","hashtag2"]},{"1330760156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330760160, 1330760156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.03066086769104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:27:03.929687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_15_10461.jpg', '/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_24_9325.jpg', '/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_35_10424.jpg', '/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_44_9340.jpg', '/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_55_10334.jpg', '/home/pi/Desktop/images/20012025/08/10/image_20012025_08_11_05_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_15_10461.jpg
/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_24_9325.jpg
/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_35_10424.jpg
/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_44_9340.jpg
/home/pi/Desktop/images/20012025/08/10/image_20012025_08_10_55_10334.jpg
/home/pi/Desktop/images/20012025/08/10/image_20012025_08_11_05_10402.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":["1330760200","1330760220","1330760195","1330760237","1330760234","1330760230"],"photo_ids_order":["1330760195","1330760200","1330760220","1330760230","1330760234","1330760237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/704297c9a5335ae99483397379114ce2.jpg","text":"TemporaryFile(/tmp/multipartBody5168734669623767331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610085903,"filename":"image_20012025_08_10_24_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8c512aada1249c7c4d1d498cbb6e25d.jpg","text":"TemporaryFile(/tmp/multipartBody1660786296961394690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610085903,"filename":"image_20012025_08_10_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32ff2120eee3a2610cb4fac3bcd3bed9.jpg","text":"TemporaryFile(/tmp/multipartBody8846535228881658498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610085903,"filename":"image_20012025_08_10_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70d518f75e6e0391c6d1e0b68b8306a8.jpg","text":"TemporaryFile(/tmp/multipartBody1912490438402788089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610085903,"filename":"image_20012025_08_11_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70428383c9fe337fd57b20b412eb8e8f.jpg","text":"TemporaryFile(/tmp/multipartBody7556804389354079704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610085903,"filename":"image_20012025_08_10_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d08b152d6a541497c832678f00a8de10.jpg","text":"TemporaryFile(/tmp/multipartBody1071443086532732407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610085903,"filename":"image_20012025_08_10_44_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330760220","file1":"1330760200","file0":"1330760195","file4":"1330760234","file5":"1330760237","file3":"1330760230"},"map_files_photo_id_array":[{"photo_id":"1330760237","filename":"file5"},{"photo_id":"1330760220","filename":"file2"},{"photo_id":"1330760234","filename":"file4"},{"photo_id":"1330760200","filename":"file1"},{"photo_id":"1330760195","filename":"file0"},{"photo_id":"1330760230","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330760200":["hashtag1","hashtag2"]},{"1330760220":["hashtag1","hashtag2"]},{"1330760195":["hashtag1","hashtag2"]},{"1330760237":["hashtag1","hashtag2"]},{"1330760234":["hashtag1","hashtag2"]},{"1330760230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330760200, 1330760220, 1330760195, 1330760237, 1330760234, 1330760230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4830641746521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:27:52.472872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_14_9337.jpg', '/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_25_10336.jpg', '/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_35_10351.jpg', '/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_44_9327.jpg', '/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_55_10338.jpg', '/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_14_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_14_9337.jpg
/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_25_10336.jpg
/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_35_10351.jpg
/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_44_9327.jpg
/home/pi/Desktop/images/20012025/08/11/image_20012025_08_11_55_10338.jpg
/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_14_9316.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":["1330760430","1330760247","1330760627","1330760528","1330760245","1330760329"],"photo_ids_order":["1330760245","1330760247","1330760329","1330760430","1330760528","1330760627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d96dcc4e664f3f3abec00428016cf0d.jpg","text":"TemporaryFile(/tmp/multipartBody7865154026874854320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610134841,"filename":"image_20012025_08_11_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8577ffb3d82f0a4b65b80e955c4fe08a.jpg","text":"TemporaryFile(/tmp/multipartBody2940809020498149924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610134841,"filename":"image_20012025_08_11_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7eec436f15fdc2f9a55dba8489730076.jpg","text":"TemporaryFile(/tmp/multipartBody8218056939610240138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610134841,"filename":"image_20012025_08_12_14_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4460a9a28a5f235d0b2ce326bb6ddf2a.jpg","text":"TemporaryFile(/tmp/multipartBody7093157747221225076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610134841,"filename":"image_20012025_08_11_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74643a292dd9f1daedd47001c75ed064.jpg","text":"TemporaryFile(/tmp/multipartBody6376928353761311166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610134841,"filename":"image_20012025_08_11_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f96e6b611c0ef169eafd89d5b12af16c.jpg","text":"TemporaryFile(/tmp/multipartBody4209536592027102068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610134841,"filename":"image_20012025_08_11_35_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330760329","file1":"1330760247","file0":"1330760245","file4":"1330760528","file5":"1330760627","file3":"1330760430"},"map_files_photo_id_array":[{"photo_id":"1330760627","filename":"file5"},{"photo_id":"1330760329","filename":"file2"},{"photo_id":"1330760528","filename":"file4"},{"photo_id":"1330760247","filename":"file1"},{"photo_id":"1330760245","filename":"file0"},{"photo_id":"1330760430","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330760430":["hashtag1","hashtag2"]},{"1330760247":["hashtag1","hashtag2"]},{"1330760627":["hashtag1","hashtag2"]},{"1330760528":["hashtag1","hashtag2"]},{"1330760245":["hashtag1","hashtag2"]},{"1330760329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330760430, 1330760247, 1330760627, 1330760528, 1330760245, 1330760329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.527355909347534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:28:42.722442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_46_10330.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_15_9569.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_26_10449.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_36_10332.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_45_9412.jpg', '/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_56_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/26/image_23012025_06_26_46_10330.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_15_9569.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_26_10449.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_36_10332.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_45_9412.jpg
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_27_56_10356.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":["1330760787","1330760814","1330760792","1330760789","1330760870","1330760771"],"photo_ids_order":["1330760771","1330760787","1330760789","1330760792","1330760814","1330760870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc269c4d9f2b8f1dfc9608eea0a4a75e.jpg","text":"TemporaryFile(/tmp/multipartBody4159981332037700027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610183645,"filename":"image_23012025_06_27_15_9569.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/006ddda64551a8c346e50341485c3500.jpg","text":"TemporaryFile(/tmp/multipartBody9049322601680248552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610183645,"filename":"image_23012025_06_27_45_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eaef38977c02cd8ea24bf1d2e8eead11.jpg","text":"TemporaryFile(/tmp/multipartBody301361572854406689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610183645,"filename":"image_23012025_06_27_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d016b7eb3c0b82ca564e545a076b8795.jpg","text":"TemporaryFile(/tmp/multipartBody4462991923436205605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610183645,"filename":"image_23012025_06_27_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5861d7d5ddbf1ae3cd44f4aa7eee434.jpg","text":"TemporaryFile(/tmp/multipartBody4070929892683218027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610183645,"filename":"image_23012025_06_27_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e848b86682d0225cfc6e81e99c85585.jpg","text":"TemporaryFile(/tmp/multipartBody6665760930855879661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610183645,"filename":"image_23012025_06_26_46_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330760789","file1":"1330760787","file0":"1330760771","file4":"1330760814","file5":"1330760870","file3":"1330760792"},"map_files_photo_id_array":[{"photo_id":"1330760870","filename":"file5"},{"photo_id":"1330760789","filename":"file2"},{"photo_id":"1330760814","filename":"file4"},{"photo_id":"1330760787","filename":"file1"},{"photo_id":"1330760771","filename":"file0"},{"photo_id":"1330760792","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330760787":["hashtag1","hashtag2"]},{"1330760814":["hashtag1","hashtag2"]},{"1330760792":["hashtag1","hashtag2"]},{"1330760789":["hashtag1","hashtag2"]},{"1330760870":["hashtag1","hashtag2"]},{"1330760771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330760787, 1330760814, 1330760792, 1330760789, 1330760870, 1330760771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12524700164795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:29:33.071583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/27/image_23012025_06_28_05_9420.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_16_10452.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_35_9342.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_46_10338.jpg', '/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_56_10349.jpg', '/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_16_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/27/image_23012025_06_28_05_9420.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_16_10452.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_35_9342.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_46_10338.jpg
/home/pi/Desktop/images/23012025/06/28/image_23012025_06_28_56_10349.jpg
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_16_10382.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":["1330761080","1330761074","1330761157","1330761070","1330761169","1330761072"],"photo_ids_order":["1330761070","1330761072","1330761074","1330761080","1330761157","1330761169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32abadea1a95aa3870fbce640f4ab5a0.jpg","text":"TemporaryFile(/tmp/multipartBody1868731199676155140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610234057,"filename":"image_23012025_06_28_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c2efaa5609c79e08030c8216421ce49.jpg","text":"TemporaryFile(/tmp/multipartBody4444759373481814719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610234057,"filename":"image_23012025_06_28_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9153683d01dad76d648947cbbb9f4b0b.jpg","text":"TemporaryFile(/tmp/multipartBody7751856720250919666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610234057,"filename":"image_23012025_06_28_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cde835125fbbc0a8d5e07b82add64cb.jpg","text":"TemporaryFile(/tmp/multipartBody8874162529479666725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610234057,"filename":"image_23012025_06_28_05_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d29782c2657272ef1ec179449a943fb3.jpg","text":"TemporaryFile(/tmp/multipartBody2158200472185509129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610234057,"filename":"image_23012025_06_29_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e66562e7ab13c3bd1e98cdaa2a825b9.jpg","text":"TemporaryFile(/tmp/multipartBody363229843119187768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610234057,"filename":"image_23012025_06_28_16_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330761074","file1":"1330761072","file0":"1330761070","file4":"1330761157","file5":"1330761169","file3":"1330761080"},"map_files_photo_id_array":[{"photo_id":"1330761169","filename":"file5"},{"photo_id":"1330761074","filename":"file2"},{"photo_id":"1330761157","filename":"file4"},{"photo_id":"1330761072","filename":"file1"},{"photo_id":"1330761070","filename":"file0"},{"photo_id":"1330761080","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330761080":["hashtag1","hashtag2"]},{"1330761074":["hashtag1","hashtag2"]},{"1330761157":["hashtag1","hashtag2"]},{"1330761070":["hashtag1","hashtag2"]},{"1330761169":["hashtag1","hashtag2"]},{"1330761072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330761080, 1330761074, 1330761157, 1330761070, 1330761169, 1330761072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.852561473846436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:30:32.143526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_35_10342.jpg', '/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_46_10349.jpg', '/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_55_9437.jpg', '/home/pi/Desktop/images/23012025/06/29/image_23012025_06_30_05_10211.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_16_10346.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_25_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_35_10342.jpg
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_46_10349.jpg
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_29_55_9437.jpg
/home/pi/Desktop/images/23012025/06/29/image_23012025_06_30_05_10211.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_16_10346.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_25_9351.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":["1330761251","1330761254","1330761256","1330761247","1330761255","1330761249"],"photo_ids_order":["1330761247","1330761249","1330761251","1330761254","1330761255","1330761256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06e0b211669eb197c53b36eca70a890d.jpg","text":"TemporaryFile(/tmp/multipartBody8721933065865316596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610293053,"filename":"image_23012025_06_29_55_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c390f733189d74f21a6da0a2ca54cee4.jpg","text":"TemporaryFile(/tmp/multipartBody3331527260403832564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610293053,"filename":"image_23012025_06_30_05_10211.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3eca8d3b4e43d27c9bb9040f1845ea8a.jpg","text":"TemporaryFile(/tmp/multipartBody3762486625626895170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610293053,"filename":"image_23012025_06_30_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ff1e552169c19e3f58c3214ec6d8beb.jpg","text":"TemporaryFile(/tmp/multipartBody5354441160332158981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610293053,"filename":"image_23012025_06_29_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd7f5dd9b3a575fca5ac4636f3a4f85d.jpg","text":"TemporaryFile(/tmp/multipartBody6342759043242961783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610293053,"filename":"image_23012025_06_30_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82074f9075ea32712ddf2931248c8891.jpg","text":"TemporaryFile(/tmp/multipartBody6123045555460064218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610293053,"filename":"image_23012025_06_29_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330761251","file1":"1330761249","file0":"1330761247","file4":"1330761255","file5":"1330761256","file3":"1330761254"},"map_files_photo_id_array":[{"photo_id":"1330761256","filename":"file5"},{"photo_id":"1330761251","filename":"file2"},{"photo_id":"1330761255","filename":"file4"},{"photo_id":"1330761249","filename":"file1"},{"photo_id":"1330761247","filename":"file0"},{"photo_id":"1330761254","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330761251":["hashtag1","hashtag2"]},{"1330761254":["hashtag1","hashtag2"]},{"1330761256":["hashtag1","hashtag2"]},{"1330761247":["hashtag1","hashtag2"]},{"1330761255":["hashtag1","hashtag2"]},{"1330761249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330761251, 1330761254, 1330761256, 1330761247, 1330761255, 1330761249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.501457929611206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:31:32.422499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_36_10355.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_46_10339.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_55_9426.jpg', '/home/pi/Desktop/images/23012025/06/30/image_23012025_06_31_06_10364.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_15_9422.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_36_10355.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_46_10339.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_30_55_9426.jpg
/home/pi/Desktop/images/23012025/06/30/image_23012025_06_31_06_10364.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_15_9422.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_25_10351.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":["1330761339","1330761329","1330761325","1330761333","1330761336","1330761321"],"photo_ids_order":["1330761321","1330761325","1330761329","1330761333","1330761336","1330761339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88fed20b69fb920ba390ea1b6e03fc97.jpg","text":"TemporaryFile(/tmp/multipartBody8171454661852825861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610353330,"filename":"image_23012025_06_31_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d1f37456c1e9fa7be4a2b98b5ba9999.jpg","text":"TemporaryFile(/tmp/multipartBody8155318368816005995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610353330,"filename":"image_23012025_06_30_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/896440102006ce331997f3a367b34650.jpg","text":"TemporaryFile(/tmp/multipartBody4997878283672811099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610353330,"filename":"image_23012025_06_30_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f261f02bde497527da453a6fa9b4c84.jpg","text":"TemporaryFile(/tmp/multipartBody2464306462550055941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610353330,"filename":"image_23012025_06_31_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9363aefedf7aa8b53b0b1da87e586dd.jpg","text":"TemporaryFile(/tmp/multipartBody4019402361318742842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610353330,"filename":"image_23012025_06_31_15_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d896d802334f6e20973ba78353674a3.jpg","text":"TemporaryFile(/tmp/multipartBody1845703974758587650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610353330,"filename":"image_23012025_06_30_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330761329","file1":"1330761325","file0":"1330761321","file4":"1330761336","file5":"1330761339","file3":"1330761333"},"map_files_photo_id_array":[{"photo_id":"1330761339","filename":"file5"},{"photo_id":"1330761329","filename":"file2"},{"photo_id":"1330761336","filename":"file4"},{"photo_id":"1330761325","filename":"file1"},{"photo_id":"1330761321","filename":"file0"},{"photo_id":"1330761333","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330761339":["hashtag1","hashtag2"]},{"1330761329":["hashtag1","hashtag2"]},{"1330761325":["hashtag1","hashtag2"]},{"1330761333":["hashtag1","hashtag2"]},{"1330761336":["hashtag1","hashtag2"]},{"1330761321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330761339, 1330761329, 1330761325, 1330761333, 1330761336, 1330761321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.82842564582825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:32:32.755606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_36_10418.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_45_9423.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_56_10448.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_15_10329.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_26_10353.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_35_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_36_10418.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_45_9423.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_56_10448.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_15_10329.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_26_10353.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_35_9331.jpg
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: 0.5387442111968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:32:42.673294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_36_10418.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_45_9423.jpg', '/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_56_10448.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_15_10329.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_26_10353.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_35_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_36_10418.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_45_9423.jpg
/home/pi/Desktop/images/23012025/06/31/image_23012025_06_31_56_10448.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_15_10329.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_26_10353.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_35_9331.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":["1330761497","1330761476","1330761512","1330761538","1330761508","1330761441"],"photo_ids_order":["1330761441","1330761476","1330761497","1330761508","1330761512","1330761538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23adc22102d60fe0726473b95fb5c791.jpg","text":"TemporaryFile(/tmp/multipartBody976714631714845414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610423600,"filename":"image_23012025_06_31_56_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b948f79fbca6c68c5652bae44675a16.jpg","text":"TemporaryFile(/tmp/multipartBody2139872495169779505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610423600,"filename":"image_23012025_06_31_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34b82443b77e20915c5370c6dca92872.jpg","text":"TemporaryFile(/tmp/multipartBody14901399820647007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610423600,"filename":"image_23012025_06_32_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2158ddb97d492cd71eb193f854386d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1949095138805749602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610423600,"filename":"image_23012025_06_32_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cd16958a7b479a47f51c92e5d5a9ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5871779156876722758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610423600,"filename":"image_23012025_06_32_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d025dcc06ccff64f852ea273d2e8755.jpg","text":"TemporaryFile(/tmp/multipartBody993416488160919294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610423600,"filename":"image_23012025_06_31_36_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330761497","file1":"1330761476","file0":"1330761441","file4":"1330761512","file5":"1330761538","file3":"1330761508"},"map_files_photo_id_array":[{"photo_id":"1330761538","filename":"file5"},{"photo_id":"1330761497","filename":"file2"},{"photo_id":"1330761512","filename":"file4"},{"photo_id":"1330761476","filename":"file1"},{"photo_id":"1330761441","filename":"file0"},{"photo_id":"1330761508","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330761497":["hashtag1","hashtag2"]},{"1330761476":["hashtag1","hashtag2"]},{"1330761512":["hashtag1","hashtag2"]},{"1330761538":["hashtag1","hashtag2"]},{"1330761508":["hashtag1","hashtag2"]},{"1330761441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330761497, 1330761476, 1330761512, 1330761538, 1330761508, 1330761441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.163437366485596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:33:32.839928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_56_10400.jpg', '/home/pi/Desktop/images/23012025/06/32/image_23012025_06_33_05_9349.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_16_10356.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_25_9441.jpg', '/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_32_56_10400.jpg
/home/pi/Desktop/images/23012025/06/32/image_23012025_06_33_05_9349.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_16_10356.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_25_9441.jpg
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_35_10357.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":["1330761822","1330761785","1330761723","1330761917","1330762008"],"photo_ids_order":["1330761723","1330761785","1330761822","1330761917","1330762008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cf32f02a06097f36ef2bdfb7539dba1.jpg","text":"TemporaryFile(/tmp/multipartBody3792203053740305440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610473789,"filename":"image_23012025_06_33_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98c98cc814fab9f47b03886afe639134.jpg","text":"TemporaryFile(/tmp/multipartBody5173832763979336400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610473789,"filename":"image_23012025_06_33_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ea1dc5999ef7c1bb8e254bc4b039c97.jpg","text":"TemporaryFile(/tmp/multipartBody8624212582806430956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610473789,"filename":"image_23012025_06_32_56_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ada330bb06d586d5e719e461a429134.jpg","text":"TemporaryFile(/tmp/multipartBody3585582722713884129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610473789,"filename":"image_23012025_06_33_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0db986f56d251e4c862f1b0e4f5360e7.jpg","text":"TemporaryFile(/tmp/multipartBody2275933052325734561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610473789,"filename":"image_23012025_06_33_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330761822","file1":"1330761785","file0":"1330761723","file4":"1330762008","file3":"1330761917"},"map_files_photo_id_array":[{"photo_id":"1330761822","filename":"file2"},{"photo_id":"1330762008","filename":"file4"},{"photo_id":"1330761785","filename":"file1"},{"photo_id":"1330761723","filename":"file0"},{"photo_id":"1330761917","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330761822":["hashtag1","hashtag2"]},{"1330761785":["hashtag1","hashtag2"]},{"1330761723":["hashtag1","hashtag2"]},{"1330761917":["hashtag1","hashtag2"]},{"1330762008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330761822, 1330761785, 1330761723, 1330761917, 1330762008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.8357412815094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:34:33.103824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_55_9446.jpg', '/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_25_9339.jpg', '/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_36_10347.jpg', '/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_46_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/33/image_23012025_06_33_55_9446.jpg
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_25_9339.jpg
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_36_10347.jpg
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_46_10399.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":["1330762178","1330762140","1330762143","1330762181"],"photo_ids_order":["1330762140","1330762143","1330762178","1330762181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a891f351fec3769870894928a2cbc806.jpg","text":"TemporaryFile(/tmp/multipartBody753553786877655351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610533982,"filename":"image_23012025_06_34_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d601d3fbed672c015d7458203c9eaee.jpg","text":"TemporaryFile(/tmp/multipartBody2033488910998929791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610533982,"filename":"image_23012025_06_33_55_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6700aab5c663a809f744c6229c146a6.jpg","text":"TemporaryFile(/tmp/multipartBody8353608310189311774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610533982,"filename":"image_23012025_06_34_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/802106fa5370f2e259aac27868e3efd7.jpg","text":"TemporaryFile(/tmp/multipartBody6497580798770322913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610533982,"filename":"image_23012025_06_34_46_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330762178","file1":"1330762143","file0":"1330762140","file3":"1330762181"},"map_files_photo_id_array":[{"photo_id":"1330762178","filename":"file2"},{"photo_id":"1330762143","filename":"file1"},{"photo_id":"1330762140","filename":"file0"},{"photo_id":"1330762181","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330762178":["hashtag1","hashtag2"]},{"1330762140":["hashtag1","hashtag2"]},{"1330762143":["hashtag1","hashtag2"]},{"1330762181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330762178, 1330762140, 1330762143, 1330762181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.720897436141968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:35:32.393584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_55_9405.jpg', '/home/pi/Desktop/images/23012025/06/34/image_23012025_06_35_06_10353.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_15_9427.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_26_10424.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_36_10336.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_45_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_34_55_9405.jpg
/home/pi/Desktop/images/23012025/06/34/image_23012025_06_35_06_10353.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_15_9427.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_26_10424.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_36_10336.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_45_9441.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":["1330763204","1330763221","1330763224","1330763104","1330763267","1330763216"],"photo_ids_order":["1330763104","1330763204","1330763216","1330763221","1330763224","1330763267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fcde5273e7a8da38dac0ee6263ab395.jpg","text":"TemporaryFile(/tmp/multipartBody5181007861201715742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610593321,"filename":"image_23012025_06_35_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a41d32ef585866a166e50ebec6e38815.jpg","text":"TemporaryFile(/tmp/multipartBody7435219426109195236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610593321,"filename":"image_23012025_06_35_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b638532d3f5da3cf99dad88750a7cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5255928284572205109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610593321,"filename":"image_23012025_06_35_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65f9ca2480d865d90065424576023f1b.jpg","text":"TemporaryFile(/tmp/multipartBody1888216704943199630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610593321,"filename":"image_23012025_06_34_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d5d4ddcbf50a00586459ad262fff743.jpg","text":"TemporaryFile(/tmp/multipartBody280959237844974632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610593321,"filename":"image_23012025_06_35_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d5bd8ad60f2d2c2d9057de614d07995.jpg","text":"TemporaryFile(/tmp/multipartBody8571983890090061457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610593321,"filename":"image_23012025_06_35_15_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330763216","file1":"1330763204","file0":"1330763104","file4":"1330763224","file5":"1330763267","file3":"1330763221"},"map_files_photo_id_array":[{"photo_id":"1330763267","filename":"file5"},{"photo_id":"1330763216","filename":"file2"},{"photo_id":"1330763224","filename":"file4"},{"photo_id":"1330763204","filename":"file1"},{"photo_id":"1330763104","filename":"file0"},{"photo_id":"1330763221","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330763204":["hashtag1","hashtag2"]},{"1330763221":["hashtag1","hashtag2"]},{"1330763224":["hashtag1","hashtag2"]},{"1330763104":["hashtag1","hashtag2"]},{"1330763267":["hashtag1","hashtag2"]},{"1330763216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330763204, 1330763221, 1330763224, 1330763104, 1330763267, 1330763216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.76896357536316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:36:32.548972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_56_10426.jpg', '/home/pi/Desktop/images/23012025/06/35/image_23012025_06_36_05_9425.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_16_10338.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_26_10347.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_35_9411.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_35_56_10426.jpg
/home/pi/Desktop/images/23012025/06/35/image_23012025_06_36_05_9425.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_16_10338.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_26_10347.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_35_9411.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_46_10351.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":["1330763444","1330763438","1330763446","1330763448","1330763451","1330763441"],"photo_ids_order":["1330763438","1330763441","1330763444","1330763446","1330763448","1330763451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9270579923d4149015f4d1b42ce13189.jpg","text":"TemporaryFile(/tmp/multipartBody1097611394688206929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610653483,"filename":"image_23012025_06_36_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46e96ab592ba0c7ee944f9f99ebd2a75.jpg","text":"TemporaryFile(/tmp/multipartBody4787392828564436797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610653483,"filename":"image_23012025_06_35_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22bdad22f627b2f91a85157fecf91089.jpg","text":"TemporaryFile(/tmp/multipartBody3441017024521928633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610653483,"filename":"image_23012025_06_36_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e244aaffd8b90971b8b8be5b5df9a117.jpg","text":"TemporaryFile(/tmp/multipartBody5122889856871958871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610653483,"filename":"image_23012025_06_36_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58366d2fa624ffe6292f3a8dde8504a8.jpg","text":"TemporaryFile(/tmp/multipartBody3374930087121053557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610653483,"filename":"image_23012025_06_36_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd362f269ffd8e49530ab5d022f3af6d.jpg","text":"TemporaryFile(/tmp/multipartBody3496963174296617626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610653483,"filename":"image_23012025_06_36_05_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330763444","file1":"1330763441","file0":"1330763438","file4":"1330763448","file5":"1330763451","file3":"1330763446"},"map_files_photo_id_array":[{"photo_id":"1330763451","filename":"file5"},{"photo_id":"1330763444","filename":"file2"},{"photo_id":"1330763448","filename":"file4"},{"photo_id":"1330763441","filename":"file1"},{"photo_id":"1330763438","filename":"file0"},{"photo_id":"1330763446","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330763444":["hashtag1","hashtag2"]},{"1330763438":["hashtag1","hashtag2"]},{"1330763446":["hashtag1","hashtag2"]},{"1330763448":["hashtag1","hashtag2"]},{"1330763451":["hashtag1","hashtag2"]},{"1330763441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330763444, 1330763438, 1330763446, 1330763448, 1330763451, 1330763441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.99044609069824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:37:32.930903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_55_9423.jpg', '/home/pi/Desktop/images/23012025/06/36/image_23012025_06_37_05_10320.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_16_10330.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_25_9423.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_36_10395.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_36_55_9423.jpg
/home/pi/Desktop/images/23012025/06/36/image_23012025_06_37_05_10320.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_16_10330.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_25_9423.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_36_10395.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_46_10345.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":["1330763467","1330763484","1330763493","1330763475","1330763469","1330763465"],"photo_ids_order":["1330763465","1330763467","1330763469","1330763475","1330763484","1330763493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1eec4ee995083c37801e33a89a7e085.jpg","text":"TemporaryFile(/tmp/multipartBody5622810677056822426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610713853,"filename":"image_23012025_06_37_05_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e1971211c7e13590b2092599482882b.jpg","text":"TemporaryFile(/tmp/multipartBody208655565696490485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610713853,"filename":"image_23012025_06_37_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a7a98123f06aa3b1222c9aa9b3312f8.jpg","text":"TemporaryFile(/tmp/multipartBody701733453083848601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610713853,"filename":"image_23012025_06_37_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a72c747706558395f1db822676f12af5.jpg","text":"TemporaryFile(/tmp/multipartBody4048230576637447856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610713853,"filename":"image_23012025_06_37_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee25944280c6be8a458da6e0bd164802.jpg","text":"TemporaryFile(/tmp/multipartBody5022169072889336757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610713853,"filename":"image_23012025_06_37_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30716f838098b762c4f0ea0aeb89f86f.jpg","text":"TemporaryFile(/tmp/multipartBody4362993130059601192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610713853,"filename":"image_23012025_06_36_55_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330763469","file1":"1330763467","file0":"1330763465","file4":"1330763484","file5":"1330763493","file3":"1330763475"},"map_files_photo_id_array":[{"photo_id":"1330763493","filename":"file5"},{"photo_id":"1330763469","filename":"file2"},{"photo_id":"1330763484","filename":"file4"},{"photo_id":"1330763467","filename":"file1"},{"photo_id":"1330763465","filename":"file0"},{"photo_id":"1330763475","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330763467":["hashtag1","hashtag2"]},{"1330763484":["hashtag1","hashtag2"]},{"1330763493":["hashtag1","hashtag2"]},{"1330763475":["hashtag1","hashtag2"]},{"1330763469":["hashtag1","hashtag2"]},{"1330763465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330763467, 1330763484, 1330763493, 1330763475, 1330763469, 1330763465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.410961627960205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:38:32.191168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_55_9351.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_38_06_10357.jpg', '/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_25_10333.jpg', '/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_36_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_55_9351.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_38_06_10357.jpg
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_25_10333.jpg
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_36_10411.jpg
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: 0.49060654640197754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:38:42.254212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_55_9351.jpg', '/home/pi/Desktop/images/23012025/06/37/image_23012025_06_38_06_10357.jpg', '/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_25_10333.jpg', '/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_36_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_37_55_9351.jpg
/home/pi/Desktop/images/23012025/06/37/image_23012025_06_38_06_10357.jpg
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_25_10333.jpg
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_36_10411.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":["1330763572","1330763560","1330763553","1330763558"],"photo_ids_order":["1330763553","1330763558","1330763560","1330763572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d0684666873900dd02112666844ba83.jpg","text":"TemporaryFile(/tmp/multipartBody8015459804769379092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610783128,"filename":"image_23012025_06_38_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8722dd24dd67ba5cb7b10f4703ad9c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4908846542539693573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610783128,"filename":"image_23012025_06_38_25_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41d4fa56948f65ffdac5320b771d516e.jpg","text":"TemporaryFile(/tmp/multipartBody419873276380881066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610783128,"filename":"image_23012025_06_37_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/568bef07acdc6cef16105cdaea18d592.jpg","text":"TemporaryFile(/tmp/multipartBody4803253943740264328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610783128,"filename":"image_23012025_06_38_06_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330763560","file1":"1330763558","file0":"1330763553","file3":"1330763572"},"map_files_photo_id_array":[{"photo_id":"1330763560","filename":"file2"},{"photo_id":"1330763558","filename":"file1"},{"photo_id":"1330763553","filename":"file0"},{"photo_id":"1330763572","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330763572":["hashtag1","hashtag2"]},{"1330763560":["hashtag1","hashtag2"]},{"1330763553":["hashtag1","hashtag2"]},{"1330763558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330763572, 1330763560, 1330763553, 1330763558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.332849264144897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:39:32.298344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_45_9433.jpg', '/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_26_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/38/image_23012025_06_38_45_9433.jpg
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_26_10399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330763621","1330763600"],"photo_ids_order":["1330763600","1330763621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8abbf2b0e9f455b38b83fc8b8a8198dc.jpg","text":"TemporaryFile(/tmp/multipartBody5439758209452150485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610833135,"filename":"image_23012025_06_39_26_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/787d6d35d600880d2960d27319a71ace.jpg","text":"TemporaryFile(/tmp/multipartBody2000606921842642039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610833135,"filename":"image_23012025_06_38_45_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330763621","file0":"1330763600"},"map_files_photo_id_array":[{"photo_id":"1330763621","filename":"file1"},{"photo_id":"1330763600","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330763621":["hashtag1","hashtag2"]},{"1330763600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330763621, 1330763600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.733994007110596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:39:52.284194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_44_9427.jpg', '/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_55_10341.jpg', '/home/pi/Desktop/images/20012025/08/12/image_20012025_08_13_05_10346.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_14_9341.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_25_10331.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_35_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_44_9427.jpg
/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_55_10341.jpg
/home/pi/Desktop/images/20012025/08/12/image_20012025_08_13_05_10346.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_14_9341.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_25_10331.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_35_10336.jpg
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: 1.988938808441162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:40:03.196549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_44_9427.jpg', '/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_55_10341.jpg', '/home/pi/Desktop/images/20012025/08/12/image_20012025_08_13_05_10346.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_14_9341.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_25_10331.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_35_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_44_9427.jpg
/home/pi/Desktop/images/20012025/08/12/image_20012025_08_12_55_10341.jpg
/home/pi/Desktop/images/20012025/08/12/image_20012025_08_13_05_10346.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_14_9341.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_25_10331.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_35_10336.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":["1330763796","1330763800","1330763817","1330763774","1330763762","1330763804"],"photo_ids_order":["1330763762","1330763774","1330763796","1330763800","1330763804","1330763817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6ebdb34ee71a94dabefcb324be3774b.jpg","text":"TemporaryFile(/tmp/multipartBody7199343253172785979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610864686,"filename":"image_20012025_08_13_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74b159a1c7d843a137094e3001f2112f.jpg","text":"TemporaryFile(/tmp/multipartBody4182633702606793101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610864686,"filename":"image_20012025_08_13_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34669fad654bd65e2943b85970c62013.jpg","text":"TemporaryFile(/tmp/multipartBody8145755614076026382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610864686,"filename":"image_20012025_08_13_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7366106802b2c2604bc330b3aa53100.jpg","text":"TemporaryFile(/tmp/multipartBody4302714506049163375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610864686,"filename":"image_20012025_08_12_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff01b714dea1050f48c57307da00eb91.jpg","text":"TemporaryFile(/tmp/multipartBody6991022998051255585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610864686,"filename":"image_20012025_08_12_44_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47f2400130a54d30d18a1df3f97bfb16.jpg","text":"TemporaryFile(/tmp/multipartBody7672565614809032235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610864686,"filename":"image_20012025_08_13_25_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330763796","file1":"1330763774","file0":"1330763762","file4":"1330763804","file5":"1330763817","file3":"1330763800"},"map_files_photo_id_array":[{"photo_id":"1330763817","filename":"file5"},{"photo_id":"1330763796","filename":"file2"},{"photo_id":"1330763804","filename":"file4"},{"photo_id":"1330763774","filename":"file1"},{"photo_id":"1330763762","filename":"file0"},{"photo_id":"1330763800","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330763796":["hashtag1","hashtag2"]},{"1330763800":["hashtag1","hashtag2"]},{"1330763817":["hashtag1","hashtag2"]},{"1330763774":["hashtag1","hashtag2"]},{"1330763762":["hashtag1","hashtag2"]},{"1330763804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330763796, 1330763800, 1330763817, 1330763774, 1330763762, 1330763804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.083797216415405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:40:52.620085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_44_9347.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_55_10339.jpg', '/home/pi/Desktop/images/20012025/08/13/image_20012025_08_14_05_10354.jpg', '/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_14_9355.jpg', '/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_25_10482.jpg', '/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_34_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_44_9347.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_13_55_10339.jpg
/home/pi/Desktop/images/20012025/08/13/image_20012025_08_14_05_10354.jpg
/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_14_9355.jpg
/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_25_10482.jpg
/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_34_9344.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":["1330763860","1330763848","1330763842","1330763845","1330763856","1330763840"],"photo_ids_order":["1330763840","1330763842","1330763845","1330763848","1330763856","1330763860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d04bc724abd5dbfe202e33d242a5cef.jpg","text":"TemporaryFile(/tmp/multipartBody5149530310111351469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610915001,"filename":"image_20012025_08_14_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba966edacec118af4fef247c69a90b50.jpg","text":"TemporaryFile(/tmp/multipartBody7148593437110722111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610915001,"filename":"image_20012025_08_14_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0d34954f60ea040439c676aa15e5cc2.jpg","text":"TemporaryFile(/tmp/multipartBody2536550425781340782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610915001,"filename":"image_20012025_08_13_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6decf36ba5c4fb9e77acc5b202c3e065.jpg","text":"TemporaryFile(/tmp/multipartBody6521575517265666970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610915001,"filename":"image_20012025_08_14_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5592dc55201907f1c3f62b0384bacfa.jpg","text":"TemporaryFile(/tmp/multipartBody6784473018838023957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610915001,"filename":"image_20012025_08_14_25_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60d15b2524206797391dafa6dd28bb6b.jpg","text":"TemporaryFile(/tmp/multipartBody8583389902635217102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610915001,"filename":"image_20012025_08_13_44_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330763845","file1":"1330763842","file0":"1330763840","file4":"1330763856","file5":"1330763860","file3":"1330763848"},"map_files_photo_id_array":[{"photo_id":"1330763860","filename":"file5"},{"photo_id":"1330763845","filename":"file2"},{"photo_id":"1330763856","filename":"file4"},{"photo_id":"1330763842","filename":"file1"},{"photo_id":"1330763840","filename":"file0"},{"photo_id":"1330763848","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330763860":["hashtag1","hashtag2"]},{"1330763848":["hashtag1","hashtag2"]},{"1330763842":["hashtag1","hashtag2"]},{"1330763845":["hashtag1","hashtag2"]},{"1330763856":["hashtag1","hashtag2"]},{"1330763840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330763860, 1330763848, 1330763842, 1330763845, 1330763856, 1330763840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.20943331718445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:41:43.052260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_35_9394.jpg', '/home/pi/Desktop/images/23012025/06/39/image_23012025_06_40_05_9346.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_16_10346.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_25_9412.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_35_10330.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_39_35_9394.jpg
/home/pi/Desktop/images/23012025/06/39/image_23012025_06_40_05_9346.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_16_10346.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_25_9412.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_35_10330.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_46_10366.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":["1330763915","1330763890","1330763893","1330763908","1330763925","1330763903"],"photo_ids_order":["1330763890","1330763893","1330763903","1330763908","1330763915","1330763925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b3c56ac6167b2274f2635de20690a50.jpg","text":"TemporaryFile(/tmp/multipartBody1318008419415234864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610963976,"filename":"image_23012025_06_40_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2647105c59eca77a9c82d15db577252.jpg","text":"TemporaryFile(/tmp/multipartBody1998362400569929209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610963976,"filename":"image_23012025_06_39_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e664cafdb5b66895878e06d2314325df.jpg","text":"TemporaryFile(/tmp/multipartBody8520166273222040404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610963976,"filename":"image_23012025_06_40_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db73e890e314e32260ac00d439b5c8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4776356686546004047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610963976,"filename":"image_23012025_06_40_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbefbc99786f32f1209577bbeb38bba8.jpg","text":"TemporaryFile(/tmp/multipartBody6537972233829369584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610963976,"filename":"image_23012025_06_40_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/606c636284a5a9ecc7f37595b94b0b42.jpg","text":"TemporaryFile(/tmp/multipartBody3811221996075182878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737610963976,"filename":"image_23012025_06_40_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330763903","file1":"1330763893","file0":"1330763890","file4":"1330763915","file5":"1330763925","file3":"1330763908"},"map_files_photo_id_array":[{"photo_id":"1330763925","filename":"file5"},{"photo_id":"1330763903","filename":"file2"},{"photo_id":"1330763915","filename":"file4"},{"photo_id":"1330763893","filename":"file1"},{"photo_id":"1330763890","filename":"file0"},{"photo_id":"1330763908","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330763915":["hashtag1","hashtag2"]},{"1330763890":["hashtag1","hashtag2"]},{"1330763893":["hashtag1","hashtag2"]},{"1330763908":["hashtag1","hashtag2"]},{"1330763925":["hashtag1","hashtag2"]},{"1330763903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330763915, 1330763890, 1330763893, 1330763908, 1330763925, 1330763903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26054334640503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:42:32.180405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_55_9342.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_41_05_10331.jpg', '/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_25_9405.jpg', '/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_25_9359.jpg', '/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_45_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_55_9342.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_41_05_10331.jpg
/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_25_9405.jpg
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_25_9359.jpg
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_45_9399.jpg
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: 0.5130929946899414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:42:42.244733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_55_9342.jpg', '/home/pi/Desktop/images/23012025/06/40/image_23012025_06_41_05_10331.jpg', '/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_25_9405.jpg', '/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_25_9359.jpg', '/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_45_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_40_55_9342.jpg
/home/pi/Desktop/images/23012025/06/40/image_23012025_06_41_05_10331.jpg
/home/pi/Desktop/images/23012025/06/41/image_23012025_06_41_25_9405.jpg
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_25_9359.jpg
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_45_9399.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":["1330763992","1330764025","1330764018","1330764077","1330764011"],"photo_ids_order":["1330763992","1330764011","1330764018","1330764025","1330764077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b004847f8bc3f195966eb6953012a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody1992873349750423707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611023158,"filename":"image_23012025_06_40_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e5ba2123417a1be3485d13c5a08046d.jpg","text":"TemporaryFile(/tmp/multipartBody5148775757020508028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611023158,"filename":"image_23012025_06_42_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/325cdd6ba366be1ade1e0339dfb96537.jpg","text":"TemporaryFile(/tmp/multipartBody5737332447433123914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611023158,"filename":"image_23012025_06_41_25_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0daf9921fc6e4388bd90f426d69df982.jpg","text":"TemporaryFile(/tmp/multipartBody6128463169820097626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611023158,"filename":"image_23012025_06_42_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a12b734821571f56c776bfdbe4cc4e2a.jpg","text":"TemporaryFile(/tmp/multipartBody1437349050155142330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611023158,"filename":"image_23012025_06_41_05_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330764018","file1":"1330764011","file0":"1330763992","file4":"1330764077","file3":"1330764025"},"map_files_photo_id_array":[{"photo_id":"1330764018","filename":"file2"},{"photo_id":"1330764077","filename":"file4"},{"photo_id":"1330764011","filename":"file1"},{"photo_id":"1330763992","filename":"file0"},{"photo_id":"1330764025","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330763992":["hashtag1","hashtag2"]},{"1330764025":["hashtag1","hashtag2"]},{"1330764018":["hashtag1","hashtag2"]},{"1330764077":["hashtag1","hashtag2"]},{"1330764011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330763992, 1330764025, 1330764018, 1330764077, 1330764011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.16650056838989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:43:32.318498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_55_10376.jpg', '/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_15_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/42/image_23012025_06_42_55_10376.jpg
/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_15_9354.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":["1330764096","1330764107"],"photo_ids_order":["1330764096","1330764107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dc29041eb46aeefb0cff11a9586f31b.jpg","text":"TemporaryFile(/tmp/multipartBody6670665111700500204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611073156,"filename":"image_23012025_06_42_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a0582df094e7f6d370e79df0ff558f5.jpg","text":"TemporaryFile(/tmp/multipartBody8010200376068555070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611073156,"filename":"image_23012025_06_43_15_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330764107","file0":"1330764096"},"map_files_photo_id_array":[{"photo_id":"1330764107","filename":"file1"},{"photo_id":"1330764096","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330764096":["hashtag1","hashtag2"]},{"1330764107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330764096, 1330764107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.119519233703613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:44:03.258607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_45_10336.jpg', '/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_54_9620.jpg', '/home/pi/Desktop/images/20012025/08/14/image_20012025_08_15_04_10331.jpg', '/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_15_10355.jpg', '/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_24_9327.jpg', '/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_35_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_45_10336.jpg
/home/pi/Desktop/images/20012025/08/14/image_20012025_08_14_54_9620.jpg
/home/pi/Desktop/images/20012025/08/14/image_20012025_08_15_04_10331.jpg
/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_15_10355.jpg
/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_24_9327.jpg
/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_35_10350.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":["1330764112","1330764115","1330764117","1330764126","1330764120","1330764128"],"photo_ids_order":["1330764112","1330764115","1330764117","1330764120","1330764126","1330764128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9fd7d8fea2af1a7d7dc5e32ddca5618.jpg","text":"TemporaryFile(/tmp/multipartBody4353422042755016151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611104851,"filename":"image_20012025_08_14_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f145610b3a1d60c617ee1f3a3344b89b.jpg","text":"TemporaryFile(/tmp/multipartBody5048365972172984140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611104851,"filename":"image_20012025_08_14_54_9620.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b971ac302aacf36da4ee3e1443373ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6697679359223351726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611104851,"filename":"image_20012025_08_15_04_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1cabede9a57d59e3758fedb9d5d7e0d.jpg","text":"TemporaryFile(/tmp/multipartBody525948409685403528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611104851,"filename":"image_20012025_08_15_24_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93831a20eea563d147a9e9aa0786b472.jpg","text":"TemporaryFile(/tmp/multipartBody3006755196085359777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611104851,"filename":"image_20012025_08_15_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3eae9ba6dfb005e4fb2542d047a2220.jpg","text":"TemporaryFile(/tmp/multipartBody865032154943261393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611104851,"filename":"image_20012025_08_15_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330764117","file1":"1330764115","file0":"1330764112","file4":"1330764126","file5":"1330764128","file3":"1330764120"},"map_files_photo_id_array":[{"photo_id":"1330764128","filename":"file5"},{"photo_id":"1330764117","filename":"file2"},{"photo_id":"1330764126","filename":"file4"},{"photo_id":"1330764115","filename":"file1"},{"photo_id":"1330764112","filename":"file0"},{"photo_id":"1330764120","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330764112":["hashtag1","hashtag2"]},{"1330764115":["hashtag1","hashtag2"]},{"1330764117":["hashtag1","hashtag2"]},{"1330764126":["hashtag1","hashtag2"]},{"1330764120":["hashtag1","hashtag2"]},{"1330764128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330764112, 1330764115, 1330764117, 1330764126, 1330764120, 1330764128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78731918334961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:44:52.601054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_54_9331.jpg', '/home/pi/Desktop/images/20012025/08/16/image_20012025_08_16_15_10337.jpg', '/home/pi/Desktop/images/20012025/08/16/image_20012025_08_16_24_9333.jpg', '/home/pi/Desktop/images/20012025/08/16/image_20012025_08_16_54_9348.jpg', '/home/pi/Desktop/images/20012025/08/16/image_20012025_08_17_05_10396.jpg', '/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_14_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/15/image_20012025_08_15_54_9331.jpg
/home/pi/Desktop/images/20012025/08/16/image_20012025_08_16_15_10337.jpg
/home/pi/Desktop/images/20012025/08/16/image_20012025_08_16_24_9333.jpg
/home/pi/Desktop/images/20012025/08/16/image_20012025_08_16_54_9348.jpg
/home/pi/Desktop/images/20012025/08/16/image_20012025_08_17_05_10396.jpg
/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_14_9329.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":["1330764151","1330764138","1330764147","1330764140","1330764143","1330764137"],"photo_ids_order":["1330764137","1330764138","1330764140","1330764143","1330764147","1330764151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb04f67fbb78b203d1d078aa9f229f63.jpg","text":"TemporaryFile(/tmp/multipartBody3811654086601599286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611154978,"filename":"image_20012025_08_17_14_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e341dbb842ae58941cf9bead9ba0ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1724426968003763969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611154978,"filename":"image_20012025_08_16_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b363c8f2698fadef98bb65cec21ddfe0.jpg","text":"TemporaryFile(/tmp/multipartBody295431648118153011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611154978,"filename":"image_20012025_08_17_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52529988bb2c5e34e164ca305606d104.jpg","text":"TemporaryFile(/tmp/multipartBody7124626609808315699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611154978,"filename":"image_20012025_08_16_24_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f0088f33d146185493be110603a523f.jpg","text":"TemporaryFile(/tmp/multipartBody6382824319684675135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611154978,"filename":"image_20012025_08_16_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a6c0cfc17e73a14a89cc5ae9d1691ac.jpg","text":"TemporaryFile(/tmp/multipartBody259836786664360723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611154978,"filename":"image_20012025_08_15_54_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330764140","file1":"1330764138","file0":"1330764137","file4":"1330764147","file5":"1330764151","file3":"1330764143"},"map_files_photo_id_array":[{"photo_id":"1330764151","filename":"file5"},{"photo_id":"1330764140","filename":"file2"},{"photo_id":"1330764147","filename":"file4"},{"photo_id":"1330764138","filename":"file1"},{"photo_id":"1330764137","filename":"file0"},{"photo_id":"1330764143","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330764151":["hashtag1","hashtag2"]},{"1330764138":["hashtag1","hashtag2"]},{"1330764147":["hashtag1","hashtag2"]},{"1330764140":["hashtag1","hashtag2"]},{"1330764143":["hashtag1","hashtag2"]},{"1330764137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330764151, 1330764138, 1330764147, 1330764140, 1330764143, 1330764137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.13451433181763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:45:42.965150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_26_10352.jpg', '/home/pi/Desktop/images/23012025/06/43/image_23012025_06_44_05_9406.jpg', '/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_16_10426.jpg', '/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_26_10368.jpg', '/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_46_10328.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_16_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/43/image_23012025_06_43_26_10352.jpg
/home/pi/Desktop/images/23012025/06/43/image_23012025_06_44_05_9406.jpg
/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_16_10426.jpg
/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_26_10368.jpg
/home/pi/Desktop/images/23012025/06/44/image_23012025_06_44_46_10328.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_16_10341.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":["1330764238","1330764240","1330764243","1330764237","1330764207","1330764248"],"photo_ids_order":["1330764207","1330764237","1330764238","1330764240","1330764243","1330764248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f31e41f1c7f3ca08d711b90d19db1d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5663994817483433970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611203872,"filename":"image_23012025_06_44_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8554d91acea1680f8d790094934240fe.jpg","text":"TemporaryFile(/tmp/multipartBody4997404201047873632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611203872,"filename":"image_23012025_06_44_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3e95be0f17d8ae498967d7ec0105925.jpg","text":"TemporaryFile(/tmp/multipartBody6913212534156459891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611203872,"filename":"image_23012025_06_44_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ababecd9b0ae411c8884f75ea347adf.jpg","text":"TemporaryFile(/tmp/multipartBody7809848322263623662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611203872,"filename":"image_23012025_06_44_05_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd3208ff60afe67ccf8d9e35e4369c53.jpg","text":"TemporaryFile(/tmp/multipartBody7253344308052593867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611203872,"filename":"image_23012025_06_43_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b403ace0d27af70e14757506b417782.jpg","text":"TemporaryFile(/tmp/multipartBody8536439947064817267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611203872,"filename":"image_23012025_06_45_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330764238","file1":"1330764237","file0":"1330764207","file4":"1330764243","file5":"1330764248","file3":"1330764240"},"map_files_photo_id_array":[{"photo_id":"1330764248","filename":"file5"},{"photo_id":"1330764238","filename":"file2"},{"photo_id":"1330764243","filename":"file4"},{"photo_id":"1330764237","filename":"file1"},{"photo_id":"1330764207","filename":"file0"},{"photo_id":"1330764240","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330764238":["hashtag1","hashtag2"]},{"1330764240":["hashtag1","hashtag2"]},{"1330764243":["hashtag1","hashtag2"]},{"1330764237":["hashtag1","hashtag2"]},{"1330764207":["hashtag1","hashtag2"]},{"1330764248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330764238, 1330764240, 1330764243, 1330764237, 1330764207, 1330764248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.932239055633545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:46:33.233144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_36_10355.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_46_10330.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_46_06_10348.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_15_9441.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_36_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_36_10355.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_46_10330.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_46_06_10348.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_15_9441.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_36_10352.jpg
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: 0.5026237964630127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:46:43.164985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_36_10355.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_46_10330.jpg', '/home/pi/Desktop/images/23012025/06/45/image_23012025_06_46_06_10348.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_15_9441.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_36_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_36_10355.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_45_46_10330.jpg
/home/pi/Desktop/images/23012025/06/45/image_23012025_06_46_06_10348.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_15_9441.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_36_10352.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":["1330764265","1330764333","1330764278","1330764263","1330764269"],"photo_ids_order":["1330764263","1330764265","1330764269","1330764278","1330764333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41ef1f3b8d84f1d9636ffb478a728c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4123757255294720072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611264057,"filename":"image_23012025_06_45_46_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/173979fdf9df38ca5c4a421eecdcf507.jpg","text":"TemporaryFile(/tmp/multipartBody6830066957316160733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611264057,"filename":"image_23012025_06_46_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e652f8baa19e446b9350ead01db83939.jpg","text":"TemporaryFile(/tmp/multipartBody7532351817697076389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611264057,"filename":"image_23012025_06_46_15_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a91c83ea7bc7704d14e617917fad0b7f.jpg","text":"TemporaryFile(/tmp/multipartBody25320627123476946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611264057,"filename":"image_23012025_06_45_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a88bb849494eb96681844e2d9be532b.jpg","text":"TemporaryFile(/tmp/multipartBody8043278758883891044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611264057,"filename":"image_23012025_06_46_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330764269","file1":"1330764265","file0":"1330764263","file4":"1330764333","file3":"1330764278"},"map_files_photo_id_array":[{"photo_id":"1330764269","filename":"file2"},{"photo_id":"1330764333","filename":"file4"},{"photo_id":"1330764265","filename":"file1"},{"photo_id":"1330764263","filename":"file0"},{"photo_id":"1330764278","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330764265":["hashtag1","hashtag2"]},{"1330764333":["hashtag1","hashtag2"]},{"1330764278":["hashtag1","hashtag2"]},{"1330764263":["hashtag1","hashtag2"]},{"1330764269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330764265, 1330764333, 1330764278, 1330764263, 1330764269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.429723024368286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:47:32.432940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_45_9349.jpg', '/home/pi/Desktop/images/23012025/06/46/image_23012025_06_47_06_10345.jpg', '/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_15_9340.jpg', '/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_36_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_46_45_9349.jpg
/home/pi/Desktop/images/23012025/06/46/image_23012025_06_47_06_10345.jpg
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_15_9340.jpg
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_36_10347.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":["1330764558","1330764723","1330764429","1330764414"],"photo_ids_order":["1330764414","1330764429","1330764558","1330764723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14f86fc2453434c2cc7e21d2a47fa2f6.jpg","text":"TemporaryFile(/tmp/multipartBody3586568022570576462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611313303,"filename":"image_23012025_06_47_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bec8d3760a30ad2112546e8352bf498.jpg","text":"TemporaryFile(/tmp/multipartBody864939131553028319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611313303,"filename":"image_23012025_06_47_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ca9916c558f03212a3a5b1df321aa61.jpg","text":"TemporaryFile(/tmp/multipartBody3710675813329265848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611313303,"filename":"image_23012025_06_47_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac78dd49dbbddebb7f8cc112913d03a0.jpg","text":"TemporaryFile(/tmp/multipartBody823072103944769089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611313303,"filename":"image_23012025_06_46_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330764558","file1":"1330764429","file0":"1330764414","file3":"1330764723"},"map_files_photo_id_array":[{"photo_id":"1330764558","filename":"file2"},{"photo_id":"1330764429","filename":"file1"},{"photo_id":"1330764414","filename":"file0"},{"photo_id":"1330764723","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330764558":["hashtag1","hashtag2"]},{"1330764723":["hashtag1","hashtag2"]},{"1330764429":["hashtag1","hashtag2"]},{"1330764414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330764558, 1330764723, 1330764429, 1330764414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.028459548950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:48:32.747769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_56_10357.jpg', '/home/pi/Desktop/images/23012025/06/47/image_23012025_06_48_06_10350.jpg', '/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_15_9444.jpg', '/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_35_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_47_56_10357.jpg
/home/pi/Desktop/images/23012025/06/47/image_23012025_06_48_06_10350.jpg
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_15_9444.jpg
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_35_9430.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":["1330764864","1330764866","1330764860","1330764862"],"photo_ids_order":["1330764860","1330764862","1330764864","1330764866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e36579e4f9724581a15211892f6c4e35.jpg","text":"TemporaryFile(/tmp/multipartBody6537713632932173163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611373627,"filename":"image_23012025_06_48_15_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26995a263e0e4dad696c8b9712048fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6531137951206462994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611373627,"filename":"image_23012025_06_48_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72df80d48024ee2fca614e38317aa09d.jpg","text":"TemporaryFile(/tmp/multipartBody1998990620563148124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611373627,"filename":"image_23012025_06_47_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46585c1a298b215d89e01636bb7c6bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5106230387340926211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611373627,"filename":"image_23012025_06_48_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330764864","file1":"1330764862","file0":"1330764860","file3":"1330764866"},"map_files_photo_id_array":[{"photo_id":"1330764864","filename":"file2"},{"photo_id":"1330764862","filename":"file1"},{"photo_id":"1330764860","filename":"file0"},{"photo_id":"1330764866","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330764864":["hashtag1","hashtag2"]},{"1330764866":["hashtag1","hashtag2"]},{"1330764860":["hashtag1","hashtag2"]},{"1330764862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330764864, 1330764866, 1330764860, 1330764862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.3718523979187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:49:04.435402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_35_10439.jpg', '/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_44_9334.jpg', '/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_55_10352.jpg', '/home/pi/Desktop/images/20012025/08/17/image_20012025_08_18_05_10413.jpg', '/home/pi/Desktop/images/20012025/08/18/image_20012025_08_18_14_9338.jpg', '/home/pi/Desktop/images/20012025/08/18/image_20012025_08_18_35_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_35_10439.jpg
/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_44_9334.jpg
/home/pi/Desktop/images/20012025/08/17/image_20012025_08_17_55_10352.jpg
/home/pi/Desktop/images/20012025/08/17/image_20012025_08_18_05_10413.jpg
/home/pi/Desktop/images/20012025/08/18/image_20012025_08_18_14_9338.jpg
/home/pi/Desktop/images/20012025/08/18/image_20012025_08_18_35_10412.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":["1330765003","1330764922","1330765038","1330764933","1330765034","1330765057"],"photo_ids_order":["1330764922","1330764933","1330765003","1330765034","1330765038","1330765057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e84f46180f871f4bb42b9ef172008fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1903981048378467463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611406563,"filename":"image_20012025_08_17_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/453e401da7e9ffb0b67bcee09cebc089.jpg","text":"TemporaryFile(/tmp/multipartBody5339626143494535119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611406563,"filename":"image_20012025_08_17_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95ccf479045333dbb2bf83ecf1556af6.jpg","text":"TemporaryFile(/tmp/multipartBody6156715697801706465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611406563,"filename":"image_20012025_08_18_14_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69b47a960c1daa5d0f383d54c700cae0.jpg","text":"TemporaryFile(/tmp/multipartBody6456772518672500980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611406563,"filename":"image_20012025_08_17_44_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58432d0e8c737aa801f524b7889564e1.jpg","text":"TemporaryFile(/tmp/multipartBody238252917564280200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611406563,"filename":"image_20012025_08_18_05_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56fd795e45a9dac59bbbd9ae2a0c9834.jpg","text":"TemporaryFile(/tmp/multipartBody202947468824319050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611406563,"filename":"image_20012025_08_18_35_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765003","file1":"1330764933","file0":"1330764922","file4":"1330765038","file5":"1330765057","file3":"1330765034"},"map_files_photo_id_array":[{"photo_id":"1330765057","filename":"file5"},{"photo_id":"1330765003","filename":"file2"},{"photo_id":"1330765038","filename":"file4"},{"photo_id":"1330764933","filename":"file1"},{"photo_id":"1330764922","filename":"file0"},{"photo_id":"1330765034","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330765003":["hashtag1","hashtag2"]},{"1330764922":["hashtag1","hashtag2"]},{"1330765038":["hashtag1","hashtag2"]},{"1330764933":["hashtag1","hashtag2"]},{"1330765034":["hashtag1","hashtag2"]},{"1330765057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330765003, 1330764922, 1330765038, 1330764933, 1330765034, 1330765057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.39037370681763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:50:02.951893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_45_10331.jpg', '/home/pi/Desktop/images/23012025/06/48/image_23012025_06_49_05_9431.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_16_10367.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_26_10362.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_35_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_45_10331.jpg
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_49_05_9431.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_16_10367.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_26_10362.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_35_9355.jpg
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: 0.5500991344451904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:50:32.190030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_45_10331.jpg', '/home/pi/Desktop/images/23012025/06/48/image_23012025_06_49_05_9431.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_16_10367.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_26_10362.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_35_9355.jpg', '/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_48_45_10331.jpg
/home/pi/Desktop/images/23012025/06/48/image_23012025_06_49_05_9431.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_16_10367.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_26_10362.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_35_9355.jpg
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_49_46_10345.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":["1330765129","1330765128","1330765101","1330765125","1330765097","1330765127"],"photo_ids_order":["1330765097","1330765101","1330765125","1330765127","1330765128","1330765129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57f9cf81d724616d41d9d2aedc120e99.jpg","text":"TemporaryFile(/tmp/multipartBody598366604576747822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611493108,"filename":"image_23012025_06_49_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43a7dfad0d08adf61505886cfbe08b39.jpg","text":"TemporaryFile(/tmp/multipartBody3125967714625946583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611493108,"filename":"image_23012025_06_49_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d985e8f0274c36c27244f588c5bfd577.jpg","text":"TemporaryFile(/tmp/multipartBody3709707878419166004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611493108,"filename":"image_23012025_06_49_05_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7a582855016a88bd7b92e3db3de4e60.jpg","text":"TemporaryFile(/tmp/multipartBody8253986376911440794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611493108,"filename":"image_23012025_06_49_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68491ed4734a4f39920aed4dce36c0fb.jpg","text":"TemporaryFile(/tmp/multipartBody2084663672213741102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611493108,"filename":"image_23012025_06_48_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/905351469d5baa0e4c4e25908aae5d56.jpg","text":"TemporaryFile(/tmp/multipartBody2992361049845764897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611493108,"filename":"image_23012025_06_49_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765125","file1":"1330765101","file0":"1330765097","file4":"1330765128","file5":"1330765129","file3":"1330765127"},"map_files_photo_id_array":[{"photo_id":"1330765129","filename":"file5"},{"photo_id":"1330765125","filename":"file2"},{"photo_id":"1330765128","filename":"file4"},{"photo_id":"1330765101","filename":"file1"},{"photo_id":"1330765097","filename":"file0"},{"photo_id":"1330765127","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765129":["hashtag1","hashtag2"]},{"1330765128":["hashtag1","hashtag2"]},{"1330765101":["hashtag1","hashtag2"]},{"1330765125":["hashtag1","hashtag2"]},{"1330765097":["hashtag1","hashtag2"]},{"1330765127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765129, 1330765128, 1330765101, 1330765125, 1330765097, 1330765127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97104477882385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:51:32.600416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/49/image_23012025_06_50_06_10344.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_25_9415.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_36_10354.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_45_9402.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_55_10372.jpg', '/home/pi/Desktop/images/23012025/06/50/image_23012025_06_51_06_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/49/image_23012025_06_50_06_10344.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_25_9415.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_36_10354.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_45_9402.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_50_55_10372.jpg
/home/pi/Desktop/images/23012025/06/50/image_23012025_06_51_06_10329.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":["1330765147","1330765158","1330765143","1330765157","1330765145","1330765159"],"photo_ids_order":["1330765143","1330765145","1330765147","1330765157","1330765158","1330765159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c5706b090589bfcbb5c20a42e20bf0f.jpg","text":"TemporaryFile(/tmp/multipartBody6447725218830077428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611553524,"filename":"image_23012025_06_50_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9629bae12609f978a92caefe478860e5.jpg","text":"TemporaryFile(/tmp/multipartBody3456504513175301117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611553524,"filename":"image_23012025_06_50_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd9aff6689a6d62f4921593fd19019a4.jpg","text":"TemporaryFile(/tmp/multipartBody1386271875048575967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611553524,"filename":"image_23012025_06_50_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/baa6d583d633a8e782fb567614dd562f.jpg","text":"TemporaryFile(/tmp/multipartBody7209732739966406102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611553524,"filename":"image_23012025_06_50_45_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a69be9a99e37004d487101f664fa769.jpg","text":"TemporaryFile(/tmp/multipartBody7063512269918994472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611553524,"filename":"image_23012025_06_50_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9644bc0f5e7e4389454b0610c211b69e.jpg","text":"TemporaryFile(/tmp/multipartBody1723474499126168168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611553524,"filename":"image_23012025_06_51_06_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765147","file1":"1330765145","file0":"1330765143","file4":"1330765158","file5":"1330765159","file3":"1330765157"},"map_files_photo_id_array":[{"photo_id":"1330765159","filename":"file5"},{"photo_id":"1330765147","filename":"file2"},{"photo_id":"1330765158","filename":"file4"},{"photo_id":"1330765145","filename":"file1"},{"photo_id":"1330765143","filename":"file0"},{"photo_id":"1330765157","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765147":["hashtag1","hashtag2"]},{"1330765158":["hashtag1","hashtag2"]},{"1330765143":["hashtag1","hashtag2"]},{"1330765157":["hashtag1","hashtag2"]},{"1330765145":["hashtag1","hashtag2"]},{"1330765159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765147, 1330765158, 1330765143, 1330765157, 1330765145, 1330765159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.622583627700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:52:32.544732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_15_9365.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_26_10359.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_36_10438.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_45_9364.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_56_10369.jpg', '/home/pi/Desktop/images/23012025/06/51/image_23012025_06_52_05_9475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_15_9365.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_26_10359.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_36_10438.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_45_9364.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_51_56_10369.jpg
/home/pi/Desktop/images/23012025/06/51/image_23012025_06_52_05_9475.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":["1330765182","1330765185","1330765188","1330765187","1330765175","1330765178"],"photo_ids_order":["1330765175","1330765178","1330765182","1330765185","1330765187","1330765188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70d3b5f5f9f7fdfa005eb4f21d1a56a5.jpg","text":"TemporaryFile(/tmp/multipartBody2978461059742209693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611613450,"filename":"image_23012025_06_51_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e189e239e8b1af654074d0054013c2c3.jpg","text":"TemporaryFile(/tmp/multipartBody5575285478115743743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611613450,"filename":"image_23012025_06_51_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/310fd096073424a41726eaf32d99f0f4.jpg","text":"TemporaryFile(/tmp/multipartBody8602226157126346382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611613450,"filename":"image_23012025_06_52_05_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/434191dfb45befacc523be508ac44332.jpg","text":"TemporaryFile(/tmp/multipartBody1788348031344693935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611613450,"filename":"image_23012025_06_51_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9805ee553e666da3a7c5324a88c7adf1.jpg","text":"TemporaryFile(/tmp/multipartBody5810568956506883328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611613450,"filename":"image_23012025_06_51_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/650f5aeb5e6a493ec92ed7e145ef1af2.jpg","text":"TemporaryFile(/tmp/multipartBody115966218558683984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611613450,"filename":"image_23012025_06_51_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765182","file1":"1330765178","file0":"1330765175","file4":"1330765187","file5":"1330765188","file3":"1330765185"},"map_files_photo_id_array":[{"photo_id":"1330765188","filename":"file5"},{"photo_id":"1330765182","filename":"file2"},{"photo_id":"1330765187","filename":"file4"},{"photo_id":"1330765178","filename":"file1"},{"photo_id":"1330765175","filename":"file0"},{"photo_id":"1330765185","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765182":["hashtag1","hashtag2"]},{"1330765185":["hashtag1","hashtag2"]},{"1330765188":["hashtag1","hashtag2"]},{"1330765187":["hashtag1","hashtag2"]},{"1330765175":["hashtag1","hashtag2"]},{"1330765178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765182, 1330765185, 1330765188, 1330765187, 1330765175, 1330765178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.662068605422974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:53:32.811864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_16_10336.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_26_10363.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_35_9330.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_46_10354.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_56_10347.jpg', '/home/pi/Desktop/images/23012025/06/52/image_23012025_06_53_05_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_16_10336.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_26_10363.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_35_9330.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_46_10354.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_52_56_10347.jpg
/home/pi/Desktop/images/23012025/06/52/image_23012025_06_53_05_9411.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":["1330765204","1330765213","1330765201","1330765209","1330765206","1330765211"],"photo_ids_order":["1330765201","1330765204","1330765206","1330765209","1330765211","1330765213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f37db314037d38773470ade1fe2cd6a4.jpg","text":"TemporaryFile(/tmp/multipartBody47926014187421237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611673713,"filename":"image_23012025_06_52_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a53537592f8fe0b19d4bcc07b448037.jpg","text":"TemporaryFile(/tmp/multipartBody2611846248171368957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611673713,"filename":"image_23012025_06_53_05_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7405826dc5597132f6fea8f8c943d736.jpg","text":"TemporaryFile(/tmp/multipartBody352597676041275563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611673713,"filename":"image_23012025_06_52_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73965873dc59607c8aad8241babe7ae5.jpg","text":"TemporaryFile(/tmp/multipartBody6193344014842707232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611673713,"filename":"image_23012025_06_52_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfd0f17c311188a2bf1e6e7acaa48198.jpg","text":"TemporaryFile(/tmp/multipartBody1125575901322560767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611673713,"filename":"image_23012025_06_52_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e729a2d80e17187c3651cf044c25a295.jpg","text":"TemporaryFile(/tmp/multipartBody5314724165357110235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611673713,"filename":"image_23012025_06_52_56_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765206","file1":"1330765204","file0":"1330765201","file4":"1330765211","file5":"1330765213","file3":"1330765209"},"map_files_photo_id_array":[{"photo_id":"1330765213","filename":"file5"},{"photo_id":"1330765206","filename":"file2"},{"photo_id":"1330765211","filename":"file4"},{"photo_id":"1330765204","filename":"file1"},{"photo_id":"1330765201","filename":"file0"},{"photo_id":"1330765209","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765204":["hashtag1","hashtag2"]},{"1330765213":["hashtag1","hashtag2"]},{"1330765201":["hashtag1","hashtag2"]},{"1330765209":["hashtag1","hashtag2"]},{"1330765206":["hashtag1","hashtag2"]},{"1330765211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765204, 1330765213, 1330765201, 1330765209, 1330765206, 1330765211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.354979276657104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:54:32.866392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_26_10366.jpg', '/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_55_9395.jpg', '/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_16_10354.jpg', '/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_45_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_26_10366.jpg
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_55_9395.jpg
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_16_10354.jpg
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_45_9423.jpg
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: 0.50325608253479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:54:42.873989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_26_10366.jpg', '/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_55_9395.jpg', '/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_16_10354.jpg', '/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_45_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_26_10366.jpg
/home/pi/Desktop/images/23012025/06/53/image_23012025_06_53_55_9395.jpg
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_16_10354.jpg
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_45_9423.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":["1330765272","1330765266","1330765274","1330765256"],"photo_ids_order":["1330765256","1330765266","1330765272","1330765274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00c3c1dafb3302bec8d1ac053b348487.jpg","text":"TemporaryFile(/tmp/multipartBody6925450746133335653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611743748,"filename":"image_23012025_06_54_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fa5765f91df69765b676ade54d55bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3071146563984814916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611743748,"filename":"image_23012025_06_53_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1305593f487aaa13893fd79b744cba51.jpg","text":"TemporaryFile(/tmp/multipartBody3593330365591922610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611743748,"filename":"image_23012025_06_54_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c652805945d99d6c72d072fd2fe0299.jpg","text":"TemporaryFile(/tmp/multipartBody3727028259177773063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611743748,"filename":"image_23012025_06_53_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765272","file1":"1330765266","file0":"1330765256","file3":"1330765274"},"map_files_photo_id_array":[{"photo_id":"1330765272","filename":"file2"},{"photo_id":"1330765266","filename":"file1"},{"photo_id":"1330765256","filename":"file0"},{"photo_id":"1330765274","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765272":["hashtag1","hashtag2"]},{"1330765266":["hashtag1","hashtag2"]},{"1330765274":["hashtag1","hashtag2"]},{"1330765256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765272, 1330765266, 1330765274, 1330765256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.562342643737793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:55:33.078157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_55_10354.jpg', '/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_15_9401.jpg', '/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_26_10373.jpg', '/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_36_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/54/image_23012025_06_54_55_10354.jpg
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_15_9401.jpg
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_26_10373.jpg
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_36_10350.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":["1330765308","1330765305","1330765313","1330765316"],"photo_ids_order":["1330765305","1330765308","1330765313","1330765316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f62579239a2b54af21191c526b107743.jpg","text":"TemporaryFile(/tmp/multipartBody8819791631937764153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793969,"filename":"image_23012025_06_55_15_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a6e7d35ed12ff61b638414488f2ecce.jpg","text":"TemporaryFile(/tmp/multipartBody2418578837888594538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793969,"filename":"image_23012025_06_54_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aff78165b5e1509b75e1726054d24968.jpg","text":"TemporaryFile(/tmp/multipartBody8140979068654910703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793969,"filename":"image_23012025_06_55_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4243071c5db80cd9d637b7d685776476.jpg","text":"TemporaryFile(/tmp/multipartBody7259296738387660588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611793969,"filename":"image_23012025_06_55_36_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765313","file1":"1330765308","file0":"1330765305","file3":"1330765316"},"map_files_photo_id_array":[{"photo_id":"1330765313","filename":"file2"},{"photo_id":"1330765308","filename":"file1"},{"photo_id":"1330765305","filename":"file0"},{"photo_id":"1330765316","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765308":["hashtag1","hashtag2"]},{"1330765305":["hashtag1","hashtag2"]},{"1330765313":["hashtag1","hashtag2"]},{"1330765316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765308, 1330765305, 1330765313, 1330765316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.805673599243164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:56:32.412003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_56_10374.jpg', '/home/pi/Desktop/images/23012025/06/55/image_23012025_06_56_05_9402.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_26_10405.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_35_9335.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_55_56_10374.jpg
/home/pi/Desktop/images/23012025/06/55/image_23012025_06_56_05_9402.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_26_10405.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_35_9335.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_46_10345.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":["1330765330","1330765356","1330765335","1330765367","1330765343"],"photo_ids_order":["1330765330","1330765335","1330765343","1330765356","1330765367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dc1d54b761698a3faeea1ad9df95329.jpg","text":"TemporaryFile(/tmp/multipartBody2799343595087839487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611853296,"filename":"image_23012025_06_55_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9e9c462b3ba9a30bcec331cf5c6989f.jpg","text":"TemporaryFile(/tmp/multipartBody7280637373781309279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611853296,"filename":"image_23012025_06_56_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cdf10f5d685407d0bba306dd0b70639.jpg","text":"TemporaryFile(/tmp/multipartBody3036714055597292279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611853296,"filename":"image_23012025_06_56_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6328b52e5d7ccd1f5217edb638083df3.jpg","text":"TemporaryFile(/tmp/multipartBody929665143892843067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611853296,"filename":"image_23012025_06_56_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0aeae9a68a9b0c526c3bd4c80bbb4262.jpg","text":"TemporaryFile(/tmp/multipartBody8310731388634621993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737611853296,"filename":"image_23012025_06_56_26_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765343","file1":"1330765335","file0":"1330765330","file4":"1330765367","file3":"1330765356"},"map_files_photo_id_array":[{"photo_id":"1330765343","filename":"file2"},{"photo_id":"1330765367","filename":"file4"},{"photo_id":"1330765335","filename":"file1"},{"photo_id":"1330765330","filename":"file0"},{"photo_id":"1330765356","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765330":["hashtag1","hashtag2"]},{"1330765356":["hashtag1","hashtag2"]},{"1330765335":["hashtag1","hashtag2"]},{"1330765367":["hashtag1","hashtag2"]},{"1330765343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765330, 1330765356, 1330765335, 1330765367, 1330765343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.92286777496338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 06:57:32.539788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_56_10343.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_57_05_9457.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_16_10346.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_25_9487.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_36_10353.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_56_10343.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_57_05_9457.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_16_10346.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_25_9487.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_36_10353.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_46_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 06:59:04.342192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_56_10343.jpg', '/home/pi/Desktop/images/23012025/06/56/image_23012025_06_57_05_9457.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_16_10346.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_25_9487.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_36_10353.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_56_56_10343.jpg
/home/pi/Desktop/images/23012025/06/56/image_23012025_06_57_05_9457.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_16_10346.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_25_9487.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_36_10353.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_46_10359.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":["1330765816","1330765575","1330765778","1330765850","1330765838","1330765612"],"photo_ids_order":["1330765575","1330765612","1330765778","1330765816","1330765838","1330765850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a36c2a1e321bf4f4034bd5b3c1ee4320.jpg","text":"TemporaryFile(/tmp/multipartBody7027657258408909566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612005414,"filename":"image_23012025_06_57_25_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2600c135ae93de3302a352cda18a0409.jpg","text":"TemporaryFile(/tmp/multipartBody395331783970380733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612005414,"filename":"image_23012025_06_56_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b51e620d422e1038061fa09f440fb582.jpg","text":"TemporaryFile(/tmp/multipartBody7453941509748653498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612005414,"filename":"image_23012025_06_57_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e9300454845b0cd0f38374bfb8561e7.jpg","text":"TemporaryFile(/tmp/multipartBody5118305384637987207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612005414,"filename":"image_23012025_06_57_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f866d730291136652077bcec9541505.jpg","text":"TemporaryFile(/tmp/multipartBody3027001540074155899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612005414,"filename":"image_23012025_06_57_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c85174fb19fc55f3ddbeb6921874357.jpg","text":"TemporaryFile(/tmp/multipartBody7365751031365336242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612005414,"filename":"image_23012025_06_57_05_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765778","file1":"1330765612","file0":"1330765575","file4":"1330765838","file5":"1330765850","file3":"1330765816"},"map_files_photo_id_array":[{"photo_id":"1330765850","filename":"file5"},{"photo_id":"1330765778","filename":"file2"},{"photo_id":"1330765838","filename":"file4"},{"photo_id":"1330765612","filename":"file1"},{"photo_id":"1330765575","filename":"file0"},{"photo_id":"1330765816","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765816":["hashtag1","hashtag2"]},{"1330765575":["hashtag1","hashtag2"]},{"1330765778":["hashtag1","hashtag2"]},{"1330765850":["hashtag1","hashtag2"]},{"1330765838":["hashtag1","hashtag2"]},{"1330765612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765816, 1330765575, 1330765778, 1330765850, 1330765838, 1330765612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.68039107322693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 06:59:52.989901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/18/image_20012025_08_18_55_10386.jpg', '/home/pi/Desktop/images/20012025/08/18/image_20012025_08_19_04_9353.jpg', '/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_15_10332.jpg', '/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_25_10376.jpg', '/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_45_10330.jpg', '/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_55_10444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/18/image_20012025_08_18_55_10386.jpg
/home/pi/Desktop/images/20012025/08/18/image_20012025_08_19_04_9353.jpg
/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_15_10332.jpg
/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_25_10376.jpg
/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_45_10330.jpg
/home/pi/Desktop/images/20012025/08/19/image_20012025_08_19_55_10444.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":["1330765917","1330765883","1330765856","1330765886","1330765922","1330765903"],"photo_ids_order":["1330765856","1330765883","1330765886","1330765903","1330765917","1330765922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e4a0ade0484bef0579934b10902b799.jpg","text":"TemporaryFile(/tmp/multipartBody6732226831762812746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612055378,"filename":"image_20012025_08_19_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbca8c48354caac8e42cfa327bb2da73.jpg","text":"TemporaryFile(/tmp/multipartBody2505107411678529919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612055378,"filename":"image_20012025_08_19_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47b34279c798903536453635184f537f.jpg","text":"TemporaryFile(/tmp/multipartBody9222225752272527144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612055378,"filename":"image_20012025_08_18_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6af5d5006fe98c4d24d2d08766f7ced7.jpg","text":"TemporaryFile(/tmp/multipartBody6931806873572058863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612055378,"filename":"image_20012025_08_19_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/570da3d1d23cd155842a7b1da10b20ee.jpg","text":"TemporaryFile(/tmp/multipartBody5087543876361163561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612055378,"filename":"image_20012025_08_19_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a2c4ec79657d1684856b687c5c55643.jpg","text":"TemporaryFile(/tmp/multipartBody1957467317795352357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612055378,"filename":"image_20012025_08_19_25_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765886","file1":"1330765883","file0":"1330765856","file4":"1330765917","file5":"1330765922","file3":"1330765903"},"map_files_photo_id_array":[{"photo_id":"1330765922","filename":"file5"},{"photo_id":"1330765886","filename":"file2"},{"photo_id":"1330765917","filename":"file4"},{"photo_id":"1330765883","filename":"file1"},{"photo_id":"1330765856","filename":"file0"},{"photo_id":"1330765903","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330765917":["hashtag1","hashtag2"]},{"1330765883":["hashtag1","hashtag2"]},{"1330765856":["hashtag1","hashtag2"]},{"1330765886":["hashtag1","hashtag2"]},{"1330765922":["hashtag1","hashtag2"]},{"1330765903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330765917, 1330765883, 1330765856, 1330765886, 1330765922, 1330765903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.5905065536499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:00:42.272113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_55_9427.jpg', '/home/pi/Desktop/images/23012025/06/57/image_23012025_06_58_06_10324.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_15_9434.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_26_10439.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_36_10338.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_45_9515.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_57_55_9427.jpg
/home/pi/Desktop/images/23012025/06/57/image_23012025_06_58_06_10324.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_15_9434.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_26_10439.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_36_10338.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_45_9515.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":["1330765928","1330765933","1330765942","1330765936","1330765939","1330765930"],"photo_ids_order":["1330765928","1330765930","1330765933","1330765936","1330765939","1330765942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/daf8cabe4d4e85f9961db375135ef677.jpg","text":"TemporaryFile(/tmp/multipartBody1755614998656723876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612103226,"filename":"image_23012025_06_57_55_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3e73ce3c6c05b477f573b8dcae5340e.jpg","text":"TemporaryFile(/tmp/multipartBody5195785792866325466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612103226,"filename":"image_23012025_06_58_15_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c4d0aebe57e22ee175e0a35ace1e74e.jpg","text":"TemporaryFile(/tmp/multipartBody800142262843145973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612103226,"filename":"image_23012025_06_58_45_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f43887409dc89b8333d426fb92dcc02.jpg","text":"TemporaryFile(/tmp/multipartBody1252751919365855806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612103226,"filename":"image_23012025_06_58_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06df57b39638516a16dac371b45eb56c.jpg","text":"TemporaryFile(/tmp/multipartBody173205929765117114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612103226,"filename":"image_23012025_06_58_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/719c8148be742eb13ccd1f8b06a97957.jpg","text":"TemporaryFile(/tmp/multipartBody425842233787452635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612103226,"filename":"image_23012025_06_58_06_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330765933","file1":"1330765930","file0":"1330765928","file4":"1330765939","file5":"1330765942","file3":"1330765936"},"map_files_photo_id_array":[{"photo_id":"1330765942","filename":"file5"},{"photo_id":"1330765933","filename":"file2"},{"photo_id":"1330765939","filename":"file4"},{"photo_id":"1330765930","filename":"file1"},{"photo_id":"1330765928","filename":"file0"},{"photo_id":"1330765936","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330765928":["hashtag1","hashtag2"]},{"1330765933":["hashtag1","hashtag2"]},{"1330765942":["hashtag1","hashtag2"]},{"1330765936":["hashtag1","hashtag2"]},{"1330765939":["hashtag1","hashtag2"]},{"1330765930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330765928, 1330765933, 1330765942, 1330765936, 1330765939, 1330765930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52384352684021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:01:32.311450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_56_10410.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_59_05_9415.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_16_10334.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_26_10399.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_35_9421.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_46_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_56_10410.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_59_05_9415.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_16_10334.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_26_10399.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_35_9421.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_46_10333.jpg
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: 0.5226495265960693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:01:42.417719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_56_10410.jpg', '/home/pi/Desktop/images/23012025/06/58/image_23012025_06_59_05_9415.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_16_10334.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_26_10399.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_35_9421.jpg', '/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_46_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_58_56_10410.jpg
/home/pi/Desktop/images/23012025/06/58/image_23012025_06_59_05_9415.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_16_10334.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_26_10399.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_35_9421.jpg
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_46_10333.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":["1330766109","1330766118","1330766096","1330766114","1330766102","1330766116"],"photo_ids_order":["1330766096","1330766102","1330766109","1330766114","1330766116","1330766118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03caa7ab16e78d4088fda913dc65a68d.jpg","text":"TemporaryFile(/tmp/multipartBody4459204068695119967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612163361,"filename":"image_23012025_06_59_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe531512407266b6ee701ecd5ae85fab.jpg","text":"TemporaryFile(/tmp/multipartBody1987132149002825822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612163361,"filename":"image_23012025_06_59_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4f438ee70c58822da72cd6552970d18.jpg","text":"TemporaryFile(/tmp/multipartBody9039209932459794756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612163361,"filename":"image_23012025_06_58_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3897fdc1b02f4d04b5260c3b6f539ee8.jpg","text":"TemporaryFile(/tmp/multipartBody224204825612833921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612163361,"filename":"image_23012025_06_59_26_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11526038e404e0f5fa94cb33036d9fae.jpg","text":"TemporaryFile(/tmp/multipartBody8062406378546393566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612163361,"filename":"image_23012025_06_59_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea0880b96edf36ada9b438303a647606.jpg","text":"TemporaryFile(/tmp/multipartBody800644321188087736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612163361,"filename":"image_23012025_06_59_35_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766109","file1":"1330766102","file0":"1330766096","file4":"1330766116","file5":"1330766118","file3":"1330766114"},"map_files_photo_id_array":[{"photo_id":"1330766118","filename":"file5"},{"photo_id":"1330766109","filename":"file2"},{"photo_id":"1330766116","filename":"file4"},{"photo_id":"1330766102","filename":"file1"},{"photo_id":"1330766096","filename":"file0"},{"photo_id":"1330766114","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766109":["hashtag1","hashtag2"]},{"1330766118":["hashtag1","hashtag2"]},{"1330766096":["hashtag1","hashtag2"]},{"1330766114":["hashtag1","hashtag2"]},{"1330766102":["hashtag1","hashtag2"]},{"1330766116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766109, 1330766118, 1330766096, 1330766114, 1330766102, 1330766116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33510994911194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:02:32.446922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_55_9477.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_16_10071.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_26_10350.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_36_10339.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_46_9398.jpg', '/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_56_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/06/59/image_23012025_06_59_55_9477.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_16_10071.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_26_10350.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_36_10339.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_46_9398.jpg
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_00_56_10417.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":["1330766256","1330766261","1330766162","1330766258","1330766164","1330766260"],"photo_ids_order":["1330766162","1330766164","1330766256","1330766258","1330766260","1330766261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53cfc071ad5c785ab6dc344e9d3820c6.jpg","text":"TemporaryFile(/tmp/multipartBody1050115095264202434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612213341,"filename":"image_23012025_07_00_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbcaed23cb8fdab4a1377ea371ce6bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6103671491988705791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612213341,"filename":"image_23012025_07_00_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b90131d090a5d354679a9e6370ae0651.jpg","text":"TemporaryFile(/tmp/multipartBody511296163476224841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612213341,"filename":"image_23012025_06_59_55_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/375fedecab2975e6210762a4d26d0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2951102245403595038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612213341,"filename":"image_23012025_07_00_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d51e585731e90597ffe1ed29f654da9b.jpg","text":"TemporaryFile(/tmp/multipartBody8821222218361292436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612213341,"filename":"image_23012025_07_00_16_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f8f1a1b59d8054e9f09965e74290aca.jpg","text":"TemporaryFile(/tmp/multipartBody138642727698771623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612213341,"filename":"image_23012025_07_00_46_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766256","file1":"1330766164","file0":"1330766162","file4":"1330766260","file5":"1330766261","file3":"1330766258"},"map_files_photo_id_array":[{"photo_id":"1330766261","filename":"file5"},{"photo_id":"1330766256","filename":"file2"},{"photo_id":"1330766260","filename":"file4"},{"photo_id":"1330766164","filename":"file1"},{"photo_id":"1330766162","filename":"file0"},{"photo_id":"1330766258","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766256":["hashtag1","hashtag2"]},{"1330766261":["hashtag1","hashtag2"]},{"1330766162":["hashtag1","hashtag2"]},{"1330766258":["hashtag1","hashtag2"]},{"1330766164":["hashtag1","hashtag2"]},{"1330766260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766256, 1330766261, 1330766162, 1330766258, 1330766164, 1330766260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79872703552246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:03:32.614326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/00/image_23012025_07_01_06_10339.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_16_9324.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_26_10448.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_36_9329.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_46_10343.jpg', '/home/pi/Desktop/images/23012025/07/01/image_23012025_07_02_06_9317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/00/image_23012025_07_01_06_10339.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_16_9324.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_26_10448.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_36_9329.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_01_46_10343.jpg
/home/pi/Desktop/images/23012025/07/01/image_23012025_07_02_06_9317.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":["1330766340","1330766337","1330766332","1330766326","1330766335","1330766317"],"photo_ids_order":["1330766317","1330766326","1330766332","1330766335","1330766337","1330766340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51eb178d37f773ef84a7a06132b0f269.jpg","text":"TemporaryFile(/tmp/multipartBody4689341403605629203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612273507,"filename":"image_23012025_07_02_06_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ba83c4b418afa61cc1df571011e6e4b.jpg","text":"TemporaryFile(/tmp/multipartBody1610562779963351225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612273507,"filename":"image_23012025_07_01_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d10d45af67534f92253621ad8499bd4e.jpg","text":"TemporaryFile(/tmp/multipartBody4177440607517017560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612273507,"filename":"image_23012025_07_01_26_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dfd12da2a92d72855eea23a5e5aec25.jpg","text":"TemporaryFile(/tmp/multipartBody260187478524404177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612273507,"filename":"image_23012025_07_01_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b63456e65c613f3790cb9e545511863.jpg","text":"TemporaryFile(/tmp/multipartBody1256128686570408904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612273507,"filename":"image_23012025_07_01_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/216bcba180e5075e48ea8d0b81fa7d58.jpg","text":"TemporaryFile(/tmp/multipartBody1204166609361404539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612273507,"filename":"image_23012025_07_01_06_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766332","file1":"1330766326","file0":"1330766317","file4":"1330766337","file5":"1330766340","file3":"1330766335"},"map_files_photo_id_array":[{"photo_id":"1330766340","filename":"file5"},{"photo_id":"1330766332","filename":"file2"},{"photo_id":"1330766337","filename":"file4"},{"photo_id":"1330766326","filename":"file1"},{"photo_id":"1330766317","filename":"file0"},{"photo_id":"1330766335","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766340":["hashtag1","hashtag2"]},{"1330766337":["hashtag1","hashtag2"]},{"1330766332":["hashtag1","hashtag2"]},{"1330766326":["hashtag1","hashtag2"]},{"1330766335":["hashtag1","hashtag2"]},{"1330766317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766340, 1330766337, 1330766332, 1330766326, 1330766335, 1330766317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.553051710128784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:04:32.929365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_26_10407.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_57_10346.jpg', '/home/pi/Desktop/images/23012025/07/02/image_23012025_07_03_06_9329.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_16_10440.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_26_9346.jpg', '/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_46_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_26_10407.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_02_57_10346.jpg
/home/pi/Desktop/images/23012025/07/02/image_23012025_07_03_06_9329.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_16_10440.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_26_9346.jpg
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_03_46_10389.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":["1330766355","1330766360","1330766357","1330766362","1330766359","1330766353"],"photo_ids_order":["1330766353","1330766355","1330766357","1330766359","1330766360","1330766362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b6089214bffd033f98c78bb42fd83bc.jpg","text":"TemporaryFile(/tmp/multipartBody3002227881546004706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612333840,"filename":"image_23012025_07_02_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15bc9633259d4d1314504ecaf81f53d1.jpg","text":"TemporaryFile(/tmp/multipartBody1993969511445223848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612333840,"filename":"image_23012025_07_03_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b70daa5bcbd74c950088d2a139b8737.jpg","text":"TemporaryFile(/tmp/multipartBody2133868245428552369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612333840,"filename":"image_23012025_07_03_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12d126e8db1fcdab80e062616273a283.jpg","text":"TemporaryFile(/tmp/multipartBody1162902416702335223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612333840,"filename":"image_23012025_07_03_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5933a25565c5689e7af82a270fd1312.jpg","text":"TemporaryFile(/tmp/multipartBody4192975787095260080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612333840,"filename":"image_23012025_07_03_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2222ee8c7fcdfa1dce7345550a416ede.jpg","text":"TemporaryFile(/tmp/multipartBody4499463934677210327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612333840,"filename":"image_23012025_07_02_26_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766357","file1":"1330766355","file0":"1330766353","file4":"1330766360","file5":"1330766362","file3":"1330766359"},"map_files_photo_id_array":[{"photo_id":"1330766362","filename":"file5"},{"photo_id":"1330766357","filename":"file2"},{"photo_id":"1330766360","filename":"file4"},{"photo_id":"1330766355","filename":"file1"},{"photo_id":"1330766353","filename":"file0"},{"photo_id":"1330766359","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766355":["hashtag1","hashtag2"]},{"1330766360":["hashtag1","hashtag2"]},{"1330766357":["hashtag1","hashtag2"]},{"1330766362":["hashtag1","hashtag2"]},{"1330766359":["hashtag1","hashtag2"]},{"1330766353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766355, 1330766360, 1330766357, 1330766362, 1330766359, 1330766353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08391284942627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:05:33.096932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/03/image_23012025_07_04_06_10393.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_16_10326.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_47_10363.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_56_9360.jpg', '/home/pi/Desktop/images/23012025/07/04/image_23012025_07_05_06_10334.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_16_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/03/image_23012025_07_04_06_10393.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_16_10326.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_47_10363.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_04_56_9360.jpg
/home/pi/Desktop/images/23012025/07/04/image_23012025_07_05_06_10334.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_16_9348.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":["1330766400","1330766408","1330766410","1330766413","1330766397","1330766404"],"photo_ids_order":["1330766397","1330766400","1330766404","1330766408","1330766410","1330766413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f529146f149a85ac99544a9bc452e9fe.jpg","text":"TemporaryFile(/tmp/multipartBody399946697134808129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612394047,"filename":"image_23012025_07_04_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/947f39e64637cc80dbcba549ce5364cc.jpg","text":"TemporaryFile(/tmp/multipartBody193327103720458170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612394047,"filename":"image_23012025_07_04_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b99a05e48da22191a79ca2714499907.jpg","text":"TemporaryFile(/tmp/multipartBody296885723386037961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612394047,"filename":"image_23012025_07_05_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53406073f60c15d6b9178058060221ed.jpg","text":"TemporaryFile(/tmp/multipartBody3033317927022845564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612394047,"filename":"image_23012025_07_05_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a918d4c9540cdd83ccf960634761e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1074044506021139018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612394047,"filename":"image_23012025_07_04_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cdd0507ee626ec167ee0aa02ec6ee83.jpg","text":"TemporaryFile(/tmp/multipartBody2342393986826856175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612394047,"filename":"image_23012025_07_04_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766404","file1":"1330766400","file0":"1330766397","file4":"1330766410","file5":"1330766413","file3":"1330766408"},"map_files_photo_id_array":[{"photo_id":"1330766413","filename":"file5"},{"photo_id":"1330766404","filename":"file2"},{"photo_id":"1330766410","filename":"file4"},{"photo_id":"1330766400","filename":"file1"},{"photo_id":"1330766397","filename":"file0"},{"photo_id":"1330766408","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766400":["hashtag1","hashtag2"]},{"1330766408":["hashtag1","hashtag2"]},{"1330766410":["hashtag1","hashtag2"]},{"1330766413":["hashtag1","hashtag2"]},{"1330766397":["hashtag1","hashtag2"]},{"1330766404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766400, 1330766408, 1330766410, 1330766413, 1330766397, 1330766404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24327206611633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:06:32.407956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_36_10325.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_46_9362.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_56_10359.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_16_9342.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_36_10338.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_46_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_36_10325.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_46_9362.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_56_10359.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_16_9342.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_36_10338.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_46_9334.jpg
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: 0.5155689716339111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:06:42.447935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_36_10325.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_46_9362.jpg', '/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_56_10359.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_16_9342.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_36_10338.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_46_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_36_10325.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_46_9362.jpg
/home/pi/Desktop/images/23012025/07/05/image_23012025_07_05_56_10359.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_16_9342.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_36_10338.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_46_9334.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":["1330766436","1330766430","1330766459","1330766456","1330766478","1330766487"],"photo_ids_order":["1330766430","1330766436","1330766456","1330766459","1330766478","1330766487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45643953265b71c95b6fe69b6840119e.jpg","text":"TemporaryFile(/tmp/multipartBody7833109513005919141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612463785,"filename":"image_23012025_07_05_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3974d6bb12d40a23d22f5eda68fede1e.jpg","text":"TemporaryFile(/tmp/multipartBody6492236370520688900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612463785,"filename":"image_23012025_07_05_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9e34292e04d828dc0c3ecdfbcdfeab5.jpg","text":"TemporaryFile(/tmp/multipartBody6132000317893744236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612463785,"filename":"image_23012025_07_06_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/541dd9d56a287edcbf454dadd7418201.jpg","text":"TemporaryFile(/tmp/multipartBody4211901807040624242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612463785,"filename":"image_23012025_07_05_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cbfc6345c0a09c15c7992134e3dc5ff.jpg","text":"TemporaryFile(/tmp/multipartBody427829281556196916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612463785,"filename":"image_23012025_07_06_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/816d8b5db0dc470daf28a1b0dc73b6ec.jpg","text":"TemporaryFile(/tmp/multipartBody7118161204503747417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612463785,"filename":"image_23012025_07_06_46_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766456","file1":"1330766436","file0":"1330766430","file4":"1330766478","file5":"1330766487","file3":"1330766459"},"map_files_photo_id_array":[{"photo_id":"1330766487","filename":"file5"},{"photo_id":"1330766456","filename":"file2"},{"photo_id":"1330766478","filename":"file4"},{"photo_id":"1330766436","filename":"file1"},{"photo_id":"1330766430","filename":"file0"},{"photo_id":"1330766459","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766436":["hashtag1","hashtag2"]},{"1330766430":["hashtag1","hashtag2"]},{"1330766459":["hashtag1","hashtag2"]},{"1330766456":["hashtag1","hashtag2"]},{"1330766478":["hashtag1","hashtag2"]},{"1330766487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766436, 1330766430, 1330766459, 1330766456, 1330766478, 1330766487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94298076629639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:07:32.594007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_56_10366.jpg', '/home/pi/Desktop/images/23012025/07/06/image_23012025_07_07_07_10376.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_16_9327.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_26_10341.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_37_10333.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_06_56_10366.jpg
/home/pi/Desktop/images/23012025/07/06/image_23012025_07_07_07_10376.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_16_9327.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_26_10341.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_37_10333.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_46_9356.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":["1330766511","1330766507","1330766504","1330766494","1330766497","1330766500"],"photo_ids_order":["1330766494","1330766497","1330766500","1330766504","1330766507","1330766511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bc9855319ccac7a166a23197e6f2a6b.jpg","text":"TemporaryFile(/tmp/multipartBody8228055343235005552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612513496,"filename":"image_23012025_07_07_46_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40ea85e708a82b8ba9373c41ac1fe5b2.jpg","text":"TemporaryFile(/tmp/multipartBody7754490085378859021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612513496,"filename":"image_23012025_07_07_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b179c88ec532225b025abc8bb39b881a.jpg","text":"TemporaryFile(/tmp/multipartBody1781161689973712203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612513496,"filename":"image_23012025_07_07_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5372e234e1a6b827f755b19c6f9112f3.jpg","text":"TemporaryFile(/tmp/multipartBody3544751049683693517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612513496,"filename":"image_23012025_07_06_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb6a334c11deef74c3139356a386322b.jpg","text":"TemporaryFile(/tmp/multipartBody4883615402905342087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612513496,"filename":"image_23012025_07_07_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c582258b497ca209a37a2f5669c4eb8.jpg","text":"TemporaryFile(/tmp/multipartBody8606723141829041080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612513496,"filename":"image_23012025_07_07_16_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766500","file1":"1330766497","file0":"1330766494","file4":"1330766507","file5":"1330766511","file3":"1330766504"},"map_files_photo_id_array":[{"photo_id":"1330766511","filename":"file5"},{"photo_id":"1330766500","filename":"file2"},{"photo_id":"1330766507","filename":"file4"},{"photo_id":"1330766497","filename":"file1"},{"photo_id":"1330766494","filename":"file0"},{"photo_id":"1330766504","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766511":["hashtag1","hashtag2"]},{"1330766507":["hashtag1","hashtag2"]},{"1330766504":["hashtag1","hashtag2"]},{"1330766494":["hashtag1","hashtag2"]},{"1330766497":["hashtag1","hashtag2"]},{"1330766500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766511, 1330766507, 1330766504, 1330766494, 1330766497, 1330766500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.183754682540894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:08:32.829376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjbhda</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>888mjbhda</strong>.
uploaded 0 photos
time to upload: 29.429401397705078 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:09:33.267225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjf4fj</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>888mjf4fj</strong>.
uploaded 0 photos
time to upload: 30.55185317993164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:10:32.321012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjidp0</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>888mjidp0</strong>.
uploaded 0 photos
time to upload: 30.552868604660034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:11:32.614121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjlp2p</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>888mjlp2p</strong>.
uploaded 0 photos
time to upload: 30.525743007659912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:12:32.852936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg
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: 0.5091104507446289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:12:42.859683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mjpp0n</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>888mjpp0n</strong>.
uploaded 0 photos
time to upload: 30.528165102005005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:13:33.091269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.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 [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>888mk2la3</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>888mk2la3</strong>.
uploaded 0 photos
time to upload: 30.561747312545776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:14:32.278634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg', '/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_07_56_10352.jpg
/home/pi/Desktop/images/23012025/07/07/image_23012025_07_08_07_10336.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_16_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_26_10413.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_36_9326.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_46_10355.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":["1330766646","1330766643","1330766639","1330766648","1330766633","1330766617"],"photo_ids_order":["1330766617","1330766633","1330766639","1330766643","1330766646","1330766648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ce9416997cf805d0e47d856399db27b.jpg","text":"TemporaryFile(/tmp/multipartBody8923166351927900502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612933178,"filename":"image_23012025_07_08_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bfdc1a9b9748839ee2fbe9e5ee66a31.jpg","text":"TemporaryFile(/tmp/multipartBody5325959442687481516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612933178,"filename":"image_23012025_07_08_26_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a9e356e1a6e48eff053100592c69e34.jpg","text":"TemporaryFile(/tmp/multipartBody2750709542930830920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612933178,"filename":"image_23012025_07_08_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e534e7757fcb1e7327de92bbe1b9c68.jpg","text":"TemporaryFile(/tmp/multipartBody7796524327255612500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612933178,"filename":"image_23012025_07_08_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6eb77923d53342917c3cf4c2844738a6.jpg","text":"TemporaryFile(/tmp/multipartBody955126159236508658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612933178,"filename":"image_23012025_07_08_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7fcdae02df717ca746334e1cf9f1aad.jpg","text":"TemporaryFile(/tmp/multipartBody1083869562325801706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612933178,"filename":"image_23012025_07_07_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766639","file1":"1330766633","file0":"1330766617","file4":"1330766646","file5":"1330766648","file3":"1330766643"},"map_files_photo_id_array":[{"photo_id":"1330766648","filename":"file5"},{"photo_id":"1330766639","filename":"file2"},{"photo_id":"1330766646","filename":"file4"},{"photo_id":"1330766633","filename":"file1"},{"photo_id":"1330766617","filename":"file0"},{"photo_id":"1330766643","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766646":["hashtag1","hashtag2"]},{"1330766643":["hashtag1","hashtag2"]},{"1330766639":["hashtag1","hashtag2"]},{"1330766648":["hashtag1","hashtag2"]},{"1330766633":["hashtag1","hashtag2"]},{"1330766617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766646, 1330766643, 1330766639, 1330766648, 1330766633, 1330766617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.66047525405884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:15:32.579288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_56_10393.jpg', '/home/pi/Desktop/images/23012025/07/08/image_23012025_07_09_06_9427.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_16_10438.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_26_9337.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_36_10350.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_46_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_08_56_10393.jpg
/home/pi/Desktop/images/23012025/07/08/image_23012025_07_09_06_9427.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_16_10438.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_26_9337.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_36_10350.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_46_10451.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":["1330766667","1330766661","1330766657","1330766666","1330766654","1330766664"],"photo_ids_order":["1330766654","1330766657","1330766661","1330766664","1330766666","1330766667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c1e5f235bb82b65f7e751fdba18074a.jpg","text":"TemporaryFile(/tmp/multipartBody7918949545176231613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612993499,"filename":"image_23012025_07_09_46_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c19ee508b069a51a1ce72d4387c993d.jpg","text":"TemporaryFile(/tmp/multipartBody492094340468965466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612993499,"filename":"image_23012025_07_09_16_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4407be571d549236b1c34c15d18c3316.jpg","text":"TemporaryFile(/tmp/multipartBody3590285992533967708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612993499,"filename":"image_23012025_07_09_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34a46d0453efdc75ad165cac3f8ad0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4737191389915314363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612993499,"filename":"image_23012025_07_09_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/241180339ef6db988aff79cb6fb7c5c6.jpg","text":"TemporaryFile(/tmp/multipartBody3066903289329441302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612993499,"filename":"image_23012025_07_08_56_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/227ef7c09e3de70eeeed00ac188338c7.jpg","text":"TemporaryFile(/tmp/multipartBody6426950701000936927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737612993499,"filename":"image_23012025_07_09_26_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766661","file1":"1330766657","file0":"1330766654","file4":"1330766666","file5":"1330766667","file3":"1330766664"},"map_files_photo_id_array":[{"photo_id":"1330766667","filename":"file5"},{"photo_id":"1330766661","filename":"file2"},{"photo_id":"1330766666","filename":"file4"},{"photo_id":"1330766657","filename":"file1"},{"photo_id":"1330766654","filename":"file0"},{"photo_id":"1330766664","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766667":["hashtag1","hashtag2"]},{"1330766661":["hashtag1","hashtag2"]},{"1330766657":["hashtag1","hashtag2"]},{"1330766666":["hashtag1","hashtag2"]},{"1330766654":["hashtag1","hashtag2"]},{"1330766664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766667, 1330766661, 1330766657, 1330766666, 1330766654, 1330766664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90605902671814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:16:32.767078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_56_9348.jpg', '/home/pi/Desktop/images/23012025/07/09/image_23012025_07_10_06_10520.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_16_9336.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_26_10356.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_46_9349.jpg', '/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_56_10540.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_09_56_9348.jpg
/home/pi/Desktop/images/23012025/07/09/image_23012025_07_10_06_10520.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_16_9336.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_26_10356.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_46_9349.jpg
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_10_56_10540.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":["1330766870","1330766888","1330766881","1330766890","1330766875","1330766892"],"photo_ids_order":["1330766870","1330766875","1330766881","1330766888","1330766890","1330766892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32a1afab08b72abbe6c4ec5bfbb6cf93.jpg","text":"TemporaryFile(/tmp/multipartBody4407267353996283758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613053664,"filename":"image_23012025_07_09_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/608bd0fc86eadd4f0a8d33e20f84e247.jpg","text":"TemporaryFile(/tmp/multipartBody7499240998102590117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613053664,"filename":"image_23012025_07_10_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/271060b9e831be38baae6b1f7b246181.jpg","text":"TemporaryFile(/tmp/multipartBody1845318715979823695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613053664,"filename":"image_23012025_07_10_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d61a1a4332e2ec7b3c2a1b808be7447.jpg","text":"TemporaryFile(/tmp/multipartBody2245234501287355549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613053664,"filename":"image_23012025_07_10_46_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0beb45e02d49dbbd5accbfb812dfefe.jpg","text":"TemporaryFile(/tmp/multipartBody3968954192675214836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613053664,"filename":"image_23012025_07_10_06_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db8eca8a896fb4e4e79bd10391f4bb50.jpg","text":"TemporaryFile(/tmp/multipartBody8160997132598083144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613053664,"filename":"image_23012025_07_10_56_10540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766881","file1":"1330766875","file0":"1330766870","file4":"1330766890","file5":"1330766892","file3":"1330766888"},"map_files_photo_id_array":[{"photo_id":"1330766892","filename":"file5"},{"photo_id":"1330766881","filename":"file2"},{"photo_id":"1330766890","filename":"file4"},{"photo_id":"1330766875","filename":"file1"},{"photo_id":"1330766870","filename":"file0"},{"photo_id":"1330766888","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766870":["hashtag1","hashtag2"]},{"1330766888":["hashtag1","hashtag2"]},{"1330766881":["hashtag1","hashtag2"]},{"1330766890":["hashtag1","hashtag2"]},{"1330766875":["hashtag1","hashtag2"]},{"1330766892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766870, 1330766888, 1330766881, 1330766890, 1330766875, 1330766892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03817343711853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:17:32.924302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/10/image_23012025_07_11_07_10359.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_16_9356.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_26_10358.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_46_10353.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_56_10364.jpg', '/home/pi/Desktop/images/23012025/07/11/image_23012025_07_12_06_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/10/image_23012025_07_11_07_10359.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_16_9356.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_26_10358.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_46_10353.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_11_56_10364.jpg
/home/pi/Desktop/images/23012025/07/11/image_23012025_07_12_06_9324.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":["1330766970","1330766958","1330766937","1330766972","1330766966","1330766973"],"photo_ids_order":["1330766937","1330766958","1330766966","1330766970","1330766972","1330766973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1feb6b2c7511cd4f3bf93dc172a1ded6.jpg","text":"TemporaryFile(/tmp/multipartBody8982993893547063899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613113854,"filename":"image_23012025_07_11_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d31725d0f35ddc374c4504b3083892d.jpg","text":"TemporaryFile(/tmp/multipartBody8348288585212285119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613113854,"filename":"image_23012025_07_11_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/377ddb8368375d9de3378a6b54440f92.jpg","text":"TemporaryFile(/tmp/multipartBody6485818393498978495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613113854,"filename":"image_23012025_07_11_07_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c36faf60419b8e3835f2419e494531e5.jpg","text":"TemporaryFile(/tmp/multipartBody2387782383678295261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613113854,"filename":"image_23012025_07_11_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/641af4f4e5402183714662328d54e641.jpg","text":"TemporaryFile(/tmp/multipartBody2693442579964963931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613113854,"filename":"image_23012025_07_11_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b07ec6cfd86ae201cea4a0b50a530ccc.jpg","text":"TemporaryFile(/tmp/multipartBody2356100205273292235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613113854,"filename":"image_23012025_07_12_06_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330766966","file1":"1330766958","file0":"1330766937","file4":"1330766972","file5":"1330766973","file3":"1330766970"},"map_files_photo_id_array":[{"photo_id":"1330766973","filename":"file5"},{"photo_id":"1330766966","filename":"file2"},{"photo_id":"1330766972","filename":"file4"},{"photo_id":"1330766958","filename":"file1"},{"photo_id":"1330766937","filename":"file0"},{"photo_id":"1330766970","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330766970":["hashtag1","hashtag2"]},{"1330766958":["hashtag1","hashtag2"]},{"1330766937":["hashtag1","hashtag2"]},{"1330766972":["hashtag1","hashtag2"]},{"1330766966":["hashtag1","hashtag2"]},{"1330766973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330766970, 1330766958, 1330766937, 1330766972, 1330766966, 1330766973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69374370574951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:18:33.056951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_16_10365.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_26_10366.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_36_9304.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_46_10335.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_56_10387.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_13_06_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_16_10365.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_26_10366.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_36_9304.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_46_10335.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_56_10387.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_13_06_9318.jpg
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: 0.9393754005432129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:18:43.234312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_16_10365.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_26_10366.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_36_9304.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_46_10335.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_56_10387.jpg', '/home/pi/Desktop/images/23012025/07/12/image_23012025_07_13_06_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_16_10365.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_26_10366.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_36_9304.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_46_10335.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_12_56_10387.jpg
/home/pi/Desktop/images/23012025/07/12/image_23012025_07_13_06_9318.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":["1330767027","1330767021","1330767020","1330767023","1330767002","1330767016"],"photo_ids_order":["1330767002","1330767016","1330767020","1330767021","1330767023","1330767027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5b91357c3879fbfc6f7a5cbe53d84b9.jpg","text":"TemporaryFile(/tmp/multipartBody8606249783767433686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613184125,"filename":"image_23012025_07_13_06_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc4756f8e64147d0be21a8d14ee9fa80.jpg","text":"TemporaryFile(/tmp/multipartBody5182240666687630692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613184125,"filename":"image_23012025_07_12_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b11354f317963604d7f9492ece260e3e.jpg","text":"TemporaryFile(/tmp/multipartBody4028232185561302103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613184125,"filename":"image_23012025_07_12_36_9304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e401495d99a59682f294489c099125d.jpg","text":"TemporaryFile(/tmp/multipartBody3862114254483069416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613184125,"filename":"image_23012025_07_12_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/beec94adc84868aa5dc0c1c0717fa2c8.jpg","text":"TemporaryFile(/tmp/multipartBody993164467769208043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613184125,"filename":"image_23012025_07_12_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48b7c088bb4401dcb66403cdd7c77b93.jpg","text":"TemporaryFile(/tmp/multipartBody2976566248070506595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613184125,"filename":"image_23012025_07_12_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767020","file1":"1330767016","file0":"1330767002","file4":"1330767023","file5":"1330767027","file3":"1330767021"},"map_files_photo_id_array":[{"photo_id":"1330767027","filename":"file5"},{"photo_id":"1330767020","filename":"file2"},{"photo_id":"1330767023","filename":"file4"},{"photo_id":"1330767016","filename":"file1"},{"photo_id":"1330767002","filename":"file0"},{"photo_id":"1330767021","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767027":["hashtag1","hashtag2"]},{"1330767021":["hashtag1","hashtag2"]},{"1330767020":["hashtag1","hashtag2"]},{"1330767023":["hashtag1","hashtag2"]},{"1330767002":["hashtag1","hashtag2"]},{"1330767016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767027, 1330767021, 1330767020, 1330767023, 1330767002, 1330767016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3103141784668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:19:32.335541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_16_10394.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_26_10375.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_36_9325.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_46_10352.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_57_10354.jpg', '/home/pi/Desktop/images/23012025/07/13/image_23012025_07_14_06_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_16_10394.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_26_10375.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_36_9325.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_46_10352.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_13_57_10354.jpg
/home/pi/Desktop/images/23012025/07/13/image_23012025_07_14_06_9390.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":["1330767108","1330767092","1330767068","1330767097","1330767106","1330767081"],"photo_ids_order":["1330767068","1330767081","1330767092","1330767097","1330767106","1330767108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/082b7074f486f6390e854906ee1f4112.jpg","text":"TemporaryFile(/tmp/multipartBody1588095131046688619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613233244,"filename":"image_23012025_07_14_06_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cca69b031629557c014cc89374a6a4b.jpg","text":"TemporaryFile(/tmp/multipartBody8003655211717316121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613233244,"filename":"image_23012025_07_13_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/888ed4317dc9fd6f295065b851a955ca.jpg","text":"TemporaryFile(/tmp/multipartBody3894069479525514362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613233244,"filename":"image_23012025_07_13_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/196d85749f20279970cbccd0dd2630d2.jpg","text":"TemporaryFile(/tmp/multipartBody8548083519758686194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613233244,"filename":"image_23012025_07_13_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6c8dbdb19fc1ebd26574f74c84e9ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3289091274192317893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613233244,"filename":"image_23012025_07_13_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4426ef6e7d29f7221cba570a1e220b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6826623044678906371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613233244,"filename":"image_23012025_07_13_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767092","file1":"1330767081","file0":"1330767068","file4":"1330767106","file5":"1330767108","file3":"1330767097"},"map_files_photo_id_array":[{"photo_id":"1330767108","filename":"file5"},{"photo_id":"1330767092","filename":"file2"},{"photo_id":"1330767106","filename":"file4"},{"photo_id":"1330767081","filename":"file1"},{"photo_id":"1330767068","filename":"file0"},{"photo_id":"1330767097","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767108":["hashtag1","hashtag2"]},{"1330767092":["hashtag1","hashtag2"]},{"1330767068":["hashtag1","hashtag2"]},{"1330767097":["hashtag1","hashtag2"]},{"1330767106":["hashtag1","hashtag2"]},{"1330767081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767108, 1330767092, 1330767068, 1330767097, 1330767106, 1330767081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33007001876831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:20:32.492988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_16_10318.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_36_9313.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_46_10353.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_56_9343.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_15_06_10338.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_26_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_16_10318.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_36_9313.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_46_10353.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_56_9343.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_15_06_10338.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_26_9344.jpg
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: 0.5429720878601074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:20:42.537203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_16_10318.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_36_9313.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_46_10353.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_56_9343.jpg', '/home/pi/Desktop/images/23012025/07/14/image_23012025_07_15_06_10338.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_26_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_16_10318.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_36_9313.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_46_10353.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_14_56_9343.jpg
/home/pi/Desktop/images/23012025/07/14/image_23012025_07_15_06_10338.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_26_9344.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":["1330767179","1330767170","1330767200","1330767193","1330767163","1330767214"],"photo_ids_order":["1330767163","1330767170","1330767179","1330767193","1330767200","1330767214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0101d7dba5f8edafbbf0518833c0b2bb.jpg","text":"TemporaryFile(/tmp/multipartBody5623241929178559497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613303462,"filename":"image_23012025_07_14_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b05e89cb27b38768af2db745e503bd79.jpg","text":"TemporaryFile(/tmp/multipartBody1454644114514151471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613303462,"filename":"image_23012025_07_14_36_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38589de49fd65df28b7824baccce8186.jpg","text":"TemporaryFile(/tmp/multipartBody1677294628872392099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613303462,"filename":"image_23012025_07_15_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47e1b0d6d7f5df99610d14860b583ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4807255653670295156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613303462,"filename":"image_23012025_07_14_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8c92e49d12e7e22fdbdcaf4287f2b85.jpg","text":"TemporaryFile(/tmp/multipartBody3954443724240346887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613303462,"filename":"image_23012025_07_14_16_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef90878435229febae14079f73a2f7b0.jpg","text":"TemporaryFile(/tmp/multipartBody6134337641249203770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613303462,"filename":"image_23012025_07_15_26_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767179","file1":"1330767170","file0":"1330767163","file4":"1330767200","file5":"1330767214","file3":"1330767193"},"map_files_photo_id_array":[{"photo_id":"1330767214","filename":"file5"},{"photo_id":"1330767179","filename":"file2"},{"photo_id":"1330767200","filename":"file4"},{"photo_id":"1330767170","filename":"file1"},{"photo_id":"1330767163","filename":"file0"},{"photo_id":"1330767193","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767179":["hashtag1","hashtag2"]},{"1330767170":["hashtag1","hashtag2"]},{"1330767200":["hashtag1","hashtag2"]},{"1330767193":["hashtag1","hashtag2"]},{"1330767163":["hashtag1","hashtag2"]},{"1330767214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767179, 1330767170, 1330767200, 1330767193, 1330767163, 1330767214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.768709659576416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:21:32.688340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_36_10319.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_46_10404.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_56_9430.jpg', '/home/pi/Desktop/images/23012025/07/15/image_23012025_07_16_06_10426.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_17_10339.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_26_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_36_10319.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_46_10404.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_15_56_9430.jpg
/home/pi/Desktop/images/23012025/07/15/image_23012025_07_16_06_10426.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_17_10339.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_26_9352.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":["1330767272","1330767266","1330767248","1330767274","1330767276","1330767234"],"photo_ids_order":["1330767234","1330767248","1330767266","1330767272","1330767274","1330767276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d7201bea2e328771e93bf8cffcd069f.jpg","text":"TemporaryFile(/tmp/multipartBody4672097308712945453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613353617,"filename":"image_23012025_07_16_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f64ddf5c66f8458f88922190ba2dd2f2.jpg","text":"TemporaryFile(/tmp/multipartBody8977757779172287818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613353617,"filename":"image_23012025_07_15_56_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e374c99860777cf970104faf23f64751.jpg","text":"TemporaryFile(/tmp/multipartBody8622264914995734898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613353617,"filename":"image_23012025_07_15_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fda3867f84268ec4d14e646a841ee79.jpg","text":"TemporaryFile(/tmp/multipartBody5049806341595079170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613353617,"filename":"image_23012025_07_16_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea45217655a5c189aa6b72b582efd115.jpg","text":"TemporaryFile(/tmp/multipartBody6942489046709817696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613353617,"filename":"image_23012025_07_16_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/020e6c55f198aee7233f55b104ae7de7.jpg","text":"TemporaryFile(/tmp/multipartBody4546169399416480652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613353617,"filename":"image_23012025_07_15_36_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767266","file1":"1330767248","file0":"1330767234","file4":"1330767274","file5":"1330767276","file3":"1330767272"},"map_files_photo_id_array":[{"photo_id":"1330767276","filename":"file5"},{"photo_id":"1330767266","filename":"file2"},{"photo_id":"1330767274","filename":"file4"},{"photo_id":"1330767248","filename":"file1"},{"photo_id":"1330767234","filename":"file0"},{"photo_id":"1330767272","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767272":["hashtag1","hashtag2"]},{"1330767266":["hashtag1","hashtag2"]},{"1330767248":["hashtag1","hashtag2"]},{"1330767274":["hashtag1","hashtag2"]},{"1330767276":["hashtag1","hashtag2"]},{"1330767234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767272, 1330767266, 1330767248, 1330767274, 1330767276, 1330767234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.446338415145874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:22:32.767800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_36_10393.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_56_10443.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_17_06_10339.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_16_9370.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_36_9336.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_36_10393.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_56_10443.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_17_06_10339.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_16_9370.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_36_9336.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_46_10346.jpg
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: 0.5217924118041992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:22:42.929229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_36_10393.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_56_10443.jpg', '/home/pi/Desktop/images/23012025/07/16/image_23012025_07_17_06_10339.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_16_9370.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_36_9336.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_36_10393.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_16_56_10443.jpg
/home/pi/Desktop/images/23012025/07/16/image_23012025_07_17_06_10339.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_16_9370.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_36_9336.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_46_10346.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":["1330767338","1330767352","1330767349","1330767334","1330767346","1330767342"],"photo_ids_order":["1330767334","1330767338","1330767342","1330767346","1330767349","1330767352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ccf88edfd4fcf245ee44079a04888a4.jpg","text":"TemporaryFile(/tmp/multipartBody5599058138476700252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613423871,"filename":"image_23012025_07_16_56_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4e2965ca0862293a5dbbf3b59178bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8374719771634278522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613423871,"filename":"image_23012025_07_17_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c12bbad23fdb3b205c10625ff49ccd7.jpg","text":"TemporaryFile(/tmp/multipartBody2360234081439559688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613423871,"filename":"image_23012025_07_17_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02dbf9be5dd74064231d620fec61d970.jpg","text":"TemporaryFile(/tmp/multipartBody3710700785498703917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613423871,"filename":"image_23012025_07_16_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bc6b3f671e4dff50288590e5586357e.jpg","text":"TemporaryFile(/tmp/multipartBody30431982710024442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613423871,"filename":"image_23012025_07_17_16_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e03f9e3145bca2984242dd4aa2b754e6.jpg","text":"TemporaryFile(/tmp/multipartBody1811089140949578534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613423871,"filename":"image_23012025_07_17_06_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767342","file1":"1330767338","file0":"1330767334","file4":"1330767349","file5":"1330767352","file3":"1330767346"},"map_files_photo_id_array":[{"photo_id":"1330767352","filename":"file5"},{"photo_id":"1330767342","filename":"file2"},{"photo_id":"1330767349","filename":"file4"},{"photo_id":"1330767338","filename":"file1"},{"photo_id":"1330767334","filename":"file0"},{"photo_id":"1330767346","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767338":["hashtag1","hashtag2"]},{"1330767352":["hashtag1","hashtag2"]},{"1330767349":["hashtag1","hashtag2"]},{"1330767334":["hashtag1","hashtag2"]},{"1330767346":["hashtag1","hashtag2"]},{"1330767342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767338, 1330767352, 1330767349, 1330767334, 1330767346, 1330767342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.397743701934814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:23:32.995383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_56_10405.jpg', '/home/pi/Desktop/images/23012025/07/17/image_23012025_07_18_06_9332.jpg', '/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_16_10330.jpg', '/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_26_10376.jpg', '/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_36_9364.jpg', '/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_56_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_17_56_10405.jpg
/home/pi/Desktop/images/23012025/07/17/image_23012025_07_18_06_9332.jpg
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_16_10330.jpg
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_26_10376.jpg
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_36_9364.jpg
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_18_56_9417.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":["1330767368","1330767362","1330767365","1330767370","1330767373","1330767372"],"photo_ids_order":["1330767362","1330767365","1330767368","1330767370","1330767372","1330767373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf0b50b6035037f723cfdadb70c9c62e.jpg","text":"TemporaryFile(/tmp/multipartBody1146547683910172484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613473901,"filename":"image_23012025_07_18_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b875401df4f4d20260c9715a8e6fdee.jpg","text":"TemporaryFile(/tmp/multipartBody3380261410494470322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613473901,"filename":"image_23012025_07_17_56_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/667cb246f46f8f143adb63836daf8180.jpg","text":"TemporaryFile(/tmp/multipartBody5187583035003427076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613473901,"filename":"image_23012025_07_18_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c56de1627b0dfdce05431aa736eceb2c.jpg","text":"TemporaryFile(/tmp/multipartBody8733301969309421244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613473901,"filename":"image_23012025_07_18_26_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbeff95f7d2f916b1815480713b2d39f.jpg","text":"TemporaryFile(/tmp/multipartBody2526641690691880510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613473901,"filename":"image_23012025_07_18_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/584be8f1cd5033636e0a37a1316799eb.jpg","text":"TemporaryFile(/tmp/multipartBody7907407141905589134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613473901,"filename":"image_23012025_07_18_36_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767368","file1":"1330767365","file0":"1330767362","file4":"1330767372","file5":"1330767373","file3":"1330767370"},"map_files_photo_id_array":[{"photo_id":"1330767373","filename":"file5"},{"photo_id":"1330767368","filename":"file2"},{"photo_id":"1330767372","filename":"file4"},{"photo_id":"1330767365","filename":"file1"},{"photo_id":"1330767362","filename":"file0"},{"photo_id":"1330767370","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767368":["hashtag1","hashtag2"]},{"1330767362":["hashtag1","hashtag2"]},{"1330767365":["hashtag1","hashtag2"]},{"1330767370":["hashtag1","hashtag2"]},{"1330767373":["hashtag1","hashtag2"]},{"1330767372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767368, 1330767362, 1330767365, 1330767370, 1330767373, 1330767372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.455811738967896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:24:32.378574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/18/image_23012025_07_19_06_10364.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_26_9397.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_36_10468.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_46_9356.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_56_10351.jpg', '/home/pi/Desktop/images/23012025/07/19/image_23012025_07_20_06_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/18/image_23012025_07_19_06_10364.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_26_9397.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_36_10468.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_46_9356.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_19_56_10351.jpg
/home/pi/Desktop/images/23012025/07/19/image_23012025_07_20_06_10454.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":["1330767402","1330767392","1330767407","1330767397","1330767394","1330767399"],"photo_ids_order":["1330767392","1330767394","1330767397","1330767399","1330767402","1330767407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6730735ddd1a9e05f5fea4c9d593107b.jpg","text":"TemporaryFile(/tmp/multipartBody6241226653982469972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613533281,"filename":"image_23012025_07_19_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d517a3a9f4e58b1bb09b51c57a6e1cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1164897028326746308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613533281,"filename":"image_23012025_07_19_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bce0fb3238646f96efc7a8954d603fb.jpg","text":"TemporaryFile(/tmp/multipartBody5651291408547215971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613533281,"filename":"image_23012025_07_20_06_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c3cb59120768ed94a867cd26a74503a.jpg","text":"TemporaryFile(/tmp/multipartBody1240003276860180890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613533281,"filename":"image_23012025_07_19_36_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cb46914429febc51b0161d3478ee87f.jpg","text":"TemporaryFile(/tmp/multipartBody2615070700172733584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613533281,"filename":"image_23012025_07_19_26_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc0b39923dc91073a4c8d596064c27bd.jpg","text":"TemporaryFile(/tmp/multipartBody3622119018227034357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613533281,"filename":"image_23012025_07_19_46_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767397","file1":"1330767394","file0":"1330767392","file4":"1330767402","file5":"1330767407","file3":"1330767399"},"map_files_photo_id_array":[{"photo_id":"1330767407","filename":"file5"},{"photo_id":"1330767397","filename":"file2"},{"photo_id":"1330767402","filename":"file4"},{"photo_id":"1330767394","filename":"file1"},{"photo_id":"1330767392","filename":"file0"},{"photo_id":"1330767399","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767402":["hashtag1","hashtag2"]},{"1330767392":["hashtag1","hashtag2"]},{"1330767407":["hashtag1","hashtag2"]},{"1330767397":["hashtag1","hashtag2"]},{"1330767394":["hashtag1","hashtag2"]},{"1330767399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767402, 1330767392, 1330767407, 1330767397, 1330767394, 1330767399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66171956062317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:25:32.616388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_16_9338.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_36_10328.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_46_9340.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_56_10361.jpg', '/home/pi/Desktop/images/23012025/07/20/image_23012025_07_21_07_10342.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_16_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_16_9338.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_36_10328.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_46_9340.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_20_56_10361.jpg
/home/pi/Desktop/images/23012025/07/20/image_23012025_07_21_07_10342.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_16_9350.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":["1330767455","1330767479","1330767443","1330767446","1330767463","1330767450"],"photo_ids_order":["1330767443","1330767446","1330767450","1330767455","1330767463","1330767479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e345a133a8efe1cbb37dc3d20413f0e.jpg","text":"TemporaryFile(/tmp/multipartBody5686455489331081629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613593543,"filename":"image_23012025_07_20_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10d253ca996a9c2ff66ee9de6305657a.jpg","text":"TemporaryFile(/tmp/multipartBody4630365987223137246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613593543,"filename":"image_23012025_07_21_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94dffb366eef22ae8d8021d56e194b71.jpg","text":"TemporaryFile(/tmp/multipartBody5745603493448154957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613593543,"filename":"image_23012025_07_20_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ac3b163e1da79c1629153c23ad5c874.jpg","text":"TemporaryFile(/tmp/multipartBody40637999518177008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613593543,"filename":"image_23012025_07_20_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/917e12af160e53492d2178618ad58943.jpg","text":"TemporaryFile(/tmp/multipartBody3910052322013036390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613593543,"filename":"image_23012025_07_21_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b293a918551e6259d89af00b16e4c85.jpg","text":"TemporaryFile(/tmp/multipartBody2707378794487347273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613593543,"filename":"image_23012025_07_20_46_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767450","file1":"1330767446","file0":"1330767443","file4":"1330767463","file5":"1330767479","file3":"1330767455"},"map_files_photo_id_array":[{"photo_id":"1330767479","filename":"file5"},{"photo_id":"1330767450","filename":"file2"},{"photo_id":"1330767463","filename":"file4"},{"photo_id":"1330767446","filename":"file1"},{"photo_id":"1330767443","filename":"file0"},{"photo_id":"1330767455","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767455":["hashtag1","hashtag2"]},{"1330767479":["hashtag1","hashtag2"]},{"1330767443":["hashtag1","hashtag2"]},{"1330767446":["hashtag1","hashtag2"]},{"1330767463":["hashtag1","hashtag2"]},{"1330767450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767455, 1330767479, 1330767443, 1330767446, 1330767463, 1330767450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.400818824768066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:26:32.707409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_26_10358.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_36_9435.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_46_10440.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_56_10353.jpg', '/home/pi/Desktop/images/23012025/07/21/image_23012025_07_22_06_9360.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_16_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_26_10358.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_36_9435.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_46_10440.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_21_56_10353.jpg
/home/pi/Desktop/images/23012025/07/21/image_23012025_07_22_06_9360.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_16_10341.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":["1330767587","1330767596","1330767575","1330767591","1330767594","1330767582"],"photo_ids_order":["1330767575","1330767582","1330767587","1330767591","1330767594","1330767596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0cea1a8b6bd9040771e96fed34ce9c07.jpg","text":"TemporaryFile(/tmp/multipartBody2778054693750910280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613653641,"filename":"image_23012025_07_21_46_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf5f9b8170c606973a49ed816a6143e6.jpg","text":"TemporaryFile(/tmp/multipartBody2721441194793719062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613653641,"filename":"image_23012025_07_22_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e58b50058bc274cb2e7211c61f40b0c.jpg","text":"TemporaryFile(/tmp/multipartBody7684357537214688263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613653641,"filename":"image_23012025_07_21_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/179c795478b56b9a821a0efdfb35ad04.jpg","text":"TemporaryFile(/tmp/multipartBody8752917807913497060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613653641,"filename":"image_23012025_07_21_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70348a93e0c209227ae88a6b6f9f4243.jpg","text":"TemporaryFile(/tmp/multipartBody8551021399117417388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613653641,"filename":"image_23012025_07_22_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0417b934f979823cf0f88c65c51d6b8.jpg","text":"TemporaryFile(/tmp/multipartBody7846754285291215925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613653641,"filename":"image_23012025_07_21_36_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767587","file1":"1330767582","file0":"1330767575","file4":"1330767594","file5":"1330767596","file3":"1330767591"},"map_files_photo_id_array":[{"photo_id":"1330767596","filename":"file5"},{"photo_id":"1330767587","filename":"file2"},{"photo_id":"1330767594","filename":"file4"},{"photo_id":"1330767582","filename":"file1"},{"photo_id":"1330767575","filename":"file0"},{"photo_id":"1330767591","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767587":["hashtag1","hashtag2"]},{"1330767596":["hashtag1","hashtag2"]},{"1330767575":["hashtag1","hashtag2"]},{"1330767591":["hashtag1","hashtag2"]},{"1330767594":["hashtag1","hashtag2"]},{"1330767582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767587, 1330767596, 1330767575, 1330767591, 1330767594, 1330767582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26555275917053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:27:32.175835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_27_10409.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_36_9331.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_46_10356.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_56_9351.jpg', '/home/pi/Desktop/images/23012025/07/22/image_23012025_07_23_06_10338.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_16_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_27_10409.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_36_9331.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_46_10356.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_22_56_9351.jpg
/home/pi/Desktop/images/23012025/07/22/image_23012025_07_23_06_10338.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_16_10342.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":["1330767728","1330767635","1330767631","1330767661","1330767696","1330767675"],"photo_ids_order":["1330767631","1330767635","1330767661","1330767675","1330767696","1330767728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75e36c8c733a1b2886ec38afbfdb58f8.jpg","text":"TemporaryFile(/tmp/multipartBody2369194276422680048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613713092,"filename":"image_23012025_07_23_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92187ae403cb3fca9470fdc1b447fc99.jpg","text":"TemporaryFile(/tmp/multipartBody4859293835282914231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613713092,"filename":"image_23012025_07_22_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4e23942c6f92e7a7317f85fe42256c6.jpg","text":"TemporaryFile(/tmp/multipartBody5359350105119543881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613713092,"filename":"image_23012025_07_22_27_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/634048e51c69dda75cc3d46fbf03dca4.jpg","text":"TemporaryFile(/tmp/multipartBody6605782255853538352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613713092,"filename":"image_23012025_07_22_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/912b55bd3afa98e326dbdee2b4fe7d85.jpg","text":"TemporaryFile(/tmp/multipartBody5973470491756768892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613713092,"filename":"image_23012025_07_23_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1464c030167ac57fb178600bccf46bdd.jpg","text":"TemporaryFile(/tmp/multipartBody7142605559067555763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613713092,"filename":"image_23012025_07_22_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767661","file1":"1330767635","file0":"1330767631","file4":"1330767696","file5":"1330767728","file3":"1330767675"},"map_files_photo_id_array":[{"photo_id":"1330767728","filename":"file5"},{"photo_id":"1330767661","filename":"file2"},{"photo_id":"1330767696","filename":"file4"},{"photo_id":"1330767635","filename":"file1"},{"photo_id":"1330767631","filename":"file0"},{"photo_id":"1330767675","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767728":["hashtag1","hashtag2"]},{"1330767635":["hashtag1","hashtag2"]},{"1330767631":["hashtag1","hashtag2"]},{"1330767661":["hashtag1","hashtag2"]},{"1330767696":["hashtag1","hashtag2"]},{"1330767675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767728, 1330767635, 1330767631, 1330767661, 1330767696, 1330767675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.446024656295776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:28:32.273846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_26_9338.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_36_10455.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_56_9345.jpg', '/home/pi/Desktop/images/23012025/07/23/image_23012025_07_24_06_10361.jpg', '/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_17_10360.jpg', '/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_26_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_26_9338.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_36_10455.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_23_56_9345.jpg
/home/pi/Desktop/images/23012025/07/23/image_23012025_07_24_06_10361.jpg
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_17_10360.jpg
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_26_9342.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":["1330767884","1330767779","1330767794","1330767885","1330767817","1330767882"],"photo_ids_order":["1330767779","1330767794","1330767817","1330767882","1330767884","1330767885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7874d11d778552ada72bc0c11ea827ad.jpg","text":"TemporaryFile(/tmp/multipartBody5429052470016325927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613773167,"filename":"image_23012025_07_24_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecd7d261bdf221d8ce5444034028e66b.jpg","text":"TemporaryFile(/tmp/multipartBody4185490295998233656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613773167,"filename":"image_23012025_07_23_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5017b2e921e8bfbb75e64c5b68b9305.jpg","text":"TemporaryFile(/tmp/multipartBody7210991382072603949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613773167,"filename":"image_23012025_07_23_36_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea46738e26ad9466a0395315e360a885.jpg","text":"TemporaryFile(/tmp/multipartBody6685418305108334778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613773167,"filename":"image_23012025_07_24_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6a47a90f8d3e221c88326ce26b3128e.jpg","text":"TemporaryFile(/tmp/multipartBody2142951349145922419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613773167,"filename":"image_23012025_07_23_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c684cdde781ab2ea02e5aae43d434345.jpg","text":"TemporaryFile(/tmp/multipartBody1793914308137362467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613773167,"filename":"image_23012025_07_24_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767817","file1":"1330767794","file0":"1330767779","file4":"1330767884","file5":"1330767885","file3":"1330767882"},"map_files_photo_id_array":[{"photo_id":"1330767885","filename":"file5"},{"photo_id":"1330767817","filename":"file2"},{"photo_id":"1330767884","filename":"file4"},{"photo_id":"1330767794","filename":"file1"},{"photo_id":"1330767779","filename":"file0"},{"photo_id":"1330767882","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767884":["hashtag1","hashtag2"]},{"1330767779":["hashtag1","hashtag2"]},{"1330767794":["hashtag1","hashtag2"]},{"1330767885":["hashtag1","hashtag2"]},{"1330767817":["hashtag1","hashtag2"]},{"1330767882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767884, 1330767779, 1330767794, 1330767885, 1330767817, 1330767882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.238935708999634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:29:32.406349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_36_10427.jpg', '/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_46_9348.jpg', '/home/pi/Desktop/images/23012025/07/24/image_23012025_07_25_07_10435.jpg', '/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_16_9349.jpg', '/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_26_10360.jpg', '/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_36_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_36_10427.jpg
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_24_46_9348.jpg
/home/pi/Desktop/images/23012025/07/24/image_23012025_07_25_07_10435.jpg
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_16_9349.jpg
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_26_10360.jpg
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_25_36_9325.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":["1330767896","1330767899","1330767908","1330767892","1330767910","1330767903"],"photo_ids_order":["1330767892","1330767896","1330767899","1330767903","1330767908","1330767910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1d4dab479ce87edb2f7ce41f0651d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8894793262219583415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613833297,"filename":"image_23012025_07_24_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a5ce76436ec975ca2c7f8884e43ca34.jpg","text":"TemporaryFile(/tmp/multipartBody2654590500958885184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613833297,"filename":"image_23012025_07_25_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2227cdd1a0f021c7c5caed064aea2d58.jpg","text":"TemporaryFile(/tmp/multipartBody7843893523703442425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613833297,"filename":"image_23012025_07_25_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e6ee3d8fa8e38982bba1485cf09dd3c.jpg","text":"TemporaryFile(/tmp/multipartBody4823555812406370303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613833297,"filename":"image_23012025_07_24_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7197ed94b0e0735bd63f135d5a37997d.jpg","text":"TemporaryFile(/tmp/multipartBody5237623860298077396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613833297,"filename":"image_23012025_07_25_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f329a35ff543376961a059fddc9f976.jpg","text":"TemporaryFile(/tmp/multipartBody5390352710067438700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613833297,"filename":"image_23012025_07_25_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767899","file1":"1330767896","file0":"1330767892","file4":"1330767908","file5":"1330767910","file3":"1330767903"},"map_files_photo_id_array":[{"photo_id":"1330767910","filename":"file5"},{"photo_id":"1330767899","filename":"file2"},{"photo_id":"1330767908","filename":"file4"},{"photo_id":"1330767896","filename":"file1"},{"photo_id":"1330767892","filename":"file0"},{"photo_id":"1330767903","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767896":["hashtag1","hashtag2"]},{"1330767899":["hashtag1","hashtag2"]},{"1330767908":["hashtag1","hashtag2"]},{"1330767892":["hashtag1","hashtag2"]},{"1330767910":["hashtag1","hashtag2"]},{"1330767903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767896, 1330767899, 1330767908, 1330767892, 1330767910, 1330767903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56942939758301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:30:32.606295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/25/image_23012025_07_26_06_9327.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_27_10354.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_36_9347.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_46_10436.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_56_9339.jpg', '/home/pi/Desktop/images/23012025/07/26/image_23012025_07_27_06_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/25/image_23012025_07_26_06_9327.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_27_10354.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_36_9347.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_46_10436.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_26_56_9339.jpg
/home/pi/Desktop/images/23012025/07/26/image_23012025_07_27_06_10336.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":["1330767980","1330767982","1330767984","1330767987","1330767975","1330767954"],"photo_ids_order":["1330767954","1330767975","1330767980","1330767982","1330767984","1330767987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c232451635bfdb13c820d3f29d76590c.jpg","text":"TemporaryFile(/tmp/multipartBody6872191168772795127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613893506,"filename":"image_23012025_07_26_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d823941bb73a91b72f217e7bc4e85b06.jpg","text":"TemporaryFile(/tmp/multipartBody4872918146439114347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613893506,"filename":"image_23012025_07_26_46_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc5328c8ecf90de64429a59f47b1c41a.jpg","text":"TemporaryFile(/tmp/multipartBody4727539528656717040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613893506,"filename":"image_23012025_07_26_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75e8e35b29a0fa28bdf32ab29ba8d077.jpg","text":"TemporaryFile(/tmp/multipartBody9178598161772061566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613893506,"filename":"image_23012025_07_27_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd01bb6490b60128aeb9106c0f0af95d.jpg","text":"TemporaryFile(/tmp/multipartBody699402904094405758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613893506,"filename":"image_23012025_07_26_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8e45ce6820ded0a2925905b3f4bd073.jpg","text":"TemporaryFile(/tmp/multipartBody7399329798527903135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613893506,"filename":"image_23012025_07_26_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330767980","file1":"1330767975","file0":"1330767954","file4":"1330767984","file5":"1330767987","file3":"1330767982"},"map_files_photo_id_array":[{"photo_id":"1330767987","filename":"file5"},{"photo_id":"1330767980","filename":"file2"},{"photo_id":"1330767984","filename":"file4"},{"photo_id":"1330767975","filename":"file1"},{"photo_id":"1330767954","filename":"file0"},{"photo_id":"1330767982","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330767980":["hashtag1","hashtag2"]},{"1330767982":["hashtag1","hashtag2"]},{"1330767984":["hashtag1","hashtag2"]},{"1330767987":["hashtag1","hashtag2"]},{"1330767975":["hashtag1","hashtag2"]},{"1330767954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330767980, 1330767982, 1330767984, 1330767987, 1330767975, 1330767954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49473977088928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:31:32.850448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_16_10408.jpg', '/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_26_9341.jpg', '/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_36_10387.jpg', '/home/pi/Desktop/images/23012025/07/27/image_23012025_07_28_06_10416.jpg', '/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_16_9330.jpg', '/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_26_10533.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_16_10408.jpg
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_26_9341.jpg
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_27_36_10387.jpg
/home/pi/Desktop/images/23012025/07/27/image_23012025_07_28_06_10416.jpg
/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_16_9330.jpg
/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_26_10533.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":["1330768142","1330768145","1330768139","1330768144","1330768143","1330768137"],"photo_ids_order":["1330768137","1330768139","1330768142","1330768143","1330768144","1330768145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d7526e821d5501638c8694c33779450.jpg","text":"TemporaryFile(/tmp/multipartBody3333430424949891941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613953760,"filename":"image_23012025_07_27_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8521dcfa37e651f3588ec770777867cf.jpg","text":"TemporaryFile(/tmp/multipartBody4974738069382601988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613953760,"filename":"image_23012025_07_28_26_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e82562ea70f417e4ddf01b420d4b5abd.jpg","text":"TemporaryFile(/tmp/multipartBody3536434090336529030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613953760,"filename":"image_23012025_07_27_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/752fb0ba6a00b6765be822d8efd1a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4248299569046593317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613953760,"filename":"image_23012025_07_28_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cabbb88a953e89f1488ff97d80bbe56a.jpg","text":"TemporaryFile(/tmp/multipartBody3117709733584471589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613953760,"filename":"image_23012025_07_28_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1016ccc2365ff8d78ce9237bed17942.jpg","text":"TemporaryFile(/tmp/multipartBody952311300401396366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737613953760,"filename":"image_23012025_07_27_16_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330768142","file1":"1330768139","file0":"1330768137","file4":"1330768144","file5":"1330768145","file3":"1330768143"},"map_files_photo_id_array":[{"photo_id":"1330768145","filename":"file5"},{"photo_id":"1330768142","filename":"file2"},{"photo_id":"1330768144","filename":"file4"},{"photo_id":"1330768139","filename":"file1"},{"photo_id":"1330768137","filename":"file0"},{"photo_id":"1330768143","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330768142":["hashtag1","hashtag2"]},{"1330768145":["hashtag1","hashtag2"]},{"1330768139":["hashtag1","hashtag2"]},{"1330768144":["hashtag1","hashtag2"]},{"1330768143":["hashtag1","hashtag2"]},{"1330768137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330768142, 1330768145, 1330768139, 1330768144, 1330768143, 1330768137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.02553725242615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:32:33.130733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_46_10347.jpg', '/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_36_9385.jpg', '/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_46_10383.jpg', '/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_56_10357.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_16_10434.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_26_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/28/image_23012025_07_28_46_10347.jpg
/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_36_9385.jpg
/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_46_10383.jpg
/home/pi/Desktop/images/23012025/07/29/image_23012025_07_29_56_10357.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_16_10434.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_26_9347.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":["1330768238","1330768226","1330768189","1330768194","1330768176","1330768160"],"photo_ids_order":["1330768160","1330768176","1330768189","1330768194","1330768226","1330768238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/522e71664b57b607f82a4737786a759a.jpg","text":"TemporaryFile(/tmp/multipartBody6155303989872528557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614014028,"filename":"image_23012025_07_30_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f68fd85abc0128db04413b4a26c84a08.jpg","text":"TemporaryFile(/tmp/multipartBody4137183807270917479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614014028,"filename":"image_23012025_07_30_16_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb7b7841edcdf534d8f97606b87e8d21.jpg","text":"TemporaryFile(/tmp/multipartBody1248583160220095564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614014028,"filename":"image_23012025_07_29_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20985140eba5b32caf7f355b5bb99983.jpg","text":"TemporaryFile(/tmp/multipartBody3685800985032173916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614014028,"filename":"image_23012025_07_29_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9db7039930dd64422951ec1e7b9225b0.jpg","text":"TemporaryFile(/tmp/multipartBody2795232360204956009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614014028,"filename":"image_23012025_07_29_36_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26321a669b5472aa53f58d7535d796f8.jpg","text":"TemporaryFile(/tmp/multipartBody4618081069475925474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614014028,"filename":"image_23012025_07_28_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330768189","file1":"1330768176","file0":"1330768160","file4":"1330768226","file5":"1330768238","file3":"1330768194"},"map_files_photo_id_array":[{"photo_id":"1330768238","filename":"file5"},{"photo_id":"1330768189","filename":"file2"},{"photo_id":"1330768226","filename":"file4"},{"photo_id":"1330768176","filename":"file1"},{"photo_id":"1330768160","filename":"file0"},{"photo_id":"1330768194","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330768238":["hashtag1","hashtag2"]},{"1330768226":["hashtag1","hashtag2"]},{"1330768189":["hashtag1","hashtag2"]},{"1330768194":["hashtag1","hashtag2"]},{"1330768176":["hashtag1","hashtag2"]},{"1330768160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330768238, 1330768226, 1330768189, 1330768194, 1330768176, 1330768160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74113082885742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:33:32.531442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_36_10448.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_46_10361.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_56_9341.jpg', '/home/pi/Desktop/images/23012025/07/30/image_23012025_07_31_06_10361.jpg', '/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_16_10330.jpg', '/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_26_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_36_10448.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_46_10361.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_30_56_9341.jpg
/home/pi/Desktop/images/23012025/07/30/image_23012025_07_31_06_10361.jpg
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_16_10330.jpg
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_26_9347.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":["1330768283","1330768276","1330768296","1330768289","1330768280","1330768274"],"photo_ids_order":["1330768274","1330768276","1330768280","1330768283","1330768289","1330768296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d46c206bc3450bd52fe699f6f302e184.jpg","text":"TemporaryFile(/tmp/multipartBody4700090639861619083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614073433,"filename":"image_23012025_07_31_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09209a6ac4ed5c9e979b10dbac054d84.jpg","text":"TemporaryFile(/tmp/multipartBody1458945707629553786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614073433,"filename":"image_23012025_07_30_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3eff1c4b794b069b71e7729bfacd30de.jpg","text":"TemporaryFile(/tmp/multipartBody8254331538522143007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614073433,"filename":"image_23012025_07_31_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c10c81e86912e15453d73ee8baf31c8d.jpg","text":"TemporaryFile(/tmp/multipartBody1466573517265944288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614073433,"filename":"image_23012025_07_31_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/925f5bc23fe496571bd3032b3e8876da.jpg","text":"TemporaryFile(/tmp/multipartBody1613508658771809792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614073433,"filename":"image_23012025_07_30_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c07d789d52f69d128a9437d54d39751e.jpg","text":"TemporaryFile(/tmp/multipartBody6377113607587092469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614073433,"filename":"image_23012025_07_30_36_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330768280","file1":"1330768276","file0":"1330768274","file4":"1330768289","file5":"1330768296","file3":"1330768283"},"map_files_photo_id_array":[{"photo_id":"1330768296","filename":"file5"},{"photo_id":"1330768280","filename":"file2"},{"photo_id":"1330768289","filename":"file4"},{"photo_id":"1330768276","filename":"file1"},{"photo_id":"1330768274","filename":"file0"},{"photo_id":"1330768283","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330768283":["hashtag1","hashtag2"]},{"1330768276":["hashtag1","hashtag2"]},{"1330768296":["hashtag1","hashtag2"]},{"1330768289":["hashtag1","hashtag2"]},{"1330768280":["hashtag1","hashtag2"]},{"1330768274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330768283, 1330768276, 1330768296, 1330768289, 1330768280, 1330768274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76856970787048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:34:32.742275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_36_10438.jpg', '/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_56_10449.jpg', '/home/pi/Desktop/images/23012025/07/31/image_23012025_07_32_06_10335.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_16_9324.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_26_10450.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_37_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_36_10438.jpg
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_31_56_10449.jpg
/home/pi/Desktop/images/23012025/07/31/image_23012025_07_32_06_10335.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_16_9324.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_26_10450.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_37_10342.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":["1330768378","1330768639","1330768333","1330768324","1330768467","1330768551"],"photo_ids_order":["1330768324","1330768333","1330768378","1330768467","1330768551","1330768639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30f2d0867023dc13a8054deed71ef926.jpg","text":"TemporaryFile(/tmp/multipartBody1916655117232567196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614133662,"filename":"image_23012025_07_32_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e296dd4882c52ca010359ed8c701e96.jpg","text":"TemporaryFile(/tmp/multipartBody5135610777540676277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614133662,"filename":"image_23012025_07_32_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/358c4b9a924ba90d770e1fe0e59f01af.jpg","text":"TemporaryFile(/tmp/multipartBody436282323139902324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614133662,"filename":"image_23012025_07_31_56_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da268ff87126517da43e8a8177f7ea13.jpg","text":"TemporaryFile(/tmp/multipartBody1938813552393996057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614133662,"filename":"image_23012025_07_31_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f51fb379a36b226e9c5d2ea0d21b906c.jpg","text":"TemporaryFile(/tmp/multipartBody1873169444954622480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614133662,"filename":"image_23012025_07_32_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c937e56e303af66f22a70fdcefbebdee.jpg","text":"TemporaryFile(/tmp/multipartBody6711608136510400258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614133662,"filename":"image_23012025_07_32_26_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330768378","file1":"1330768333","file0":"1330768324","file4":"1330768551","file5":"1330768639","file3":"1330768467"},"map_files_photo_id_array":[{"photo_id":"1330768639","filename":"file5"},{"photo_id":"1330768378","filename":"file2"},{"photo_id":"1330768551","filename":"file4"},{"photo_id":"1330768333","filename":"file1"},{"photo_id":"1330768324","filename":"file0"},{"photo_id":"1330768467","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330768378":["hashtag1","hashtag2"]},{"1330768639":["hashtag1","hashtag2"]},{"1330768333":["hashtag1","hashtag2"]},{"1330768324":["hashtag1","hashtag2"]},{"1330768467":["hashtag1","hashtag2"]},{"1330768551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330768378, 1330768639, 1330768333, 1330768324, 1330768467, 1330768551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23366713523865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:35:32.886792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_46_9366.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_56_10417.jpg', '/home/pi/Desktop/images/23012025/07/32/image_23012025_07_33_06_9322.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_16_10441.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_36_9329.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_46_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_46_9366.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_32_56_10417.jpg
/home/pi/Desktop/images/23012025/07/32/image_23012025_07_33_06_9322.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_16_10441.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_36_9329.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_46_10403.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":["1330768919","1330768928","1330768907","1330768932","1330768923","1330768940"],"photo_ids_order":["1330768907","1330768919","1330768923","1330768928","1330768932","1330768940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18af6284ab6ae5d98eeda40c2a6723e7.jpg","text":"TemporaryFile(/tmp/multipartBody3880092722338036336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614193913,"filename":"image_23012025_07_32_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df41c03be97b2a16d8b706b3004fb13b.jpg","text":"TemporaryFile(/tmp/multipartBody6205248825730841498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614193913,"filename":"image_23012025_07_33_16_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ffde09b71b66e61e667713616d06713.jpg","text":"TemporaryFile(/tmp/multipartBody1840148441212185455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614193913,"filename":"image_23012025_07_32_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9225b1568303466ffaae828ab1ae8e2.jpg","text":"TemporaryFile(/tmp/multipartBody5377540413355562226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614193913,"filename":"image_23012025_07_33_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aea47017c92bf53854369b92385d23a2.jpg","text":"TemporaryFile(/tmp/multipartBody8545759444796487401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614193913,"filename":"image_23012025_07_33_06_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64c13de251d3f2d463696bceb356928a.jpg","text":"TemporaryFile(/tmp/multipartBody8931959867100391370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614193913,"filename":"image_23012025_07_33_46_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330768923","file1":"1330768919","file0":"1330768907","file4":"1330768932","file5":"1330768940","file3":"1330768928"},"map_files_photo_id_array":[{"photo_id":"1330768940","filename":"file5"},{"photo_id":"1330768923","filename":"file2"},{"photo_id":"1330768932","filename":"file4"},{"photo_id":"1330768919","filename":"file1"},{"photo_id":"1330768907","filename":"file0"},{"photo_id":"1330768928","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330768919":["hashtag1","hashtag2"]},{"1330768928":["hashtag1","hashtag2"]},{"1330768907":["hashtag1","hashtag2"]},{"1330768932":["hashtag1","hashtag2"]},{"1330768923":["hashtag1","hashtag2"]},{"1330768940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330768919, 1330768928, 1330768907, 1330768932, 1330768923, 1330768940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59071946144104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:36:33.051264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_56_9420.jpg', '/home/pi/Desktop/images/23012025/07/33/image_23012025_07_34_06_10340.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_16_10343.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_26_9326.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_36_10397.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_46_10504.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_33_56_9420.jpg
/home/pi/Desktop/images/23012025/07/33/image_23012025_07_34_06_10340.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_16_10343.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_26_9326.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_36_10397.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_46_10504.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":["1330769290","1330769236","1330769307","1330769279","1330769234","1330769321"],"photo_ids_order":["1330769234","1330769236","1330769279","1330769290","1330769307","1330769321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33c200afca84e1487343978fa7f66bca.jpg","text":"TemporaryFile(/tmp/multipartBody6636957881932090127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614253952,"filename":"image_23012025_07_34_26_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d19073e3998bc4a92a4fe155809b6eb6.jpg","text":"TemporaryFile(/tmp/multipartBody7527282437233671899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614253952,"filename":"image_23012025_07_34_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9ce6f8c3face80efb9fa57c93887f20.jpg","text":"TemporaryFile(/tmp/multipartBody1973233596013231879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614253952,"filename":"image_23012025_07_34_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03d8d3b9b680e5ad9b612d84a69d38ac.jpg","text":"TemporaryFile(/tmp/multipartBody5800103762589977376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614253952,"filename":"image_23012025_07_34_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2529f28de0a882f3b23eb4b48e127038.jpg","text":"TemporaryFile(/tmp/multipartBody7632708290659232294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614253952,"filename":"image_23012025_07_33_56_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ff4764b9363af140b851bf371163568.jpg","text":"TemporaryFile(/tmp/multipartBody123491331058288006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614253952,"filename":"image_23012025_07_34_46_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769279","file1":"1330769236","file0":"1330769234","file4":"1330769307","file5":"1330769321","file3":"1330769290"},"map_files_photo_id_array":[{"photo_id":"1330769321","filename":"file5"},{"photo_id":"1330769279","filename":"file2"},{"photo_id":"1330769307","filename":"file4"},{"photo_id":"1330769236","filename":"file1"},{"photo_id":"1330769234","filename":"file0"},{"photo_id":"1330769290","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769290":["hashtag1","hashtag2"]},{"1330769236":["hashtag1","hashtag2"]},{"1330769307":["hashtag1","hashtag2"]},{"1330769279":["hashtag1","hashtag2"]},{"1330769234":["hashtag1","hashtag2"]},{"1330769321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769290, 1330769236, 1330769307, 1330769279, 1330769234, 1330769321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75190544128418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:37:32.215971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_56_9362.jpg', '/home/pi/Desktop/images/23012025/07/34/image_23012025_07_35_06_10420.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_16_9333.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_26_10422.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_36_10396.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_34_56_9362.jpg
/home/pi/Desktop/images/23012025/07/34/image_23012025_07_35_06_10420.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_16_9333.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_26_10422.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_36_10396.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_46_9411.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":["1330769344","1330769337","1330769345","1330769339","1330769333","1330769342"],"photo_ids_order":["1330769333","1330769337","1330769339","1330769342","1330769344","1330769345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/686cf19be011dd875bba3a625b8cb6da.jpg","text":"TemporaryFile(/tmp/multipartBody728930572120490994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614313136,"filename":"image_23012025_07_35_36_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9f8c8d866022c2b3232e2de87e84025.jpg","text":"TemporaryFile(/tmp/multipartBody8490416555510684195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614313136,"filename":"image_23012025_07_35_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0aaf18788efcfc757bb34a367ad7552.jpg","text":"TemporaryFile(/tmp/multipartBody7235515019175642882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614313136,"filename":"image_23012025_07_35_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f94dd7d6abd056617d4627c43f72c556.jpg","text":"TemporaryFile(/tmp/multipartBody827454646957630944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614313136,"filename":"image_23012025_07_35_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d30c8af79a3d4dd5bcb19955df5dbb3.jpg","text":"TemporaryFile(/tmp/multipartBody3652188799710726258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614313136,"filename":"image_23012025_07_34_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/daa3a918eac4ae160b62ada80670b254.jpg","text":"TemporaryFile(/tmp/multipartBody230416244833679467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614313136,"filename":"image_23012025_07_35_26_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769339","file1":"1330769337","file0":"1330769333","file4":"1330769344","file5":"1330769345","file3":"1330769342"},"map_files_photo_id_array":[{"photo_id":"1330769345","filename":"file5"},{"photo_id":"1330769339","filename":"file2"},{"photo_id":"1330769344","filename":"file4"},{"photo_id":"1330769337","filename":"file1"},{"photo_id":"1330769333","filename":"file0"},{"photo_id":"1330769342","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769344":["hashtag1","hashtag2"]},{"1330769337":["hashtag1","hashtag2"]},{"1330769345":["hashtag1","hashtag2"]},{"1330769339":["hashtag1","hashtag2"]},{"1330769333":["hashtag1","hashtag2"]},{"1330769342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769344, 1330769337, 1330769345, 1330769339, 1330769333, 1330769342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40005350112915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:38:32.395040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_56_10425.jpg', '/home/pi/Desktop/images/23012025/07/35/image_23012025_07_36_06_9342.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_16_10326.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_26_10360.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_36_9317.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_46_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_35_56_10425.jpg
/home/pi/Desktop/images/23012025/07/35/image_23012025_07_36_06_9342.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_16_10326.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_26_10360.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_36_9317.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_46_10357.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":["1330769440","1330769422","1330769425","1330769415","1330769412","1330769438"],"photo_ids_order":["1330769412","1330769415","1330769422","1330769425","1330769438","1330769440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcd570788588b4a340280bcafbce8b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5613423348614819812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614373305,"filename":"image_23012025_07_36_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aae7c5a375d050a000d17ab0b2acfacf.jpg","text":"TemporaryFile(/tmp/multipartBody4074151345304724175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614373305,"filename":"image_23012025_07_36_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19606540382d660b6563a4d375284664.jpg","text":"TemporaryFile(/tmp/multipartBody8573211841477965747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614373305,"filename":"image_23012025_07_36_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39b44edb775fa8840db2723a589897c0.jpg","text":"TemporaryFile(/tmp/multipartBody1540774145010860291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614373305,"filename":"image_23012025_07_36_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f9a6821e37b200eebd4b70e616bed6f.jpg","text":"TemporaryFile(/tmp/multipartBody184585640215329519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614373305,"filename":"image_23012025_07_35_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/275379d5e500e81d2ec6c053fbb780b9.jpg","text":"TemporaryFile(/tmp/multipartBody8905974482071658064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614373305,"filename":"image_23012025_07_36_36_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769422","file1":"1330769415","file0":"1330769412","file4":"1330769438","file5":"1330769440","file3":"1330769425"},"map_files_photo_id_array":[{"photo_id":"1330769440","filename":"file5"},{"photo_id":"1330769422","filename":"file2"},{"photo_id":"1330769438","filename":"file4"},{"photo_id":"1330769415","filename":"file1"},{"photo_id":"1330769412","filename":"file0"},{"photo_id":"1330769425","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769440":["hashtag1","hashtag2"]},{"1330769422":["hashtag1","hashtag2"]},{"1330769425":["hashtag1","hashtag2"]},{"1330769415":["hashtag1","hashtag2"]},{"1330769412":["hashtag1","hashtag2"]},{"1330769438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769440, 1330769422, 1330769425, 1330769415, 1330769412, 1330769438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30794548988342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:39:32.550157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_56_10357.jpg', '/home/pi/Desktop/images/23012025/07/36/image_23012025_07_37_06_9329.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_16_10328.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_26_10379.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_36_9344.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_46_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_36_56_10357.jpg
/home/pi/Desktop/images/23012025/07/36/image_23012025_07_37_06_9329.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_16_10328.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_26_10379.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_36_9344.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_46_10399.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":["1330769542","1330769472","1330769466","1330769511","1330769489","1330769513"],"photo_ids_order":["1330769466","1330769472","1330769489","1330769511","1330769513","1330769542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8042bfd895b68600f10c5d23de692f7.jpg","text":"TemporaryFile(/tmp/multipartBody619987207689676918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614433446,"filename":"image_23012025_07_37_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f08cdc635f4a3214680ea5ca7f9a8a5.jpg","text":"TemporaryFile(/tmp/multipartBody4845946219325284570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614433446,"filename":"image_23012025_07_37_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/235aa64c5ac3ccc6b7073c0fd8fa2ea4.jpg","text":"TemporaryFile(/tmp/multipartBody2465596509154109206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614433446,"filename":"image_23012025_07_36_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4aab46dfb1465a42a3e9eb8ec3fc0cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1732596965085759767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614433446,"filename":"image_23012025_07_37_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/148123a5d28928aab8ad70f1592c67c3.jpg","text":"TemporaryFile(/tmp/multipartBody1548431301844814776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614433446,"filename":"image_23012025_07_37_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cecba103619a29fc70fadfc905dd8b0.jpg","text":"TemporaryFile(/tmp/multipartBody1674700474811280765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614433446,"filename":"image_23012025_07_37_36_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769489","file1":"1330769472","file0":"1330769466","file4":"1330769513","file5":"1330769542","file3":"1330769511"},"map_files_photo_id_array":[{"photo_id":"1330769542","filename":"file5"},{"photo_id":"1330769489","filename":"file2"},{"photo_id":"1330769513","filename":"file4"},{"photo_id":"1330769472","filename":"file1"},{"photo_id":"1330769466","filename":"file0"},{"photo_id":"1330769511","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769542":["hashtag1","hashtag2"]},{"1330769472":["hashtag1","hashtag2"]},{"1330769466":["hashtag1","hashtag2"]},{"1330769511":["hashtag1","hashtag2"]},{"1330769489":["hashtag1","hashtag2"]},{"1330769513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769542, 1330769472, 1330769466, 1330769511, 1330769489, 1330769513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03729844093323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:40:32.810226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_56_10371.jpg', '/home/pi/Desktop/images/23012025/07/37/image_23012025_07_38_06_9343.jpg', '/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_16_10398.jpg', '/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_56_9434.jpg', '/home/pi/Desktop/images/23012025/07/38/image_23012025_07_39_06_10392.jpg', '/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_16_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_37_56_10371.jpg
/home/pi/Desktop/images/23012025/07/37/image_23012025_07_38_06_9343.jpg
/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_16_10398.jpg
/home/pi/Desktop/images/23012025/07/38/image_23012025_07_38_56_9434.jpg
/home/pi/Desktop/images/23012025/07/38/image_23012025_07_39_06_10392.jpg
/home/pi/Desktop/images/23012025/07/39/image_23012025_07_39_16_10415.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":["1330769652","1330769646","1330769582","1330769585","1330769618","1330769606"],"photo_ids_order":["1330769582","1330769585","1330769606","1330769618","1330769646","1330769652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9bb180c61018c5a5063e5de12f1d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody7650120844769130681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614493742,"filename":"image_23012025_07_39_16_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b87f40e7e71a91a7a2ef1c1c35a9d8a.jpg","text":"TemporaryFile(/tmp/multipartBody8154029500227693721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614493742,"filename":"image_23012025_07_39_06_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6499c022d89ecbf0da58a07e14dd8164.jpg","text":"TemporaryFile(/tmp/multipartBody7273007552665027485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614493742,"filename":"image_23012025_07_37_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c47c1489f0ae20f04923f306e6d773c.jpg","text":"TemporaryFile(/tmp/multipartBody5656342087394937051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614493742,"filename":"image_23012025_07_38_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79692d767a34205a35d140b96d3eaa95.jpg","text":"TemporaryFile(/tmp/multipartBody7973198897011277022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614493742,"filename":"image_23012025_07_38_56_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d46289c092d8cb3754065f4552ac8e08.jpg","text":"TemporaryFile(/tmp/multipartBody4747649889024950391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614493742,"filename":"image_23012025_07_38_16_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769606","file1":"1330769585","file0":"1330769582","file4":"1330769646","file5":"1330769652","file3":"1330769618"},"map_files_photo_id_array":[{"photo_id":"1330769652","filename":"file5"},{"photo_id":"1330769606","filename":"file2"},{"photo_id":"1330769646","filename":"file4"},{"photo_id":"1330769585","filename":"file1"},{"photo_id":"1330769582","filename":"file0"},{"photo_id":"1330769618","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769652":["hashtag1","hashtag2"]},{"1330769646":["hashtag1","hashtag2"]},{"1330769582":["hashtag1","hashtag2"]},{"1330769585":["hashtag1","hashtag2"]},{"1330769618":["hashtag1","hashtag2"]},{"1330769606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769652, 1330769646, 1330769582, 1330769585, 1330769618, 1330769606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.87871313095093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:41:33.056637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/39/image_23012025_07_40_06_10355.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_16_9409.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_26_10436.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_36_10322.jpg', '/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_46_9370.jpg', '/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_16_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/39/image_23012025_07_40_06_10355.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_16_9409.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_26_10436.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_36_10322.jpg
/home/pi/Desktop/images/23012025/07/40/image_23012025_07_40_46_9370.jpg
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_16_9324.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":["1330769708","1330769722","1330769713","1330769724","1330769718","1330769726"],"photo_ids_order":["1330769708","1330769713","1330769718","1330769722","1330769724","1330769726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc102558d270b6ab6e5321b7d8e531d0.jpg","text":"TemporaryFile(/tmp/multipartBody3273812392963782484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614553987,"filename":"image_23012025_07_40_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e1277d032c00a73e1e6eafb9d9cf2a6.jpg","text":"TemporaryFile(/tmp/multipartBody7379023164654095123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614553987,"filename":"image_23012025_07_40_36_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38e6f3ed7b3daf63d483d98243c46b85.jpg","text":"TemporaryFile(/tmp/multipartBody2263051296072394552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614553987,"filename":"image_23012025_07_40_16_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b4f923050917f21a942340f5cbdc90b.jpg","text":"TemporaryFile(/tmp/multipartBody3124513205805150906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614553987,"filename":"image_23012025_07_40_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/158ac72e0d754684f75621cd64b67696.jpg","text":"TemporaryFile(/tmp/multipartBody6825595164863861970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614553987,"filename":"image_23012025_07_40_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a836e5686b4f66ca0811f8f3db450386.jpg","text":"TemporaryFile(/tmp/multipartBody3823671486337994524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614553987,"filename":"image_23012025_07_41_16_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769718","file1":"1330769713","file0":"1330769708","file4":"1330769724","file5":"1330769726","file3":"1330769722"},"map_files_photo_id_array":[{"photo_id":"1330769726","filename":"file5"},{"photo_id":"1330769718","filename":"file2"},{"photo_id":"1330769724","filename":"file4"},{"photo_id":"1330769713","filename":"file1"},{"photo_id":"1330769708","filename":"file0"},{"photo_id":"1330769722","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769708":["hashtag1","hashtag2"]},{"1330769722":["hashtag1","hashtag2"]},{"1330769713":["hashtag1","hashtag2"]},{"1330769724":["hashtag1","hashtag2"]},{"1330769718":["hashtag1","hashtag2"]},{"1330769726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769708, 1330769722, 1330769713, 1330769724, 1330769718, 1330769726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.740843772888184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:42:32.499713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_46_9362.jpg', '/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_56_10366.jpg', '/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_16_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_46_9362.jpg
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_56_10366.jpg
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_16_10347.jpg
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: 0.46880626678466797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:42:42.588643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_46_9362.jpg', '/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_56_10366.jpg', '/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_16_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_46_9362.jpg
/home/pi/Desktop/images/23012025/07/41/image_23012025_07_41_56_10366.jpg
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_16_10347.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":["1330769844","1330769822","1330769831"],"photo_ids_order":["1330769822","1330769831","1330769844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78cbcc86c186ec88a1582360668073de.jpg","text":"TemporaryFile(/tmp/multipartBody6334848490036930028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614623442,"filename":"image_23012025_07_42_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1ee5e5fb710b0dde526ada95f1780e2.jpg","text":"TemporaryFile(/tmp/multipartBody4005999141860730829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614623442,"filename":"image_23012025_07_41_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8210278cf48e269d5108c5dd0e363577.jpg","text":"TemporaryFile(/tmp/multipartBody1428206585329923270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614623442,"filename":"image_23012025_07_41_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769844","file1":"1330769831","file0":"1330769822"},"map_files_photo_id_array":[{"photo_id":"1330769844","filename":"file2"},{"photo_id":"1330769831","filename":"file1"},{"photo_id":"1330769822","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769844":["hashtag1","hashtag2"]},{"1330769822":["hashtag1","hashtag2"]},{"1330769831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769844, 1330769822, 1330769831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.597111701965332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:43:32.855989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_26_10392.jpg', '/home/pi/Desktop/images/23012025/07/42/image_23012025_07_43_06_9349.jpg', '/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_46_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_42_26_10392.jpg
/home/pi/Desktop/images/23012025/07/42/image_23012025_07_43_06_9349.jpg
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_46_10465.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":["1330769935","1330769940","1330769933"],"photo_ids_order":["1330769933","1330769935","1330769940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fae30f4bbceef35622d528995666ad3.jpg","text":"TemporaryFile(/tmp/multipartBody3071839701523673157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614673731,"filename":"image_23012025_07_43_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6042a6c5471eda8ee0c4e367b5bf5e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1872771880585137500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614673731,"filename":"image_23012025_07_43_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6622d34d93acd2e08bf3e72ec3ba3c44.jpg","text":"TemporaryFile(/tmp/multipartBody6695306969358991307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614673731,"filename":"image_23012025_07_42_26_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769940","file1":"1330769935","file0":"1330769933"},"map_files_photo_id_array":[{"photo_id":"1330769940","filename":"file2"},{"photo_id":"1330769935","filename":"file1"},{"photo_id":"1330769933","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330769935":["hashtag1","hashtag2"]},{"1330769940":["hashtag1","hashtag2"]},{"1330769933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330769935, 1330769940, 1330769933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.10850691795349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:44:03.584562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_15_10370.jpg', '/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_24_9390.jpg', '/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_34_10340.jpg', '/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_45_10393.jpg', '/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_54_9331.jpg', '/home/pi/Desktop/images/20012025/08/20/image_20012025_08_21_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_15_10370.jpg
/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_24_9390.jpg
/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_34_10340.jpg
/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_45_10393.jpg
/home/pi/Desktop/images/20012025/08/20/image_20012025_08_20_54_9331.jpg
/home/pi/Desktop/images/20012025/08/20/image_20012025_08_21_05_10349.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":["1330769980","1330769950","1330769967","1330769951","1330770012","1330769954"],"photo_ids_order":["1330769950","1330769951","1330769954","1330769967","1330769980","1330770012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2eaa8e99f13370d565b6dfb5867aea32.jpg","text":"TemporaryFile(/tmp/multipartBody4797582214385398506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614705196,"filename":"image_20012025_08_20_54_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b69698eb4be0669878540efd19b262a5.jpg","text":"TemporaryFile(/tmp/multipartBody5040638544179193605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614705196,"filename":"image_20012025_08_20_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85b7328a0d7ffe0a1e3538b2638c7887.jpg","text":"TemporaryFile(/tmp/multipartBody6919527023972886622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614705196,"filename":"image_20012025_08_20_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e1b85f6a9bbd76bc93508f77dcbf792.jpg","text":"TemporaryFile(/tmp/multipartBody3351098407945445230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614705196,"filename":"image_20012025_08_20_24_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1372a3e2b5469735f6e4375d949d78de.jpg","text":"TemporaryFile(/tmp/multipartBody1750418645430012841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614705196,"filename":"image_20012025_08_21_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bb1b0aeab20cf2d15822ad90549d1ff.jpg","text":"TemporaryFile(/tmp/multipartBody1606688665344971932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614705196,"filename":"image_20012025_08_20_34_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330769954","file1":"1330769951","file0":"1330769950","file4":"1330769980","file5":"1330770012","file3":"1330769967"},"map_files_photo_id_array":[{"photo_id":"1330770012","filename":"file5"},{"photo_id":"1330769954","filename":"file2"},{"photo_id":"1330769980","filename":"file4"},{"photo_id":"1330769951","filename":"file1"},{"photo_id":"1330769950","filename":"file0"},{"photo_id":"1330769967","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330769980":["hashtag1","hashtag2"]},{"1330769950":["hashtag1","hashtag2"]},{"1330769967":["hashtag1","hashtag2"]},{"1330769951":["hashtag1","hashtag2"]},{"1330770012":["hashtag1","hashtag2"]},{"1330769954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330769980, 1330769950, 1330769967, 1330769951, 1330770012, 1330769954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.10529065132141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 07:44:52.974911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/21/image_20012025_08_21_55_10343.jpg', '/home/pi/Desktop/images/20012025/08/22/image_20012025_08_22_14_9391.jpg', '/home/pi/Desktop/images/20012025/08/22/image_20012025_08_22_25_10335.jpg', '/home/pi/Desktop/images/20012025/08/22/image_20012025_08_22_55_10446.jpg', '/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_15_10339.jpg', '/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_25_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/21/image_20012025_08_21_55_10343.jpg
/home/pi/Desktop/images/20012025/08/22/image_20012025_08_22_14_9391.jpg
/home/pi/Desktop/images/20012025/08/22/image_20012025_08_22_25_10335.jpg
/home/pi/Desktop/images/20012025/08/22/image_20012025_08_22_55_10446.jpg
/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_15_10339.jpg
/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_25_10335.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":["1330770068","1330770070","1330770072","1330770069","1330770063","1330770065"],"photo_ids_order":["1330770063","1330770065","1330770068","1330770069","1330770070","1330770072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b20e2027839860ff014881969b110dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4091167189769036130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614755373,"filename":"image_20012025_08_22_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d2536a46fe60761719e2c93629210be.jpg","text":"TemporaryFile(/tmp/multipartBody5460161897295583863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614755373,"filename":"image_20012025_08_23_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7eac84c0a6e9c6178cbde23ee87cef1.jpg","text":"TemporaryFile(/tmp/multipartBody7052851082632630320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614755373,"filename":"image_20012025_08_23_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51650c511fb695f814fecd79ddc2f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2759525655597496639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614755373,"filename":"image_20012025_08_22_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c89a492de1de5c92cb86d8300b9b00bd.jpg","text":"TemporaryFile(/tmp/multipartBody1809694506741062677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614755373,"filename":"image_20012025_08_21_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2996477724b83c309b0d33b2bd66522f.jpg","text":"TemporaryFile(/tmp/multipartBody7579963659230838016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614755373,"filename":"image_20012025_08_22_14_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330770068","file1":"1330770065","file0":"1330770063","file4":"1330770070","file5":"1330770072","file3":"1330770069"},"map_files_photo_id_array":[{"photo_id":"1330770072","filename":"file5"},{"photo_id":"1330770068","filename":"file2"},{"photo_id":"1330770070","filename":"file4"},{"photo_id":"1330770065","filename":"file1"},{"photo_id":"1330770063","filename":"file0"},{"photo_id":"1330770069","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330770068":["hashtag1","hashtag2"]},{"1330770070":["hashtag1","hashtag2"]},{"1330770072":["hashtag1","hashtag2"]},{"1330770069":["hashtag1","hashtag2"]},{"1330770063":["hashtag1","hashtag2"]},{"1330770065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330770068, 1330770070, 1330770072, 1330770069, 1330770063, 1330770065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.97272443771362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:45:42.283293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_57_10357.jpg', '/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_36_10512.jpg', '/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_47_10379.jpg', '/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_56_9345.jpg', '/home/pi/Desktop/images/23012025/07/44/image_23012025_07_45_06_10405.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_16_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/43/image_23012025_07_43_57_10357.jpg
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_36_10512.jpg
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_47_10379.jpg
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_44_56_9345.jpg
/home/pi/Desktop/images/23012025/07/44/image_23012025_07_45_06_10405.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_16_9348.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":["1330770308","1330770142","1330770250","1330770121","1330770192","1330770138"],"photo_ids_order":["1330770121","1330770138","1330770142","1330770192","1330770250","1330770308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bdc12ceff3a8cf59bda31aaab114120.jpg","text":"TemporaryFile(/tmp/multipartBody8720529880546615161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614803197,"filename":"image_23012025_07_45_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d353b3e2128a67f294be5d8b1cc381f5.jpg","text":"TemporaryFile(/tmp/multipartBody4291755102623740432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614803197,"filename":"image_23012025_07_44_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac19818b3dfb1ed4463fb9c93fc33e52.jpg","text":"TemporaryFile(/tmp/multipartBody1760358100792038669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614803197,"filename":"image_23012025_07_45_06_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a587543c6f5c898b3d46c87d31dc27a.jpg","text":"TemporaryFile(/tmp/multipartBody2769988737024150645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614803197,"filename":"image_23012025_07_43_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e382b44b433ec88ad48d882ee54247f5.jpg","text":"TemporaryFile(/tmp/multipartBody917650102695021790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614803197,"filename":"image_23012025_07_44_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db806ac88405a55661c7f4f0a439f390.jpg","text":"TemporaryFile(/tmp/multipartBody4375289008496366846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614803197,"filename":"image_23012025_07_44_36_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330770142","file1":"1330770138","file0":"1330770121","file4":"1330770250","file5":"1330770308","file3":"1330770192"},"map_files_photo_id_array":[{"photo_id":"1330770308","filename":"file5"},{"photo_id":"1330770142","filename":"file2"},{"photo_id":"1330770250","filename":"file4"},{"photo_id":"1330770138","filename":"file1"},{"photo_id":"1330770121","filename":"file0"},{"photo_id":"1330770192","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330770308":["hashtag1","hashtag2"]},{"1330770142":["hashtag1","hashtag2"]},{"1330770250":["hashtag1","hashtag2"]},{"1330770121":["hashtag1","hashtag2"]},{"1330770192":["hashtag1","hashtag2"]},{"1330770138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330770308, 1330770142, 1330770250, 1330770121, 1330770192, 1330770138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.749627351760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:46:32.366412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_26_10467.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_36_10347.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_46_9352.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_56_10319.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_46_06_10318.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_16_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_26_10467.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_36_10347.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_46_9352.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_56_10319.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_46_06_10318.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_16_9318.jpg
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: 0.5179450511932373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:46:42.515314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_26_10467.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_36_10347.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_46_9352.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_56_10319.jpg', '/home/pi/Desktop/images/23012025/07/45/image_23012025_07_46_06_10318.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_16_9318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_26_10467.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_36_10347.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_46_9352.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_45_56_10319.jpg
/home/pi/Desktop/images/23012025/07/45/image_23012025_07_46_06_10318.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_16_9318.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":["1330770464","1330770466","1330770460","1330770471","1330770468","1330770423"],"photo_ids_order":["1330770423","1330770460","1330770464","1330770466","1330770468","1330770471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88109509d6a6fe5ac2e80e794368e187.jpg","text":"TemporaryFile(/tmp/multipartBody9126285911797393392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614863418,"filename":"image_23012025_07_45_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22b23052bd9cc92dbc5854526c28c678.jpg","text":"TemporaryFile(/tmp/multipartBody8161800485015148957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614863418,"filename":"image_23012025_07_45_56_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/921b789ce8db626f5b64d955e41a8050.jpg","text":"TemporaryFile(/tmp/multipartBody5199494368261991025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614863418,"filename":"image_23012025_07_45_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c966056a2e008a2090cc871a7698a44b.jpg","text":"TemporaryFile(/tmp/multipartBody5868415396518021802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614863418,"filename":"image_23012025_07_46_16_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaaa5471eba08975afed8998d7a640e2.jpg","text":"TemporaryFile(/tmp/multipartBody6397978418332963690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614863418,"filename":"image_23012025_07_46_06_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfc0ba79f26562a0b47e96c7ad1c981e.jpg","text":"TemporaryFile(/tmp/multipartBody464042555576843091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614863418,"filename":"image_23012025_07_45_26_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330770464","file1":"1330770460","file0":"1330770423","file4":"1330770468","file5":"1330770471","file3":"1330770466"},"map_files_photo_id_array":[{"photo_id":"1330770471","filename":"file5"},{"photo_id":"1330770464","filename":"file2"},{"photo_id":"1330770468","filename":"file4"},{"photo_id":"1330770460","filename":"file1"},{"photo_id":"1330770423","filename":"file0"},{"photo_id":"1330770466","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330770464":["hashtag1","hashtag2"]},{"1330770466":["hashtag1","hashtag2"]},{"1330770460":["hashtag1","hashtag2"]},{"1330770471":["hashtag1","hashtag2"]},{"1330770468":["hashtag1","hashtag2"]},{"1330770423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330770464, 1330770466, 1330770460, 1330770471, 1330770468, 1330770423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41388392448425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:47:32.611481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_26_10373.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_37_10364.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_46_9355.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_56_10364.jpg', '/home/pi/Desktop/images/23012025/07/46/image_23012025_07_47_06_9346.jpg', '/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_16_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_26_10373.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_37_10364.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_46_9355.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_46_56_10364.jpg
/home/pi/Desktop/images/23012025/07/46/image_23012025_07_47_06_9346.jpg
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_16_10341.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":["1330770496","1330770487","1330770495","1330770491","1330770485","1330770494"],"photo_ids_order":["1330770485","1330770487","1330770491","1330770494","1330770495","1330770496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/960f90f25d2674cd02c0dc906bd5ff39.jpg","text":"TemporaryFile(/tmp/multipartBody2317533914412857747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614913496,"filename":"image_23012025_07_47_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/521d165470d03d254f85258c7cafb1d1.jpg","text":"TemporaryFile(/tmp/multipartBody2326054305371700612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614913496,"filename":"image_23012025_07_46_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9cacd5a9184bbc7f0f73c02a4d1e504.jpg","text":"TemporaryFile(/tmp/multipartBody6250000835275533430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614913496,"filename":"image_23012025_07_47_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fd49e188f1e1ddc1cd7fb1cf2c0589d.jpg","text":"TemporaryFile(/tmp/multipartBody6345545206651429414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614913496,"filename":"image_23012025_07_46_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d06a33e05c54e39a9cd5e6ae7b8fb38.jpg","text":"TemporaryFile(/tmp/multipartBody6119111408753772188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614913496,"filename":"image_23012025_07_46_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a55d82bffda0e8855f08a5e9e35fbd11.jpg","text":"TemporaryFile(/tmp/multipartBody8978492579060722495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614913496,"filename":"image_23012025_07_46_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330770491","file1":"1330770487","file0":"1330770485","file4":"1330770495","file5":"1330770496","file3":"1330770494"},"map_files_photo_id_array":[{"photo_id":"1330770496","filename":"file5"},{"photo_id":"1330770491","filename":"file2"},{"photo_id":"1330770495","filename":"file4"},{"photo_id":"1330770487","filename":"file1"},{"photo_id":"1330770485","filename":"file0"},{"photo_id":"1330770494","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330770496":["hashtag1","hashtag2"]},{"1330770487":["hashtag1","hashtag2"]},{"1330770495":["hashtag1","hashtag2"]},{"1330770491":["hashtag1","hashtag2"]},{"1330770485":["hashtag1","hashtag2"]},{"1330770494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330770496, 1330770487, 1330770495, 1330770491, 1330770485, 1330770494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27918195724487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:48:32.683388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_26_10443.jpg', '/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_36_9327.jpg', '/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_46_10454.jpg', '/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_56_9435.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_16_10352.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_26_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_26_10443.jpg
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_36_9327.jpg
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_46_10454.jpg
/home/pi/Desktop/images/23012025/07/47/image_23012025_07_47_56_9435.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_16_10352.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_26_9390.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":["1330770557","1330770542","1330770568","1330770556","1330770520","1330770531"],"photo_ids_order":["1330770520","1330770531","1330770542","1330770556","1330770557","1330770568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/858727724b48b640b62604f2f934c480.jpg","text":"TemporaryFile(/tmp/multipartBody5232158674724949310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973617,"filename":"image_23012025_07_48_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13bd8cd65f1c65aa71204524854ebfc0.jpg","text":"TemporaryFile(/tmp/multipartBody3183887437421518212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973617,"filename":"image_23012025_07_47_46_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce204cff9d96d6ebea2f302707da2c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5755793748006518573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973617,"filename":"image_23012025_07_48_26_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc99c0192bbf82d71f0d848b2a33b77d.jpg","text":"TemporaryFile(/tmp/multipartBody8700246417637429287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973617,"filename":"image_23012025_07_47_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71841ae30b7e171c68d14b793bd1bfa8.jpg","text":"TemporaryFile(/tmp/multipartBody6017368752432313803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973617,"filename":"image_23012025_07_47_26_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/285e082c37a4247cc9a7f417d05ca87c.jpg","text":"TemporaryFile(/tmp/multipartBody6149836028726666560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737614973617,"filename":"image_23012025_07_47_36_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330770542","file1":"1330770531","file0":"1330770520","file4":"1330770557","file5":"1330770568","file3":"1330770556"},"map_files_photo_id_array":[{"photo_id":"1330770568","filename":"file5"},{"photo_id":"1330770542","filename":"file2"},{"photo_id":"1330770557","filename":"file4"},{"photo_id":"1330770531","filename":"file1"},{"photo_id":"1330770520","filename":"file0"},{"photo_id":"1330770556","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330770557":["hashtag1","hashtag2"]},{"1330770542":["hashtag1","hashtag2"]},{"1330770568":["hashtag1","hashtag2"]},{"1330770556":["hashtag1","hashtag2"]},{"1330770520":["hashtag1","hashtag2"]},{"1330770531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330770557, 1330770542, 1330770568, 1330770556, 1330770520, 1330770531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65855097770691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:49:33.006493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_36_10324.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_46_10339.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_56_9355.jpg', '/home/pi/Desktop/images/23012025/07/48/image_23012025_07_49_06_10412.jpg', '/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_16_10397.jpg', '/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_26_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_36_10324.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_46_10339.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_48_56_9355.jpg
/home/pi/Desktop/images/23012025/07/48/image_23012025_07_49_06_10412.jpg
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_16_10397.jpg
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_26_9345.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":["1330770595","1330770592","1330770604","1330770590","1330770603","1330770587"],"photo_ids_order":["1330770587","1330770590","1330770592","1330770595","1330770603","1330770604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cbbbf6083bf92f16e5272787c6da341.jpg","text":"TemporaryFile(/tmp/multipartBody1638434101309253280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615033937,"filename":"image_23012025_07_49_06_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c3315b3d6c25b1fe554b9500d448c91.jpg","text":"TemporaryFile(/tmp/multipartBody7939841545307189796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615033937,"filename":"image_23012025_07_48_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57cd64a102a4ba3f2b5042e38e31afe3.jpg","text":"TemporaryFile(/tmp/multipartBody8527480652595490805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615033937,"filename":"image_23012025_07_49_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6223a45d516711dd59fa2cc4654953c.jpg","text":"TemporaryFile(/tmp/multipartBody2128406471739415810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615033937,"filename":"image_23012025_07_48_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2578b7ee076636fa8a5d90bd57dd14a1.jpg","text":"TemporaryFile(/tmp/multipartBody2317913960843305950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615033937,"filename":"image_23012025_07_49_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97bccc1537659ad92261816c4bb55378.jpg","text":"TemporaryFile(/tmp/multipartBody7863632964726660344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615033937,"filename":"image_23012025_07_48_36_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330770592","file1":"1330770590","file0":"1330770587","file4":"1330770603","file5":"1330770604","file3":"1330770595"},"map_files_photo_id_array":[{"photo_id":"1330770604","filename":"file5"},{"photo_id":"1330770592","filename":"file2"},{"photo_id":"1330770603","filename":"file4"},{"photo_id":"1330770590","filename":"file1"},{"photo_id":"1330770587","filename":"file0"},{"photo_id":"1330770595","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330770595":["hashtag1","hashtag2"]},{"1330770592":["hashtag1","hashtag2"]},{"1330770604":["hashtag1","hashtag2"]},{"1330770590":["hashtag1","hashtag2"]},{"1330770603":["hashtag1","hashtag2"]},{"1330770587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330770595, 1330770592, 1330770604, 1330770590, 1330770603, 1330770587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.351272106170654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:50:32.261297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_36_10482.jpg', '/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_46_9352.jpg', '/home/pi/Desktop/images/23012025/07/49/image_23012025_07_50_07_10361.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_16_9336.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_26_10397.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_36_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_36_10482.jpg
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_49_46_9352.jpg
/home/pi/Desktop/images/23012025/07/49/image_23012025_07_50_07_10361.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_16_9336.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_26_10397.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_36_9360.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":["1330770796","1330771003","1330770709","1330770870","1330770706","1330770702"],"photo_ids_order":["1330770702","1330770706","1330770709","1330770796","1330770870","1330771003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33a0c3541c33f5f30869e9f77db89d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3425024709796388163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615093179,"filename":"image_23012025_07_50_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5703714f6c529e5e3e790fa9524ee3bd.jpg","text":"TemporaryFile(/tmp/multipartBody3485879405664674365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615093179,"filename":"image_23012025_07_50_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4c8083d76e1098602df33f4ba9dd17b.jpg","text":"TemporaryFile(/tmp/multipartBody636314655322797927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615093179,"filename":"image_23012025_07_50_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63b40f250866d51bff32f3261dd93723.jpg","text":"TemporaryFile(/tmp/multipartBody7558483848820984079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615093179,"filename":"image_23012025_07_50_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad27823140a410933911a81f65da2c4c.jpg","text":"TemporaryFile(/tmp/multipartBody4332670348688276158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615093179,"filename":"image_23012025_07_49_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95317f20d2c5bb781d5f94dfff8f6694.jpg","text":"TemporaryFile(/tmp/multipartBody6023016205160591530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615093179,"filename":"image_23012025_07_49_36_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330770709","file1":"1330770706","file0":"1330770702","file4":"1330770870","file5":"1330771003","file3":"1330770796"},"map_files_photo_id_array":[{"photo_id":"1330771003","filename":"file5"},{"photo_id":"1330770709","filename":"file2"},{"photo_id":"1330770870","filename":"file4"},{"photo_id":"1330770706","filename":"file1"},{"photo_id":"1330770702","filename":"file0"},{"photo_id":"1330770796","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330770796":["hashtag1","hashtag2"]},{"1330771003":["hashtag1","hashtag2"]},{"1330770709":["hashtag1","hashtag2"]},{"1330770870":["hashtag1","hashtag2"]},{"1330770706":["hashtag1","hashtag2"]},{"1330770702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330770796, 1330771003, 1330770709, 1330770870, 1330770706, 1330770702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46841883659363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:51:32.534862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_46_10337.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_56_10366.jpg', '/home/pi/Desktop/images/23012025/07/50/image_23012025_07_51_06_9329.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_16_10353.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_26_10361.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_36_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_46_10337.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_50_56_10366.jpg
/home/pi/Desktop/images/23012025/07/50/image_23012025_07_51_06_9329.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_16_10353.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_26_10361.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_36_9379.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":["1330771604","1330771606","1330771599","1330771593","1330771596","1330771602"],"photo_ids_order":["1330771593","1330771596","1330771599","1330771602","1330771604","1330771606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1fd6f7068e4cb4378447f7bc7a454db.jpg","text":"TemporaryFile(/tmp/multipartBody1503635801253738148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615153449,"filename":"image_23012025_07_51_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b86921154bf7dcf0fbfd779af60e2dae.jpg","text":"TemporaryFile(/tmp/multipartBody7253274447008935586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615153449,"filename":"image_23012025_07_51_36_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77e7105d93784db7d8d5059bb6a9f1ce.jpg","text":"TemporaryFile(/tmp/multipartBody637917189307856582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615153449,"filename":"image_23012025_07_51_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccc258e6bae822d040023dde3da9c261.jpg","text":"TemporaryFile(/tmp/multipartBody6996903736723494088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615153449,"filename":"image_23012025_07_50_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2812baf08d172a79004d6875ff27fd7a.jpg","text":"TemporaryFile(/tmp/multipartBody7412087743767393532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615153449,"filename":"image_23012025_07_50_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15a90c98f3927341d7e9b944e381ef01.jpg","text":"TemporaryFile(/tmp/multipartBody3661794784105379416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615153449,"filename":"image_23012025_07_51_16_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330771599","file1":"1330771596","file0":"1330771593","file4":"1330771604","file5":"1330771606","file3":"1330771602"},"map_files_photo_id_array":[{"photo_id":"1330771606","filename":"file5"},{"photo_id":"1330771599","filename":"file2"},{"photo_id":"1330771604","filename":"file4"},{"photo_id":"1330771596","filename":"file1"},{"photo_id":"1330771593","filename":"file0"},{"photo_id":"1330771602","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330771604":["hashtag1","hashtag2"]},{"1330771606":["hashtag1","hashtag2"]},{"1330771599":["hashtag1","hashtag2"]},{"1330771593":["hashtag1","hashtag2"]},{"1330771596":["hashtag1","hashtag2"]},{"1330771602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330771604, 1330771606, 1330771599, 1330771593, 1330771596, 1330771602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53574323654175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:52:32.749627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_46_10435.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_57_10352.jpg', '/home/pi/Desktop/images/23012025/07/51/image_23012025_07_52_06_9355.jpg', '/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_16_10386.jpg', '/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_36_10328.jpg', '/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_46_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_46_10435.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_51_57_10352.jpg
/home/pi/Desktop/images/23012025/07/51/image_23012025_07_52_06_9355.jpg
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_16_10386.jpg
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_36_10328.jpg
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_46_10379.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":["1330771870","1330771873","1330771921","1330771911","1330771832","1330771829"],"photo_ids_order":["1330771829","1330771832","1330771870","1330771873","1330771911","1330771921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/524d59c94d9d01dd00486e78ba87ac8e.jpg","text":"TemporaryFile(/tmp/multipartBody3376672572364121118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615213641,"filename":"image_23012025_07_52_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bcdc3266ad618a390c2b8de1f27ebf0.jpg","text":"TemporaryFile(/tmp/multipartBody2097845447750223333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615213641,"filename":"image_23012025_07_52_16_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ff00b37a66ace062322b0a343a302d6.jpg","text":"TemporaryFile(/tmp/multipartBody4749789942012934572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615213641,"filename":"image_23012025_07_52_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7905d68797d8d5e6042221f2054c8db5.jpg","text":"TemporaryFile(/tmp/multipartBody5831279801034685971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615213641,"filename":"image_23012025_07_52_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59bd9c28fd34fd804961f26fa168052c.jpg","text":"TemporaryFile(/tmp/multipartBody4639889916947700322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615213641,"filename":"image_23012025_07_51_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3e5231abf5a8b03631dd370112d1505.jpg","text":"TemporaryFile(/tmp/multipartBody7893330694811243070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615213641,"filename":"image_23012025_07_51_46_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330771870","file1":"1330771832","file0":"1330771829","file4":"1330771911","file5":"1330771921","file3":"1330771873"},"map_files_photo_id_array":[{"photo_id":"1330771921","filename":"file5"},{"photo_id":"1330771870","filename":"file2"},{"photo_id":"1330771911","filename":"file4"},{"photo_id":"1330771832","filename":"file1"},{"photo_id":"1330771829","filename":"file0"},{"photo_id":"1330771873","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330771870":["hashtag1","hashtag2"]},{"1330771873":["hashtag1","hashtag2"]},{"1330771921":["hashtag1","hashtag2"]},{"1330771911":["hashtag1","hashtag2"]},{"1330771832":["hashtag1","hashtag2"]},{"1330771829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330771870, 1330771873, 1330771921, 1330771911, 1330771832, 1330771829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54881477355957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:53:32.977717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_56_9441.jpg', '/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_16_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/52/image_23012025_07_52_56_9441.jpg
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_16_9402.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330771933","1330771928"],"photo_ids_order":["1330771928","1330771933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83fad40d7752f0baa7b34fbee66ab98c.jpg","text":"TemporaryFile(/tmp/multipartBody8735335280100268850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615273809,"filename":"image_23012025_07_53_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83e10e0a3e9be8e003dfb66294fc607b.jpg","text":"TemporaryFile(/tmp/multipartBody4126402784102103932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615273809,"filename":"image_23012025_07_52_56_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1330771933","file0":"1330771928"},"map_files_photo_id_array":[{"photo_id":"1330771933","filename":"file1"},{"photo_id":"1330771928","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330771933":["hashtag1","hashtag2"]},{"1330771928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330771933, 1330771928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.70863151550293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 07:53:53.021331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_34_9318.jpg', '/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_45_10333.jpg', '/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_55_10381.jpg', '/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_15_10370.jpg', '/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_25_10441.jpg', '/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_34_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_34_9318.jpg
/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_45_10333.jpg
/home/pi/Desktop/images/20012025/08/23/image_20012025_08_23_55_10381.jpg
/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_15_10370.jpg
/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_25_10441.jpg
/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_34_9347.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":["1330771942","1330771945","1330771944","1330771947","1330771941","1330771943"],"photo_ids_order":["1330771941","1330771942","1330771943","1330771944","1330771945","1330771947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10ef7ec9747b0f2885a49f526f14f746.jpg","text":"TemporaryFile(/tmp/multipartBody7279621108422365770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615295460,"filename":"image_20012025_08_23_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1537e93e9d9615a4cf79251fa8fcbcb8.jpg","text":"TemporaryFile(/tmp/multipartBody6605494081666854278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615295460,"filename":"image_20012025_08_24_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11b6d288b921faf3a5015f01c18cc0e2.jpg","text":"TemporaryFile(/tmp/multipartBody7513334008198840516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615295460,"filename":"image_20012025_08_24_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28a7e9c493cbc3f84954bb89e27e68c5.jpg","text":"TemporaryFile(/tmp/multipartBody7075541186031386703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615295460,"filename":"image_20012025_08_24_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/335a7bd7acc78dc9cb80ff893959fd5b.jpg","text":"TemporaryFile(/tmp/multipartBody4971053288293249083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615295460,"filename":"image_20012025_08_23_34_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a36093eea01b0b51652c19e2ebf78f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5216684379092097047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615295460,"filename":"image_20012025_08_23_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330771943","file1":"1330771942","file0":"1330771941","file4":"1330771945","file5":"1330771947","file3":"1330771944"},"map_files_photo_id_array":[{"photo_id":"1330771947","filename":"file5"},{"photo_id":"1330771943","filename":"file2"},{"photo_id":"1330771945","filename":"file4"},{"photo_id":"1330771942","filename":"file1"},{"photo_id":"1330771941","filename":"file0"},{"photo_id":"1330771944","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330771942":["hashtag1","hashtag2"]},{"1330771945":["hashtag1","hashtag2"]},{"1330771944":["hashtag1","hashtag2"]},{"1330771947":["hashtag1","hashtag2"]},{"1330771941":["hashtag1","hashtag2"]},{"1330771943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330771942, 1330771945, 1330771944, 1330771947, 1330771941, 1330771943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61716961860657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:54:42.315018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_56_10465.jpg', '/home/pi/Desktop/images/23012025/07/53/image_23012025_07_54_06_9411.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_16_10365.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_26_10364.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_36_9339.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_56_10465.jpg
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_54_06_9411.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_16_10365.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_26_10364.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_36_9339.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_46_10343.jpg
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: 0.5428867340087891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 07:54:52.202986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_45_10386.jpg', '/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_54_9328.jpg', '/home/pi/Desktop/images/20012025/08/24/image_20012025_08_25_04_10328.jpg', '/home/pi/Desktop/images/20012025/08/25/image_20012025_08_25_35_10333.jpg', '/home/pi/Desktop/images/20012025/08/25/image_20012025_08_26_05_10360.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_15_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_45_10386.jpg
/home/pi/Desktop/images/20012025/08/24/image_20012025_08_24_54_9328.jpg
/home/pi/Desktop/images/20012025/08/24/image_20012025_08_25_04_10328.jpg
/home/pi/Desktop/images/20012025/08/25/image_20012025_08_25_35_10333.jpg
/home/pi/Desktop/images/20012025/08/25/image_20012025_08_26_05_10360.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_15_10358.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":["1330772104","1330771974","1330772106","1330772075","1330772102","1330771996"],"photo_ids_order":["1330771974","1330771996","1330772075","1330772102","1330772104","1330772106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b95c04c655e4feb9cd0954e21f53edd.jpg","text":"TemporaryFile(/tmp/multipartBody1504297168235100472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615354575,"filename":"image_20012025_08_26_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af6af4566bedd1e817fddfbd42f0e8be.jpg","text":"TemporaryFile(/tmp/multipartBody5623233850411734881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615354575,"filename":"image_20012025_08_24_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f5ba74050d88f5a1c12cacf9ec0b307.jpg","text":"TemporaryFile(/tmp/multipartBody1719964321198352515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615354575,"filename":"image_20012025_08_26_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bc6f9966006ea798dd151abb2b41c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8151537393025222008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615354575,"filename":"image_20012025_08_25_04_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d79ed9d4a8d1acdd94d544b4c8a640e.jpg","text":"TemporaryFile(/tmp/multipartBody1270875952437031442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615354575,"filename":"image_20012025_08_25_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5c65b2c89cb8dd5f7c85b02a33ed0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5947091672679157336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615354575,"filename":"image_20012025_08_24_54_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772075","file1":"1330771996","file0":"1330771974","file4":"1330772104","file5":"1330772106","file3":"1330772102"},"map_files_photo_id_array":[{"photo_id":"1330772106","filename":"file5"},{"photo_id":"1330772075","filename":"file2"},{"photo_id":"1330772104","filename":"file4"},{"photo_id":"1330771996","filename":"file1"},{"photo_id":"1330771974","filename":"file0"},{"photo_id":"1330772102","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330772104":["hashtag1","hashtag2"]},{"1330771974":["hashtag1","hashtag2"]},{"1330772106":["hashtag1","hashtag2"]},{"1330772075":["hashtag1","hashtag2"]},{"1330772102":["hashtag1","hashtag2"]},{"1330771996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330772104, 1330771974, 1330772106, 1330772075, 1330772102, 1330771996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.984376430511475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:55:42.450216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_56_10465.jpg', '/home/pi/Desktop/images/23012025/07/53/image_23012025_07_54_06_9411.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_16_10365.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_26_10364.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_36_9339.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_53_56_10465.jpg
/home/pi/Desktop/images/23012025/07/53/image_23012025_07_54_06_9411.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_16_10365.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_26_10364.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_36_9339.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_46_10343.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":["1330772118","1330772121","1330772115","1330772120","1330772123","1330772126"],"photo_ids_order":["1330772115","1330772118","1330772120","1330772121","1330772123","1330772126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc671604bec8393a9a671e592c1ca60a.jpg","text":"TemporaryFile(/tmp/multipartBody999368014399491996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615403384,"filename":"image_23012025_07_54_06_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d923f4fe55c3a344c35e4cbe6ed501a.jpg","text":"TemporaryFile(/tmp/multipartBody5625477369492511017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615403384,"filename":"image_23012025_07_54_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/764c06b44f7529cb93ba8d1e4907e859.jpg","text":"TemporaryFile(/tmp/multipartBody5633460559876809303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615403384,"filename":"image_23012025_07_53_56_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba6ddc86655501c8dd32b2586636911b.jpg","text":"TemporaryFile(/tmp/multipartBody462517933244539234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615403384,"filename":"image_23012025_07_54_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bd25c4cdb3f1b6b3e9667d08148745f.jpg","text":"TemporaryFile(/tmp/multipartBody4747330781014621295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615403384,"filename":"image_23012025_07_54_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa7d3bc69b78dcb4dd3f1a38a1dcad00.jpg","text":"TemporaryFile(/tmp/multipartBody88499535151260336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615403384,"filename":"image_23012025_07_54_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772120","file1":"1330772118","file0":"1330772115","file4":"1330772123","file5":"1330772126","file3":"1330772121"},"map_files_photo_id_array":[{"photo_id":"1330772126","filename":"file5"},{"photo_id":"1330772120","filename":"file2"},{"photo_id":"1330772123","filename":"file4"},{"photo_id":"1330772118","filename":"file1"},{"photo_id":"1330772115","filename":"file0"},{"photo_id":"1330772121","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772118":["hashtag1","hashtag2"]},{"1330772121":["hashtag1","hashtag2"]},{"1330772115":["hashtag1","hashtag2"]},{"1330772120":["hashtag1","hashtag2"]},{"1330772123":["hashtag1","hashtag2"]},{"1330772126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772118, 1330772121, 1330772115, 1330772120, 1330772123, 1330772126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.500813484191895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:56:32.666623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_56_10445.jpg', '/home/pi/Desktop/images/23012025/07/54/image_23012025_07_55_06_9331.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_16_10423.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_27_10337.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_36_9351.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_46_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_54_56_10445.jpg
/home/pi/Desktop/images/23012025/07/54/image_23012025_07_55_06_9331.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_16_10423.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_27_10337.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_36_9351.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_46_10411.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":["1330772173","1330772152","1330772155","1330772143","1330772176","1330772158"],"photo_ids_order":["1330772143","1330772152","1330772155","1330772158","1330772173","1330772176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4df7dbadd66843cee9ccea9d24a9e454.jpg","text":"TemporaryFile(/tmp/multipartBody2920536659625219446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615453590,"filename":"image_23012025_07_55_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a4d3189e4c25d23edf04118278d058c.jpg","text":"TemporaryFile(/tmp/multipartBody1462093154281605568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615453590,"filename":"image_23012025_07_55_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58e49e80581a04e72740bf8a7b80fa54.jpg","text":"TemporaryFile(/tmp/multipartBody8881452766426490584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615453590,"filename":"image_23012025_07_55_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3261e212a4709c8928158b792202cadb.jpg","text":"TemporaryFile(/tmp/multipartBody1329714932576020464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615453590,"filename":"image_23012025_07_54_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18538e24b06d50f4bd7a9363aa8c876a.jpg","text":"TemporaryFile(/tmp/multipartBody1847590424467739886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615453590,"filename":"image_23012025_07_55_46_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06f8089fc31c6fdb39bc884d4d95ac13.jpg","text":"TemporaryFile(/tmp/multipartBody2899760054208664366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615453590,"filename":"image_23012025_07_55_27_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772155","file1":"1330772152","file0":"1330772143","file4":"1330772173","file5":"1330772176","file3":"1330772158"},"map_files_photo_id_array":[{"photo_id":"1330772176","filename":"file5"},{"photo_id":"1330772155","filename":"file2"},{"photo_id":"1330772173","filename":"file4"},{"photo_id":"1330772152","filename":"file1"},{"photo_id":"1330772143","filename":"file0"},{"photo_id":"1330772158","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772173":["hashtag1","hashtag2"]},{"1330772152":["hashtag1","hashtag2"]},{"1330772155":["hashtag1","hashtag2"]},{"1330772143":["hashtag1","hashtag2"]},{"1330772176":["hashtag1","hashtag2"]},{"1330772158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772173, 1330772152, 1330772155, 1330772143, 1330772176, 1330772158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25324559211731 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:57:32.853220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_56_9335.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_56_06_10338.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_16_10434.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_26_9351.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_56_9423.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_57_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_56_9335.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_56_06_10338.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_16_10434.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_26_9351.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_56_9423.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_57_06_10340.jpg
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: 0.5120604038238525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:57:42.801716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_56_9335.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_56_06_10338.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_16_10434.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_26_9351.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_56_9423.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_57_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_56_9335.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_56_06_10338.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_16_10434.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_26_9351.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_56_9423.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_57_06_10340.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 07:59:03.957447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 628, 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 dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 07:59:32.740544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_56_9335.jpg', '/home/pi/Desktop/images/23012025/07/55/image_23012025_07_56_06_10338.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_16_10434.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_26_9351.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_56_9423.jpg', '/home/pi/Desktop/images/23012025/07/56/image_23012025_07_57_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_55_56_9335.jpg
/home/pi/Desktop/images/23012025/07/55/image_23012025_07_56_06_10338.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_16_10434.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_26_9351.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_56_56_9423.jpg
/home/pi/Desktop/images/23012025/07/56/image_23012025_07_57_06_10340.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":["1330772719","1330772661","1330772706","1330772696","1330772717","1330772711"],"photo_ids_order":["1330772661","1330772696","1330772706","1330772711","1330772717","1330772719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f127a7abb209d76a2fe4922f8022275.jpg","text":"TemporaryFile(/tmp/multipartBody52394567109861022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633652,"filename":"image_23012025_07_57_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4295840ac975506427737e14d6dbbc98.jpg","text":"TemporaryFile(/tmp/multipartBody7901301650992335527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633652,"filename":"image_23012025_07_55_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b78e427ed07c42e51c22f0664c21e7e.jpg","text":"TemporaryFile(/tmp/multipartBody9141306097471896009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633652,"filename":"image_23012025_07_56_16_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd649361acdb4f2a0bfe647045a747b8.jpg","text":"TemporaryFile(/tmp/multipartBody6706099653375357474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633652,"filename":"image_23012025_07_56_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/824bffe81e7c01553633d22c865f46bd.jpg","text":"TemporaryFile(/tmp/multipartBody899624729461910329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633652,"filename":"image_23012025_07_56_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f06d7bac31fa912a5334bcfb12cddbb.jpg","text":"TemporaryFile(/tmp/multipartBody6953591162190268503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615633652,"filename":"image_23012025_07_56_26_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772706","file1":"1330772696","file0":"1330772661","file4":"1330772717","file5":"1330772719","file3":"1330772711"},"map_files_photo_id_array":[{"photo_id":"1330772719","filename":"file5"},{"photo_id":"1330772706","filename":"file2"},{"photo_id":"1330772717","filename":"file4"},{"photo_id":"1330772696","filename":"file1"},{"photo_id":"1330772661","filename":"file0"},{"photo_id":"1330772711","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772719":["hashtag1","hashtag2"]},{"1330772661":["hashtag1","hashtag2"]},{"1330772706":["hashtag1","hashtag2"]},{"1330772696":["hashtag1","hashtag2"]},{"1330772717":["hashtag1","hashtag2"]},{"1330772711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772719, 1330772661, 1330772706, 1330772696, 1330772717, 1330772711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.504639625549316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:00:33.011324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_16_9342.jpg', '/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_26_10501.jpg', '/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_36_9416.jpg', '/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_46_10410.jpg', '/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_56_10392.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_16_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_16_9342.jpg
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_26_10501.jpg
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_36_9416.jpg
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_46_10410.jpg
/home/pi/Desktop/images/23012025/07/57/image_23012025_07_57_56_10392.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_16_10417.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":["1330772742","1330772745","1330772739","1330772736","1330772747","1330772732"],"photo_ids_order":["1330772732","1330772736","1330772739","1330772742","1330772745","1330772747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d4acd8823ce090e42914d831e44d6bb.jpg","text":"TemporaryFile(/tmp/multipartBody6229609656955375067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615693907,"filename":"image_23012025_07_57_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ad42e05b9bc10e81c29cb187f5d11ff.jpg","text":"TemporaryFile(/tmp/multipartBody3462929862193437653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615693907,"filename":"image_23012025_07_57_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bd2f5e6a8e9261e390196b97fadfe8d.jpg","text":"TemporaryFile(/tmp/multipartBody572025021094322389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615693907,"filename":"image_23012025_07_57_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a342fcd698767f625120e5e9a7c38729.jpg","text":"TemporaryFile(/tmp/multipartBody8030954862449390599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615693907,"filename":"image_23012025_07_57_26_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3f025ac1dfd127ed9a2255e88701a3a.jpg","text":"TemporaryFile(/tmp/multipartBody933459296554438276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615693907,"filename":"image_23012025_07_58_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41afd6a75ef8edc67646f10e04ff3eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2326168888355793701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615693907,"filename":"image_23012025_07_57_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772739","file1":"1330772736","file0":"1330772732","file4":"1330772745","file5":"1330772747","file3":"1330772742"},"map_files_photo_id_array":[{"photo_id":"1330772747","filename":"file5"},{"photo_id":"1330772739","filename":"file2"},{"photo_id":"1330772745","filename":"file4"},{"photo_id":"1330772736","filename":"file1"},{"photo_id":"1330772732","filename":"file0"},{"photo_id":"1330772742","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772742":["hashtag1","hashtag2"]},{"1330772745":["hashtag1","hashtag2"]},{"1330772739":["hashtag1","hashtag2"]},{"1330772736":["hashtag1","hashtag2"]},{"1330772747":["hashtag1","hashtag2"]},{"1330772732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772742, 1330772745, 1330772739, 1330772736, 1330772747, 1330772732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59632992744446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:01:33.228332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_27_10404.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_36_9331.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_46_10420.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_56_9347.jpg', '/home/pi/Desktop/images/23012025/07/58/image_23012025_07_59_06_10437.jpg', '/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_16_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_27_10404.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_36_9331.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_46_10420.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_58_56_9347.jpg
/home/pi/Desktop/images/23012025/07/58/image_23012025_07_59_06_10437.jpg
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_16_10414.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":["1330772755","1330772760","1330772757","1330772753","1330772759","1330772758"],"photo_ids_order":["1330772753","1330772755","1330772757","1330772758","1330772759","1330772760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb0f1abd1e841f5e033a179652fa3b04.jpg","text":"TemporaryFile(/tmp/multipartBody8780712407202018463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615754125,"filename":"image_23012025_07_58_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b088148f81fcbf5be6e489b6767ef312.jpg","text":"TemporaryFile(/tmp/multipartBody2104230196066217128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615754125,"filename":"image_23012025_07_59_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4124ab0eaca07c2e888afffba18f38c.jpg","text":"TemporaryFile(/tmp/multipartBody9706293608103315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615754125,"filename":"image_23012025_07_58_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23c1ff594bfff746c06b31af6bf71eae.jpg","text":"TemporaryFile(/tmp/multipartBody4981475200208285507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615754125,"filename":"image_23012025_07_58_27_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7603b124c7d426a4e9ffc5ed2c568de7.jpg","text":"TemporaryFile(/tmp/multipartBody5089654125542822978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615754125,"filename":"image_23012025_07_59_06_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/609237564d2a3085198264eee5c03789.jpg","text":"TemporaryFile(/tmp/multipartBody5430228366419623090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615754125,"filename":"image_23012025_07_58_56_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772757","file1":"1330772755","file0":"1330772753","file4":"1330772759","file5":"1330772760","file3":"1330772758"},"map_files_photo_id_array":[{"photo_id":"1330772760","filename":"file5"},{"photo_id":"1330772757","filename":"file2"},{"photo_id":"1330772759","filename":"file4"},{"photo_id":"1330772755","filename":"file1"},{"photo_id":"1330772753","filename":"file0"},{"photo_id":"1330772758","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772755":["hashtag1","hashtag2"]},{"1330772760":["hashtag1","hashtag2"]},{"1330772757":["hashtag1","hashtag2"]},{"1330772753":["hashtag1","hashtag2"]},{"1330772759":["hashtag1","hashtag2"]},{"1330772758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772755, 1330772760, 1330772757, 1330772753, 1330772759, 1330772758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99986743927002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:02:32.285023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_26_9351.jpg', '/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_36_10424.jpg', '/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_46_9347.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_15_10259.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_26_10336.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_35_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_26_9351.jpg
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_36_10424.jpg
/home/pi/Desktop/images/23012025/07/59/image_23012025_07_59_46_9347.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_15_10259.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_26_10336.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_35_9413.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":["1330772781","1330772790","1330772792","1330772794","1330772797","1330772785"],"photo_ids_order":["1330772781","1330772785","1330772790","1330772792","1330772794","1330772797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a80a140f2f6d831a6e02e41d7eb9cccb.jpg","text":"TemporaryFile(/tmp/multipartBody4569247537637973408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615813202,"filename":"image_23012025_07_59_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fe5169463259b777abb95d707e5986f.jpg","text":"TemporaryFile(/tmp/multipartBody699036334953295670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615813202,"filename":"image_23012025_07_59_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bfe9e3fd3a830f2adc03d6e8cedffce.jpg","text":"TemporaryFile(/tmp/multipartBody3194938880986857669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615813202,"filename":"image_23012025_08_00_15_10259.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5124d54f7bdd3ffea0b3e60ae400617.jpg","text":"TemporaryFile(/tmp/multipartBody4388661754533856180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615813202,"filename":"image_23012025_08_00_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bdf22bfa65d7c9139a111d326387947.jpg","text":"TemporaryFile(/tmp/multipartBody4422270585226836960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615813202,"filename":"image_23012025_08_00_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04e39a01765be6f54ae8291169e9d292.jpg","text":"TemporaryFile(/tmp/multipartBody8457954233749673105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615813202,"filename":"image_23012025_07_59_36_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772790","file1":"1330772785","file0":"1330772781","file4":"1330772794","file5":"1330772797","file3":"1330772792"},"map_files_photo_id_array":[{"photo_id":"1330772797","filename":"file5"},{"photo_id":"1330772790","filename":"file2"},{"photo_id":"1330772794","filename":"file4"},{"photo_id":"1330772785","filename":"file1"},{"photo_id":"1330772781","filename":"file0"},{"photo_id":"1330772792","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772781":["hashtag1","hashtag2"]},{"1330772790":["hashtag1","hashtag2"]},{"1330772792":["hashtag1","hashtag2"]},{"1330772794":["hashtag1","hashtag2"]},{"1330772797":["hashtag1","hashtag2"]},{"1330772785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772781, 1330772790, 1330772792, 1330772794, 1330772797, 1330772785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72183442115784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:03:32.488188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_45_10344.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_56_10170.jpg', '/home/pi/Desktop/images/23012025/08/00/image_23012025_08_01_06_10336.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_15_9332.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_36_10346.jpg', '/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_56_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_45_10344.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_00_56_10170.jpg
/home/pi/Desktop/images/23012025/08/00/image_23012025_08_01_06_10336.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_15_9332.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_36_10346.jpg
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_01_56_10398.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":["1330772821","1330772809","1330772814","1330772817","1330772819","1330772807"],"photo_ids_order":["1330772807","1330772809","1330772814","1330772817","1330772819","1330772821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afa844b8ddf1f708bb9bfcf0499c6119.jpg","text":"TemporaryFile(/tmp/multipartBody3466076348875020344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615873379,"filename":"image_23012025_08_01_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a28291dde93b9ef0c8dadb14eb76c386.jpg","text":"TemporaryFile(/tmp/multipartBody7542693459548006903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615873379,"filename":"image_23012025_08_00_56_10170.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43ab72e7e5d9e3e0ada70529a93d40e5.jpg","text":"TemporaryFile(/tmp/multipartBody3775827551376405183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615873379,"filename":"image_23012025_08_01_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c594817f8165a958fd4b57fa8b48060a.jpg","text":"TemporaryFile(/tmp/multipartBody3240002478408673511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615873379,"filename":"image_23012025_08_01_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d738a0bdcd254754b8ab400e3717c5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1296538176743608032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615873379,"filename":"image_23012025_08_01_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d4081648cc3f7231c4e69bcf11f504b.jpg","text":"TemporaryFile(/tmp/multipartBody5472321497268652265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615873379,"filename":"image_23012025_08_00_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772814","file1":"1330772809","file0":"1330772807","file4":"1330772819","file5":"1330772821","file3":"1330772817"},"map_files_photo_id_array":[{"photo_id":"1330772821","filename":"file5"},{"photo_id":"1330772814","filename":"file2"},{"photo_id":"1330772819","filename":"file4"},{"photo_id":"1330772809","filename":"file1"},{"photo_id":"1330772807","filename":"file0"},{"photo_id":"1330772817","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772821":["hashtag1","hashtag2"]},{"1330772809":["hashtag1","hashtag2"]},{"1330772814":["hashtag1","hashtag2"]},{"1330772817":["hashtag1","hashtag2"]},{"1330772819":["hashtag1","hashtag2"]},{"1330772807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772821, 1330772809, 1330772814, 1330772817, 1330772819, 1330772807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61429214477539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:04:32.691843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/01/image_23012025_08_02_05_9389.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_15_10354.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_26_10340.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_46_10406.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_56_10352.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_03_05_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_02_05_9389.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_15_10354.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_26_10340.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_46_10406.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_56_10352.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_03_05_9332.jpg
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: 0.540391206741333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:04:42.776371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/01/image_23012025_08_02_05_9389.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_15_10354.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_26_10340.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_46_10406.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_56_10352.jpg', '/home/pi/Desktop/images/23012025/08/02/image_23012025_08_03_05_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/01/image_23012025_08_02_05_9389.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_15_10354.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_26_10340.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_46_10406.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_02_56_10352.jpg
/home/pi/Desktop/images/23012025/08/02/image_23012025_08_03_05_9332.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":["1330772941","1330772852","1330772840","1330772918","1330772846","1330772863"],"photo_ids_order":["1330772840","1330772846","1330772852","1330772863","1330772918","1330772941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b466ebfae46bbb0a63a88175b2e5749.jpg","text":"TemporaryFile(/tmp/multipartBody4162019790877731228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615943707,"filename":"image_23012025_08_03_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b10cec94cc026aa8fca664c2bf9d884.jpg","text":"TemporaryFile(/tmp/multipartBody6452080417625630837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615943707,"filename":"image_23012025_08_02_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f54d024d150b92b57014f786f820936e.jpg","text":"TemporaryFile(/tmp/multipartBody4113987577863119844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615943707,"filename":"image_23012025_08_02_05_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0f4d3c00e3f21ce3061f9b4b5f98ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2050534187253765226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615943707,"filename":"image_23012025_08_02_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85d64c0d7eadaf3a289822115fd69fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7408458788677944090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615943707,"filename":"image_23012025_08_02_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1afeb1bd03b6ec58624d41b1d6630359.jpg","text":"TemporaryFile(/tmp/multipartBody1649814058322475780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615943707,"filename":"image_23012025_08_02_46_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330772852","file1":"1330772846","file0":"1330772840","file4":"1330772918","file5":"1330772941","file3":"1330772863"},"map_files_photo_id_array":[{"photo_id":"1330772941","filename":"file5"},{"photo_id":"1330772852","filename":"file2"},{"photo_id":"1330772918","filename":"file4"},{"photo_id":"1330772846","filename":"file1"},{"photo_id":"1330772840","filename":"file0"},{"photo_id":"1330772863","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330772941":["hashtag1","hashtag2"]},{"1330772852":["hashtag1","hashtag2"]},{"1330772840":["hashtag1","hashtag2"]},{"1330772918":["hashtag1","hashtag2"]},{"1330772846":["hashtag1","hashtag2"]},{"1330772863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330772941, 1330772852, 1330772840, 1330772918, 1330772846, 1330772863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.371235609054565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:05:33.009990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_16_10366.jpg', '/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_26_10349.jpg', '/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_35_9385.jpg', '/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_46_10343.jpg', '/home/pi/Desktop/images/23012025/08/03/image_23012025_08_04_05_10323.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_16_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_16_10366.jpg
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_26_10349.jpg
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_35_9385.jpg
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_03_46_10343.jpg
/home/pi/Desktop/images/23012025/08/03/image_23012025_08_04_05_10323.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_16_10330.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":["1330773121","1330772968","1330773122","1330773116","1330773110","1330773007"],"photo_ids_order":["1330772968","1330773007","1330773110","1330773116","1330773121","1330773122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e287ac616721bfafb6a0b9fe36c666b8.jpg","text":"TemporaryFile(/tmp/multipartBody3186722771443781871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993906,"filename":"image_23012025_08_04_05_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2a2483705c1985f6729db4e8d38f968.jpg","text":"TemporaryFile(/tmp/multipartBody2862689913107291598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993906,"filename":"image_23012025_08_03_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/134de4d7775db4fe04cd2b19e6198f6b.jpg","text":"TemporaryFile(/tmp/multipartBody3401845479901879590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993906,"filename":"image_23012025_08_04_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d52d0b3a0c2550804727dc9fee46284.jpg","text":"TemporaryFile(/tmp/multipartBody6659350028741439009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993906,"filename":"image_23012025_08_03_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc6af4f4db0d0d7ca39b4f70bfe79e9b.jpg","text":"TemporaryFile(/tmp/multipartBody553914206390168955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993906,"filename":"image_23012025_08_03_35_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a533b06bc561c6d1939722b6ce8d3ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2270949476473172103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737615993906,"filename":"image_23012025_08_03_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330773110","file1":"1330773007","file0":"1330772968","file4":"1330773121","file5":"1330773122","file3":"1330773116"},"map_files_photo_id_array":[{"photo_id":"1330773122","filename":"file5"},{"photo_id":"1330773110","filename":"file2"},{"photo_id":"1330773121","filename":"file4"},{"photo_id":"1330773007","filename":"file1"},{"photo_id":"1330772968","filename":"file0"},{"photo_id":"1330773116","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330773121":["hashtag1","hashtag2"]},{"1330772968":["hashtag1","hashtag2"]},{"1330773122":["hashtag1","hashtag2"]},{"1330773116":["hashtag1","hashtag2"]},{"1330773110":["hashtag1","hashtag2"]},{"1330773007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330773121, 1330772968, 1330773122, 1330773116, 1330773110, 1330773007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.43142604827881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:06:33.075466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_25_9408.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_36_10339.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_46_10329.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_55_9351.jpg', '/home/pi/Desktop/images/23012025/08/04/image_23012025_08_05_06_10346.jpg', '/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_16_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_25_9408.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_36_10339.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_46_10329.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_04_55_9351.jpg
/home/pi/Desktop/images/23012025/08/04/image_23012025_08_05_06_10346.jpg
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_16_10341.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":["1330773249","1330773243","1330773221","1330773274","1330773253","1330773256"],"photo_ids_order":["1330773221","1330773243","1330773249","1330773253","1330773256","1330773274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8b9073682ca3ead228259bea2e1a3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2503500482509408533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616054015,"filename":"image_23012025_08_04_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d94ab8a81fb71990a6e37f0d6ca9bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody2618589943637105619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616054015,"filename":"image_23012025_08_04_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13b332fc7a314972b20939531342c968.jpg","text":"TemporaryFile(/tmp/multipartBody4618171353039286257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616054015,"filename":"image_23012025_08_04_25_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00f8c4f4186cab4027706c05cadad852.jpg","text":"TemporaryFile(/tmp/multipartBody2582932512049401179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616054015,"filename":"image_23012025_08_05_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/510f02d38dcd5b0ab5861b9be1eaefb9.jpg","text":"TemporaryFile(/tmp/multipartBody806776754654428773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616054015,"filename":"image_23012025_08_04_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9972fa203420957345f034c58125ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2480423720720356834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616054015,"filename":"image_23012025_08_05_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330773249","file1":"1330773243","file0":"1330773221","file4":"1330773256","file5":"1330773274","file3":"1330773253"},"map_files_photo_id_array":[{"photo_id":"1330773274","filename":"file5"},{"photo_id":"1330773249","filename":"file2"},{"photo_id":"1330773256","filename":"file4"},{"photo_id":"1330773243","filename":"file1"},{"photo_id":"1330773221","filename":"file0"},{"photo_id":"1330773253","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330773249":["hashtag1","hashtag2"]},{"1330773243":["hashtag1","hashtag2"]},{"1330773221":["hashtag1","hashtag2"]},{"1330773274":["hashtag1","hashtag2"]},{"1330773253":["hashtag1","hashtag2"]},{"1330773256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330773249, 1330773243, 1330773221, 1330773274, 1330773253, 1330773256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29658889770508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:07:32.376370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_25_9446.jpg', '/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_36_10348.jpg', '/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_55_10354.jpg', '/home/pi/Desktop/images/23012025/08/05/image_23012025_08_06_06_10342.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_15_9433.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_26_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_25_9446.jpg
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_36_10348.jpg
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_05_55_10354.jpg
/home/pi/Desktop/images/23012025/08/05/image_23012025_08_06_06_10342.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_15_9433.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_26_10364.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":["1330773309","1330773318","1330773312","1330773306","1330773316","1330773319"],"photo_ids_order":["1330773306","1330773309","1330773312","1330773316","1330773318","1330773319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3eb1476517ca3e8c391d84aad21bead.jpg","text":"TemporaryFile(/tmp/multipartBody3230421065883348905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616113297,"filename":"image_23012025_08_05_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aff3b52f9cd7ffdab0a771432cc161a7.jpg","text":"TemporaryFile(/tmp/multipartBody786274345224742881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616113297,"filename":"image_23012025_08_06_15_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5cf24c2e551252760c9459595ed671b.jpg","text":"TemporaryFile(/tmp/multipartBody7679007310026332673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616113297,"filename":"image_23012025_08_05_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd1eedcb78f55f4c4520f4754da69c27.jpg","text":"TemporaryFile(/tmp/multipartBody7575527401952361243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616113297,"filename":"image_23012025_08_05_25_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4caa82bdd5e98590d01dbdafc66ed7fb.jpg","text":"TemporaryFile(/tmp/multipartBody1066475050083125032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616113297,"filename":"image_23012025_08_06_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27f509f69f87f2a84a625508ce43662c.jpg","text":"TemporaryFile(/tmp/multipartBody2945458969537133200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616113297,"filename":"image_23012025_08_06_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330773312","file1":"1330773309","file0":"1330773306","file4":"1330773318","file5":"1330773319","file3":"1330773316"},"map_files_photo_id_array":[{"photo_id":"1330773319","filename":"file5"},{"photo_id":"1330773312","filename":"file2"},{"photo_id":"1330773318","filename":"file4"},{"photo_id":"1330773309","filename":"file1"},{"photo_id":"1330773306","filename":"file0"},{"photo_id":"1330773316","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330773309":["hashtag1","hashtag2"]},{"1330773318":["hashtag1","hashtag2"]},{"1330773312":["hashtag1","hashtag2"]},{"1330773306":["hashtag1","hashtag2"]},{"1330773316":["hashtag1","hashtag2"]},{"1330773319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330773309, 1330773318, 1330773312, 1330773306, 1330773316, 1330773319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.158390045166016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:08:32.595269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_36_10375.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_45_9398.jpg', '/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_56_10380.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_26_10355.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_35_9398.jpg', '/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_36_10375.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_45_9398.jpg
/home/pi/Desktop/images/23012025/08/06/image_23012025_08_06_56_10380.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_26_10355.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_35_9398.jpg
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_07_46_10353.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":["1330773348","1330773350","1330773344","1330773338","1330773410","1330773334"],"photo_ids_order":["1330773334","1330773338","1330773344","1330773348","1330773350","1330773410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29be8321d8aaf827d03a588218e16f04.jpg","text":"TemporaryFile(/tmp/multipartBody3182095307403268392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616173491,"filename":"image_23012025_08_07_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/832d2c7ba9e921f2922e90f1c6d4d32a.jpg","text":"TemporaryFile(/tmp/multipartBody8416407847047379712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616173491,"filename":"image_23012025_08_07_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bb3de6517b42a2cee1c22c547e8bacd.jpg","text":"TemporaryFile(/tmp/multipartBody7129656737658148548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616173491,"filename":"image_23012025_08_06_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca0cc070a6a60c01b8e118f7ed1e311a.jpg","text":"TemporaryFile(/tmp/multipartBody8602015353204794769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616173491,"filename":"image_23012025_08_06_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c15bbc28a9f0a1f9d411b873662cb0e6.jpg","text":"TemporaryFile(/tmp/multipartBody3360454529300719850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616173491,"filename":"image_23012025_08_07_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f45bcad9a8c0f501515b091860605b51.jpg","text":"TemporaryFile(/tmp/multipartBody2840997038582676451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616173491,"filename":"image_23012025_08_06_36_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330773344","file1":"1330773338","file0":"1330773334","file4":"1330773350","file5":"1330773410","file3":"1330773348"},"map_files_photo_id_array":[{"photo_id":"1330773410","filename":"file5"},{"photo_id":"1330773344","filename":"file2"},{"photo_id":"1330773350","filename":"file4"},{"photo_id":"1330773338","filename":"file1"},{"photo_id":"1330773334","filename":"file0"},{"photo_id":"1330773348","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330773348":["hashtag1","hashtag2"]},{"1330773350":["hashtag1","hashtag2"]},{"1330773344":["hashtag1","hashtag2"]},{"1330773338":["hashtag1","hashtag2"]},{"1330773410":["hashtag1","hashtag2"]},{"1330773334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330773348, 1330773350, 1330773344, 1330773338, 1330773410, 1330773334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66421818733215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:09:32.709527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/07/image_23012025_08_08_05_9338.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_16_10330.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_25_9468.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_35_10347.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_46_10348.jpg', '/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_55_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/07/image_23012025_08_08_05_9338.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_16_10330.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_25_9468.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_35_10347.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_46_10348.jpg
/home/pi/Desktop/images/23012025/08/08/image_23012025_08_08_55_9359.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":["1330774295","1330774280","1330774307","1330774291","1330774309","1330774306"],"photo_ids_order":["1330774280","1330774291","1330774295","1330774306","1330774307","1330774309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eabe99c02fa139dfda112f16cc6f88ef.jpg","text":"TemporaryFile(/tmp/multipartBody8464989498540613354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616233620,"filename":"image_23012025_08_08_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e26591b0b81c3cff9e73fe24d79bd35f.jpg","text":"TemporaryFile(/tmp/multipartBody7505045530020192710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616233620,"filename":"image_23012025_08_08_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7a448c1d7bf4fbe23f4f063d2144d28.jpg","text":"TemporaryFile(/tmp/multipartBody7402197702493748002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616233620,"filename":"image_23012025_08_08_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5db0af9299558ebb49e2edf0366575e.jpg","text":"TemporaryFile(/tmp/multipartBody3174526048500605510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616233620,"filename":"image_23012025_08_08_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed2066cf8c234c54667b3e04a6621513.jpg","text":"TemporaryFile(/tmp/multipartBody5878644708415986295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616233620,"filename":"image_23012025_08_08_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/233aa029c19f720389f47977577b8735.jpg","text":"TemporaryFile(/tmp/multipartBody7796612614132494539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616233620,"filename":"image_23012025_08_08_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330774295","file1":"1330774291","file0":"1330774280","file4":"1330774307","file5":"1330774309","file3":"1330774306"},"map_files_photo_id_array":[{"photo_id":"1330774309","filename":"file5"},{"photo_id":"1330774295","filename":"file2"},{"photo_id":"1330774307","filename":"file4"},{"photo_id":"1330774291","filename":"file1"},{"photo_id":"1330774280","filename":"file0"},{"photo_id":"1330774306","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330774295":["hashtag1","hashtag2"]},{"1330774280":["hashtag1","hashtag2"]},{"1330774307":["hashtag1","hashtag2"]},{"1330774291":["hashtag1","hashtag2"]},{"1330774309":["hashtag1","hashtag2"]},{"1330774306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330774295, 1330774280, 1330774307, 1330774291, 1330774309, 1330774306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.640464305877686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:10:32.858771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_25_9361.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_36_10333.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_46_10375.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_55_9384.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_10_06_10335.jpg', '/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_15_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_25_9361.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_36_10333.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_46_10375.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_55_9384.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_10_06_10335.jpg
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_15_9406.jpg
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: 0.5416016578674316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:10:43.016001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_25_9361.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_36_10333.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_46_10375.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_55_9384.jpg', '/home/pi/Desktop/images/23012025/08/09/image_23012025_08_10_06_10335.jpg', '/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_15_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_25_9361.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_36_10333.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_46_10375.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_09_55_9384.jpg
/home/pi/Desktop/images/23012025/08/09/image_23012025_08_10_06_10335.jpg
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_15_9406.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":["1330774641","1330774644","1330774715","1330774591","1330774648","1330774596"],"photo_ids_order":["1330774591","1330774596","1330774641","1330774644","1330774648","1330774715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21fe2f68c66a55500d457bf9bef2e3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1542396128999141034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616303919,"filename":"image_23012025_08_09_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b263061e9c42659d96dd2b8db596aa01.jpg","text":"TemporaryFile(/tmp/multipartBody3831599823400415041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616303919,"filename":"image_23012025_08_09_55_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6783f7e5fbef9edce897ce2fc77c7175.jpg","text":"TemporaryFile(/tmp/multipartBody978826863754826002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616303919,"filename":"image_23012025_08_10_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a49a3adc6ed82aeac44f0fa20bfa49d.jpg","text":"TemporaryFile(/tmp/multipartBody5634567400364865342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616303919,"filename":"image_23012025_08_09_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d831ce6a8c7bf24644c61c93a2272dcc.jpg","text":"TemporaryFile(/tmp/multipartBody1523312638132499948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616303919,"filename":"image_23012025_08_10_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f96de57df3ce57b2ee384567d46cd666.jpg","text":"TemporaryFile(/tmp/multipartBody8511627979445643448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616303919,"filename":"image_23012025_08_09_36_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330774641","file1":"1330774596","file0":"1330774591","file4":"1330774648","file5":"1330774715","file3":"1330774644"},"map_files_photo_id_array":[{"photo_id":"1330774715","filename":"file5"},{"photo_id":"1330774641","filename":"file2"},{"photo_id":"1330774648","filename":"file4"},{"photo_id":"1330774596","filename":"file1"},{"photo_id":"1330774591","filename":"file0"},{"photo_id":"1330774644","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330774641":["hashtag1","hashtag2"]},{"1330774644":["hashtag1","hashtag2"]},{"1330774715":["hashtag1","hashtag2"]},{"1330774591":["hashtag1","hashtag2"]},{"1330774648":["hashtag1","hashtag2"]},{"1330774596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330774641, 1330774644, 1330774715, 1330774591, 1330774648, 1330774596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21503925323486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:11:32.164276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_36_10348.jpg', '/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_45_9361.jpg', '/home/pi/Desktop/images/23012025/08/10/image_23012025_08_11_06_10351.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_26_10377.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_35_9452.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_36_10348.jpg
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_10_45_9361.jpg
/home/pi/Desktop/images/23012025/08/10/image_23012025_08_11_06_10351.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_26_10377.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_35_9452.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_45_10355.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":["1330774749","1330774740","1330774730","1330774736","1330774750","1330774744"],"photo_ids_order":["1330774730","1330774736","1330774740","1330774744","1330774749","1330774750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86fd488feb7f411b80127ffe4b422b5b.jpg","text":"TemporaryFile(/tmp/multipartBody4003923685277034620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616353060,"filename":"image_23012025_08_11_35_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13bfbdd1d21fdd276eb2c70e53182192.jpg","text":"TemporaryFile(/tmp/multipartBody6958693951646514020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616353060,"filename":"image_23012025_08_11_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d97026d9f14a3ab3813583de366fc9ed.jpg","text":"TemporaryFile(/tmp/multipartBody2460304880726516659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616353060,"filename":"image_23012025_08_10_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91626a5040491688f362d895913859ec.jpg","text":"TemporaryFile(/tmp/multipartBody3252779264626311282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616353060,"filename":"image_23012025_08_10_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3ec42203f40d631accb5d9583d87b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4251736070598855315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616353060,"filename":"image_23012025_08_11_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d4cef7b32b2b0b18cfc22adfc8503b4.jpg","text":"TemporaryFile(/tmp/multipartBody7365777969800607285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616353060,"filename":"image_23012025_08_11_26_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330774740","file1":"1330774736","file0":"1330774730","file4":"1330774749","file5":"1330774750","file3":"1330774744"},"map_files_photo_id_array":[{"photo_id":"1330774750","filename":"file5"},{"photo_id":"1330774740","filename":"file2"},{"photo_id":"1330774749","filename":"file4"},{"photo_id":"1330774736","filename":"file1"},{"photo_id":"1330774730","filename":"file0"},{"photo_id":"1330774744","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330774749":["hashtag1","hashtag2"]},{"1330774740":["hashtag1","hashtag2"]},{"1330774730":["hashtag1","hashtag2"]},{"1330774736":["hashtag1","hashtag2"]},{"1330774750":["hashtag1","hashtag2"]},{"1330774744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330774749, 1330774740, 1330774730, 1330774736, 1330774750, 1330774744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38546276092529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:12:32.498813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_56_10349.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_12_05_9366.jpg', '/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_16_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_56_10349.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_12_05_9366.jpg
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_16_10379.jpg
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: 0.4793281555175781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:12:42.584450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_56_10349.jpg', '/home/pi/Desktop/images/23012025/08/11/image_23012025_08_12_05_9366.jpg', '/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_16_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_11_56_10349.jpg
/home/pi/Desktop/images/23012025/08/11/image_23012025_08_12_05_9366.jpg
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_16_10379.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":["1330774842","1330774871","1330774846"],"photo_ids_order":["1330774842","1330774846","1330774871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd60df48f7b96012ba35241f3b9ea8e3.jpg","text":"TemporaryFile(/tmp/multipartBody687598195473359124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616423435,"filename":"image_23012025_08_11_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f502dcae6ae5a425b504ad0d966cba0.jpg","text":"TemporaryFile(/tmp/multipartBody1473116406666649144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616423435,"filename":"image_23012025_08_12_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77a1d42cab5ed18e826168e71dfe5a82.jpg","text":"TemporaryFile(/tmp/multipartBody4537986156024038250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616423435,"filename":"image_23012025_08_12_05_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330774871","file1":"1330774846","file0":"1330774842"},"map_files_photo_id_array":[{"photo_id":"1330774871","filename":"file2"},{"photo_id":"1330774846","filename":"file1"},{"photo_id":"1330774842","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330774842":["hashtag1","hashtag2"]},{"1330774871":["hashtag1","hashtag2"]},{"1330774846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330774842, 1330774871, 1330774846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.183844566345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:13:32.788049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_35_9338.jpg', '/home/pi/Desktop/images/23012025/08/12/image_23012025_08_13_05_9409.jpg', '/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_25_9415.jpg', '/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_46_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_12_35_9338.jpg
/home/pi/Desktop/images/23012025/08/12/image_23012025_08_13_05_9409.jpg
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_25_9415.jpg
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_46_10358.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":["1330775791","1330775533","1330775428","1330775806"],"photo_ids_order":["1330775428","1330775533","1330775791","1330775806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed3f295400745f69d466862f333d5a93.jpg","text":"TemporaryFile(/tmp/multipartBody5336265654091627740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473664,"filename":"image_23012025_08_13_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e9f96a241db5f0ba291c9383ba3b0f6.jpg","text":"TemporaryFile(/tmp/multipartBody4988885055509336288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473664,"filename":"image_23012025_08_13_05_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e549fe60b496dec2bc28573b58e9c72.jpg","text":"TemporaryFile(/tmp/multipartBody1637462995622956108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473664,"filename":"image_23012025_08_12_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b9829bba18b6ca1d811fe5bcfe27582.jpg","text":"TemporaryFile(/tmp/multipartBody2540311864603805753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616473664,"filename":"image_23012025_08_13_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330775791","file1":"1330775533","file0":"1330775428","file3":"1330775806"},"map_files_photo_id_array":[{"photo_id":"1330775791","filename":"file2"},{"photo_id":"1330775533","filename":"file1"},{"photo_id":"1330775428","filename":"file0"},{"photo_id":"1330775806","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330775791":["hashtag1","hashtag2"]},{"1330775533":["hashtag1","hashtag2"]},{"1330775428":["hashtag1","hashtag2"]},{"1330775806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330775791, 1330775533, 1330775428, 1330775806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.80076813697815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:14:33.046471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_55_9343.jpg', '/home/pi/Desktop/images/23012025/08/13/image_23012025_08_14_06_10353.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_16_10335.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_25_9443.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_36_10334.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_45_9475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_13_55_9343.jpg
/home/pi/Desktop/images/23012025/08/13/image_23012025_08_14_06_10353.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_16_10335.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_25_9443.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_36_10334.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_45_9475.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":["1330776116","1330775855","1330776110","1330775858","1330775896","1330776050"],"photo_ids_order":["1330775855","1330775858","1330775896","1330776050","1330776110","1330776116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e691691d7e7c764abda58fa499ee3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8939268305198031888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533953,"filename":"image_23012025_08_14_45_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/867f56c8ea4f071ad1674254594810bd.jpg","text":"TemporaryFile(/tmp/multipartBody8553028820501594066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533953,"filename":"image_23012025_08_13_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bebdc765ace537146790d8cbab782ae9.jpg","text":"TemporaryFile(/tmp/multipartBody5866412943689283301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533953,"filename":"image_23012025_08_14_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2135fa2b94e650660380e6f454eca65c.jpg","text":"TemporaryFile(/tmp/multipartBody2955389659597808098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533953,"filename":"image_23012025_08_14_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/047e5f1eeff0b1612f1534a5c39251e6.jpg","text":"TemporaryFile(/tmp/multipartBody7737932322918608149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533953,"filename":"image_23012025_08_14_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c0c6f88f7adb03032fa79ad18f4da46.jpg","text":"TemporaryFile(/tmp/multipartBody3744109526109874561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616533953,"filename":"image_23012025_08_14_25_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330775896","file1":"1330775858","file0":"1330775855","file4":"1330776110","file5":"1330776116","file3":"1330776050"},"map_files_photo_id_array":[{"photo_id":"1330776116","filename":"file5"},{"photo_id":"1330775896","filename":"file2"},{"photo_id":"1330776110","filename":"file4"},{"photo_id":"1330775858","filename":"file1"},{"photo_id":"1330775855","filename":"file0"},{"photo_id":"1330776050","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330776116":["hashtag1","hashtag2"]},{"1330775855":["hashtag1","hashtag2"]},{"1330776110":["hashtag1","hashtag2"]},{"1330775858":["hashtag1","hashtag2"]},{"1330775896":["hashtag1","hashtag2"]},{"1330776050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330776116, 1330775855, 1330776110, 1330775858, 1330775896, 1330776050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.932061195373535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:15:33.199818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_55_10336.jpg', '/home/pi/Desktop/images/23012025/08/14/image_23012025_08_15_06_10463.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_15_9354.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_25_10028.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_36_10396.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_45_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_14_55_10336.jpg
/home/pi/Desktop/images/23012025/08/14/image_23012025_08_15_06_10463.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_15_9354.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_25_10028.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_36_10396.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_45_9426.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":["1330776373","1330776369","1330776363","1330776366","1330776371","1330776341"],"photo_ids_order":["1330776341","1330776363","1330776366","1330776369","1330776371","1330776373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7152c4f9975175d16721a55084fb6ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5700389088741884494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594517,"filename":"image_23012025_08_15_45_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5225cd443dbc142244bebc523994503f.jpg","text":"TemporaryFile(/tmp/multipartBody777409550877826790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594517,"filename":"image_23012025_08_15_25_10028.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c8c329a0cd38c4b6a6ce40f20fd81ab.jpg","text":"TemporaryFile(/tmp/multipartBody7466529790031664892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594517,"filename":"image_23012025_08_15_06_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca3f4be20f8c64560512fa5910dc3ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2302938090656715113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594517,"filename":"image_23012025_08_15_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d8bc3207896b36973a098898479e441.jpg","text":"TemporaryFile(/tmp/multipartBody1157368002512892364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594517,"filename":"image_23012025_08_15_36_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f066984dbd5a865876deb539bf0d4528.jpg","text":"TemporaryFile(/tmp/multipartBody7639372740524443752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616594517,"filename":"image_23012025_08_14_55_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330776366","file1":"1330776363","file0":"1330776341","file4":"1330776371","file5":"1330776373","file3":"1330776369"},"map_files_photo_id_array":[{"photo_id":"1330776373","filename":"file5"},{"photo_id":"1330776366","filename":"file2"},{"photo_id":"1330776371","filename":"file4"},{"photo_id":"1330776363","filename":"file1"},{"photo_id":"1330776341","filename":"file0"},{"photo_id":"1330776369","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330776373":["hashtag1","hashtag2"]},{"1330776369":["hashtag1","hashtag2"]},{"1330776363":["hashtag1","hashtag2"]},{"1330776366":["hashtag1","hashtag2"]},{"1330776371":["hashtag1","hashtag2"]},{"1330776341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330776373, 1330776369, 1330776363, 1330776366, 1330776371, 1330776341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.332717418670654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:16:32.353992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_56_10365.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_16_06_10397.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_15_9324.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_26_10369.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_36_10467.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_56_10365.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_16_06_10397.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_15_9324.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_26_10369.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_36_10467.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_45_9361.jpg
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: 0.5173969268798828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:16:42.440812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_56_10365.jpg', '/home/pi/Desktop/images/23012025/08/15/image_23012025_08_16_06_10397.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_15_9324.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_26_10369.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_36_10467.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_45_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_15_56_10365.jpg
/home/pi/Desktop/images/23012025/08/15/image_23012025_08_16_06_10397.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_15_9324.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_26_10369.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_36_10467.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_45_9361.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":["1330776410","1330776400","1330776403","1330776406","1330776396","1330776408"],"photo_ids_order":["1330776396","1330776400","1330776403","1330776406","1330776408","1330776410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d6e53ac6e6a4392a3562bd6d3aff512.jpg","text":"TemporaryFile(/tmp/multipartBody4375084073469632336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616663346,"filename":"image_23012025_08_16_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03b99c0c58c128c281109ba5f7d3f364.jpg","text":"TemporaryFile(/tmp/multipartBody4271371523236907503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616663346,"filename":"image_23012025_08_16_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdddacc41a2e55e41f76ab7203d34dbc.jpg","text":"TemporaryFile(/tmp/multipartBody4273978922942982260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616663346,"filename":"image_23012025_08_16_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d988411c3ebb0c6e76da30b9834e974.jpg","text":"TemporaryFile(/tmp/multipartBody1894882439325296304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616663346,"filename":"image_23012025_08_16_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c58630962b502c76b537c1c9568b7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1242961945567242924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616663346,"filename":"image_23012025_08_15_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14e1c1f7674c3b510d845c7841fe12c4.jpg","text":"TemporaryFile(/tmp/multipartBody6881176421736252211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616663346,"filename":"image_23012025_08_16_36_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330776403","file1":"1330776400","file0":"1330776396","file4":"1330776408","file5":"1330776410","file3":"1330776406"},"map_files_photo_id_array":[{"photo_id":"1330776410","filename":"file5"},{"photo_id":"1330776403","filename":"file2"},{"photo_id":"1330776408","filename":"file4"},{"photo_id":"1330776400","filename":"file1"},{"photo_id":"1330776396","filename":"file0"},{"photo_id":"1330776406","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330776410":["hashtag1","hashtag2"]},{"1330776400":["hashtag1","hashtag2"]},{"1330776403":["hashtag1","hashtag2"]},{"1330776406":["hashtag1","hashtag2"]},{"1330776396":["hashtag1","hashtag2"]},{"1330776408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330776410, 1330776400, 1330776403, 1330776406, 1330776396, 1330776408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15365743637085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:17:32.673161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_56_10350.jpg', '/home/pi/Desktop/images/23012025/08/16/image_23012025_08_17_05_9341.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_15_10336.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_26_10368.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_35_9330.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_16_56_10350.jpg
/home/pi/Desktop/images/23012025/08/16/image_23012025_08_17_05_9341.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_15_10336.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_26_10368.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_35_9330.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_46_10353.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":["1330776443","1330776446","1330776474","1330776465","1330776432","1330776476"],"photo_ids_order":["1330776432","1330776443","1330776446","1330776465","1330776474","1330776476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc60bed9036b50f82615e27318677a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7783319998251764412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713724,"filename":"image_23012025_08_17_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7266da159e58e9a3b2f901ede6b2060c.jpg","text":"TemporaryFile(/tmp/multipartBody169184835611919219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713724,"filename":"image_23012025_08_17_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9e6bee368c3da98563f03ed91b20871.jpg","text":"TemporaryFile(/tmp/multipartBody2901267474082361790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713724,"filename":"image_23012025_08_17_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23fa18e7d39b61ceef5d96625d2c378b.jpg","text":"TemporaryFile(/tmp/multipartBody4997257882986826582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713724,"filename":"image_23012025_08_17_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4cd3437955b2a84ed58ed80ef27f1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8720427175357871018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713724,"filename":"image_23012025_08_16_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2f91448ed5b9d5352a5ca9866fa413c.jpg","text":"TemporaryFile(/tmp/multipartBody1867627952361152662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616713724,"filename":"image_23012025_08_17_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330776446","file1":"1330776443","file0":"1330776432","file4":"1330776474","file5":"1330776476","file3":"1330776465"},"map_files_photo_id_array":[{"photo_id":"1330776476","filename":"file5"},{"photo_id":"1330776446","filename":"file2"},{"photo_id":"1330776474","filename":"file4"},{"photo_id":"1330776443","filename":"file1"},{"photo_id":"1330776432","filename":"file0"},{"photo_id":"1330776465","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330776443":["hashtag1","hashtag2"]},{"1330776446":["hashtag1","hashtag2"]},{"1330776474":["hashtag1","hashtag2"]},{"1330776465":["hashtag1","hashtag2"]},{"1330776432":["hashtag1","hashtag2"]},{"1330776476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330776443, 1330776446, 1330776474, 1330776465, 1330776432, 1330776476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58179259300232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:18:32.888625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_56_10373.jpg', '/home/pi/Desktop/images/23012025/08/17/image_23012025_08_18_05_9340.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_16_10354.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_26_10374.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_35_9434.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_46_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_17_56_10373.jpg
/home/pi/Desktop/images/23012025/08/17/image_23012025_08_18_05_9340.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_16_10354.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_26_10374.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_35_9434.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_46_10372.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":["1330776562","1330776559","1330776502","1330776555","1330776552","1330776546"],"photo_ids_order":["1330776502","1330776546","1330776552","1330776555","1330776559","1330776562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86c60c3db1aaa72cc2ede6f6f26c3654.jpg","text":"TemporaryFile(/tmp/multipartBody1021502975917764442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773775,"filename":"image_23012025_08_18_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2692d9aa642b15cf4014979c8f6a631b.jpg","text":"TemporaryFile(/tmp/multipartBody1218008198521985406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773775,"filename":"image_23012025_08_18_35_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0106ccd0dae796e9366e142b73b64b83.jpg","text":"TemporaryFile(/tmp/multipartBody2878464353155242650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773775,"filename":"image_23012025_08_17_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6170c49c72dc61f55db319cec9f8ddfa.jpg","text":"TemporaryFile(/tmp/multipartBody202071742432409940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773775,"filename":"image_23012025_08_18_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/039378e54d311894e11efa4bd047b5c0.jpg","text":"TemporaryFile(/tmp/multipartBody2643457685101466810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773775,"filename":"image_23012025_08_18_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43bae27ce1acc6110fb6e56df4d04d44.jpg","text":"TemporaryFile(/tmp/multipartBody6735944422023190963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616773775,"filename":"image_23012025_08_18_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330776552","file1":"1330776546","file0":"1330776502","file4":"1330776559","file5":"1330776562","file3":"1330776555"},"map_files_photo_id_array":[{"photo_id":"1330776562","filename":"file5"},{"photo_id":"1330776552","filename":"file2"},{"photo_id":"1330776559","filename":"file4"},{"photo_id":"1330776546","filename":"file1"},{"photo_id":"1330776502","filename":"file0"},{"photo_id":"1330776555","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330776562":["hashtag1","hashtag2"]},{"1330776559":["hashtag1","hashtag2"]},{"1330776502":["hashtag1","hashtag2"]},{"1330776555":["hashtag1","hashtag2"]},{"1330776552":["hashtag1","hashtag2"]},{"1330776546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330776562, 1330776559, 1330776502, 1330776555, 1330776552, 1330776546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.27422547340393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:19:33.057330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_55_9466.jpg', '/home/pi/Desktop/images/23012025/08/18/image_23012025_08_19_06_10334.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_16_10336.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_25_9456.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_36_10331.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_45_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_18_55_9466.jpg
/home/pi/Desktop/images/23012025/08/18/image_23012025_08_19_06_10334.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_16_10336.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_25_9456.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_36_10331.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_45_9388.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":["1330777100","1330776666","1330776915","1330777082","1330776804","1330777096"],"photo_ids_order":["1330776666","1330776804","1330776915","1330777082","1330777096","1330777100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2837debccc573907c8bb4ddbab42256b.jpg","text":"TemporaryFile(/tmp/multipartBody99220899211897755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616833964,"filename":"image_23012025_08_19_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24d15557ddd36e64cc2f5dfb8ea8045a.jpg","text":"TemporaryFile(/tmp/multipartBody8412554649281760022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616833964,"filename":"image_23012025_08_18_55_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08257bc7d66bea7325f7a460be0b846f.jpg","text":"TemporaryFile(/tmp/multipartBody5048807801690061380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616833964,"filename":"image_23012025_08_19_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3c80db20a999708f8f9e734bb789f80.jpg","text":"TemporaryFile(/tmp/multipartBody6751256150372738406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616833964,"filename":"image_23012025_08_19_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c30961f023b978b123db6b620b12d821.jpg","text":"TemporaryFile(/tmp/multipartBody7601679019001182505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616833964,"filename":"image_23012025_08_19_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14ea0f4fd445d8ecebd99819a4d147c5.jpg","text":"TemporaryFile(/tmp/multipartBody6926996972067621163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616833964,"filename":"image_23012025_08_19_36_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330776915","file1":"1330776804","file0":"1330776666","file4":"1330777096","file5":"1330777100","file3":"1330777082"},"map_files_photo_id_array":[{"photo_id":"1330777100","filename":"file5"},{"photo_id":"1330776915","filename":"file2"},{"photo_id":"1330777096","filename":"file4"},{"photo_id":"1330776804","filename":"file1"},{"photo_id":"1330776666","filename":"file0"},{"photo_id":"1330777082","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330777100":["hashtag1","hashtag2"]},{"1330776666":["hashtag1","hashtag2"]},{"1330776915":["hashtag1","hashtag2"]},{"1330777082":["hashtag1","hashtag2"]},{"1330776804":["hashtag1","hashtag2"]},{"1330777096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330777100, 1330776666, 1330776915, 1330777082, 1330776804, 1330777096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.28364706039429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:20:32.378961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_55_10342.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_20_06_10340.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_15_9449.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_26_10361.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_36_10333.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_45_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_55_10342.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_20_06_10340.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_15_9449.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_26_10361.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_36_10333.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_45_9413.jpg
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: 0.5199882984161377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:20:42.437852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_55_10342.jpg', '/home/pi/Desktop/images/23012025/08/19/image_23012025_08_20_06_10340.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_15_9449.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_26_10361.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_36_10333.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_45_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_19_55_10342.jpg
/home/pi/Desktop/images/23012025/08/19/image_23012025_08_20_06_10340.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_15_9449.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_26_10361.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_36_10333.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_45_9413.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":["1330777330","1330777123","1330777395","1330777229","1330777409","1330777139"],"photo_ids_order":["1330777123","1330777139","1330777229","1330777330","1330777395","1330777409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f1850f92abe6ff1a3f1c9f3b958221c.jpg","text":"TemporaryFile(/tmp/multipartBody5490465125259204937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616903361,"filename":"image_23012025_08_20_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a97d5198993b55b824ce249b9775969.jpg","text":"TemporaryFile(/tmp/multipartBody1230000676564434330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616903361,"filename":"image_23012025_08_19_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85b4e835c3a4c0f0f980fa0c5e75bb01.jpg","text":"TemporaryFile(/tmp/multipartBody1025991891307156236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616903361,"filename":"image_23012025_08_20_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8acc659bd68dc8f695f0e8b7f15db609.jpg","text":"TemporaryFile(/tmp/multipartBody4561080751344771177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616903361,"filename":"image_23012025_08_20_15_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fac9621e64300bd5f2c85fa6595da789.jpg","text":"TemporaryFile(/tmp/multipartBody6317954938449522796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616903361,"filename":"image_23012025_08_20_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e79f936a4e827cf6a516666294bc649.jpg","text":"TemporaryFile(/tmp/multipartBody2672577018727330577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616903361,"filename":"image_23012025_08_20_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330777229","file1":"1330777139","file0":"1330777123","file4":"1330777395","file5":"1330777409","file3":"1330777330"},"map_files_photo_id_array":[{"photo_id":"1330777409","filename":"file5"},{"photo_id":"1330777229","filename":"file2"},{"photo_id":"1330777395","filename":"file4"},{"photo_id":"1330777139","filename":"file1"},{"photo_id":"1330777123","filename":"file0"},{"photo_id":"1330777330","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330777330":["hashtag1","hashtag2"]},{"1330777123":["hashtag1","hashtag2"]},{"1330777395":["hashtag1","hashtag2"]},{"1330777229":["hashtag1","hashtag2"]},{"1330777409":["hashtag1","hashtag2"]},{"1330777139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330777330, 1330777123, 1330777395, 1330777229, 1330777409, 1330777139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.13771939277649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:21:32.574087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_56_10361.jpg', '/home/pi/Desktop/images/23012025/08/20/image_23012025_08_21_05_9408.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_15_10348.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_26_10354.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_35_9426.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_46_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_20_56_10361.jpg
/home/pi/Desktop/images/23012025/08/20/image_23012025_08_21_05_9408.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_15_10348.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_26_10354.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_35_9426.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_46_10323.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":["1330777511","1330777525","1330777507","1330777476","1330777623","1330777544"],"photo_ids_order":["1330777476","1330777507","1330777511","1330777525","1330777544","1330777623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad11ca616602fbcb42538ab2409de5ca.jpg","text":"TemporaryFile(/tmp/multipartBody4916484080100232787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616953463,"filename":"image_23012025_08_21_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51aed5cb125778509032c17ae01908b8.jpg","text":"TemporaryFile(/tmp/multipartBody5337827188143994158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616953463,"filename":"image_23012025_08_21_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23ae267d64d338793f08b624df66816c.jpg","text":"TemporaryFile(/tmp/multipartBody3283921388534216008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616953463,"filename":"image_23012025_08_21_05_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/494dbf3a4afa08d0aef7d4f55d5d5dca.jpg","text":"TemporaryFile(/tmp/multipartBody9152436824700509021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616953463,"filename":"image_23012025_08_20_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f9c4c5b98826a279a7a7a876ce6b89b.jpg","text":"TemporaryFile(/tmp/multipartBody6295249636862007258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616953463,"filename":"image_23012025_08_21_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adacea224fde0cc6269a0a9b6f3f6b77.jpg","text":"TemporaryFile(/tmp/multipartBody882634919806510061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737616953463,"filename":"image_23012025_08_21_35_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330777511","file1":"1330777507","file0":"1330777476","file4":"1330777544","file5":"1330777623","file3":"1330777525"},"map_files_photo_id_array":[{"photo_id":"1330777623","filename":"file5"},{"photo_id":"1330777511","filename":"file2"},{"photo_id":"1330777544","filename":"file4"},{"photo_id":"1330777507","filename":"file1"},{"photo_id":"1330777476","filename":"file0"},{"photo_id":"1330777525","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330777511":["hashtag1","hashtag2"]},{"1330777525":["hashtag1","hashtag2"]},{"1330777507":["hashtag1","hashtag2"]},{"1330777476":["hashtag1","hashtag2"]},{"1330777623":["hashtag1","hashtag2"]},{"1330777544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330777511, 1330777525, 1330777507, 1330777476, 1330777623, 1330777544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.31682085990906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:22:32.755711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_56_10329.jpg', '/home/pi/Desktop/images/23012025/08/21/image_23012025_08_22_05_9440.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_16_10347.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_25_9482.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_36_10350.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_46_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_21_56_10329.jpg
/home/pi/Desktop/images/23012025/08/21/image_23012025_08_22_05_9440.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_16_10347.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_25_9482.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_36_10350.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_46_10416.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":["1330777789","1330777791","1330777758","1330777787","1330777704","1330777784"],"photo_ids_order":["1330777704","1330777758","1330777784","1330777787","1330777789","1330777791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9248872e665ae7601fb87b922b2f1bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6435584845351759148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013647,"filename":"image_23012025_08_22_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f6a3f547213aa75469983a6fe7aaeef.jpg","text":"TemporaryFile(/tmp/multipartBody2153821154633803987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013647,"filename":"image_23012025_08_22_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/600afcfc7b27dc4de0e0321b9ead3e34.jpg","text":"TemporaryFile(/tmp/multipartBody7405123813858725896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013647,"filename":"image_23012025_08_22_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52b30901e511a41c67c822b8bb7181e1.jpg","text":"TemporaryFile(/tmp/multipartBody814521560393336007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013647,"filename":"image_23012025_08_22_25_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/099d8b774102dc4008e648e33a4ef8cd.jpg","text":"TemporaryFile(/tmp/multipartBody5674624657180683526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013647,"filename":"image_23012025_08_21_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfd5657d192c095bb215c854d6321b01.jpg","text":"TemporaryFile(/tmp/multipartBody5724451361739143393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617013647,"filename":"image_23012025_08_22_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330777784","file1":"1330777758","file0":"1330777704","file4":"1330777789","file5":"1330777791","file3":"1330777787"},"map_files_photo_id_array":[{"photo_id":"1330777791","filename":"file5"},{"photo_id":"1330777784","filename":"file2"},{"photo_id":"1330777789","filename":"file4"},{"photo_id":"1330777758","filename":"file1"},{"photo_id":"1330777704","filename":"file0"},{"photo_id":"1330777787","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330777789":["hashtag1","hashtag2"]},{"1330777791":["hashtag1","hashtag2"]},{"1330777758":["hashtag1","hashtag2"]},{"1330777787":["hashtag1","hashtag2"]},{"1330777704":["hashtag1","hashtag2"]},{"1330777784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330777789, 1330777791, 1330777758, 1330777787, 1330777704, 1330777784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55872893333435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:23:33.018317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_55_9402.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_23_06_10345.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_16_10399.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_26_9441.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_36_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_55_9402.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_23_06_10345.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_16_10399.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_26_9441.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_36_10337.jpg
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: 0.49898219108581543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:23:43.010584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_55_9402.jpg', '/home/pi/Desktop/images/23012025/08/22/image_23012025_08_23_06_10345.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_16_10399.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_26_9441.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_36_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_22_55_9402.jpg
/home/pi/Desktop/images/23012025/08/22/image_23012025_08_23_06_10345.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_16_10399.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_26_9441.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_36_10337.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":["1330777901","1330777891","1330777884","1330777902","1330777880"],"photo_ids_order":["1330777880","1330777884","1330777891","1330777901","1330777902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3367d55162f9227cef58f6f78e118a8.jpg","text":"TemporaryFile(/tmp/multipartBody2717062873699741295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617083904,"filename":"image_23012025_08_23_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b922cba655d03eebd948842762ae12e7.jpg","text":"TemporaryFile(/tmp/multipartBody2235120124535644961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617083904,"filename":"image_23012025_08_23_16_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e64676926ba6cfc6e23a8eecd1a7be71.jpg","text":"TemporaryFile(/tmp/multipartBody7677104741297382554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617083904,"filename":"image_23012025_08_23_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27f3f54474972f5b077427387ee8288e.jpg","text":"TemporaryFile(/tmp/multipartBody7964502381648117926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617083904,"filename":"image_23012025_08_23_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/baf146bfbbe8b2d3e197d7ecb09ec7f1.jpg","text":"TemporaryFile(/tmp/multipartBody8912430994422977767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617083904,"filename":"image_23012025_08_22_55_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330777891","file1":"1330777884","file0":"1330777880","file4":"1330777902","file3":"1330777901"},"map_files_photo_id_array":[{"photo_id":"1330777891","filename":"file2"},{"photo_id":"1330777902","filename":"file4"},{"photo_id":"1330777884","filename":"file1"},{"photo_id":"1330777880","filename":"file0"},{"photo_id":"1330777901","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330777901":["hashtag1","hashtag2"]},{"1330777891":["hashtag1","hashtag2"]},{"1330777884":["hashtag1","hashtag2"]},{"1330777902":["hashtag1","hashtag2"]},{"1330777880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330777901, 1330777891, 1330777884, 1330777902, 1330777880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.23116111755371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:24:32.197455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_45_9438.jpg', '/home/pi/Desktop/images/23012025/08/23/image_23012025_08_24_06_10356.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_15_9339.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_26_10348.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_35_9390.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_45_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_23_45_9438.jpg
/home/pi/Desktop/images/23012025/08/23/image_23012025_08_24_06_10356.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_15_9339.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_26_10348.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_35_9390.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_45_10330.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":["1330777978","1330778014","1330777971","1330777967","1330777952","1330777961"],"photo_ids_order":["1330777952","1330777961","1330777967","1330777971","1330777978","1330778014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65550bcd4dd82cc9f60eb14d45bd359e.jpg","text":"TemporaryFile(/tmp/multipartBody1167868691871424367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617133087,"filename":"image_23012025_08_24_35_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f311942671c9374316510bf6f78f4d9a.jpg","text":"TemporaryFile(/tmp/multipartBody2450495659962751760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617133087,"filename":"image_23012025_08_24_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d12509588b945f802c477b9d7bd45705.jpg","text":"TemporaryFile(/tmp/multipartBody4192429585965183591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617133087,"filename":"image_23012025_08_24_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4a07117b91d351bbdc30fbc57c18b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7927676053317480473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617133087,"filename":"image_23012025_08_24_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6736143c1683db35c40c390d7c73946a.jpg","text":"TemporaryFile(/tmp/multipartBody5401477473353641622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617133087,"filename":"image_23012025_08_23_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/743c0e092d35edd87133b58d339fd63c.jpg","text":"TemporaryFile(/tmp/multipartBody5498338320007622397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617133087,"filename":"image_23012025_08_24_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330777967","file1":"1330777961","file0":"1330777952","file4":"1330777978","file5":"1330778014","file3":"1330777971"},"map_files_photo_id_array":[{"photo_id":"1330778014","filename":"file5"},{"photo_id":"1330777967","filename":"file2"},{"photo_id":"1330777978","filename":"file4"},{"photo_id":"1330777961","filename":"file1"},{"photo_id":"1330777952","filename":"file0"},{"photo_id":"1330777971","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330777978":["hashtag1","hashtag2"]},{"1330778014":["hashtag1","hashtag2"]},{"1330777971":["hashtag1","hashtag2"]},{"1330777967":["hashtag1","hashtag2"]},{"1330777952":["hashtag1","hashtag2"]},{"1330777961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330777978, 1330778014, 1330777971, 1330777967, 1330777952, 1330777961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.408308267593384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:25:32.368969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_56_10347.jpg', '/home/pi/Desktop/images/23012025/08/24/image_23012025_08_25_05_9354.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_16_10401.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_26_10349.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_35_9331.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_46_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_24_56_10347.jpg
/home/pi/Desktop/images/23012025/08/24/image_23012025_08_25_05_9354.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_16_10401.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_26_10349.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_35_9331.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_46_10348.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":["1330778167","1330778166","1330778160","1330778130","1330778144","1330778111"],"photo_ids_order":["1330778111","1330778130","1330778144","1330778160","1330778166","1330778167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fecd7c411027f34d505e54cb891035e.jpg","text":"TemporaryFile(/tmp/multipartBody4427354488874132375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617193266,"filename":"image_23012025_08_25_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c3792f3c2517d7b2f0a6e2e7dc17edb.jpg","text":"TemporaryFile(/tmp/multipartBody6432416208419249356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617193266,"filename":"image_23012025_08_25_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f7e3433db9b7c64d609994d58c08731.jpg","text":"TemporaryFile(/tmp/multipartBody8420434725858610759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617193266,"filename":"image_23012025_08_25_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9263936522cb9ba4a78d2e7959d25b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1465928087784188255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617193266,"filename":"image_23012025_08_25_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14958f3ad5ebd4b6bf314db04b7e1067.jpg","text":"TemporaryFile(/tmp/multipartBody2969794658644223194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617193266,"filename":"image_23012025_08_25_16_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92d10f39acaccc7a5c1742e8eafe34ff.jpg","text":"TemporaryFile(/tmp/multipartBody6537792284857601208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617193266,"filename":"image_23012025_08_24_56_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778144","file1":"1330778130","file0":"1330778111","file4":"1330778166","file5":"1330778167","file3":"1330778160"},"map_files_photo_id_array":[{"photo_id":"1330778167","filename":"file5"},{"photo_id":"1330778144","filename":"file2"},{"photo_id":"1330778166","filename":"file4"},{"photo_id":"1330778130","filename":"file1"},{"photo_id":"1330778111","filename":"file0"},{"photo_id":"1330778160","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778167":["hashtag1","hashtag2"]},{"1330778166":["hashtag1","hashtag2"]},{"1330778160":["hashtag1","hashtag2"]},{"1330778130":["hashtag1","hashtag2"]},{"1330778144":["hashtag1","hashtag2"]},{"1330778111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778167, 1330778166, 1330778160, 1330778130, 1330778144, 1330778111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.594526529312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:26:32.525525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_56_10345.jpg', '/home/pi/Desktop/images/23012025/08/25/image_23012025_08_26_05_9348.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_16_10354.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_26_10361.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_35_9325.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_46_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_25_56_10345.jpg
/home/pi/Desktop/images/23012025/08/25/image_23012025_08_26_05_9348.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_16_10354.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_26_10361.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_35_9325.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_46_10380.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":["1330778203","1330778211","1330778208","1330778201","1330778210","1330778197"],"photo_ids_order":["1330778197","1330778201","1330778203","1330778208","1330778210","1330778211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/391bdb90202f03528f194c43b4d5a807.jpg","text":"TemporaryFile(/tmp/multipartBody4101365118168278034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617253433,"filename":"image_23012025_08_26_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3520a6b098a4848b211828b01a626a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3858527138841357381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617253433,"filename":"image_23012025_08_26_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf0bc9146ba38f27880c773f78d100d7.jpg","text":"TemporaryFile(/tmp/multipartBody837520496987252276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617253433,"filename":"image_23012025_08_26_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa749ca6205581c28f22e34ee7151761.jpg","text":"TemporaryFile(/tmp/multipartBody3638291249457854207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617253433,"filename":"image_23012025_08_26_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69077af99e7cfbfbdc0f15e1cfeb4883.jpg","text":"TemporaryFile(/tmp/multipartBody1099938446173167929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617253433,"filename":"image_23012025_08_26_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/493a0396f1e439c42a46983c9929859f.jpg","text":"TemporaryFile(/tmp/multipartBody1612034305205836773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617253433,"filename":"image_23012025_08_25_56_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778203","file1":"1330778201","file0":"1330778197","file4":"1330778210","file5":"1330778211","file3":"1330778208"},"map_files_photo_id_array":[{"photo_id":"1330778211","filename":"file5"},{"photo_id":"1330778203","filename":"file2"},{"photo_id":"1330778210","filename":"file4"},{"photo_id":"1330778201","filename":"file1"},{"photo_id":"1330778197","filename":"file0"},{"photo_id":"1330778208","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778203":["hashtag1","hashtag2"]},{"1330778211":["hashtag1","hashtag2"]},{"1330778208":["hashtag1","hashtag2"]},{"1330778201":["hashtag1","hashtag2"]},{"1330778210":["hashtag1","hashtag2"]},{"1330778197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778203, 1330778211, 1330778208, 1330778201, 1330778210, 1330778197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78399705886841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:27:32.766154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_55_9471.jpg', '/home/pi/Desktop/images/23012025/08/26/image_23012025_08_27_05_10337.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_16_10381.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_25_9427.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_36_10347.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_46_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_26_55_9471.jpg
/home/pi/Desktop/images/23012025/08/26/image_23012025_08_27_05_10337.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_16_10381.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_25_9427.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_36_10347.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_46_10340.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":["1330778332","1330778322","1330778330","1330778327","1330778315","1330778318"],"photo_ids_order":["1330778315","1330778318","1330778322","1330778327","1330778330","1330778332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14aadaa7456c816e3e3279334dd50882.jpg","text":"TemporaryFile(/tmp/multipartBody4947276448644950873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617313687,"filename":"image_23012025_08_27_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1dac53789054ea49fa457e92751f959.jpg","text":"TemporaryFile(/tmp/multipartBody7306307677813348325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617313687,"filename":"image_23012025_08_27_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/153dbee66074006266548e4aa8ba4a58.jpg","text":"TemporaryFile(/tmp/multipartBody7428381599236856383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617313687,"filename":"image_23012025_08_27_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8321e68459b9e9f10015476807d8c7df.jpg","text":"TemporaryFile(/tmp/multipartBody3895020683525819588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617313687,"filename":"image_23012025_08_27_25_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b1bfe6af8c51a2ff693e1a59e009fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3576422376690397392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617313687,"filename":"image_23012025_08_26_55_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/148610269b333ee51df3c155801acf85.jpg","text":"TemporaryFile(/tmp/multipartBody2473518314867214509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617313687,"filename":"image_23012025_08_27_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778322","file1":"1330778318","file0":"1330778315","file4":"1330778330","file5":"1330778332","file3":"1330778327"},"map_files_photo_id_array":[{"photo_id":"1330778332","filename":"file5"},{"photo_id":"1330778322","filename":"file2"},{"photo_id":"1330778330","filename":"file4"},{"photo_id":"1330778318","filename":"file1"},{"photo_id":"1330778315","filename":"file0"},{"photo_id":"1330778327","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778332":["hashtag1","hashtag2"]},{"1330778322":["hashtag1","hashtag2"]},{"1330778330":["hashtag1","hashtag2"]},{"1330778327":["hashtag1","hashtag2"]},{"1330778315":["hashtag1","hashtag2"]},{"1330778318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778332, 1330778322, 1330778330, 1330778327, 1330778315, 1330778318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36778736114502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:28:33.078719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_55_9431.jpg', '/home/pi/Desktop/images/23012025/08/27/image_23012025_08_28_06_10351.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_15_9364.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_26_10409.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_36_10354.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_27_55_9431.jpg
/home/pi/Desktop/images/23012025/08/27/image_23012025_08_28_06_10351.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_15_9364.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_26_10409.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_36_10354.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_45_9342.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":["1330778350","1330778338","1330778342","1330778345","1330778348","1330778336"],"photo_ids_order":["1330778336","1330778338","1330778342","1330778345","1330778348","1330778350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f50f2ad1333f19e157e6a90996f47c29.jpg","text":"TemporaryFile(/tmp/multipartBody8474861835661344800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617373981,"filename":"image_23012025_08_28_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dbbcc50680b17ac36d8abf023109dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8871074234585306320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617373981,"filename":"image_23012025_08_28_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6eed71e50394446311ce9aa88a6e1f7.jpg","text":"TemporaryFile(/tmp/multipartBody1213005501312772283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617373981,"filename":"image_23012025_08_28_15_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bed8c175e09af832f1616f1f9eeec600.jpg","text":"TemporaryFile(/tmp/multipartBody7610148801889790775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617373981,"filename":"image_23012025_08_28_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c47b7a18cb6eb58ec382e4e53bf5154.jpg","text":"TemporaryFile(/tmp/multipartBody2978493705208143253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617373981,"filename":"image_23012025_08_28_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dbc496a1690043b7cd36c117f99dffd.jpg","text":"TemporaryFile(/tmp/multipartBody4006298258217369010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617373981,"filename":"image_23012025_08_27_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778342","file1":"1330778338","file0":"1330778336","file4":"1330778348","file5":"1330778350","file3":"1330778345"},"map_files_photo_id_array":[{"photo_id":"1330778350","filename":"file5"},{"photo_id":"1330778342","filename":"file2"},{"photo_id":"1330778348","filename":"file4"},{"photo_id":"1330778338","filename":"file1"},{"photo_id":"1330778336","filename":"file0"},{"photo_id":"1330778345","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778350":["hashtag1","hashtag2"]},{"1330778338":["hashtag1","hashtag2"]},{"1330778342":["hashtag1","hashtag2"]},{"1330778345":["hashtag1","hashtag2"]},{"1330778348":["hashtag1","hashtag2"]},{"1330778336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778350, 1330778338, 1330778342, 1330778345, 1330778348, 1330778336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.04139804840088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:29:32.232337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_56_10358.jpg', '/home/pi/Desktop/images/23012025/08/28/image_23012025_08_29_06_10378.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_15_9417.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_26_10356.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_35_9490.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_46_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_28_56_10358.jpg
/home/pi/Desktop/images/23012025/08/28/image_23012025_08_29_06_10378.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_15_9417.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_26_10356.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_35_9490.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_46_10327.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":["1330778370","1330778393","1330778390","1330778372","1330778392","1330778374"],"photo_ids_order":["1330778370","1330778372","1330778374","1330778390","1330778392","1330778393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae0b6376fe4b88fc6a960cf676408d02.jpg","text":"TemporaryFile(/tmp/multipartBody1418981635339750293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617433130,"filename":"image_23012025_08_28_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05c0b3a179eb7cf2673a8c843d61e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody17069503943412665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617433130,"filename":"image_23012025_08_29_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acffb5ee62a086b75fba0785871bae0b.jpg","text":"TemporaryFile(/tmp/multipartBody4330216565799494106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617433130,"filename":"image_23012025_08_29_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25ed622f58b1c4cd484832b432165e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2482910265251971807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617433130,"filename":"image_23012025_08_29_06_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01d182c301e1cdfc915ba4e4e831cc04.jpg","text":"TemporaryFile(/tmp/multipartBody3449207585680560171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617433130,"filename":"image_23012025_08_29_35_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/515bfe87b71adc90aec1ffe0eb556ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1886210121151107372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617433130,"filename":"image_23012025_08_29_15_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778374","file1":"1330778372","file0":"1330778370","file4":"1330778392","file5":"1330778393","file3":"1330778390"},"map_files_photo_id_array":[{"photo_id":"1330778393","filename":"file5"},{"photo_id":"1330778374","filename":"file2"},{"photo_id":"1330778392","filename":"file4"},{"photo_id":"1330778372","filename":"file1"},{"photo_id":"1330778370","filename":"file0"},{"photo_id":"1330778390","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778370":["hashtag1","hashtag2"]},{"1330778393":["hashtag1","hashtag2"]},{"1330778390":["hashtag1","hashtag2"]},{"1330778372":["hashtag1","hashtag2"]},{"1330778392":["hashtag1","hashtag2"]},{"1330778374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778370, 1330778393, 1330778390, 1330778372, 1330778392, 1330778374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85829162597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:30:32.439768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_56_10423.jpg', '/home/pi/Desktop/images/23012025/08/29/image_23012025_08_30_05_9331.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_16_10445.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_25_9495.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_36_10439.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_45_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_29_56_10423.jpg
/home/pi/Desktop/images/23012025/08/29/image_23012025_08_30_05_9331.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_16_10445.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_25_9495.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_36_10439.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_45_9400.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":["1330778515","1330778478","1330778511","1330778495","1330778471","1330778491"],"photo_ids_order":["1330778471","1330778478","1330778491","1330778495","1330778511","1330778515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55e9a8052ce420c5472067b15e73c34e.jpg","text":"TemporaryFile(/tmp/multipartBody3375614951356625303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617493349,"filename":"image_23012025_08_30_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75e60642739a31cf4e8a5d22f3f98caf.jpg","text":"TemporaryFile(/tmp/multipartBody85429272064146020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617493349,"filename":"image_23012025_08_30_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00c0e2823c7af949112d330a57dd7cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2987762661187470749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617493349,"filename":"image_23012025_08_30_36_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0518979b597b8c59da7f9b33d41b6286.jpg","text":"TemporaryFile(/tmp/multipartBody8199585859169991750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617493349,"filename":"image_23012025_08_30_25_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5163cb4c1a57a44f375d9a67f86e736b.jpg","text":"TemporaryFile(/tmp/multipartBody1703147346320576671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617493349,"filename":"image_23012025_08_29_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16189195c3b756fa456d80514936b8fa.jpg","text":"TemporaryFile(/tmp/multipartBody8506795610101760129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617493349,"filename":"image_23012025_08_30_16_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778491","file1":"1330778478","file0":"1330778471","file4":"1330778511","file5":"1330778515","file3":"1330778495"},"map_files_photo_id_array":[{"photo_id":"1330778515","filename":"file5"},{"photo_id":"1330778491","filename":"file2"},{"photo_id":"1330778511","filename":"file4"},{"photo_id":"1330778478","filename":"file1"},{"photo_id":"1330778471","filename":"file0"},{"photo_id":"1330778495","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778515":["hashtag1","hashtag2"]},{"1330778478":["hashtag1","hashtag2"]},{"1330778511":["hashtag1","hashtag2"]},{"1330778495":["hashtag1","hashtag2"]},{"1330778471":["hashtag1","hashtag2"]},{"1330778491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778515, 1330778478, 1330778511, 1330778495, 1330778471, 1330778491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07656168937683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:31:32.831798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_55_10366.jpg', '/home/pi/Desktop/images/23012025/08/30/image_23012025_08_31_06_10361.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_15_9604.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_26_10366.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_35_9443.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_30_55_10366.jpg
/home/pi/Desktop/images/23012025/08/30/image_23012025_08_31_06_10361.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_15_9604.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_26_10366.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_35_9443.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_46_10352.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":["1330778637","1330778663","1330778642","1330778651","1330778645","1330778639"],"photo_ids_order":["1330778637","1330778639","1330778642","1330778645","1330778651","1330778663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/885d97a6a205443bbae8a7a7ecd43028.jpg","text":"TemporaryFile(/tmp/multipartBody3119905789633224073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617553744,"filename":"image_23012025_08_30_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7f591ae83400ddd161993a19bacb1f9.jpg","text":"TemporaryFile(/tmp/multipartBody2537743538580151105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617553744,"filename":"image_23012025_08_31_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ebada69cafd27e2f138efedd0b3bc85.jpg","text":"TemporaryFile(/tmp/multipartBody3956496266542809389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617553744,"filename":"image_23012025_08_31_15_9604.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/195311f22bd880db9929c218ca097bb9.jpg","text":"TemporaryFile(/tmp/multipartBody2011377667416887819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617553744,"filename":"image_23012025_08_31_35_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2509f2644a6d3a63864fca98fe2ce7e0.jpg","text":"TemporaryFile(/tmp/multipartBody280984012129482070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617553744,"filename":"image_23012025_08_31_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5366c9ea886af9ab05f200eb813f7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8330703846966549935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617553744,"filename":"image_23012025_08_31_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778642","file1":"1330778639","file0":"1330778637","file4":"1330778651","file5":"1330778663","file3":"1330778645"},"map_files_photo_id_array":[{"photo_id":"1330778663","filename":"file5"},{"photo_id":"1330778642","filename":"file2"},{"photo_id":"1330778651","filename":"file4"},{"photo_id":"1330778639","filename":"file1"},{"photo_id":"1330778637","filename":"file0"},{"photo_id":"1330778645","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778637":["hashtag1","hashtag2"]},{"1330778663":["hashtag1","hashtag2"]},{"1330778642":["hashtag1","hashtag2"]},{"1330778651":["hashtag1","hashtag2"]},{"1330778645":["hashtag1","hashtag2"]},{"1330778639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778637, 1330778663, 1330778642, 1330778651, 1330778645, 1330778639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.784663677215576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:32:32.980926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_56_10348.jpg', '/home/pi/Desktop/images/23012025/08/31/image_23012025_08_32_05_9361.jpg', '/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_16_10340.jpg', '/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_35_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_31_56_10348.jpg
/home/pi/Desktop/images/23012025/08/31/image_23012025_08_32_05_9361.jpg
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_16_10340.jpg
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_35_9432.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":["1330778701","1330778690","1330778693","1330778698"],"photo_ids_order":["1330778690","1330778693","1330778698","1330778701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11f4ed1b112e5fd399c8fe0d3429e474.jpg","text":"TemporaryFile(/tmp/multipartBody6501129784570764221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617613841,"filename":"image_23012025_08_32_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08ae09fa65f07ec0aea995a5a67902a5.jpg","text":"TemporaryFile(/tmp/multipartBody3184833909520354825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617613841,"filename":"image_23012025_08_31_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8556aed1aa2c3a4362846115049c88c.jpg","text":"TemporaryFile(/tmp/multipartBody5323178232089564849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617613841,"filename":"image_23012025_08_32_05_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7904c6c2363259479edf00c441f4587b.jpg","text":"TemporaryFile(/tmp/multipartBody7238920311323777411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617613841,"filename":"image_23012025_08_32_16_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778698","file1":"1330778693","file0":"1330778690","file3":"1330778701"},"map_files_photo_id_array":[{"photo_id":"1330778698","filename":"file2"},{"photo_id":"1330778693","filename":"file1"},{"photo_id":"1330778690","filename":"file0"},{"photo_id":"1330778701","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778701":["hashtag1","hashtag2"]},{"1330778690":["hashtag1","hashtag2"]},{"1330778693":["hashtag1","hashtag2"]},{"1330778698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778701, 1330778690, 1330778693, 1330778698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.27928376197815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:33:32.157014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_46_10364.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_16_10348.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_25_9371.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_36_10425.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_45_9495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/32/image_23012025_08_32_46_10364.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_16_10348.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_25_9371.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_36_10425.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_45_9495.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":["1330778748","1330778750","1330778770","1330778764","1330778767"],"photo_ids_order":["1330778748","1330778750","1330778764","1330778767","1330778770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be8116068c5f78663a7f40db90d82e2f.jpg","text":"TemporaryFile(/tmp/multipartBody6217712314880495787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617673058,"filename":"image_23012025_08_32_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d288bb295822e3481e8c43e32dc0454.jpg","text":"TemporaryFile(/tmp/multipartBody1670441468397351976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617673058,"filename":"image_23012025_08_33_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e8a3323046cdb7593c070f248fd3b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2699647924389979140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617673058,"filename":"image_23012025_08_33_45_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/def957f532e564efe2762d08e988fc8c.jpg","text":"TemporaryFile(/tmp/multipartBody9076358037552366961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617673058,"filename":"image_23012025_08_33_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a57e1f7a8da76a7d695e2132b6b9491d.jpg","text":"TemporaryFile(/tmp/multipartBody8898276253046744319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617673058,"filename":"image_23012025_08_33_36_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778764","file1":"1330778750","file0":"1330778748","file4":"1330778770","file3":"1330778767"},"map_files_photo_id_array":[{"photo_id":"1330778764","filename":"file2"},{"photo_id":"1330778770","filename":"file4"},{"photo_id":"1330778750","filename":"file1"},{"photo_id":"1330778748","filename":"file0"},{"photo_id":"1330778767","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778748":["hashtag1","hashtag2"]},{"1330778750":["hashtag1","hashtag2"]},{"1330778770":["hashtag1","hashtag2"]},{"1330778764":["hashtag1","hashtag2"]},{"1330778767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778748, 1330778750, 1330778770, 1330778764, 1330778767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.516337156295776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:34:32.308334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_56_10356.jpg', '/home/pi/Desktop/images/23012025/08/33/image_23012025_08_34_06_10329.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_15_9445.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_26_10351.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_35_9453.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_46_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_33_56_10356.jpg
/home/pi/Desktop/images/23012025/08/33/image_23012025_08_34_06_10329.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_15_9445.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_26_10351.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_35_9453.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_46_10361.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":["1330778934","1330778823","1330778817","1330779098","1330778820","1330779274"],"photo_ids_order":["1330778817","1330778820","1330778823","1330778934","1330779098","1330779274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b156cd707d7af9f9480d6074656dad1.jpg","text":"TemporaryFile(/tmp/multipartBody7304106162753537678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617733204,"filename":"image_23012025_08_34_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ad0b96fb57b50aa6b1de0edbb82109b.jpg","text":"TemporaryFile(/tmp/multipartBody2089138949087262300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617733204,"filename":"image_23012025_08_34_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8ef20cd57359a5e03472c1200eca489.jpg","text":"TemporaryFile(/tmp/multipartBody5233329281998210529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617733204,"filename":"image_23012025_08_33_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d69ae92d6fc6dc79d2c610500bdf937.jpg","text":"TemporaryFile(/tmp/multipartBody8711483013308059547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617733204,"filename":"image_23012025_08_34_35_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c43ca81b3fa064dafe1fb449b4be4f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3752010137727267186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617733204,"filename":"image_23012025_08_34_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/900cb1aea54efa997c8afb2428fa2402.jpg","text":"TemporaryFile(/tmp/multipartBody8690335623802123424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617733204,"filename":"image_23012025_08_34_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330778823","file1":"1330778820","file0":"1330778817","file4":"1330779098","file5":"1330779274","file3":"1330778934"},"map_files_photo_id_array":[{"photo_id":"1330779274","filename":"file5"},{"photo_id":"1330778823","filename":"file2"},{"photo_id":"1330779098","filename":"file4"},{"photo_id":"1330778820","filename":"file1"},{"photo_id":"1330778817","filename":"file0"},{"photo_id":"1330778934","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330778934":["hashtag1","hashtag2"]},{"1330778823":["hashtag1","hashtag2"]},{"1330778817":["hashtag1","hashtag2"]},{"1330779098":["hashtag1","hashtag2"]},{"1330778820":["hashtag1","hashtag2"]},{"1330779274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330778934, 1330778823, 1330778817, 1330779098, 1330778820, 1330779274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.029122829437256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:35:32.554556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_56_10453.jpg', '/home/pi/Desktop/images/23012025/08/34/image_23012025_08_35_05_9349.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_16_10338.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_25_9459.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_35_10336.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_46_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_34_56_10453.jpg
/home/pi/Desktop/images/23012025/08/34/image_23012025_08_35_05_9349.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_16_10338.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_25_9459.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_35_10336.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_46_10332.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":["1330779651","1330779669","1330779494","1330779691","1330779496","1330779502"],"photo_ids_order":["1330779494","1330779496","1330779502","1330779651","1330779669","1330779691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16f72b4159fe0ef963fc3782ac1a88be.jpg","text":"TemporaryFile(/tmp/multipartBody3048660964453856762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617793467,"filename":"image_23012025_08_35_25_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d44b6bc80766b6533a4f3c431abad8d.jpg","text":"TemporaryFile(/tmp/multipartBody8522118560051754430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617793467,"filename":"image_23012025_08_35_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e899d3fdc18fb411e60f460231234ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6935578829900185854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617793467,"filename":"image_23012025_08_34_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c089c4f9b66c612fe6590181295e3511.jpg","text":"TemporaryFile(/tmp/multipartBody5568341357818186616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617793467,"filename":"image_23012025_08_35_46_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69dd1157c636e42595bbbb5e12fada11.jpg","text":"TemporaryFile(/tmp/multipartBody7541488162273129080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617793467,"filename":"image_23012025_08_35_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70a32865c223f07d9ce9986419459c54.jpg","text":"TemporaryFile(/tmp/multipartBody3064910093603559370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617793467,"filename":"image_23012025_08_35_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330779502","file1":"1330779496","file0":"1330779494","file4":"1330779669","file5":"1330779691","file3":"1330779651"},"map_files_photo_id_array":[{"photo_id":"1330779691","filename":"file5"},{"photo_id":"1330779502","filename":"file2"},{"photo_id":"1330779669","filename":"file4"},{"photo_id":"1330779496","filename":"file1"},{"photo_id":"1330779494","filename":"file0"},{"photo_id":"1330779651","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330779651":["hashtag1","hashtag2"]},{"1330779669":["hashtag1","hashtag2"]},{"1330779494":["hashtag1","hashtag2"]},{"1330779691":["hashtag1","hashtag2"]},{"1330779496":["hashtag1","hashtag2"]},{"1330779502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330779651, 1330779669, 1330779494, 1330779691, 1330779496, 1330779502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05831480026245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:36:32.746134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_55_9347.jpg', '/home/pi/Desktop/images/23012025/08/35/image_23012025_08_36_05_10333.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_25_9348.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_36_10351.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_46_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_35_55_9347.jpg
/home/pi/Desktop/images/23012025/08/35/image_23012025_08_36_05_10333.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_25_9348.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_36_10351.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_46_10475.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":["1330779802","1330779810","1330779797","1330779805","1330779808"],"photo_ids_order":["1330779797","1330779802","1330779805","1330779808","1330779810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8f25c3f30240480e470875d8dce9551.jpg","text":"TemporaryFile(/tmp/multipartBody7278242261438132111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617853625,"filename":"image_23012025_08_36_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35d47130eb65c3c3b78dac95cc8f8158.jpg","text":"TemporaryFile(/tmp/multipartBody8670010555493738538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617853625,"filename":"image_23012025_08_36_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5929e2f82e9c44b1a3c2bc0e64ae2aab.jpg","text":"TemporaryFile(/tmp/multipartBody3153154857577903812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617853625,"filename":"image_23012025_08_35_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81a59d4042c1d5b56dfee5bcc99c8aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6573280956091271388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617853625,"filename":"image_23012025_08_36_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1be73c278efdf23997cfa7ccfb32e4b5.jpg","text":"TemporaryFile(/tmp/multipartBody8029564892950710898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617853625,"filename":"image_23012025_08_36_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330779805","file1":"1330779802","file0":"1330779797","file4":"1330779810","file3":"1330779808"},"map_files_photo_id_array":[{"photo_id":"1330779805","filename":"file2"},{"photo_id":"1330779810","filename":"file4"},{"photo_id":"1330779802","filename":"file1"},{"photo_id":"1330779797","filename":"file0"},{"photo_id":"1330779808","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330779802":["hashtag1","hashtag2"]},{"1330779810":["hashtag1","hashtag2"]},{"1330779797":["hashtag1","hashtag2"]},{"1330779805":["hashtag1","hashtag2"]},{"1330779808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330779802, 1330779810, 1330779797, 1330779805, 1330779808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.133097410202026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:37:33.025436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_55_9365.jpg', '/home/pi/Desktop/images/23012025/08/36/image_23012025_08_37_06_10338.jpg', '/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_15_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_36_55_9365.jpg
/home/pi/Desktop/images/23012025/08/36/image_23012025_08_37_06_10338.jpg
/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_15_9335.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":["1330779939","1330779843","1330779955"],"photo_ids_order":["1330779843","1330779939","1330779955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e6a2adfdc9c8e4a0ce4e54f356758d5.jpg","text":"TemporaryFile(/tmp/multipartBody9052237092630009110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617913878,"filename":"image_23012025_08_37_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b25f115753a17c7c984779718492e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5065019346443032162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617913878,"filename":"image_23012025_08_36_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fdd1251e482c4127c6a74b9922d7265.jpg","text":"TemporaryFile(/tmp/multipartBody8248068709194804743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617913878,"filename":"image_23012025_08_37_15_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330779955","file1":"1330779939","file0":"1330779843"},"map_files_photo_id_array":[{"photo_id":"1330779955","filename":"file2"},{"photo_id":"1330779939","filename":"file1"},{"photo_id":"1330779843","filename":"file0"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330779939":["hashtag1","hashtag2"]},{"1330779843":["hashtag1","hashtag2"]},{"1330779955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330779939, 1330779843, 1330779955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.46121644973755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:38:02.806078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_24_9338.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_35_10404.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_45_10331.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_54_9343.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_27_05_10371.jpg', '/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_14_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_24_9338.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_35_10404.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_45_10331.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_54_9343.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_27_05_10371.jpg
/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_14_9450.jpg
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: 1.1886694431304932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:38:32.228636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_36_10380.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_15_10352.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_26_10344.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_35_9448.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_46_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/37/image_23012025_08_37_36_10380.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_15_10352.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_26_10344.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_35_9448.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_46_10337.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":["1330780045","1330780053","1330780058","1330780043","1330780048"],"photo_ids_order":["1330780043","1330780045","1330780048","1330780053","1330780058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5c2015bb8a104a8c7bf3486355baaf5.jpg","text":"TemporaryFile(/tmp/multipartBody7790125294778296671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617973129,"filename":"image_23012025_08_38_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f3e1dc97ab2279ccac2694d19b07b87.jpg","text":"TemporaryFile(/tmp/multipartBody4108574047765433990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617973129,"filename":"image_23012025_08_38_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95015a2796067016b917ca1d034dbda2.jpg","text":"TemporaryFile(/tmp/multipartBody600178777775684469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617973129,"filename":"image_23012025_08_38_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cba414b2ba3ada46886b11da800a696.jpg","text":"TemporaryFile(/tmp/multipartBody7409703381451471147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617973129,"filename":"image_23012025_08_37_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca904f397d5607719977217507cf9f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8464371924561087089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737617973129,"filename":"image_23012025_08_38_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780048","file1":"1330780045","file0":"1330780043","file4":"1330780058","file3":"1330780053"},"map_files_photo_id_array":[{"photo_id":"1330780048","filename":"file2"},{"photo_id":"1330780058","filename":"file4"},{"photo_id":"1330780045","filename":"file1"},{"photo_id":"1330780043","filename":"file0"},{"photo_id":"1330780053","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780045":["hashtag1","hashtag2"]},{"1330780053":["hashtag1","hashtag2"]},{"1330780058":["hashtag1","hashtag2"]},{"1330780043":["hashtag1","hashtag2"]},{"1330780048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780045, 1330780053, 1330780058, 1330780043, 1330780048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.25061011314392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:39:32.517569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_56_10346.jpg', '/home/pi/Desktop/images/23012025/08/38/image_23012025_08_39_05_9363.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_16_10368.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_25_9404.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_35_10339.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_46_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_38_56_10346.jpg
/home/pi/Desktop/images/23012025/08/38/image_23012025_08_39_05_9363.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_16_10368.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_25_9404.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_35_10339.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_46_10445.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":["1330780144","1330780152","1330780125","1330780113","1330780130","1330780132"],"photo_ids_order":["1330780113","1330780125","1330780130","1330780132","1330780144","1330780152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16e89fbc4f6222769de5c6e87c1f4e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7819656246378032094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618033440,"filename":"image_23012025_08_39_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1431493b874d318a10e205cadbe8f38.jpg","text":"TemporaryFile(/tmp/multipartBody4351549762783025552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618033440,"filename":"image_23012025_08_39_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f5dbecb5d14652a5887900114e35e59.jpg","text":"TemporaryFile(/tmp/multipartBody2368012476731830956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618033440,"filename":"image_23012025_08_39_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2da50a053285e3c9eaee7a313a347474.jpg","text":"TemporaryFile(/tmp/multipartBody8360158518951867222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618033440,"filename":"image_23012025_08_38_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/830a5c5122e54bcebf159dd5897b2c00.jpg","text":"TemporaryFile(/tmp/multipartBody3396758946250610124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618033440,"filename":"image_23012025_08_39_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/052fb9fdba6713c0a862da8743f86c32.jpg","text":"TemporaryFile(/tmp/multipartBody2217986360707262949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618033440,"filename":"image_23012025_08_39_25_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780130","file1":"1330780125","file0":"1330780113","file4":"1330780144","file5":"1330780152","file3":"1330780132"},"map_files_photo_id_array":[{"photo_id":"1330780152","filename":"file5"},{"photo_id":"1330780130","filename":"file2"},{"photo_id":"1330780144","filename":"file4"},{"photo_id":"1330780125","filename":"file1"},{"photo_id":"1330780113","filename":"file0"},{"photo_id":"1330780132","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780144":["hashtag1","hashtag2"]},{"1330780152":["hashtag1","hashtag2"]},{"1330780125":["hashtag1","hashtag2"]},{"1330780113":["hashtag1","hashtag2"]},{"1330780130":["hashtag1","hashtag2"]},{"1330780132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780144, 1330780152, 1330780125, 1330780113, 1330780130, 1330780132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80647397041321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:40:32.645773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_55_9454.jpg', '/home/pi/Desktop/images/23012025/08/39/image_23012025_08_40_06_10345.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_16_10404.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_25_9363.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_45_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_39_55_9454.jpg
/home/pi/Desktop/images/23012025/08/39/image_23012025_08_40_06_10345.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_16_10404.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_25_9363.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_45_9442.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":["1330780228","1330780213","1330780222","1330780224","1330780226"],"photo_ids_order":["1330780213","1330780222","1330780224","1330780226","1330780228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0681f06480c978a203b80e83ebdbb6d.jpg","text":"TemporaryFile(/tmp/multipartBody8809079502537761328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618093531,"filename":"image_23012025_08_40_45_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61f802dc00d15791e0f62254e982644a.jpg","text":"TemporaryFile(/tmp/multipartBody2878508319833536285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618093531,"filename":"image_23012025_08_39_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1320f32ed24c6fe32a6ecb2c5689abb3.jpg","text":"TemporaryFile(/tmp/multipartBody2099690093869945757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618093531,"filename":"image_23012025_08_40_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7637effd20943662e8b371641c45819.jpg","text":"TemporaryFile(/tmp/multipartBody750479314896452093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618093531,"filename":"image_23012025_08_40_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c2d52c5191aebf904f5918c533070c1.jpg","text":"TemporaryFile(/tmp/multipartBody5649601042656034460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618093531,"filename":"image_23012025_08_40_25_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780224","file1":"1330780222","file0":"1330780213","file4":"1330780228","file3":"1330780226"},"map_files_photo_id_array":[{"photo_id":"1330780224","filename":"file2"},{"photo_id":"1330780228","filename":"file4"},{"photo_id":"1330780222","filename":"file1"},{"photo_id":"1330780213","filename":"file0"},{"photo_id":"1330780226","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780228":["hashtag1","hashtag2"]},{"1330780213":["hashtag1","hashtag2"]},{"1330780222":["hashtag1","hashtag2"]},{"1330780224":["hashtag1","hashtag2"]},{"1330780226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780228, 1330780213, 1330780222, 1330780224, 1330780226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.22364640235901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:41:32.889152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_56_10370.jpg', '/home/pi/Desktop/images/23012025/08/40/image_23012025_08_41_06_10414.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_16_9447.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_35_9440.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_46_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_40_56_10370.jpg
/home/pi/Desktop/images/23012025/08/40/image_23012025_08_41_06_10414.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_16_9447.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_35_9440.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_46_10343.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":["1330780272","1330780306","1330780282","1330780285","1330780270"],"photo_ids_order":["1330780270","1330780272","1330780282","1330780285","1330780306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d6efa155e8537747baaef877dcea4d3.jpg","text":"TemporaryFile(/tmp/multipartBody4655312193383216961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618153771,"filename":"image_23012025_08_41_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a15d3123c96764988c74ccf8563d4770.jpg","text":"TemporaryFile(/tmp/multipartBody2204409935924294922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618153771,"filename":"image_23012025_08_41_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6818f0afa730c09781e19454e7ecd53a.jpg","text":"TemporaryFile(/tmp/multipartBody7134474530477906177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618153771,"filename":"image_23012025_08_41_16_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f548c76286c8d98acd595ab328f4a318.jpg","text":"TemporaryFile(/tmp/multipartBody8207306729268760454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618153771,"filename":"image_23012025_08_41_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04c423fcc8b3a07397b4a1ab86809547.jpg","text":"TemporaryFile(/tmp/multipartBody2823318840785135448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618153771,"filename":"image_23012025_08_40_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780282","file1":"1330780272","file0":"1330780270","file4":"1330780306","file3":"1330780285"},"map_files_photo_id_array":[{"photo_id":"1330780282","filename":"file2"},{"photo_id":"1330780306","filename":"file4"},{"photo_id":"1330780272","filename":"file1"},{"photo_id":"1330780270","filename":"file0"},{"photo_id":"1330780285","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780272":["hashtag1","hashtag2"]},{"1330780306":["hashtag1","hashtag2"]},{"1330780282":["hashtag1","hashtag2"]},{"1330780285":["hashtag1","hashtag2"]},{"1330780270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780272, 1330780306, 1330780282, 1330780285, 1330780270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.405722856521606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:42:33.026319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_55_9435.jpg', '/home/pi/Desktop/images/23012025/08/41/image_23012025_08_42_05_10335.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_16_10351.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_25_9425.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_36_10447.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_41_55_9435.jpg
/home/pi/Desktop/images/23012025/08/41/image_23012025_08_42_05_10335.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_16_10351.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_25_9425.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_36_10447.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_46_10353.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":["1330780348","1330780321","1330780324","1330780346","1330780349","1330780334"],"photo_ids_order":["1330780321","1330780324","1330780334","1330780346","1330780348","1330780349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1620308f79f0959ae466347492889f63.jpg","text":"TemporaryFile(/tmp/multipartBody502690816975212336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618213922,"filename":"image_23012025_08_42_36_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0991373abdd90b6cb78ba8d3916f934c.jpg","text":"TemporaryFile(/tmp/multipartBody2853489074812673413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618213922,"filename":"image_23012025_08_41_55_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bd5e098875eefd24eb4aa1ebf4f17d1.jpg","text":"TemporaryFile(/tmp/multipartBody8619031733188778775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618213922,"filename":"image_23012025_08_42_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c66d24e1342878bbfa958fc29dfc38a.jpg","text":"TemporaryFile(/tmp/multipartBody332649401297592482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618213922,"filename":"image_23012025_08_42_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/766f35bb55c09324321796fc84d0b15d.jpg","text":"TemporaryFile(/tmp/multipartBody4076586292461058867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618213922,"filename":"image_23012025_08_42_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b9f451dd446aab3d52ddd79c3b251f5.jpg","text":"TemporaryFile(/tmp/multipartBody3048285530702595951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618213922,"filename":"image_23012025_08_42_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780334","file1":"1330780324","file0":"1330780321","file4":"1330780348","file5":"1330780349","file3":"1330780346"},"map_files_photo_id_array":[{"photo_id":"1330780349","filename":"file5"},{"photo_id":"1330780334","filename":"file2"},{"photo_id":"1330780348","filename":"file4"},{"photo_id":"1330780324","filename":"file1"},{"photo_id":"1330780321","filename":"file0"},{"photo_id":"1330780346","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780348":["hashtag1","hashtag2"]},{"1330780321":["hashtag1","hashtag2"]},{"1330780324":["hashtag1","hashtag2"]},{"1330780346":["hashtag1","hashtag2"]},{"1330780349":["hashtag1","hashtag2"]},{"1330780334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780348, 1330780321, 1330780324, 1330780346, 1330780349, 1330780334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08327102661133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:43:32.270348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_55_9379.jpg', '/home/pi/Desktop/images/23012025/08/42/image_23012025_08_43_06_10335.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_15_9390.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_26_10439.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_36_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_42_55_9379.jpg
/home/pi/Desktop/images/23012025/08/42/image_23012025_08_43_06_10335.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_15_9390.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_26_10439.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_36_10352.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":["1330780360","1330780374","1330780356","1330780365","1330780370"],"photo_ids_order":["1330780356","1330780360","1330780365","1330780370","1330780374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5054713ce619ff45bccede31245e4b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6194879796499894602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618273142,"filename":"image_23012025_08_43_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34b3088359720f435af98e0f8aee866c.jpg","text":"TemporaryFile(/tmp/multipartBody6874811451719654450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618273142,"filename":"image_23012025_08_43_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c8317646e66c3edeba10cae9be3a523.jpg","text":"TemporaryFile(/tmp/multipartBody2768575190693875771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618273142,"filename":"image_23012025_08_42_55_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f15cb9274356346ce875db2c2ccdd79.jpg","text":"TemporaryFile(/tmp/multipartBody6713081960678924028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618273142,"filename":"image_23012025_08_43_15_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e27f5b0d7ad73f12f01f752fc6495ce.jpg","text":"TemporaryFile(/tmp/multipartBody1658164635358133009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618273142,"filename":"image_23012025_08_43_26_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780365","file1":"1330780360","file0":"1330780356","file4":"1330780374","file3":"1330780370"},"map_files_photo_id_array":[{"photo_id":"1330780365","filename":"file2"},{"photo_id":"1330780374","filename":"file4"},{"photo_id":"1330780360","filename":"file1"},{"photo_id":"1330780356","filename":"file0"},{"photo_id":"1330780370","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780360":["hashtag1","hashtag2"]},{"1330780374":["hashtag1","hashtag2"]},{"1330780356":["hashtag1","hashtag2"]},{"1330780365":["hashtag1","hashtag2"]},{"1330780370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780360, 1330780374, 1330780356, 1330780365, 1330780370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.04552745819092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:44:32.480225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_45_9360.jpg', '/home/pi/Desktop/images/23012025/08/43/image_23012025_08_44_06_10342.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_26_10331.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_35_9510.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_45_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_43_45_9360.jpg
/home/pi/Desktop/images/23012025/08/43/image_23012025_08_44_06_10342.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_26_10331.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_35_9510.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_45_10333.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":["1330780414","1330780398","1330780395","1330780419","1330780423"],"photo_ids_order":["1330780395","1330780398","1330780414","1330780419","1330780423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9abf65a21aa731028b05a1edf0916a59.jpg","text":"TemporaryFile(/tmp/multipartBody8395143179842873007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618333359,"filename":"image_23012025_08_44_26_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fa446eeb71193f05cded8798a2ea4ef.jpg","text":"TemporaryFile(/tmp/multipartBody3319459754821890713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618333359,"filename":"image_23012025_08_44_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a508dd2f2d6ec6bf58360bbab24885e4.jpg","text":"TemporaryFile(/tmp/multipartBody8597635449316801479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618333359,"filename":"image_23012025_08_43_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23a01367058f2bfd00708f59e41906cc.jpg","text":"TemporaryFile(/tmp/multipartBody466151874175122605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618333359,"filename":"image_23012025_08_44_35_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf86e66d1a463a1bbeb43fdb93da45d3.jpg","text":"TemporaryFile(/tmp/multipartBody392125840644424327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618333359,"filename":"image_23012025_08_44_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780414","file1":"1330780398","file0":"1330780395","file4":"1330780423","file3":"1330780419"},"map_files_photo_id_array":[{"photo_id":"1330780414","filename":"file2"},{"photo_id":"1330780423","filename":"file4"},{"photo_id":"1330780398","filename":"file1"},{"photo_id":"1330780395","filename":"file0"},{"photo_id":"1330780419","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780414":["hashtag1","hashtag2"]},{"1330780398":["hashtag1","hashtag2"]},{"1330780395":["hashtag1","hashtag2"]},{"1330780419":["hashtag1","hashtag2"]},{"1330780423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780414, 1330780398, 1330780395, 1330780419, 1330780423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.25379300117493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:45:32.738343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_56_10476.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_45_05_9343.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_25_9475.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_56_10476.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_45_05_9343.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_25_9475.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_46_10350.jpg
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: 0.5204873085021973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:45:42.744127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_56_10476.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_45_05_9343.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_25_9475.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_56_10476.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_45_05_9343.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_25_9475.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_46_10350.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":["1330780491","1330780463","1330780466","1330780469","1330780486"],"photo_ids_order":["1330780463","1330780466","1330780469","1330780486","1330780491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52b72c5b16518f9702a97b834d24590c.jpg","text":"TemporaryFile(/tmp/multipartBody478482756176916814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618403745,"filename":"image_23012025_08_45_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ddf6afe8b3c42adf91c9d11550141d3.jpg","text":"TemporaryFile(/tmp/multipartBody5253315587329869840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618403745,"filename":"image_23012025_08_44_56_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/931f7528371ab70242fb01a53798a0cf.jpg","text":"TemporaryFile(/tmp/multipartBody2509829074202482310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618403745,"filename":"image_23012025_08_45_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d96dc57bbcf274e10ca0177787ad93e2.jpg","text":"TemporaryFile(/tmp/multipartBody2019652012255197000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618403745,"filename":"image_23012025_08_45_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec81cbf82c809c26b2c3a71567dca912.jpg","text":"TemporaryFile(/tmp/multipartBody4202265304806032921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618403745,"filename":"image_23012025_08_45_25_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780469","file1":"1330780466","file0":"1330780463","file4":"1330780491","file3":"1330780486"},"map_files_photo_id_array":[{"photo_id":"1330780469","filename":"file2"},{"photo_id":"1330780491","filename":"file4"},{"photo_id":"1330780466","filename":"file1"},{"photo_id":"1330780463","filename":"file0"},{"photo_id":"1330780486","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780491":["hashtag1","hashtag2"]},{"1330780463":["hashtag1","hashtag2"]},{"1330780466":["hashtag1","hashtag2"]},{"1330780469":["hashtag1","hashtag2"]},{"1330780486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780491, 1330780463, 1330780466, 1330780469, 1330780486)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1330780469 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1330780469 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg";
uploaded 5 photos
time to upload: 61.1054413318634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 08:46:53.021501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 628, 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
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:47:33.071027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_56_10476.jpg', '/home/pi/Desktop/images/23012025/08/44/image_23012025_08_45_05_9343.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_25_9475.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_46_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_44_56_10476.jpg
/home/pi/Desktop/images/23012025/08/44/image_23012025_08_45_05_9343.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_16_10355.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_25_9475.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_46_10350.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":["1330780572","1330780563","1330780557","1330780622","1330780636"],"photo_ids_order":["1330780557","1330780563","1330780572","1330780622","1330780636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4b01526c36cd5f082495f2695529af7.jpg","text":"TemporaryFile(/tmp/multipartBody7924898378900494681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513935,"filename":"image_23012025_08_45_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa5368a7579a068c02da586491782b70.jpg","text":"TemporaryFile(/tmp/multipartBody926677145742110698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513935,"filename":"image_23012025_08_45_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ea9187a7de27d53acb6ce0b138e47ee.jpg","text":"TemporaryFile(/tmp/multipartBody5199653200208192629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513935,"filename":"image_23012025_08_44_56_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/692e5093769085ccf99274707e60aecd.jpg","text":"TemporaryFile(/tmp/multipartBody2994086494515868296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513935,"filename":"image_23012025_08_45_25_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86e2526bb89721a422e4fa3510592c96.jpg","text":"TemporaryFile(/tmp/multipartBody1219949549722682513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618513935,"filename":"image_23012025_08_45_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780572","file1":"1330780563","file0":"1330780557","file4":"1330780636","file3":"1330780622"},"map_files_photo_id_array":[{"photo_id":"1330780572","filename":"file2"},{"photo_id":"1330780636","filename":"file4"},{"photo_id":"1330780563","filename":"file1"},{"photo_id":"1330780557","filename":"file0"},{"photo_id":"1330780622","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780572":["hashtag1","hashtag2"]},{"1330780563":["hashtag1","hashtag2"]},{"1330780557":["hashtag1","hashtag2"]},{"1330780622":["hashtag1","hashtag2"]},{"1330780636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780572, 1330780563, 1330780557, 1330780622, 1330780636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.55341172218323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:48:32.535181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_55_9355.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_46_06_10354.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_16_10372.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_36_10333.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_45_9505.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_56_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_55_9355.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_46_06_10354.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_16_10372.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_36_10333.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_45_9505.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_56_10359.jpg
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: 0.5081822872161865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:48:42.503863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_55_9355.jpg', '/home/pi/Desktop/images/23012025/08/45/image_23012025_08_46_06_10354.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_16_10372.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_36_10333.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_45_9505.jpg', '/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_56_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_45_55_9355.jpg
/home/pi/Desktop/images/23012025/08/45/image_23012025_08_46_06_10354.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_16_10372.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_36_10333.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_45_9505.jpg
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_46_56_10359.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":["1330780677","1330780692","1330780694","1330780697","1330780690","1330780684"],"photo_ids_order":["1330780677","1330780684","1330780690","1330780692","1330780694","1330780697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8b791debfb11e20cc69237696157ffa.jpg","text":"TemporaryFile(/tmp/multipartBody9144804307684828745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618583415,"filename":"image_23012025_08_45_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5643ebfae84da22bcdef9f74796631ac.jpg","text":"TemporaryFile(/tmp/multipartBody4609315017092708698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618583415,"filename":"image_23012025_08_46_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49dbeb9ad50901e967a230928baa401f.jpg","text":"TemporaryFile(/tmp/multipartBody837953483687728635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618583415,"filename":"image_23012025_08_46_45_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15a4095e7c7dbd32f24907959d71e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4883401466944112654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618583415,"filename":"image_23012025_08_46_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d74611c530acc4264033ca9cd41f334.jpg","text":"TemporaryFile(/tmp/multipartBody7007499582907513940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618583415,"filename":"image_23012025_08_46_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7388f57446acf51d0e78ae978a2e091.jpg","text":"TemporaryFile(/tmp/multipartBody7610390460949986653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618583415,"filename":"image_23012025_08_46_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780690","file1":"1330780684","file0":"1330780677","file4":"1330780694","file5":"1330780697","file3":"1330780692"},"map_files_photo_id_array":[{"photo_id":"1330780697","filename":"file5"},{"photo_id":"1330780690","filename":"file2"},{"photo_id":"1330780694","filename":"file4"},{"photo_id":"1330780684","filename":"file1"},{"photo_id":"1330780677","filename":"file0"},{"photo_id":"1330780692","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780677":["hashtag1","hashtag2"]},{"1330780692":["hashtag1","hashtag2"]},{"1330780694":["hashtag1","hashtag2"]},{"1330780697":["hashtag1","hashtag2"]},{"1330780690":["hashtag1","hashtag2"]},{"1330780684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780677, 1330780692, 1330780694, 1330780697, 1330780690, 1330780684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.06205415725708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:49:32.691873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/46/image_23012025_08_47_06_10327.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_25_10046.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_35_10050.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_46_10364.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_55_9356.jpg', '/home/pi/Desktop/images/23012025/08/47/image_23012025_08_48_05_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/46/image_23012025_08_47_06_10327.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_25_10046.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_35_10050.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_46_10364.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_47_55_9356.jpg
/home/pi/Desktop/images/23012025/08/47/image_23012025_08_48_05_10352.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":["1330780705","1330780761","1330780734","1330780745","1330780762","1330780741"],"photo_ids_order":["1330780705","1330780734","1330780741","1330780745","1330780761","1330780762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e731c8fecab586a8e1fc1a14a9057588.jpg","text":"TemporaryFile(/tmp/multipartBody3601117250410436236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633608,"filename":"image_23012025_08_47_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c66f8569c4e4dd4658b3c6658b07818c.jpg","text":"TemporaryFile(/tmp/multipartBody1945471635009098710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633608,"filename":"image_23012025_08_47_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f504d4521a24a5324610c9d0afe8049.jpg","text":"TemporaryFile(/tmp/multipartBody3353156084958684559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633608,"filename":"image_23012025_08_47_25_10046.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/300dc23b41c10a051e27f0e583376e2a.jpg","text":"TemporaryFile(/tmp/multipartBody5928640944808868985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633608,"filename":"image_23012025_08_47_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4af2c6e361fb2b623699b42b0def7c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4151895021543137136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633608,"filename":"image_23012025_08_48_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af6f4fc1cd7e8dd8cd452d49a3842725.jpg","text":"TemporaryFile(/tmp/multipartBody7201561293907387627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618633608,"filename":"image_23012025_08_47_35_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780741","file1":"1330780734","file0":"1330780705","file4":"1330780761","file5":"1330780762","file3":"1330780745"},"map_files_photo_id_array":[{"photo_id":"1330780762","filename":"file5"},{"photo_id":"1330780741","filename":"file2"},{"photo_id":"1330780761","filename":"file4"},{"photo_id":"1330780734","filename":"file1"},{"photo_id":"1330780705","filename":"file0"},{"photo_id":"1330780745","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780705":["hashtag1","hashtag2"]},{"1330780761":["hashtag1","hashtag2"]},{"1330780734":["hashtag1","hashtag2"]},{"1330780745":["hashtag1","hashtag2"]},{"1330780762":["hashtag1","hashtag2"]},{"1330780741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780705, 1330780761, 1330780734, 1330780745, 1330780762, 1330780741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85883617401123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:50:32.913527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_16_10360.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_25_9467.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_36_10351.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_46_10404.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_55_9326.jpg', '/home/pi/Desktop/images/23012025/08/48/image_23012025_08_49_06_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_16_10360.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_25_9467.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_36_10351.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_46_10404.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_48_55_9326.jpg
/home/pi/Desktop/images/23012025/08/48/image_23012025_08_49_06_10388.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":["1330780779","1330780772","1330780775","1330780769","1330780766","1330780777"],"photo_ids_order":["1330780766","1330780769","1330780772","1330780775","1330780777","1330780779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1e5877109ed9045aa3c585c07f4918d.jpg","text":"TemporaryFile(/tmp/multipartBody4374590443346615844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618693804,"filename":"image_23012025_08_49_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7919bac6122477d02eb9a9fae0608eb3.jpg","text":"TemporaryFile(/tmp/multipartBody4542109198010463015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618693804,"filename":"image_23012025_08_48_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f42f49ffd870915f948b6adb4f5b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody121645279105948681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618693804,"filename":"image_23012025_08_48_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a33a507f051641e7bba71ca160b2ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7354765732173183006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618693804,"filename":"image_23012025_08_48_25_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03d897a8482f0c584f1ffca8f85e7efe.jpg","text":"TemporaryFile(/tmp/multipartBody1134897872386165377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618693804,"filename":"image_23012025_08_48_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81eb21cb7b398485059c45c4f6cf4409.jpg","text":"TemporaryFile(/tmp/multipartBody5567359278913368103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618693804,"filename":"image_23012025_08_48_55_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780772","file1":"1330780769","file0":"1330780766","file4":"1330780777","file5":"1330780779","file3":"1330780775"},"map_files_photo_id_array":[{"photo_id":"1330780779","filename":"file5"},{"photo_id":"1330780772","filename":"file2"},{"photo_id":"1330780777","filename":"file4"},{"photo_id":"1330780769","filename":"file1"},{"photo_id":"1330780766","filename":"file0"},{"photo_id":"1330780775","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780779":["hashtag1","hashtag2"]},{"1330780772":["hashtag1","hashtag2"]},{"1330780775":["hashtag1","hashtag2"]},{"1330780769":["hashtag1","hashtag2"]},{"1330780766":["hashtag1","hashtag2"]},{"1330780777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780779, 1330780772, 1330780775, 1330780769, 1330780766, 1330780777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.66799569129944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:51:33.061494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_15_9443.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_26_10367.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_36_10350.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_45_9455.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_56_10356.jpg', '/home/pi/Desktop/images/23012025/08/49/image_23012025_08_50_05_9461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_15_9443.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_26_10367.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_36_10350.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_45_9455.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_49_56_10356.jpg
/home/pi/Desktop/images/23012025/08/49/image_23012025_08_50_05_9461.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":["1330780794","1330780797","1330780800","1330780799","1330780792","1330780789"],"photo_ids_order":["1330780789","1330780792","1330780794","1330780797","1330780799","1330780800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d26b1709a23f1440cd5cfcfb7c74efc.jpg","text":"TemporaryFile(/tmp/multipartBody7822364546120079406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753946,"filename":"image_23012025_08_49_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57daebac67c96a399256fd547b80160c.jpg","text":"TemporaryFile(/tmp/multipartBody7083090608661069599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753946,"filename":"image_23012025_08_49_45_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00dfcb4a2f226bfef3dd4ddc199d4e17.jpg","text":"TemporaryFile(/tmp/multipartBody5610337054487958235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753946,"filename":"image_23012025_08_50_05_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d6b3ef8e0e3cc9eeb75424863a8b2fd.jpg","text":"TemporaryFile(/tmp/multipartBody9178595599624958426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753946,"filename":"image_23012025_08_49_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17053c12830faf02f1b7e52b5af0f309.jpg","text":"TemporaryFile(/tmp/multipartBody2568057089596999026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753946,"filename":"image_23012025_08_49_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10cef38862f7066619fc6d6d989e2053.jpg","text":"TemporaryFile(/tmp/multipartBody8492702447830777522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618753946,"filename":"image_23012025_08_49_15_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780794","file1":"1330780792","file0":"1330780789","file4":"1330780799","file5":"1330780800","file3":"1330780797"},"map_files_photo_id_array":[{"photo_id":"1330780800","filename":"file5"},{"photo_id":"1330780794","filename":"file2"},{"photo_id":"1330780799","filename":"file4"},{"photo_id":"1330780792","filename":"file1"},{"photo_id":"1330780789","filename":"file0"},{"photo_id":"1330780797","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780794":["hashtag1","hashtag2"]},{"1330780797":["hashtag1","hashtag2"]},{"1330780800":["hashtag1","hashtag2"]},{"1330780799":["hashtag1","hashtag2"]},{"1330780792":["hashtag1","hashtag2"]},{"1330780789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780794, 1330780797, 1330780800, 1330780799, 1330780792, 1330780789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02095651626587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:52:32.280840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_16_10346.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_26_10356.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_35_9336.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_46_10357.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_56_10349.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_51_05_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_16_10346.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_26_10356.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_35_9336.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_46_10357.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_56_10349.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_51_05_9413.jpg
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: 0.5068879127502441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:52:42.379606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_16_10346.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_26_10356.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_35_9336.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_46_10357.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_56_10349.jpg', '/home/pi/Desktop/images/23012025/08/50/image_23012025_08_51_05_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_16_10346.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_26_10356.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_35_9336.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_46_10357.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_50_56_10349.jpg
/home/pi/Desktop/images/23012025/08/50/image_23012025_08_51_05_9413.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":["1330780843","1330780830","1330780836","1330780841","1330780844","1330780846"],"photo_ids_order":["1330780830","1330780836","1330780841","1330780843","1330780844","1330780846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff3269205ba2b52823760f10d44fc74f.jpg","text":"TemporaryFile(/tmp/multipartBody2995886204819947627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618823287,"filename":"image_23012025_08_50_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29d32227e6ab4e9380861573e4e4d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody454303750426121041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618823287,"filename":"image_23012025_08_50_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fc33f384afe0d19448d74940d9bc81e.jpg","text":"TemporaryFile(/tmp/multipartBody6200827013616299432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618823287,"filename":"image_23012025_08_50_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78d5243652d9a544221ffe9e5b81218e.jpg","text":"TemporaryFile(/tmp/multipartBody1592187393469528016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618823287,"filename":"image_23012025_08_50_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d6d81dfabf40f9fe609a8e6b7b7600c.jpg","text":"TemporaryFile(/tmp/multipartBody3628599379709189575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618823287,"filename":"image_23012025_08_50_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/777e5312076babacef5f46e42262c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody7159011983010864210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618823287,"filename":"image_23012025_08_51_05_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780841","file1":"1330780836","file0":"1330780830","file4":"1330780844","file5":"1330780846","file3":"1330780843"},"map_files_photo_id_array":[{"photo_id":"1330780846","filename":"file5"},{"photo_id":"1330780841","filename":"file2"},{"photo_id":"1330780844","filename":"file4"},{"photo_id":"1330780836","filename":"file1"},{"photo_id":"1330780830","filename":"file0"},{"photo_id":"1330780843","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780843":["hashtag1","hashtag2"]},{"1330780830":["hashtag1","hashtag2"]},{"1330780836":["hashtag1","hashtag2"]},{"1330780841":["hashtag1","hashtag2"]},{"1330780844":["hashtag1","hashtag2"]},{"1330780846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780843, 1330780830, 1330780836, 1330780841, 1330780844, 1330780846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.791457176208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:53:32.613722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_16_10431.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_25_9470.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_36_10329.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_46_10350.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_55_9364.jpg', '/home/pi/Desktop/images/23012025/08/51/image_23012025_08_52_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_16_10431.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_25_9470.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_36_10329.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_46_10350.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_51_55_9364.jpg
/home/pi/Desktop/images/23012025/08/51/image_23012025_08_52_06_10345.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":["1330780878","1330780889","1330780885","1330780870","1330780888","1330780873"],"photo_ids_order":["1330780870","1330780873","1330780878","1330780885","1330780888","1330780889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2cd64ff6f68b7741a9c17aec8acc658.jpg","text":"TemporaryFile(/tmp/multipartBody1692429139891915896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873493,"filename":"image_23012025_08_51_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e166e1fffce09936198b7019eaf1df6c.jpg","text":"TemporaryFile(/tmp/multipartBody2020781787920060004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873493,"filename":"image_23012025_08_52_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49bc0202831bceb52b779385dc4c3b62.jpg","text":"TemporaryFile(/tmp/multipartBody2967767934118905352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873493,"filename":"image_23012025_08_51_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16f9982ec6191ca969dd92a1667a5f4c.jpg","text":"TemporaryFile(/tmp/multipartBody7418752307309632365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873493,"filename":"image_23012025_08_51_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f22164f5378152c4e005911f39a87e5.jpg","text":"TemporaryFile(/tmp/multipartBody497325351028262167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873493,"filename":"image_23012025_08_51_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e7a4dc2ffb032f4268c7735e277460f.jpg","text":"TemporaryFile(/tmp/multipartBody6487432054995771607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618873493,"filename":"image_23012025_08_51_25_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330780878","file1":"1330780873","file0":"1330780870","file4":"1330780888","file5":"1330780889","file3":"1330780885"},"map_files_photo_id_array":[{"photo_id":"1330780889","filename":"file5"},{"photo_id":"1330780878","filename":"file2"},{"photo_id":"1330780888","filename":"file4"},{"photo_id":"1330780873","filename":"file1"},{"photo_id":"1330780870","filename":"file0"},{"photo_id":"1330780885","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330780878":["hashtag1","hashtag2"]},{"1330780889":["hashtag1","hashtag2"]},{"1330780885":["hashtag1","hashtag2"]},{"1330780870":["hashtag1","hashtag2"]},{"1330780888":["hashtag1","hashtag2"]},{"1330780873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330780878, 1330780889, 1330780885, 1330780870, 1330780888, 1330780873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.967538833618164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:54:32.650928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_15_9454.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_26_10368.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_36_10348.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_45_9450.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_56_10365.jpg', '/home/pi/Desktop/images/23012025/08/52/image_23012025_08_53_05_9489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_15_9454.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_26_10368.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_36_10348.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_45_9450.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_52_56_10365.jpg
/home/pi/Desktop/images/23012025/08/52/image_23012025_08_53_05_9489.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":["1330781049","1330781145","1330781103","1330781226","1330781363","1330781575"],"photo_ids_order":["1330781049","1330781103","1330781145","1330781226","1330781363","1330781575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b1d626e8eb4ae4e11a76ae3e12a2014.jpg","text":"TemporaryFile(/tmp/multipartBody3530614218911882538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618933535,"filename":"image_23012025_08_52_15_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fffa8a17f2ad8b4dff619ed909aa0d6.jpg","text":"TemporaryFile(/tmp/multipartBody4466404936153460382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618933535,"filename":"image_23012025_08_52_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8261ddcf69116a488b34b19a137801e0.jpg","text":"TemporaryFile(/tmp/multipartBody6387906104875026248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618933535,"filename":"image_23012025_08_52_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34bec556500d3df726206a747e486c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8146009256170578130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618933535,"filename":"image_23012025_08_52_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb6ce66b22b8b22b2ee6ffb89f787627.jpg","text":"TemporaryFile(/tmp/multipartBody6873500848604493412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618933535,"filename":"image_23012025_08_52_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d67589da7ba8e74326b0311f89cacf61.jpg","text":"TemporaryFile(/tmp/multipartBody4307882970336797296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618933535,"filename":"image_23012025_08_53_05_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330781145","file1":"1330781103","file0":"1330781049","file4":"1330781363","file5":"1330781575","file3":"1330781226"},"map_files_photo_id_array":[{"photo_id":"1330781575","filename":"file5"},{"photo_id":"1330781145","filename":"file2"},{"photo_id":"1330781363","filename":"file4"},{"photo_id":"1330781103","filename":"file1"},{"photo_id":"1330781049","filename":"file0"},{"photo_id":"1330781226","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330781049":["hashtag1","hashtag2"]},{"1330781145":["hashtag1","hashtag2"]},{"1330781103":["hashtag1","hashtag2"]},{"1330781226":["hashtag1","hashtag2"]},{"1330781363":["hashtag1","hashtag2"]},{"1330781575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330781049, 1330781145, 1330781103, 1330781226, 1330781363, 1330781575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.31852650642395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:55:32.870313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_16_10365.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_26_10415.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_35_9415.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_46_10343.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_55_9469.jpg', '/home/pi/Desktop/images/23012025/08/53/image_23012025_08_54_06_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_16_10365.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_26_10415.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_35_9415.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_46_10343.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_53_55_9469.jpg
/home/pi/Desktop/images/23012025/08/53/image_23012025_08_54_06_10345.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":["1330781808","1330781816","1330781819","1330781810","1330781813","1330781821"],"photo_ids_order":["1330781808","1330781810","1330781813","1330781816","1330781819","1330781821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecc8415cde5cec7538b80c5a759869a8.jpg","text":"TemporaryFile(/tmp/multipartBody5274918677196935171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618993760,"filename":"image_23012025_08_53_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4212b260fa9eb8d4076104c55299d50.jpg","text":"TemporaryFile(/tmp/multipartBody9195146512647141416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618993760,"filename":"image_23012025_08_53_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35da2efcb9f86f0f10345d26f669f1b9.jpg","text":"TemporaryFile(/tmp/multipartBody6114236175209912621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618993760,"filename":"image_23012025_08_53_55_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3426bc57d039ac674b4c2123105c0f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8513106896250652956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618993760,"filename":"image_23012025_08_53_26_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f88d05cf9f4a9bbc6b1a1617b7e880ea.jpg","text":"TemporaryFile(/tmp/multipartBody1429437840206378860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618993760,"filename":"image_23012025_08_53_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2713f1999e40d3194ab9817d1ee9f46f.jpg","text":"TemporaryFile(/tmp/multipartBody8318945530170331560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737618993760,"filename":"image_23012025_08_54_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330781813","file1":"1330781810","file0":"1330781808","file4":"1330781819","file5":"1330781821","file3":"1330781816"},"map_files_photo_id_array":[{"photo_id":"1330781821","filename":"file5"},{"photo_id":"1330781813","filename":"file2"},{"photo_id":"1330781819","filename":"file4"},{"photo_id":"1330781810","filename":"file1"},{"photo_id":"1330781808","filename":"file0"},{"photo_id":"1330781816","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330781808":["hashtag1","hashtag2"]},{"1330781816":["hashtag1","hashtag2"]},{"1330781819":["hashtag1","hashtag2"]},{"1330781810":["hashtag1","hashtag2"]},{"1330781813":["hashtag1","hashtag2"]},{"1330781821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330781808, 1330781816, 1330781819, 1330781810, 1330781813, 1330781821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82067918777466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:56:33.074340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_16_10342.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_25_9471.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_36_10347.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_46_10347.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_55_9350.jpg', '/home/pi/Desktop/images/23012025/08/54/image_23012025_08_55_06_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_16_10342.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_25_9471.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_36_10347.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_46_10347.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_54_55_9350.jpg
/home/pi/Desktop/images/23012025/08/54/image_23012025_08_55_06_10343.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":["1330782191","1330782196","1330782035","1330781842","1330782198","1330781926"],"photo_ids_order":["1330781842","1330781926","1330782035","1330782191","1330782196","1330782198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec0507c0b2e464f4c4f4b1cf5dac9970.jpg","text":"TemporaryFile(/tmp/multipartBody2543608927223291679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619053956,"filename":"image_23012025_08_54_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/353163ad85fd58bb44cbaca5da49d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody4518557487102090455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619053956,"filename":"image_23012025_08_54_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc46a0591f20925846563c35f1098ead.jpg","text":"TemporaryFile(/tmp/multipartBody5286487193027854455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619053956,"filename":"image_23012025_08_54_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3364b106cc5da635716442f96c43ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1929856559675815323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619053956,"filename":"image_23012025_08_54_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61911f41439461b157da87b13d8f73bb.jpg","text":"TemporaryFile(/tmp/multipartBody8501604767370491276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619053956,"filename":"image_23012025_08_55_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/091e01831d6eb782620d9edd8a41ec60.jpg","text":"TemporaryFile(/tmp/multipartBody5146693444145513174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619053956,"filename":"image_23012025_08_54_25_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782035","file1":"1330781926","file0":"1330781842","file4":"1330782196","file5":"1330782198","file3":"1330782191"},"map_files_photo_id_array":[{"photo_id":"1330782198","filename":"file5"},{"photo_id":"1330782035","filename":"file2"},{"photo_id":"1330782196","filename":"file4"},{"photo_id":"1330781926","filename":"file1"},{"photo_id":"1330781842","filename":"file0"},{"photo_id":"1330782191","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330782191":["hashtag1","hashtag2"]},{"1330782196":["hashtag1","hashtag2"]},{"1330782035":["hashtag1","hashtag2"]},{"1330781842":["hashtag1","hashtag2"]},{"1330782198":["hashtag1","hashtag2"]},{"1330781926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330782191, 1330782196, 1330782035, 1330781842, 1330782198, 1330781926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.23228049278259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 08:57:32.274203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_15_9406.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_25_10361.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_36_10335.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_45_9349.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_56_10345.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_56_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_15_9406.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_25_10361.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_36_10335.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_45_9349.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_56_10345.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_56_06_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 08:59:03.994637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_15_9406.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_25_10361.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_36_10335.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_45_9349.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_56_10345.jpg', '/home/pi/Desktop/images/23012025/08/55/image_23012025_08_56_06_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_15_9406.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_25_10361.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_36_10335.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_45_9349.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_55_56_10345.jpg
/home/pi/Desktop/images/23012025/08/55/image_23012025_08_56_06_10340.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":["1330782645","1330782525","1330782534","1330782539","1330782664","1330782544"],"photo_ids_order":["1330782525","1330782534","1330782539","1330782544","1330782645","1330782664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ba6351ad1c15a7d0222b0b98e3d8281.jpg","text":"TemporaryFile(/tmp/multipartBody481005010177566715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619206174,"filename":"image_23012025_08_55_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/645143f8f903cbc2fcb926aeedad7078.jpg","text":"TemporaryFile(/tmp/multipartBody4175196827730630463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619206174,"filename":"image_23012025_08_55_15_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bb5ea1d2817e60033137ad68c6bab31.jpg","text":"TemporaryFile(/tmp/multipartBody3100542716834661472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619206174,"filename":"image_23012025_08_55_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49f7f6b03541c3581cdf963dc37dc90b.jpg","text":"TemporaryFile(/tmp/multipartBody6781911993548956866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619206174,"filename":"image_23012025_08_55_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08b74ebf8fe9d88162669e1243bd7d11.jpg","text":"TemporaryFile(/tmp/multipartBody5652378755327478093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619206174,"filename":"image_23012025_08_56_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2de9992a2b38ab69023f190618d0d9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6346667425831541581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619206174,"filename":"image_23012025_08_55_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782539","file1":"1330782534","file0":"1330782525","file4":"1330782645","file5":"1330782664","file3":"1330782544"},"map_files_photo_id_array":[{"photo_id":"1330782664","filename":"file5"},{"photo_id":"1330782539","filename":"file2"},{"photo_id":"1330782645","filename":"file4"},{"photo_id":"1330782534","filename":"file1"},{"photo_id":"1330782525","filename":"file0"},{"photo_id":"1330782544","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330782645":["hashtag1","hashtag2"]},{"1330782525":["hashtag1","hashtag2"]},{"1330782534":["hashtag1","hashtag2"]},{"1330782539":["hashtag1","hashtag2"]},{"1330782664":["hashtag1","hashtag2"]},{"1330782544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330782645, 1330782525, 1330782534, 1330782539, 1330782664, 1330782544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47838878631592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 08:59:53.020880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_24_9338.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_35_10404.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_45_10331.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_54_9343.jpg', '/home/pi/Desktop/images/20012025/08/26/image_20012025_08_27_05_10371.jpg', '/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_14_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_24_9338.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_35_10404.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_45_10331.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_26_54_9343.jpg
/home/pi/Desktop/images/20012025/08/26/image_20012025_08_27_05_10371.jpg
/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_14_9450.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":["1330782717","1330782711","1330782689","1330782708","1330782697","1330782720"],"photo_ids_order":["1330782689","1330782697","1330782708","1330782711","1330782717","1330782720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd7f152966fe977a4b582428d3c2cb04.jpg","text":"TemporaryFile(/tmp/multipartBody4865384777786648427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619255200,"filename":"image_20012025_08_27_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49e3820ff7c30d42af3107f60fabb0e1.jpg","text":"TemporaryFile(/tmp/multipartBody6409614514657781676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619255200,"filename":"image_20012025_08_26_54_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1784d2886579c3d0c88e209b89903dd.jpg","text":"TemporaryFile(/tmp/multipartBody3385457151667095264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619255200,"filename":"image_20012025_08_26_24_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17c1f523004911f887b1887f7ede208f.jpg","text":"TemporaryFile(/tmp/multipartBody364379843988296644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619255200,"filename":"image_20012025_08_26_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36f9f5b427f97bffd88f70bcef60c31d.jpg","text":"TemporaryFile(/tmp/multipartBody5052329371388507332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619255200,"filename":"image_20012025_08_26_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1fc5a8017e7cf92a27ceb2d2d67e45f3.jpg","text":"TemporaryFile(/tmp/multipartBody6044624774971316115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619255200,"filename":"image_20012025_08_27_14_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782708","file1":"1330782697","file0":"1330782689","file4":"1330782717","file5":"1330782720","file3":"1330782711"},"map_files_photo_id_array":[{"photo_id":"1330782720","filename":"file5"},{"photo_id":"1330782708","filename":"file2"},{"photo_id":"1330782717","filename":"file4"},{"photo_id":"1330782697","filename":"file1"},{"photo_id":"1330782689","filename":"file0"},{"photo_id":"1330782711","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330782717":["hashtag1","hashtag2"]},{"1330782711":["hashtag1","hashtag2"]},{"1330782689":["hashtag1","hashtag2"]},{"1330782708":["hashtag1","hashtag2"]},{"1330782697":["hashtag1","hashtag2"]},{"1330782720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330782717, 1330782711, 1330782689, 1330782708, 1330782697, 1330782720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.201862812042236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 09:00:42.232247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_15_9386.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_26_10347.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_36_10326.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_45_9459.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_56_10365.jpg', '/home/pi/Desktop/images/23012025/08/56/image_23012025_08_57_05_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_15_9386.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_26_10347.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_36_10326.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_45_9459.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_56_56_10365.jpg
/home/pi/Desktop/images/23012025/08/56/image_23012025_08_57_05_9462.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":["1330782758","1330782754","1330782771","1330782765","1330782768","1330782762"],"photo_ids_order":["1330782754","1330782758","1330782762","1330782765","1330782768","1330782771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac37281d5e79dc0110c1d5e0fa84b9e3.jpg","text":"TemporaryFile(/tmp/multipartBody5196232723571712299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619303156,"filename":"image_23012025_08_56_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2845f78ffec618423a2cbd7f3316a8ee.jpg","text":"TemporaryFile(/tmp/multipartBody4217869858208066654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619303156,"filename":"image_23012025_08_56_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/890e6ba852003831f3e689136d049fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4755721056183410771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619303156,"filename":"image_23012025_08_57_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/828624df215eb1d8dbb409d5be2c0468.jpg","text":"TemporaryFile(/tmp/multipartBody499242419379023844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619303156,"filename":"image_23012025_08_56_45_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84bf2b708b02283207539aed7c4e09bb.jpg","text":"TemporaryFile(/tmp/multipartBody3801136622571508105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619303156,"filename":"image_23012025_08_56_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c5da815a8ff8af9771552e638375e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6833813396884880414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619303156,"filename":"image_23012025_08_56_36_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782762","file1":"1330782758","file0":"1330782754","file4":"1330782768","file5":"1330782771","file3":"1330782765"},"map_files_photo_id_array":[{"photo_id":"1330782771","filename":"file5"},{"photo_id":"1330782762","filename":"file2"},{"photo_id":"1330782768","filename":"file4"},{"photo_id":"1330782758","filename":"file1"},{"photo_id":"1330782754","filename":"file0"},{"photo_id":"1330782765","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330782758":["hashtag1","hashtag2"]},{"1330782754":["hashtag1","hashtag2"]},{"1330782771":["hashtag1","hashtag2"]},{"1330782765":["hashtag1","hashtag2"]},{"1330782768":["hashtag1","hashtag2"]},{"1330782762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330782758, 1330782754, 1330782771, 1330782765, 1330782768, 1330782762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84665369987488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:01:32.380313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_16_10402.jpg', '/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_26_10356.jpg', '/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_46_10341.jpg', '/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_55_9484.jpg', '/home/pi/Desktop/images/23012025/08/57/image_23012025_08_58_06_10357.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_16_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_16_10402.jpg
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_26_10356.jpg
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_46_10341.jpg
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_57_55_9484.jpg
/home/pi/Desktop/images/23012025/08/57/image_23012025_08_58_06_10357.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_16_10340.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":["1330782801","1330782794","1330782782","1330782785","1330782790","1330782798"],"photo_ids_order":["1330782782","1330782785","1330782790","1330782794","1330782798","1330782801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e899027bfbcba49a459bd69f17e21e57.jpg","text":"TemporaryFile(/tmp/multipartBody8533911736435290605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619353260,"filename":"image_23012025_08_58_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c40a2cdb2a556e6d20ae23e0c349365.jpg","text":"TemporaryFile(/tmp/multipartBody5400117930308280816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619353260,"filename":"image_23012025_08_57_55_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01b9c8612a84dc1f837757ed2e5f2dff.jpg","text":"TemporaryFile(/tmp/multipartBody9174183348575406669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619353260,"filename":"image_23012025_08_57_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75f987d72d5ccd535f864fa95adbf0b6.jpg","text":"TemporaryFile(/tmp/multipartBody2541423370633966415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619353260,"filename":"image_23012025_08_57_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/201cc1a252cf3595460171b48aef8fce.jpg","text":"TemporaryFile(/tmp/multipartBody1334954280864133441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619353260,"filename":"image_23012025_08_57_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42ed5be3f898b7744a0469ce13901b56.jpg","text":"TemporaryFile(/tmp/multipartBody8358843630147980105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619353260,"filename":"image_23012025_08_58_06_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782790","file1":"1330782785","file0":"1330782782","file4":"1330782798","file5":"1330782801","file3":"1330782794"},"map_files_photo_id_array":[{"photo_id":"1330782801","filename":"file5"},{"photo_id":"1330782790","filename":"file2"},{"photo_id":"1330782798","filename":"file4"},{"photo_id":"1330782785","filename":"file1"},{"photo_id":"1330782782","filename":"file0"},{"photo_id":"1330782794","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330782801":["hashtag1","hashtag2"]},{"1330782794":["hashtag1","hashtag2"]},{"1330782782":["hashtag1","hashtag2"]},{"1330782785":["hashtag1","hashtag2"]},{"1330782790":["hashtag1","hashtag2"]},{"1330782798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330782801, 1330782794, 1330782782, 1330782785, 1330782790, 1330782798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85437321662903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:02:32.507830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_26_9959.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_35_9396.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_46_10324.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_56_10455.jpg', '/home/pi/Desktop/images/23012025/08/58/image_23012025_08_59_05_9401.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_16_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_26_9959.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_35_9396.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_46_10324.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_58_56_10455.jpg
/home/pi/Desktop/images/23012025/08/58/image_23012025_08_59_05_9401.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_16_10349.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":["1330782824","1330782836","1330782829","1330782832","1330782820","1330782840"],"photo_ids_order":["1330782820","1330782824","1330782829","1330782832","1330782836","1330782840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99031e6fd365151f06500f6992f7b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody7645350618427282015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619413393,"filename":"image_23012025_08_58_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7180a3f47ad7755cae8d41284b43d55d.jpg","text":"TemporaryFile(/tmp/multipartBody5098259611727659542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619413393,"filename":"image_23012025_08_59_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5e60d5b5ff61e0cca080b039325e2ef.jpg","text":"TemporaryFile(/tmp/multipartBody8090418353627252221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619413393,"filename":"image_23012025_08_58_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52da787a2e09cb13cb2f535b7822071f.jpg","text":"TemporaryFile(/tmp/multipartBody5658467067436642392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619413393,"filename":"image_23012025_08_58_56_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75dd50018c770b37b81c2e1e3cc1f701.jpg","text":"TemporaryFile(/tmp/multipartBody5732694020226322067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619413393,"filename":"image_23012025_08_58_26_9959.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9ac43043e5c9498701f92683a28f779.jpg","text":"TemporaryFile(/tmp/multipartBody1046543233152248909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619413393,"filename":"image_23012025_08_59_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782829","file1":"1330782824","file0":"1330782820","file4":"1330782836","file5":"1330782840","file3":"1330782832"},"map_files_photo_id_array":[{"photo_id":"1330782840","filename":"file5"},{"photo_id":"1330782829","filename":"file2"},{"photo_id":"1330782836","filename":"file4"},{"photo_id":"1330782824","filename":"file1"},{"photo_id":"1330782820","filename":"file0"},{"photo_id":"1330782832","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330782824":["hashtag1","hashtag2"]},{"1330782836":["hashtag1","hashtag2"]},{"1330782829":["hashtag1","hashtag2"]},{"1330782832":["hashtag1","hashtag2"]},{"1330782820":["hashtag1","hashtag2"]},{"1330782840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330782824, 1330782836, 1330782829, 1330782832, 1330782820, 1330782840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42093563079834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:03:32.795091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_25_9358.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_36_10353.jpg', '/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_55_9356.jpg', '/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_14_10070.jpg', '/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_24_10423.jpg', '/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_25_9358.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_36_10353.jpg
/home/pi/Desktop/images/23012025/08/59/image_23012025_08_59_55_9356.jpg
/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_14_10070.jpg
/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_24_10423.jpg
/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_35_10349.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":["1330782881","1330782875","1330782878","1330782871","1330782864","1330782867"],"photo_ids_order":["1330782864","1330782867","1330782871","1330782875","1330782878","1330782881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34924baad2f492a371636fd825c34fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5201923920025237949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619473702,"filename":"image_23012025_09_01_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac89a475a75211b7cb4c2346971554ad.jpg","text":"TemporaryFile(/tmp/multipartBody6201178913392608368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619473702,"filename":"image_23012025_09_01_14_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c502b483e036c87913cbab0b815c69d3.jpg","text":"TemporaryFile(/tmp/multipartBody1992224887106889885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619473702,"filename":"image_23012025_09_01_24_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/080df71ad3ac9d72f3a5059745eff721.jpg","text":"TemporaryFile(/tmp/multipartBody6403606822637611842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619473702,"filename":"image_23012025_08_59_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71f2883985d2bd9051920ffd13d0d4af.jpg","text":"TemporaryFile(/tmp/multipartBody586020589521474298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619473702,"filename":"image_23012025_08_59_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf39c9901df4b0947bed335da7a8f6de.jpg","text":"TemporaryFile(/tmp/multipartBody7982275011918677103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619473702,"filename":"image_23012025_08_59_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782871","file1":"1330782867","file0":"1330782864","file4":"1330782878","file5":"1330782881","file3":"1330782875"},"map_files_photo_id_array":[{"photo_id":"1330782881","filename":"file5"},{"photo_id":"1330782871","filename":"file2"},{"photo_id":"1330782878","filename":"file4"},{"photo_id":"1330782867","filename":"file1"},{"photo_id":"1330782864","filename":"file0"},{"photo_id":"1330782875","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330782881":["hashtag1","hashtag2"]},{"1330782875":["hashtag1","hashtag2"]},{"1330782878":["hashtag1","hashtag2"]},{"1330782871":["hashtag1","hashtag2"]},{"1330782864":["hashtag1","hashtag2"]},{"1330782867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330782881, 1330782875, 1330782878, 1330782871, 1330782864, 1330782867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49934768676758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:04:33.000550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_55_10358.jpg', '/home/pi/Desktop/images/23012025/09/01/image_23012025_09_02_04_9365.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_14_10350.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_25_10438.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_34_9392.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_44_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/01/image_23012025_09_01_55_10358.jpg
/home/pi/Desktop/images/23012025/09/01/image_23012025_09_02_04_9365.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_14_10350.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_25_10438.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_34_9392.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_44_10331.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":["1330782941","1330782965","1330782932","1330782961","1330782958","1330782954"],"photo_ids_order":["1330782932","1330782941","1330782954","1330782958","1330782961","1330782965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/087f7a037dd68c3fae07d885fc69b3db.jpg","text":"TemporaryFile(/tmp/multipartBody4595172153209300449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619533911,"filename":"image_23012025_09_02_04_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/566a52a0b137c86c0bdaa07a58de6f0e.jpg","text":"TemporaryFile(/tmp/multipartBody7306587473368931593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619533911,"filename":"image_23012025_09_02_44_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f5c31d3bfa205ba3dd139fb44c2715a.jpg","text":"TemporaryFile(/tmp/multipartBody5442729021851365509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619533911,"filename":"image_23012025_09_01_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1fb1dc16b3f858510a1bc1963011d91.jpg","text":"TemporaryFile(/tmp/multipartBody2553878599532408257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619533911,"filename":"image_23012025_09_02_34_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3e591875635e66f36c82e0ee7bcca92.jpg","text":"TemporaryFile(/tmp/multipartBody2664355101592710331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619533911,"filename":"image_23012025_09_02_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c8ad429474634e896324cf204690bed.jpg","text":"TemporaryFile(/tmp/multipartBody4678686611563077387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619533911,"filename":"image_23012025_09_02_14_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330782954","file1":"1330782941","file0":"1330782932","file4":"1330782961","file5":"1330782965","file3":"1330782958"},"map_files_photo_id_array":[{"photo_id":"1330782965","filename":"file5"},{"photo_id":"1330782954","filename":"file2"},{"photo_id":"1330782961","filename":"file4"},{"photo_id":"1330782941","filename":"file1"},{"photo_id":"1330782932","filename":"file0"},{"photo_id":"1330782958","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330782941":["hashtag1","hashtag2"]},{"1330782965":["hashtag1","hashtag2"]},{"1330782932":["hashtag1","hashtag2"]},{"1330782961":["hashtag1","hashtag2"]},{"1330782958":["hashtag1","hashtag2"]},{"1330782954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330782941, 1330782965, 1330782932, 1330782961, 1330782958, 1330782954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.59529757499695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:05:32.280594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_55_10367.jpg', '/home/pi/Desktop/images/23012025/09/02/image_23012025_09_03_04_9415.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_15_10333.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_24_9352.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_34_10446.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_02_55_10367.jpg
/home/pi/Desktop/images/23012025/09/02/image_23012025_09_03_04_9415.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_15_10333.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_24_9352.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_34_10446.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_45_10354.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":["1330783202","1330782991","1330782988","1330783003","1330783089","1330783122"],"photo_ids_order":["1330782988","1330782991","1330783003","1330783089","1330783122","1330783202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e28bf978d4cdf4b68acf42dc03bc43ce.jpg","text":"TemporaryFile(/tmp/multipartBody6158066667540248911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619593163,"filename":"image_23012025_09_03_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec710adf902585e76086a447226472c4.jpg","text":"TemporaryFile(/tmp/multipartBody949857638343331292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619593163,"filename":"image_23012025_09_03_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2661c24f2c992621c23ad768a2ee7ba.jpg","text":"TemporaryFile(/tmp/multipartBody4879208556022764763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619593163,"filename":"image_23012025_09_02_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e7baddc8fe5fe4c90c0742a699a211d.jpg","text":"TemporaryFile(/tmp/multipartBody4863149419872629604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619593163,"filename":"image_23012025_09_03_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31599494265e0c27925d866878f1de02.jpg","text":"TemporaryFile(/tmp/multipartBody4018380994820711630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619593163,"filename":"image_23012025_09_03_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8af914550e517149eeed6f8e2f892f8.jpg","text":"TemporaryFile(/tmp/multipartBody5972446323694799214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619593163,"filename":"image_23012025_09_03_34_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330783003","file1":"1330782991","file0":"1330782988","file4":"1330783122","file5":"1330783202","file3":"1330783089"},"map_files_photo_id_array":[{"photo_id":"1330783202","filename":"file5"},{"photo_id":"1330783003","filename":"file2"},{"photo_id":"1330783122","filename":"file4"},{"photo_id":"1330782991","filename":"file1"},{"photo_id":"1330782988","filename":"file0"},{"photo_id":"1330783089","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330783202":["hashtag1","hashtag2"]},{"1330782991":["hashtag1","hashtag2"]},{"1330782988":["hashtag1","hashtag2"]},{"1330783003":["hashtag1","hashtag2"]},{"1330783089":["hashtag1","hashtag2"]},{"1330783122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330783202, 1330782991, 1330782988, 1330783003, 1330783089, 1330783122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.541565895080566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:06:32.428813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_54_9400.jpg', '/home/pi/Desktop/images/23012025/09/03/image_23012025_09_04_04_10354.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_15_10325.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_24_9448.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_35_10360.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_44_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_03_54_9400.jpg
/home/pi/Desktop/images/23012025/09/03/image_23012025_09_04_04_10354.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_15_10325.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_24_9448.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_35_10360.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_44_9329.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":["1330783583","1330783292","1330783288","1330783284","1330783389","1330783305"],"photo_ids_order":["1330783284","1330783288","1330783292","1330783305","1330783389","1330783583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d44913169bb93d54c6bdaa51f048d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2146179640355522482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619653348,"filename":"image_23012025_09_04_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3aafe1c0e80a91c794c86d8f277aa5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7107314979372933792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619653348,"filename":"image_23012025_09_04_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fdf15b109e8d762738d2a37975f9f65.jpg","text":"TemporaryFile(/tmp/multipartBody4670903915464123528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619653348,"filename":"image_23012025_09_04_04_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a435e8d55b2f05fc1d3e8bbeae5652f.jpg","text":"TemporaryFile(/tmp/multipartBody2604580842485131630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619653348,"filename":"image_23012025_09_03_54_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aeb8df5b136f0279f9127a3bac97f3af.jpg","text":"TemporaryFile(/tmp/multipartBody4711210131419512762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619653348,"filename":"image_23012025_09_04_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/636a2aa8e4228542d2331af464491001.jpg","text":"TemporaryFile(/tmp/multipartBody7422751883487967458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619653348,"filename":"image_23012025_09_04_24_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330783292","file1":"1330783288","file0":"1330783284","file4":"1330783389","file5":"1330783583","file3":"1330783305"},"map_files_photo_id_array":[{"photo_id":"1330783583","filename":"file5"},{"photo_id":"1330783292","filename":"file2"},{"photo_id":"1330783389","filename":"file4"},{"photo_id":"1330783288","filename":"file1"},{"photo_id":"1330783284","filename":"file0"},{"photo_id":"1330783305","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330783583":["hashtag1","hashtag2"]},{"1330783292":["hashtag1","hashtag2"]},{"1330783288":["hashtag1","hashtag2"]},{"1330783284":["hashtag1","hashtag2"]},{"1330783389":["hashtag1","hashtag2"]},{"1330783305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330783583, 1330783292, 1330783288, 1330783284, 1330783389, 1330783305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.85546040534973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:07:32.596647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_54_10424.jpg', '/home/pi/Desktop/images/23012025/09/04/image_23012025_09_05_05_10352.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_14_9396.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_24_10378.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_34_9460.jpg', '/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_44_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_04_54_10424.jpg
/home/pi/Desktop/images/23012025/09/04/image_23012025_09_05_05_10352.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_14_9396.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_24_10378.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_34_9460.jpg
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_44_10456.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":["1330784042","1330783987","1330784050","1330784020","1330783962","1330784048"],"photo_ids_order":["1330783962","1330783987","1330784020","1330784042","1330784048","1330784050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff55e187ee1f379c37083594bd3e4dec.jpg","text":"TemporaryFile(/tmp/multipartBody8778667228701501852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619713479,"filename":"image_23012025_09_05_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ba080670cbf50b79b4c73e428e3df83.jpg","text":"TemporaryFile(/tmp/multipartBody2062986335466657493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619713479,"filename":"image_23012025_09_05_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/587d2dd8a32e4c0e2a0d350a8f5c6eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8768582917714745810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619713479,"filename":"image_23012025_09_05_44_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13403db91fab4424d378ef2a8d468e74.jpg","text":"TemporaryFile(/tmp/multipartBody5687004974299363134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619713479,"filename":"image_23012025_09_05_14_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3e102223f43c031729eb03fcad81cba.jpg","text":"TemporaryFile(/tmp/multipartBody8652174320404061075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619713479,"filename":"image_23012025_09_04_54_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/180a1b893c02dee0d1c08ffb3de6b450.jpg","text":"TemporaryFile(/tmp/multipartBody4059652436912285227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619713479,"filename":"image_23012025_09_05_34_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784020","file1":"1330783987","file0":"1330783962","file4":"1330784048","file5":"1330784050","file3":"1330784042"},"map_files_photo_id_array":[{"photo_id":"1330784050","filename":"file5"},{"photo_id":"1330784020","filename":"file2"},{"photo_id":"1330784048","filename":"file4"},{"photo_id":"1330783987","filename":"file1"},{"photo_id":"1330783962","filename":"file0"},{"photo_id":"1330784042","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784042":["hashtag1","hashtag2"]},{"1330783987":["hashtag1","hashtag2"]},{"1330784050":["hashtag1","hashtag2"]},{"1330784020":["hashtag1","hashtag2"]},{"1330783962":["hashtag1","hashtag2"]},{"1330784048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784042, 1330783987, 1330784050, 1330784020, 1330783962, 1330784048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83527994155884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:08:32.767117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_55_10373.jpg', '/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_45_10341.jpg', '/home/pi/Desktop/images/23012025/09/06/image_23012025_09_07_04_10340.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_15_10347.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_24_9423.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_35_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/05/image_23012025_09_05_55_10373.jpg
/home/pi/Desktop/images/23012025/09/06/image_23012025_09_06_45_10341.jpg
/home/pi/Desktop/images/23012025/09/06/image_23012025_09_07_04_10340.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_15_10347.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_24_9423.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_35_10353.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":["1330784312","1330784303","1330784293","1330784314","1330784308","1330784297"],"photo_ids_order":["1330784293","1330784297","1330784303","1330784308","1330784312","1330784314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8b7498387c02ffdad94f5b631f05c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3475958467724898169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619773686,"filename":"image_23012025_09_07_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d086e4c772bb016a441e1223b5d0d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2965765288889384652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619773686,"filename":"image_23012025_09_07_04_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59f5b4bb50ffdc2e48f960baa471a093.jpg","text":"TemporaryFile(/tmp/multipartBody1907734676903700740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619773686,"filename":"image_23012025_09_05_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fed474f4ddfb32589ff44077cef4b5cd.jpg","text":"TemporaryFile(/tmp/multipartBody1801029299200656565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619773686,"filename":"image_23012025_09_07_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa0ba9e6fe5b50c8d399b1e47fff7a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4750331195283607004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619773686,"filename":"image_23012025_09_07_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d790f0501924c7690094d527c8ac5326.jpg","text":"TemporaryFile(/tmp/multipartBody3567500381302133013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619773686,"filename":"image_23012025_09_06_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784303","file1":"1330784297","file0":"1330784293","file4":"1330784312","file5":"1330784314","file3":"1330784308"},"map_files_photo_id_array":[{"photo_id":"1330784314","filename":"file5"},{"photo_id":"1330784303","filename":"file2"},{"photo_id":"1330784312","filename":"file4"},{"photo_id":"1330784297","filename":"file1"},{"photo_id":"1330784293","filename":"file0"},{"photo_id":"1330784308","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784312":["hashtag1","hashtag2"]},{"1330784303":["hashtag1","hashtag2"]},{"1330784293":["hashtag1","hashtag2"]},{"1330784314":["hashtag1","hashtag2"]},{"1330784308":["hashtag1","hashtag2"]},{"1330784297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784312, 1330784303, 1330784293, 1330784314, 1330784308, 1330784297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.714956283569336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:09:33.032784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_44_9355.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_54_10412.jpg', '/home/pi/Desktop/images/23012025/09/07/image_23012025_09_08_05_10349.jpg', '/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_14_9436.jpg', '/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_25_10371.jpg', '/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_44_9355.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_07_54_10412.jpg
/home/pi/Desktop/images/23012025/09/07/image_23012025_09_08_05_10349.jpg
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_14_9436.jpg
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_25_10371.jpg
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_44_9358.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":["1330784336","1330784352","1330784346","1330784355","1330784357","1330784342"],"photo_ids_order":["1330784336","1330784342","1330784346","1330784352","1330784355","1330784357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf2a0ed76231fb544b48eb54c94caca7.jpg","text":"TemporaryFile(/tmp/multipartBody8652451793793153798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619833939,"filename":"image_23012025_09_07_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1025d81c99f801d7ef2d86998a1aea72.jpg","text":"TemporaryFile(/tmp/multipartBody4337391710071792598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619833939,"filename":"image_23012025_09_08_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8998ed070f6197930ee622bd25e63cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8367029819680549888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619833939,"filename":"image_23012025_09_08_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77c23387820ff15c8816b6a4f937ddda.jpg","text":"TemporaryFile(/tmp/multipartBody4796980886216002672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619833939,"filename":"image_23012025_09_08_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4978c2202436e186d724495218c215fc.jpg","text":"TemporaryFile(/tmp/multipartBody2461602760382817853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619833939,"filename":"image_23012025_09_08_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ef2a4294eed35f0651b21ac3bbaba4c.jpg","text":"TemporaryFile(/tmp/multipartBody4234633684994347529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619833939,"filename":"image_23012025_09_07_54_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784346","file1":"1330784342","file0":"1330784336","file4":"1330784355","file5":"1330784357","file3":"1330784352"},"map_files_photo_id_array":[{"photo_id":"1330784357","filename":"file5"},{"photo_id":"1330784346","filename":"file2"},{"photo_id":"1330784355","filename":"file4"},{"photo_id":"1330784342","filename":"file1"},{"photo_id":"1330784336","filename":"file0"},{"photo_id":"1330784352","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784336":["hashtag1","hashtag2"]},{"1330784352":["hashtag1","hashtag2"]},{"1330784346":["hashtag1","hashtag2"]},{"1330784355":["hashtag1","hashtag2"]},{"1330784357":["hashtag1","hashtag2"]},{"1330784342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784336, 1330784352, 1330784346, 1330784355, 1330784357, 1330784342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01083469390869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:10:32.166294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_55_10373.jpg', '/home/pi/Desktop/images/23012025/09/08/image_23012025_09_09_04_9324.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_14_10342.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_25_10378.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_55_10351.jpg', '/home/pi/Desktop/images/23012025/09/09/image_23012025_09_10_04_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_08_55_10373.jpg
/home/pi/Desktop/images/23012025/09/08/image_23012025_09_09_04_9324.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_14_10342.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_25_10378.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_09_55_10351.jpg
/home/pi/Desktop/images/23012025/09/09/image_23012025_09_10_04_9451.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":["1330784487","1330784481","1330784484","1330784471","1330784477","1330784417"],"photo_ids_order":["1330784417","1330784471","1330784477","1330784481","1330784484","1330784487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a86e948c76322fa5ddb8a2becf98fb49.jpg","text":"TemporaryFile(/tmp/multipartBody4762117681438392090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619893049,"filename":"image_23012025_09_10_04_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a314e43dfb0bd2c9c45f2cc2b372055a.jpg","text":"TemporaryFile(/tmp/multipartBody7399640642113203898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619893049,"filename":"image_23012025_09_09_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4765fa7c214815457e892b4ebd73a98.jpg","text":"TemporaryFile(/tmp/multipartBody816086578656594063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619893049,"filename":"image_23012025_09_09_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e7382bf19839075fa8931bb66d7148d.jpg","text":"TemporaryFile(/tmp/multipartBody3284803257800227700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619893049,"filename":"image_23012025_09_09_04_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57608ca0cc97952e01360ddeea95161a.jpg","text":"TemporaryFile(/tmp/multipartBody1962085397414227721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619893049,"filename":"image_23012025_09_09_14_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8983aab31e29776239af6452db4bafd6.jpg","text":"TemporaryFile(/tmp/multipartBody8764224357649987838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619893049,"filename":"image_23012025_09_08_55_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784477","file1":"1330784471","file0":"1330784417","file4":"1330784484","file5":"1330784487","file3":"1330784481"},"map_files_photo_id_array":[{"photo_id":"1330784487","filename":"file5"},{"photo_id":"1330784477","filename":"file2"},{"photo_id":"1330784484","filename":"file4"},{"photo_id":"1330784471","filename":"file1"},{"photo_id":"1330784417","filename":"file0"},{"photo_id":"1330784481","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784487":["hashtag1","hashtag2"]},{"1330784481":["hashtag1","hashtag2"]},{"1330784484":["hashtag1","hashtag2"]},{"1330784471":["hashtag1","hashtag2"]},{"1330784477":["hashtag1","hashtag2"]},{"1330784417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784487, 1330784481, 1330784484, 1330784471, 1330784477, 1330784417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.32184028625488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:11:32.333097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_14_10353.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_25_10357.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_34_9352.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_45_10351.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_54_9454.jpg', '/home/pi/Desktop/images/23012025/09/10/image_23012025_09_11_04_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_14_10353.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_25_10357.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_34_9352.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_45_10351.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_10_54_9454.jpg
/home/pi/Desktop/images/23012025/09/10/image_23012025_09_11_04_10362.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":["1330784515","1330784530","1330784518","1330784532","1330784526","1330784522"],"photo_ids_order":["1330784515","1330784518","1330784522","1330784526","1330784530","1330784532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99369f56328de7dd2ecc7ba1ef344c03.jpg","text":"TemporaryFile(/tmp/multipartBody1415411593713398928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619953308,"filename":"image_23012025_09_10_14_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ec93846e6b283cf5ac48cbcbeb1623a.jpg","text":"TemporaryFile(/tmp/multipartBody3113302076517345738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619953308,"filename":"image_23012025_09_10_54_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec79fe3d98376de2573e2266eeb4f0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7912804324475109441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619953308,"filename":"image_23012025_09_10_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af8676327add75a038615519fb286faa.jpg","text":"TemporaryFile(/tmp/multipartBody1536461885637395295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619953308,"filename":"image_23012025_09_11_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4a7de43e078793b05cefe74c1428c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5208512431675394910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619953308,"filename":"image_23012025_09_10_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/416b052352a388af403b171e36481687.jpg","text":"TemporaryFile(/tmp/multipartBody8071387558595929837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737619953308,"filename":"image_23012025_09_10_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784522","file1":"1330784518","file0":"1330784515","file4":"1330784530","file5":"1330784532","file3":"1330784526"},"map_files_photo_id_array":[{"photo_id":"1330784532","filename":"file5"},{"photo_id":"1330784522","filename":"file2"},{"photo_id":"1330784530","filename":"file4"},{"photo_id":"1330784518","filename":"file1"},{"photo_id":"1330784515","filename":"file0"},{"photo_id":"1330784526","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784515":["hashtag1","hashtag2"]},{"1330784530":["hashtag1","hashtag2"]},{"1330784518":["hashtag1","hashtag2"]},{"1330784532":["hashtag1","hashtag2"]},{"1330784526":["hashtag1","hashtag2"]},{"1330784522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784515, 1330784530, 1330784518, 1330784532, 1330784526, 1330784522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82955241203308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:12:32.582702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_15_10362.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_24_9486.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_35_10405.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_44_9329.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_54_10457.jpg', '/home/pi/Desktop/images/23012025/09/11/image_23012025_09_12_05_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_15_10362.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_24_9486.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_35_10405.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_44_9329.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_11_54_10457.jpg
/home/pi/Desktop/images/23012025/09/11/image_23012025_09_12_05_10369.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":["1330784587","1330784560","1330784580","1330784556","1330784585","1330784552"],"photo_ids_order":["1330784552","1330784556","1330784560","1330784580","1330784585","1330784587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bcbdb6aae45f9b508b6ec43ea624fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4157867529435108925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620013467,"filename":"image_23012025_09_12_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/faddd0853850007c62642fee6345182a.jpg","text":"TemporaryFile(/tmp/multipartBody8195176532286589273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620013467,"filename":"image_23012025_09_11_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44272448154b7568864c72cf6fedf1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4096661254076724420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620013467,"filename":"image_23012025_09_11_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49e65685098f9984654233b5f0b15c1f.jpg","text":"TemporaryFile(/tmp/multipartBody6524263739118464425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620013467,"filename":"image_23012025_09_11_24_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/950b8a496b53e3b62d1761587654e53a.jpg","text":"TemporaryFile(/tmp/multipartBody5330918818599947443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620013467,"filename":"image_23012025_09_11_54_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3981b1ffc23a63b8375a6daa486bba8f.jpg","text":"TemporaryFile(/tmp/multipartBody3596505340572922867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620013467,"filename":"image_23012025_09_11_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784560","file1":"1330784556","file0":"1330784552","file4":"1330784585","file5":"1330784587","file3":"1330784580"},"map_files_photo_id_array":[{"photo_id":"1330784587","filename":"file5"},{"photo_id":"1330784560","filename":"file2"},{"photo_id":"1330784585","filename":"file4"},{"photo_id":"1330784556","filename":"file1"},{"photo_id":"1330784552","filename":"file0"},{"photo_id":"1330784580","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784587":["hashtag1","hashtag2"]},{"1330784560":["hashtag1","hashtag2"]},{"1330784580":["hashtag1","hashtag2"]},{"1330784556":["hashtag1","hashtag2"]},{"1330784585":["hashtag1","hashtag2"]},{"1330784552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784587, 1330784560, 1330784580, 1330784556, 1330784585, 1330784552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.40031170845032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:13:32.841770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_14_9378.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_24_10346.jpg', '/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_34_9412.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_14_10357.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_25_10351.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_34_9319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_14_9378.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_24_10346.jpg
/home/pi/Desktop/images/23012025/09/12/image_23012025_09_12_34_9412.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_14_10357.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_25_10351.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_34_9319.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":["1330784731","1330784728","1330784691","1330784643","1330784660","1330784648"],"photo_ids_order":["1330784643","1330784648","1330784660","1330784691","1330784728","1330784731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49425eb0ce4edf54f53856f751a40f02.jpg","text":"TemporaryFile(/tmp/multipartBody8402655890259712678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620073740,"filename":"image_23012025_09_13_34_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e64670d02185d945fc5f7a373004881d.jpg","text":"TemporaryFile(/tmp/multipartBody920864001146825683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620073740,"filename":"image_23012025_09_13_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1ba2213441038395e57e654f4256753.jpg","text":"TemporaryFile(/tmp/multipartBody6434741070586927012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620073740,"filename":"image_23012025_09_13_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b49bed20a11ce2d76ebb4f4d5a9d6e2.jpg","text":"TemporaryFile(/tmp/multipartBody1916405118873152576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620073740,"filename":"image_23012025_09_12_14_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40e1d7dd567c79047406275b7647a577.jpg","text":"TemporaryFile(/tmp/multipartBody7824521286328894231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620073740,"filename":"image_23012025_09_12_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/122f66bf840cadd89f8ed4a7c9fb740d.jpg","text":"TemporaryFile(/tmp/multipartBody4773245495897667020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620073740,"filename":"image_23012025_09_12_24_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784660","file1":"1330784648","file0":"1330784643","file4":"1330784728","file5":"1330784731","file3":"1330784691"},"map_files_photo_id_array":[{"photo_id":"1330784731","filename":"file5"},{"photo_id":"1330784660","filename":"file2"},{"photo_id":"1330784728","filename":"file4"},{"photo_id":"1330784648","filename":"file1"},{"photo_id":"1330784643","filename":"file0"},{"photo_id":"1330784691","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784731":["hashtag1","hashtag2"]},{"1330784728":["hashtag1","hashtag2"]},{"1330784691":["hashtag1","hashtag2"]},{"1330784643":["hashtag1","hashtag2"]},{"1330784660":["hashtag1","hashtag2"]},{"1330784648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784731, 1330784728, 1330784691, 1330784643, 1330784660, 1330784648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.767295360565186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:14:32.244847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_45_10336.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_55_10366.jpg', '/home/pi/Desktop/images/23012025/09/13/image_23012025_09_14_04_9354.jpg', '/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_24_9356.jpg', '/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_34_10456.jpg', '/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_45_10336.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_13_55_10366.jpg
/home/pi/Desktop/images/23012025/09/13/image_23012025_09_14_04_9354.jpg
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_24_9356.jpg
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_34_10456.jpg
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_45_10361.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":["1330784854","1330784800","1330784803","1330784796","1330784775","1330784831"],"photo_ids_order":["1330784775","1330784796","1330784800","1330784803","1330784831","1330784854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5cd2fc5d25928fc5a82ab1bc77f7c9b.jpg","text":"TemporaryFile(/tmp/multipartBody818749967513378091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620133155,"filename":"image_23012025_09_14_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9cb91d5d127d6f6be438a770de6e6a6.jpg","text":"TemporaryFile(/tmp/multipartBody571955916040171785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620133155,"filename":"image_23012025_09_14_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/493cb02c7f51ea9841bfc640082bca16.jpg","text":"TemporaryFile(/tmp/multipartBody3170030147078148715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620133155,"filename":"image_23012025_09_14_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41d6e1818b4cb46bd95895921a6c7683.jpg","text":"TemporaryFile(/tmp/multipartBody5529649562700263463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620133155,"filename":"image_23012025_09_13_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbbccbabfe0561773f37c3174d279f86.jpg","text":"TemporaryFile(/tmp/multipartBody5054078549752294885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620133155,"filename":"image_23012025_09_13_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81b13a3d6158dfd877c0d5c6a97b9f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2009779639006301805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620133155,"filename":"image_23012025_09_14_34_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784800","file1":"1330784796","file0":"1330784775","file4":"1330784831","file5":"1330784854","file3":"1330784803"},"map_files_photo_id_array":[{"photo_id":"1330784854","filename":"file5"},{"photo_id":"1330784800","filename":"file2"},{"photo_id":"1330784831","filename":"file4"},{"photo_id":"1330784796","filename":"file1"},{"photo_id":"1330784775","filename":"file0"},{"photo_id":"1330784803","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784854":["hashtag1","hashtag2"]},{"1330784800":["hashtag1","hashtag2"]},{"1330784803":["hashtag1","hashtag2"]},{"1330784796":["hashtag1","hashtag2"]},{"1330784775":["hashtag1","hashtag2"]},{"1330784831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784854, 1330784800, 1330784803, 1330784796, 1330784775, 1330784831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.18235158920288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:15:32.300053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_54_9391.jpg', '/home/pi/Desktop/images/23012025/09/14/image_23012025_09_15_04_10351.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_15_10347.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_24_9435.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_35_10418.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_44_9403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_14_54_9391.jpg
/home/pi/Desktop/images/23012025/09/14/image_23012025_09_15_04_10351.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_15_10347.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_24_9435.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_35_10418.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_44_9403.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":["1330784915","1330784950","1330784938","1330784910","1330784945","1330784948"],"photo_ids_order":["1330784910","1330784915","1330784938","1330784945","1330784948","1330784950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f357d03e29e20b904295760ace75262.jpg","text":"TemporaryFile(/tmp/multipartBody6818136462450361905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620193191,"filename":"image_23012025_09_15_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfd17fcc78c269d5c682194e907c4400.jpg","text":"TemporaryFile(/tmp/multipartBody2691956032896164562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620193191,"filename":"image_23012025_09_15_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aded7180618771658991882af792a689.jpg","text":"TemporaryFile(/tmp/multipartBody7574060152392251059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620193191,"filename":"image_23012025_09_15_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/044e23b2f95e1d7e88bd8b3e64c73323.jpg","text":"TemporaryFile(/tmp/multipartBody7874906716661587369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620193191,"filename":"image_23012025_09_14_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24652c7b2b9a283a07b3bd61c011ea71.jpg","text":"TemporaryFile(/tmp/multipartBody6385793680112984393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620193191,"filename":"image_23012025_09_15_24_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5513c96bec13960b2bf66dbed397b913.jpg","text":"TemporaryFile(/tmp/multipartBody2637250207820272849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620193191,"filename":"image_23012025_09_15_35_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330784938","file1":"1330784915","file0":"1330784910","file4":"1330784948","file5":"1330784950","file3":"1330784945"},"map_files_photo_id_array":[{"photo_id":"1330784950","filename":"file5"},{"photo_id":"1330784938","filename":"file2"},{"photo_id":"1330784948","filename":"file4"},{"photo_id":"1330784915","filename":"file1"},{"photo_id":"1330784910","filename":"file0"},{"photo_id":"1330784945","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330784915":["hashtag1","hashtag2"]},{"1330784950":["hashtag1","hashtag2"]},{"1330784938":["hashtag1","hashtag2"]},{"1330784910":["hashtag1","hashtag2"]},{"1330784945":["hashtag1","hashtag2"]},{"1330784948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330784915, 1330784950, 1330784938, 1330784910, 1330784945, 1330784948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35307502746582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:16:32.537472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_54_10352.jpg', '/home/pi/Desktop/images/23012025/09/15/image_23012025_09_16_05_10415.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_14_9432.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_25_10350.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_34_9328.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_44_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_15_54_10352.jpg
/home/pi/Desktop/images/23012025/09/15/image_23012025_09_16_05_10415.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_14_9432.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_25_10350.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_34_9328.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_44_10336.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":["1330785214","1330785163","1330785237","1330785234","1330785120","1330785123"],"photo_ids_order":["1330785120","1330785123","1330785163","1330785214","1330785234","1330785237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e529a090c9e3d894a01cf1aae7ab70eb.jpg","text":"TemporaryFile(/tmp/multipartBody4698076347516771609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620253453,"filename":"image_23012025_09_16_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e24e0f9d3fc4f619d99669d2d6925b07.jpg","text":"TemporaryFile(/tmp/multipartBody6095358100654782715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620253453,"filename":"image_23012025_09_16_14_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ff401f1d4bda5fc277e38c88686f7c7.jpg","text":"TemporaryFile(/tmp/multipartBody1495373626610587029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620253453,"filename":"image_23012025_09_16_44_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc9240df61507988c4259780961944bc.jpg","text":"TemporaryFile(/tmp/multipartBody6959010121502736969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620253453,"filename":"image_23012025_09_16_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea63cfb7440176ef84e56e49025436c9.jpg","text":"TemporaryFile(/tmp/multipartBody848620640628904296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620253453,"filename":"image_23012025_09_15_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df6a3ff6630ec388c32b84dd185c8e35.jpg","text":"TemporaryFile(/tmp/multipartBody7367443386998019260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620253453,"filename":"image_23012025_09_16_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785163","file1":"1330785123","file0":"1330785120","file4":"1330785234","file5":"1330785237","file3":"1330785214"},"map_files_photo_id_array":[{"photo_id":"1330785237","filename":"file5"},{"photo_id":"1330785163","filename":"file2"},{"photo_id":"1330785234","filename":"file4"},{"photo_id":"1330785123","filename":"file1"},{"photo_id":"1330785120","filename":"file0"},{"photo_id":"1330785214","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785214":["hashtag1","hashtag2"]},{"1330785163":["hashtag1","hashtag2"]},{"1330785237":["hashtag1","hashtag2"]},{"1330785234":["hashtag1","hashtag2"]},{"1330785120":["hashtag1","hashtag2"]},{"1330785123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785214, 1330785163, 1330785237, 1330785234, 1330785120, 1330785123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.80770182609558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:17:32.711301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_55_10352.jpg', '/home/pi/Desktop/images/23012025/09/16/image_23012025_09_17_04_9399.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_14_10353.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_25_10368.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_34_9442.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_45_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_16_55_10352.jpg
/home/pi/Desktop/images/23012025/09/16/image_23012025_09_17_04_9399.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_14_10353.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_25_10368.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_34_9442.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_45_10453.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":["1330785304","1330785306","1330785300","1330785296","1330785302","1330785305"],"photo_ids_order":["1330785296","1330785300","1330785302","1330785304","1330785305","1330785306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be8ae0c98eb49a040537f6f21ea4313a.jpg","text":"TemporaryFile(/tmp/multipartBody3325599488371678999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620313618,"filename":"image_23012025_09_17_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c721f8a16a16db44c7638afae17c6bc.jpg","text":"TemporaryFile(/tmp/multipartBody5257285080316506385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620313618,"filename":"image_23012025_09_17_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a168fcfa898d33522cf41c634272490.jpg","text":"TemporaryFile(/tmp/multipartBody4538740744191172358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620313618,"filename":"image_23012025_09_17_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a23cda78e3e7f8ca6144b5d63103317.jpg","text":"TemporaryFile(/tmp/multipartBody1762518158187207983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620313618,"filename":"image_23012025_09_16_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/531ca6081d32eae153bf03cc43c81444.jpg","text":"TemporaryFile(/tmp/multipartBody5255878267165613691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620313618,"filename":"image_23012025_09_17_14_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cca4eb5a9c1b10d570546e01994f8768.jpg","text":"TemporaryFile(/tmp/multipartBody8355118447349119286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620313618,"filename":"image_23012025_09_17_34_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785302","file1":"1330785300","file0":"1330785296","file4":"1330785305","file5":"1330785306","file3":"1330785304"},"map_files_photo_id_array":[{"photo_id":"1330785306","filename":"file5"},{"photo_id":"1330785302","filename":"file2"},{"photo_id":"1330785305","filename":"file4"},{"photo_id":"1330785300","filename":"file1"},{"photo_id":"1330785296","filename":"file0"},{"photo_id":"1330785304","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785304":["hashtag1","hashtag2"]},{"1330785306":["hashtag1","hashtag2"]},{"1330785300":["hashtag1","hashtag2"]},{"1330785296":["hashtag1","hashtag2"]},{"1330785302":["hashtag1","hashtag2"]},{"1330785305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785304, 1330785306, 1330785300, 1330785296, 1330785302, 1330785305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.698468923568726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:18:32.989807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_54_9514.jpg', '/home/pi/Desktop/images/23012025/09/17/image_23012025_09_18_05_10349.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_14_9350.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_24_10421.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_35_10346.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_44_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_17_54_9514.jpg
/home/pi/Desktop/images/23012025/09/17/image_23012025_09_18_05_10349.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_14_9350.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_24_10421.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_35_10346.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_44_9388.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":["1330785385","1330785355","1330785334","1330785345","1330785365","1330785368"],"photo_ids_order":["1330785334","1330785345","1330785355","1330785365","1330785368","1330785385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e7095c1ee2cdb26b5b7d58359e299e9.jpg","text":"TemporaryFile(/tmp/multipartBody2517829801730461679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620373898,"filename":"image_23012025_09_18_44_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca8ac5003919b66439e075d957a9ace1.jpg","text":"TemporaryFile(/tmp/multipartBody9098429068516678087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620373898,"filename":"image_23012025_09_18_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a752e09da4230d10719b3f936f106188.jpg","text":"TemporaryFile(/tmp/multipartBody3899250034261890621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620373898,"filename":"image_23012025_09_17_54_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d11c1bfcf1e462e7337a80447e60f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4950061933506091372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620373898,"filename":"image_23012025_09_18_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f016c85eb1d0fae4a27739fb112cdf02.jpg","text":"TemporaryFile(/tmp/multipartBody7610676553396414110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620373898,"filename":"image_23012025_09_18_24_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a89cf98cd0e167fd5fdc819abf2a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6457659112369349952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620373898,"filename":"image_23012025_09_18_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785355","file1":"1330785345","file0":"1330785334","file4":"1330785368","file5":"1330785385","file3":"1330785365"},"map_files_photo_id_array":[{"photo_id":"1330785385","filename":"file5"},{"photo_id":"1330785355","filename":"file2"},{"photo_id":"1330785368","filename":"file4"},{"photo_id":"1330785345","filename":"file1"},{"photo_id":"1330785334","filename":"file0"},{"photo_id":"1330785365","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785385":["hashtag1","hashtag2"]},{"1330785355":["hashtag1","hashtag2"]},{"1330785334":["hashtag1","hashtag2"]},{"1330785345":["hashtag1","hashtag2"]},{"1330785365":["hashtag1","hashtag2"]},{"1330785368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785385, 1330785355, 1330785334, 1330785345, 1330785365, 1330785368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89814114570618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:19:32.241201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_54_10354.jpg', '/home/pi/Desktop/images/23012025/09/18/image_23012025_09_19_05_10420.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_14_9351.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_25_10362.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_34_9344.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_44_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_18_54_10354.jpg
/home/pi/Desktop/images/23012025/09/18/image_23012025_09_19_05_10420.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_14_9351.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_25_10362.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_34_9344.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_44_10434.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":["1330785544","1330785502","1330785507","1330785539","1330785542","1330785496"],"photo_ids_order":["1330785496","1330785502","1330785507","1330785539","1330785542","1330785544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30784ed1bf1e8ed45147a32eb430bd51.jpg","text":"TemporaryFile(/tmp/multipartBody1594649273960840613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620433130,"filename":"image_23012025_09_19_44_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f3138619dc99a1ef2084fecbafa9234.jpg","text":"TemporaryFile(/tmp/multipartBody2787919161478725131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620433130,"filename":"image_23012025_09_19_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86de17cf32e355b3738fcb230a0056cb.jpg","text":"TemporaryFile(/tmp/multipartBody3621837953428184271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620433130,"filename":"image_23012025_09_19_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1401d0eb2f8874f23958afdf39a4cfef.jpg","text":"TemporaryFile(/tmp/multipartBody1676594972235793617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620433130,"filename":"image_23012025_09_19_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84a0432401d1f8381f0574f9a5cd9142.jpg","text":"TemporaryFile(/tmp/multipartBody6189544307336563252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620433130,"filename":"image_23012025_09_19_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d6aa769b83f07550cd1a4551f483461.jpg","text":"TemporaryFile(/tmp/multipartBody7364695584454122216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620433130,"filename":"image_23012025_09_18_54_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785507","file1":"1330785502","file0":"1330785496","file4":"1330785542","file5":"1330785544","file3":"1330785539"},"map_files_photo_id_array":[{"photo_id":"1330785544","filename":"file5"},{"photo_id":"1330785507","filename":"file2"},{"photo_id":"1330785542","filename":"file4"},{"photo_id":"1330785502","filename":"file1"},{"photo_id":"1330785496","filename":"file0"},{"photo_id":"1330785539","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785544":["hashtag1","hashtag2"]},{"1330785502":["hashtag1","hashtag2"]},{"1330785507":["hashtag1","hashtag2"]},{"1330785539":["hashtag1","hashtag2"]},{"1330785542":["hashtag1","hashtag2"]},{"1330785496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785544, 1330785502, 1330785507, 1330785539, 1330785542, 1330785496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16683745384216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:20:32.430468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_55_10348.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_20_04_9466.jpg', '/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_14_10354.jpg', '/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_25_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_55_10348.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_20_04_9466.jpg
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_14_10354.jpg
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_25_10385.jpg
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: 0.4808053970336914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 09:20:42.492304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_55_10348.jpg', '/home/pi/Desktop/images/23012025/09/19/image_23012025_09_20_04_9466.jpg', '/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_14_10354.jpg', '/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_25_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_19_55_10348.jpg
/home/pi/Desktop/images/23012025/09/19/image_23012025_09_20_04_9466.jpg
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_14_10354.jpg
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_25_10385.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":["1330785645","1330785638","1330785641","1330785602"],"photo_ids_order":["1330785602","1330785638","1330785641","1330785645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3688c4fecd9bc12131fb8654971ab10f.jpg","text":"TemporaryFile(/tmp/multipartBody5970362571975390616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620503387,"filename":"image_23012025_09_20_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d281f24f5b5e7e9b2f4574c64d8609c.jpg","text":"TemporaryFile(/tmp/multipartBody5660291081950725954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620503387,"filename":"image_23012025_09_20_04_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27de5d7bfa49e67c867818c61e46b04d.jpg","text":"TemporaryFile(/tmp/multipartBody2999659102765935398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620503387,"filename":"image_23012025_09_20_14_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b025cf02dad4eba14bb0d10f52141a6.jpg","text":"TemporaryFile(/tmp/multipartBody2850691734022100292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620503387,"filename":"image_23012025_09_19_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785641","file1":"1330785638","file0":"1330785602","file3":"1330785645"},"map_files_photo_id_array":[{"photo_id":"1330785641","filename":"file2"},{"photo_id":"1330785638","filename":"file1"},{"photo_id":"1330785602","filename":"file0"},{"photo_id":"1330785645","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785645":["hashtag1","hashtag2"]},{"1330785638":["hashtag1","hashtag2"]},{"1330785641":["hashtag1","hashtag2"]},{"1330785602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785645, 1330785638, 1330785641, 1330785602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.47136425971985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:21:32.580691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_34_9339.jpg', '/home/pi/Desktop/images/23012025/09/20/image_23012025_09_21_04_10347.jpg', '/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_15_10331.jpg', '/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_24_9339.jpg', '/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_34_10371.jpg', '/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_20_34_9339.jpg
/home/pi/Desktop/images/23012025/09/20/image_23012025_09_21_04_10347.jpg
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_15_10331.jpg
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_24_9339.jpg
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_34_10371.jpg
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_45_10349.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":["1330785676","1330785678","1330785672","1330785675","1330785674","1330785668"],"photo_ids_order":["1330785668","1330785672","1330785674","1330785675","1330785676","1330785678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d6d2bc853588be0c1090e07976eb06b.jpg","text":"TemporaryFile(/tmp/multipartBody3116417086652915462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620553495,"filename":"image_23012025_09_21_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09143fd96a97f355163bea05006fbbad.jpg","text":"TemporaryFile(/tmp/multipartBody3651532297772183107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620553495,"filename":"image_23012025_09_21_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e368d2a04b68c15f5b0c016d42193312.jpg","text":"TemporaryFile(/tmp/multipartBody698841143143651335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620553495,"filename":"image_23012025_09_21_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d763be33b1facd0b881154f06aa2debb.jpg","text":"TemporaryFile(/tmp/multipartBody8218447244301529543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620553495,"filename":"image_23012025_09_21_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a244f322037f4c4c70eaebe46fc71644.jpg","text":"TemporaryFile(/tmp/multipartBody6158326887238616115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620553495,"filename":"image_23012025_09_21_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b21415057adc3ad91bce4cfd1c15a85.jpg","text":"TemporaryFile(/tmp/multipartBody2213675879446328466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620553495,"filename":"image_23012025_09_20_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785674","file1":"1330785672","file0":"1330785668","file4":"1330785676","file5":"1330785678","file3":"1330785675"},"map_files_photo_id_array":[{"photo_id":"1330785678","filename":"file5"},{"photo_id":"1330785674","filename":"file2"},{"photo_id":"1330785676","filename":"file4"},{"photo_id":"1330785672","filename":"file1"},{"photo_id":"1330785668","filename":"file0"},{"photo_id":"1330785675","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785676":["hashtag1","hashtag2"]},{"1330785678":["hashtag1","hashtag2"]},{"1330785672":["hashtag1","hashtag2"]},{"1330785675":["hashtag1","hashtag2"]},{"1330785674":["hashtag1","hashtag2"]},{"1330785668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785676, 1330785678, 1330785672, 1330785675, 1330785674, 1330785668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.293118715286255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:22:32.810531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_54_9451.jpg', '/home/pi/Desktop/images/23012025/09/21/image_23012025_09_22_05_10411.jpg', '/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_14_9327.jpg', '/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_24_10431.jpg', '/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_35_10346.jpg', '/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_44_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_21_54_9451.jpg
/home/pi/Desktop/images/23012025/09/21/image_23012025_09_22_05_10411.jpg
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_14_9327.jpg
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_24_10431.jpg
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_35_10346.jpg
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_44_9399.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":["1330785697","1330785712","1330785708","1330785691","1330785710","1330785704"],"photo_ids_order":["1330785691","1330785697","1330785704","1330785708","1330785710","1330785712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/594bcab833a8d6223967012a8ec80e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1195216845233661690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620613696,"filename":"image_23012025_09_22_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8de02dc5bc210e9e7e28b1c0cb6205ba.jpg","text":"TemporaryFile(/tmp/multipartBody2344225898751941615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620613696,"filename":"image_23012025_09_22_44_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffefdd542312515b5b2876f7d217b0b2.jpg","text":"TemporaryFile(/tmp/multipartBody9099467420074409820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620613696,"filename":"image_23012025_09_22_24_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0860127eb329ed26f5631b0a8037a479.jpg","text":"TemporaryFile(/tmp/multipartBody822391726963025956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620613696,"filename":"image_23012025_09_21_54_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfce17c016e0c9e88bb9a8c7b52edb6d.jpg","text":"TemporaryFile(/tmp/multipartBody1098698629455164121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620613696,"filename":"image_23012025_09_22_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8238182e0fefaef510f57984c9750afb.jpg","text":"TemporaryFile(/tmp/multipartBody106875934428431112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620613696,"filename":"image_23012025_09_22_14_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785704","file1":"1330785697","file0":"1330785691","file4":"1330785710","file5":"1330785712","file3":"1330785708"},"map_files_photo_id_array":[{"photo_id":"1330785712","filename":"file5"},{"photo_id":"1330785704","filename":"file2"},{"photo_id":"1330785710","filename":"file4"},{"photo_id":"1330785697","filename":"file1"},{"photo_id":"1330785691","filename":"file0"},{"photo_id":"1330785708","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785697":["hashtag1","hashtag2"]},{"1330785712":["hashtag1","hashtag2"]},{"1330785708":["hashtag1","hashtag2"]},{"1330785691":["hashtag1","hashtag2"]},{"1330785710":["hashtag1","hashtag2"]},{"1330785704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785697, 1330785712, 1330785708, 1330785691, 1330785710, 1330785704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48232936859131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:23:33.104889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_54_10357.jpg', '/home/pi/Desktop/images/23012025/09/22/image_23012025_09_23_05_10454.jpg', '/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_14_9366.jpg', '/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_25_10361.jpg', '/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_34_9340.jpg', '/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_44_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_22_54_10357.jpg
/home/pi/Desktop/images/23012025/09/22/image_23012025_09_23_05_10454.jpg
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_14_9366.jpg
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_25_10361.jpg
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_34_9340.jpg
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_44_10324.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":["1330785721","1330785732","1330785729","1330785744","1330785731","1330785725"],"photo_ids_order":["1330785721","1330785725","1330785729","1330785731","1330785732","1330785744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c877d0b372df3f435be0a74b43ae18e2.jpg","text":"TemporaryFile(/tmp/multipartBody3007876008928361165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620674045,"filename":"image_23012025_09_22_54_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c75743232f2a36c60feeb378101f7bff.jpg","text":"TemporaryFile(/tmp/multipartBody1521364412227216701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620674045,"filename":"image_23012025_09_23_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfbbe5bc9f0ca59170e3ad4a43c43483.jpg","text":"TemporaryFile(/tmp/multipartBody188398029199376121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620674045,"filename":"image_23012025_09_23_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca67314fc38ecfaeb8e4e3d95d5cc25d.jpg","text":"TemporaryFile(/tmp/multipartBody6665280335633758493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620674045,"filename":"image_23012025_09_23_44_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08ae48c32a3cc67d86ee213cd533fe91.jpg","text":"TemporaryFile(/tmp/multipartBody2405380539054312041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620674045,"filename":"image_23012025_09_23_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23936f335548e028929a884831b90118.jpg","text":"TemporaryFile(/tmp/multipartBody7495636996140047928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620674045,"filename":"image_23012025_09_23_05_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785729","file1":"1330785725","file0":"1330785721","file4":"1330785732","file5":"1330785744","file3":"1330785731"},"map_files_photo_id_array":[{"photo_id":"1330785744","filename":"file5"},{"photo_id":"1330785729","filename":"file2"},{"photo_id":"1330785732","filename":"file4"},{"photo_id":"1330785725","filename":"file1"},{"photo_id":"1330785721","filename":"file0"},{"photo_id":"1330785731","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785721":["hashtag1","hashtag2"]},{"1330785732":["hashtag1","hashtag2"]},{"1330785729":["hashtag1","hashtag2"]},{"1330785744":["hashtag1","hashtag2"]},{"1330785731":["hashtag1","hashtag2"]},{"1330785725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785721, 1330785732, 1330785729, 1330785744, 1330785731, 1330785725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41628551483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:24:32.330453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_55_10340.jpg', '/home/pi/Desktop/images/23012025/09/23/image_23012025_09_24_04_9329.jpg', '/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_14_10469.jpg', '/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_25_10353.jpg', '/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_34_9418.jpg', '/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_45_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_23_55_10340.jpg
/home/pi/Desktop/images/23012025/09/23/image_23012025_09_24_04_9329.jpg
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_14_10469.jpg
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_25_10353.jpg
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_34_9418.jpg
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_45_10340.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":["1330785835","1330785825","1330785834","1330785810","1330785818","1330785806"],"photo_ids_order":["1330785806","1330785810","1330785818","1330785825","1330785834","1330785835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9123d99a3d12933eb2b8692ec1a53ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3351202252041055463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620733231,"filename":"image_23012025_09_24_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6357a4d1b47d1880ced0c6d63353727f.jpg","text":"TemporaryFile(/tmp/multipartBody1721421037783180324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620733231,"filename":"image_23012025_09_24_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6facaebefde3b4eb7c9f3569aeee43e2.jpg","text":"TemporaryFile(/tmp/multipartBody2031564635765666548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620733231,"filename":"image_23012025_09_24_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb5c5fd1299483562e554f67faee2fd0.jpg","text":"TemporaryFile(/tmp/multipartBody9080645125340736133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620733231,"filename":"image_23012025_09_24_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/024953636266662eb4e175732086e073.jpg","text":"TemporaryFile(/tmp/multipartBody2062145012406349805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620733231,"filename":"image_23012025_09_24_14_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ce9b79f7c8a58f8c70d9e5c275512b8.jpg","text":"TemporaryFile(/tmp/multipartBody6881761189461954920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620733231,"filename":"image_23012025_09_23_55_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785818","file1":"1330785810","file0":"1330785806","file4":"1330785834","file5":"1330785835","file3":"1330785825"},"map_files_photo_id_array":[{"photo_id":"1330785835","filename":"file5"},{"photo_id":"1330785818","filename":"file2"},{"photo_id":"1330785834","filename":"file4"},{"photo_id":"1330785810","filename":"file1"},{"photo_id":"1330785806","filename":"file0"},{"photo_id":"1330785825","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785835":["hashtag1","hashtag2"]},{"1330785825":["hashtag1","hashtag2"]},{"1330785834":["hashtag1","hashtag2"]},{"1330785810":["hashtag1","hashtag2"]},{"1330785818":["hashtag1","hashtag2"]},{"1330785806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785835, 1330785825, 1330785834, 1330785810, 1330785818, 1330785806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41710138320923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:25:32.386303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_55_10341.jpg', '/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_15_10350.jpg', '/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_24_9401.jpg', '/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_34_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/24/image_23012025_09_24_55_10341.jpg
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_15_10350.jpg
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_24_9401.jpg
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_34_10344.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":["1330785960","1330785962","1330785935","1330785964"],"photo_ids_order":["1330785935","1330785960","1330785962","1330785964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1fc0cdb10caef92bf55cbcc1e7f0f82.jpg","text":"TemporaryFile(/tmp/multipartBody2788815347713945360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620793255,"filename":"image_23012025_09_25_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/976dff5e981add72961372fc9ff89206.jpg","text":"TemporaryFile(/tmp/multipartBody4249814676040089172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620793255,"filename":"image_23012025_09_25_24_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/111f23417aaeaa0714c59b3443da18d7.jpg","text":"TemporaryFile(/tmp/multipartBody388209922831866130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620793255,"filename":"image_23012025_09_24_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/467247c5c9f1bc175fa5244581773077.jpg","text":"TemporaryFile(/tmp/multipartBody1763163651718619776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620793255,"filename":"image_23012025_09_25_34_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330785962","file1":"1330785960","file0":"1330785935","file3":"1330785964"},"map_files_photo_id_array":[{"photo_id":"1330785962","filename":"file2"},{"photo_id":"1330785960","filename":"file1"},{"photo_id":"1330785935","filename":"file0"},{"photo_id":"1330785964","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330785960":["hashtag1","hashtag2"]},{"1330785962":["hashtag1","hashtag2"]},{"1330785935":["hashtag1","hashtag2"]},{"1330785964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330785960, 1330785962, 1330785935, 1330785964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.095510005950928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:26:32.774782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_54_9357.jpg', '/home/pi/Desktop/images/23012025/09/25/image_23012025_09_26_04_10444.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_15_10353.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_24_9355.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_34_10345.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_45_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_25_54_9357.jpg
/home/pi/Desktop/images/23012025/09/25/image_23012025_09_26_04_10444.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_15_10353.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_24_9355.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_34_10345.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_45_10347.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":["1330786123","1330786050","1330786224","1330786053","1330786256","1330786267"],"photo_ids_order":["1330786050","1330786053","1330786123","1330786224","1330786256","1330786267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9833fd95bf10653c2aba3a7121ef1ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3654274620555727184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620853680,"filename":"image_23012025_09_26_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1066e5451a4afef54c3995f0131b2ed5.jpg","text":"TemporaryFile(/tmp/multipartBody344844774343879513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620853680,"filename":"image_23012025_09_25_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd0df535dc7a3e7da374eb8d1635bb47.jpg","text":"TemporaryFile(/tmp/multipartBody8585906769682303643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620853680,"filename":"image_23012025_09_26_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3594e8c39e8709e181f6b9a0a90b818.jpg","text":"TemporaryFile(/tmp/multipartBody3768605594575485213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620853680,"filename":"image_23012025_09_26_04_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53a97c9e21d20c0b70e621b86fcfe1d9.jpg","text":"TemporaryFile(/tmp/multipartBody1977867955906882007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620853680,"filename":"image_23012025_09_26_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67c6c69ce56a75032db2a1550310d1ee.jpg","text":"TemporaryFile(/tmp/multipartBody4351033421013301475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620853680,"filename":"image_23012025_09_26_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330786123","file1":"1330786053","file0":"1330786050","file4":"1330786256","file5":"1330786267","file3":"1330786224"},"map_files_photo_id_array":[{"photo_id":"1330786267","filename":"file5"},{"photo_id":"1330786123","filename":"file2"},{"photo_id":"1330786256","filename":"file4"},{"photo_id":"1330786053","filename":"file1"},{"photo_id":"1330786050","filename":"file0"},{"photo_id":"1330786224","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330786123":["hashtag1","hashtag2"]},{"1330786050":["hashtag1","hashtag2"]},{"1330786224":["hashtag1","hashtag2"]},{"1330786053":["hashtag1","hashtag2"]},{"1330786256":["hashtag1","hashtag2"]},{"1330786267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330786123, 1330786050, 1330786224, 1330786053, 1330786256, 1330786267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88463544845581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:27:32.923593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_54_9446.jpg', '/home/pi/Desktop/images/23012025/09/26/image_23012025_09_27_05_10340.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_14_9336.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_24_10433.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_35_10399.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_44_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_26_54_9446.jpg
/home/pi/Desktop/images/23012025/09/26/image_23012025_09_27_05_10340.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_14_9336.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_24_10433.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_35_10399.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_44_9373.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":["1330786299","1330786290","1330786284","1330786329","1330786323","1330786331"],"photo_ids_order":["1330786284","1330786290","1330786299","1330786323","1330786329","1330786331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/175079ecd711f10a44d051b471328543.jpg","text":"TemporaryFile(/tmp/multipartBody7742786396712796614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620913848,"filename":"image_23012025_09_27_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75492b4e867634c2a3ffb51ddd925eaf.jpg","text":"TemporaryFile(/tmp/multipartBody423265710425219167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620913848,"filename":"image_23012025_09_27_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdfb9f2b486ecc9cb0ff1c4eddf851de.jpg","text":"TemporaryFile(/tmp/multipartBody6462135867486760291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620913848,"filename":"image_23012025_09_26_54_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/046f1d928b40aff55aa982e698aa5fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5438509568502531351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620913848,"filename":"image_23012025_09_27_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ff3708bd23516bd00e6bdefedf72830.jpg","text":"TemporaryFile(/tmp/multipartBody3754999772147546750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620913848,"filename":"image_23012025_09_27_24_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b3088f639cef83ce4a34de48c249f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8190064245433989209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620913848,"filename":"image_23012025_09_27_44_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330786299","file1":"1330786290","file0":"1330786284","file4":"1330786329","file5":"1330786331","file3":"1330786323"},"map_files_photo_id_array":[{"photo_id":"1330786331","filename":"file5"},{"photo_id":"1330786299","filename":"file2"},{"photo_id":"1330786329","filename":"file4"},{"photo_id":"1330786290","filename":"file1"},{"photo_id":"1330786284","filename":"file0"},{"photo_id":"1330786323","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330786299":["hashtag1","hashtag2"]},{"1330786290":["hashtag1","hashtag2"]},{"1330786284":["hashtag1","hashtag2"]},{"1330786329":["hashtag1","hashtag2"]},{"1330786323":["hashtag1","hashtag2"]},{"1330786331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330786299, 1330786290, 1330786284, 1330786329, 1330786323, 1330786331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77626395225525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:28:33.104013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_55_10478.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_28_04_9464.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_14_10362.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_25_10416.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_34_9382.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_55_10478.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_28_04_9464.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_14_10362.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_25_10416.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_34_9382.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_45_10345.jpg
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: 0.5083904266357422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 09:28:43.176789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_55_10478.jpg', '/home/pi/Desktop/images/23012025/09/27/image_23012025_09_28_04_9464.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_14_10362.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_25_10416.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_34_9382.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_27_55_10478.jpg
/home/pi/Desktop/images/23012025/09/27/image_23012025_09_28_04_9464.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_14_10362.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_25_10416.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_34_9382.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_45_10345.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":["1330786476","1330786533","1330786500","1330786511","1330786508","1330786540"],"photo_ids_order":["1330786476","1330786500","1330786508","1330786511","1330786533","1330786540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20ed4dba04cb8df08ace7873c1b7a757.jpg","text":"TemporaryFile(/tmp/multipartBody5868431211870574575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620984082,"filename":"image_23012025_09_27_55_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/230260b023afe3230d5605319e52f489.jpg","text":"TemporaryFile(/tmp/multipartBody6714475748143221610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620984082,"filename":"image_23012025_09_28_34_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa715d99f0913f9d28babbe6d3cad697.jpg","text":"TemporaryFile(/tmp/multipartBody547899007837944938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620984082,"filename":"image_23012025_09_28_04_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd7b8bf7221dcfda5bb1ab5bfc30bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody1849090320503550431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620984082,"filename":"image_23012025_09_28_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3eff48b05014e5d0d05cc810dd3b3b18.jpg","text":"TemporaryFile(/tmp/multipartBody8982715239997203276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620984082,"filename":"image_23012025_09_28_14_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dcd7d6e7cb95d0a1f4487c0d156dd64.jpg","text":"TemporaryFile(/tmp/multipartBody5804126945696466894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737620984082,"filename":"image_23012025_09_28_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330786508","file1":"1330786500","file0":"1330786476","file4":"1330786533","file5":"1330786540","file3":"1330786511"},"map_files_photo_id_array":[{"photo_id":"1330786540","filename":"file5"},{"photo_id":"1330786508","filename":"file2"},{"photo_id":"1330786533","filename":"file4"},{"photo_id":"1330786500","filename":"file1"},{"photo_id":"1330786476","filename":"file0"},{"photo_id":"1330786511","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330786476":["hashtag1","hashtag2"]},{"1330786533":["hashtag1","hashtag2"]},{"1330786500":["hashtag1","hashtag2"]},{"1330786511":["hashtag1","hashtag2"]},{"1330786508":["hashtag1","hashtag2"]},{"1330786540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330786476, 1330786533, 1330786500, 1330786511, 1330786508, 1330786540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15567445755005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:29:32.349565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_54_9342.jpg', '/home/pi/Desktop/images/23012025/09/28/image_23012025_09_29_04_10448.jpg', '/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_15_10352.jpg', '/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_24_9398.jpg', '/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_28_54_9342.jpg
/home/pi/Desktop/images/23012025/09/28/image_23012025_09_29_04_10448.jpg
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_15_10352.jpg
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_24_9398.jpg
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_45_10350.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":["1330786557","1330786551","1330786568","1330786565","1330786561"],"photo_ids_order":["1330786551","1330786557","1330786561","1330786565","1330786568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7586c88058136044174462776b44e997.jpg","text":"TemporaryFile(/tmp/multipartBody6066217153758465996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033239,"filename":"image_23012025_09_29_04_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea7d617e0ff66195a8922fb31945bca7.jpg","text":"TemporaryFile(/tmp/multipartBody6578735852100047755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033239,"filename":"image_23012025_09_28_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9e57df1c24cd0cc25f277993df01f38.jpg","text":"TemporaryFile(/tmp/multipartBody1672664713927868628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033239,"filename":"image_23012025_09_29_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14b6fbc58f615e5be797bf75865e150e.jpg","text":"TemporaryFile(/tmp/multipartBody8334645178637539881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033239,"filename":"image_23012025_09_29_24_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31b038035b08e595a297aba66e0976d9.jpg","text":"TemporaryFile(/tmp/multipartBody3261749862622976834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621033239,"filename":"image_23012025_09_29_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330786561","file1":"1330786557","file0":"1330786551","file4":"1330786568","file3":"1330786565"},"map_files_photo_id_array":[{"photo_id":"1330786561","filename":"file2"},{"photo_id":"1330786568","filename":"file4"},{"photo_id":"1330786557","filename":"file1"},{"photo_id":"1330786551","filename":"file0"},{"photo_id":"1330786565","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330786557":["hashtag1","hashtag2"]},{"1330786551":["hashtag1","hashtag2"]},{"1330786568":["hashtag1","hashtag2"]},{"1330786565":["hashtag1","hashtag2"]},{"1330786561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330786557, 1330786551, 1330786568, 1330786565, 1330786561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.249950885772705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:30:32.578897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_54_9454.jpg', '/home/pi/Desktop/images/23012025/09/29/image_23012025_09_30_05_10352.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_14_9403.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_24_9965.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_34_10432.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_45_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_29_54_9454.jpg
/home/pi/Desktop/images/23012025/09/29/image_23012025_09_30_05_10352.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_14_9403.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_24_9965.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_34_10432.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_45_10336.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":["1330786624","1330786612","1330786632","1330786629","1330786620","1330786633"],"photo_ids_order":["1330786612","1330786620","1330786624","1330786629","1330786632","1330786633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36d53e1a681a0beddc156494b7829cef.jpg","text":"TemporaryFile(/tmp/multipartBody1964296621380656316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093470,"filename":"image_23012025_09_30_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3fb0e97cd83b4c9fe03087887ba1dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7852195183656790009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093470,"filename":"image_23012025_09_29_54_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6f1edc065ac7299bf1adf13546fa3cf.jpg","text":"TemporaryFile(/tmp/multipartBody3799129480527163505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093470,"filename":"image_23012025_09_30_34_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41ca509412885dad63ed36c768c7f478.jpg","text":"TemporaryFile(/tmp/multipartBody5545099719948890578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093470,"filename":"image_23012025_09_30_24_9965.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49d21484af6b954cbd1842ad462315d9.jpg","text":"TemporaryFile(/tmp/multipartBody4173487995072256504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093470,"filename":"image_23012025_09_30_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ca17241e9923976f2a48e30161e1a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6621074249532265330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621093470,"filename":"image_23012025_09_30_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330786624","file1":"1330786620","file0":"1330786612","file4":"1330786632","file5":"1330786633","file3":"1330786629"},"map_files_photo_id_array":[{"photo_id":"1330786633","filename":"file5"},{"photo_id":"1330786624","filename":"file2"},{"photo_id":"1330786632","filename":"file4"},{"photo_id":"1330786620","filename":"file1"},{"photo_id":"1330786612","filename":"file0"},{"photo_id":"1330786629","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330786624":["hashtag1","hashtag2"]},{"1330786612":["hashtag1","hashtag2"]},{"1330786632":["hashtag1","hashtag2"]},{"1330786629":["hashtag1","hashtag2"]},{"1330786620":["hashtag1","hashtag2"]},{"1330786633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330786624, 1330786612, 1330786632, 1330786629, 1330786620, 1330786633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45575928688049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:31:32.812629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_54_9348.jpg', '/home/pi/Desktop/images/23012025/09/30/image_23012025_09_31_04_10353.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_15_10362.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_24_9383.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_35_10387.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_44_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_30_54_9348.jpg
/home/pi/Desktop/images/23012025/09/30/image_23012025_09_31_04_10353.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_15_10362.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_24_9383.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_35_10387.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_44_9445.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":["1330786801","1330786804","1330786796","1330786808","1330786792","1330786807"],"photo_ids_order":["1330786792","1330786796","1330786801","1330786804","1330786807","1330786808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35d3e700dc4d5a9c8ee6fb62f8665de2.jpg","text":"TemporaryFile(/tmp/multipartBody6799606879189174555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621153733,"filename":"image_23012025_09_31_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30fb6bacac205f90073d29b360375529.jpg","text":"TemporaryFile(/tmp/multipartBody8878407226396221849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621153733,"filename":"image_23012025_09_31_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91f91c671cf8c7a303ee461355e98ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6490585025643206433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621153733,"filename":"image_23012025_09_31_04_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6bce4bbf266e2b36b9a9372368c0570.jpg","text":"TemporaryFile(/tmp/multipartBody7256185713378432265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621153733,"filename":"image_23012025_09_31_44_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e60d6e0b01eb287c855b140a02783211.jpg","text":"TemporaryFile(/tmp/multipartBody2302468762524346651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621153733,"filename":"image_23012025_09_30_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9951f949c48e7bf7251e414e0059620.jpg","text":"TemporaryFile(/tmp/multipartBody6945861607505955956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621153733,"filename":"image_23012025_09_31_35_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330786801","file1":"1330786796","file0":"1330786792","file4":"1330786807","file5":"1330786808","file3":"1330786804"},"map_files_photo_id_array":[{"photo_id":"1330786808","filename":"file5"},{"photo_id":"1330786801","filename":"file2"},{"photo_id":"1330786807","filename":"file4"},{"photo_id":"1330786796","filename":"file1"},{"photo_id":"1330786792","filename":"file0"},{"photo_id":"1330786804","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330786801":["hashtag1","hashtag2"]},{"1330786804":["hashtag1","hashtag2"]},{"1330786796":["hashtag1","hashtag2"]},{"1330786808":["hashtag1","hashtag2"]},{"1330786792":["hashtag1","hashtag2"]},{"1330786807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330786801, 1330786804, 1330786796, 1330786808, 1330786792, 1330786807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.795576333999634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:32:33.085612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_54_10353.jpg', '/home/pi/Desktop/images/23012025/09/31/image_23012025_09_32_05_10348.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_14_9392.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_25_10350.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_35_10351.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_44_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_31_54_10353.jpg
/home/pi/Desktop/images/23012025/09/31/image_23012025_09_32_05_10348.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_14_9392.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_25_10350.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_35_10351.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_44_9444.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":["1330786980","1330786983","1330786977","1330786926","1330786815","1330786844"],"photo_ids_order":["1330786815","1330786844","1330786926","1330786977","1330786980","1330786983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f6addd772db89995a10e29a3582ad38.jpg","text":"TemporaryFile(/tmp/multipartBody1117415162200374768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621213973,"filename":"image_23012025_09_32_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dac27be0bf1b2dd24bb8aaefa98abe8e.jpg","text":"TemporaryFile(/tmp/multipartBody557936090407031078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621213973,"filename":"image_23012025_09_32_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23d77fb9440a70249306ba5d93ec027b.jpg","text":"TemporaryFile(/tmp/multipartBody7192046735530990420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621213973,"filename":"image_23012025_09_32_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/394ca2f114756d9a2c38cb5250f66b11.jpg","text":"TemporaryFile(/tmp/multipartBody3937165075271867748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621213973,"filename":"image_23012025_09_32_14_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c862cd5d5dc12398615ad18d152817e2.jpg","text":"TemporaryFile(/tmp/multipartBody7592023489961966161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621213973,"filename":"image_23012025_09_31_54_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00b94e8b2ff4c176ffb73b8e30d0fc14.jpg","text":"TemporaryFile(/tmp/multipartBody3195523284549164392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621213973,"filename":"image_23012025_09_32_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330786926","file1":"1330786844","file0":"1330786815","file4":"1330786980","file5":"1330786983","file3":"1330786977"},"map_files_photo_id_array":[{"photo_id":"1330786983","filename":"file5"},{"photo_id":"1330786926","filename":"file2"},{"photo_id":"1330786980","filename":"file4"},{"photo_id":"1330786844","filename":"file1"},{"photo_id":"1330786815","filename":"file0"},{"photo_id":"1330786977","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330786980":["hashtag1","hashtag2"]},{"1330786983":["hashtag1","hashtag2"]},{"1330786977":["hashtag1","hashtag2"]},{"1330786926":["hashtag1","hashtag2"]},{"1330786815":["hashtag1","hashtag2"]},{"1330786844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330786980, 1330786983, 1330786977, 1330786926, 1330786815, 1330786844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.087538719177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:33:32.265331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_55_10358.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_33_04_9403.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_14_10349.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_25_10361.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_34_9419.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_55_10358.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_33_04_9403.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_14_10349.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_25_10361.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_34_9419.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_45_10360.jpg
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: 0.52207350730896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 09:33:42.329015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_55_10358.jpg', '/home/pi/Desktop/images/23012025/09/32/image_23012025_09_33_04_9403.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_14_10349.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_25_10361.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_34_9419.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_32_55_10358.jpg
/home/pi/Desktop/images/23012025/09/32/image_23012025_09_33_04_9403.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_14_10349.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_25_10361.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_34_9419.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_45_10360.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":["1330787019","1330787063","1330787015","1330787030","1330787047","1330787011"],"photo_ids_order":["1330787011","1330787015","1330787019","1330787030","1330787047","1330787063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02f056fd9bfe09363114da2088662d26.jpg","text":"TemporaryFile(/tmp/multipartBody1487050382932453717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621283254,"filename":"image_23012025_09_33_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/664a966f540ab09d152b5794075ee926.jpg","text":"TemporaryFile(/tmp/multipartBody2924649253857159848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621283254,"filename":"image_23012025_09_33_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2fb9a33b4a699515c2bebe8b4de5303.jpg","text":"TemporaryFile(/tmp/multipartBody2796458083659532257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621283254,"filename":"image_23012025_09_33_04_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3edb1c3901570caaab4cb650ac811f12.jpg","text":"TemporaryFile(/tmp/multipartBody7077863120953953537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621283254,"filename":"image_23012025_09_33_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/297fedc510e650288f21cb2a57901b52.jpg","text":"TemporaryFile(/tmp/multipartBody6091708741782785956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621283254,"filename":"image_23012025_09_33_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b94936649f427169a307427c7987bbf0.jpg","text":"TemporaryFile(/tmp/multipartBody2729911032595904152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621283254,"filename":"image_23012025_09_32_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787019","file1":"1330787015","file0":"1330787011","file4":"1330787047","file5":"1330787063","file3":"1330787030"},"map_files_photo_id_array":[{"photo_id":"1330787063","filename":"file5"},{"photo_id":"1330787019","filename":"file2"},{"photo_id":"1330787047","filename":"file4"},{"photo_id":"1330787015","filename":"file1"},{"photo_id":"1330787011","filename":"file0"},{"photo_id":"1330787030","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787019":["hashtag1","hashtag2"]},{"1330787063":["hashtag1","hashtag2"]},{"1330787015":["hashtag1","hashtag2"]},{"1330787030":["hashtag1","hashtag2"]},{"1330787047":["hashtag1","hashtag2"]},{"1330787011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787019, 1330787063, 1330787015, 1330787030, 1330787047, 1330787011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.173222064971924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:34:32.353557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_54_9364.jpg', '/home/pi/Desktop/images/23012025/09/33/image_23012025_09_34_04_10338.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_15_10352.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_24_9331.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_34_10387.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_33_54_9364.jpg
/home/pi/Desktop/images/23012025/09/33/image_23012025_09_34_04_10338.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_15_10352.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_24_9331.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_34_10387.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_45_10345.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":["1330787151","1330787162","1330787156","1330787165","1330787159","1330787163"],"photo_ids_order":["1330787151","1330787156","1330787159","1330787162","1330787163","1330787165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21318f6fc6b35adfd7a9d5a02433a0ad.jpg","text":"TemporaryFile(/tmp/multipartBody1898383392691512380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621333268,"filename":"image_23012025_09_33_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa746993487eb19411706441450c8e01.jpg","text":"TemporaryFile(/tmp/multipartBody5257784088186412659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621333268,"filename":"image_23012025_09_34_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2484ba2ca0877e6bb3b49b7870f98d29.jpg","text":"TemporaryFile(/tmp/multipartBody2740958894224628304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621333268,"filename":"image_23012025_09_34_04_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/659af6c13a2015d9af8f3540d15a55fd.jpg","text":"TemporaryFile(/tmp/multipartBody9136314068891873440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621333268,"filename":"image_23012025_09_34_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ded761dc95a9c986cf196cc526ad13e.jpg","text":"TemporaryFile(/tmp/multipartBody5815162867866331661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621333268,"filename":"image_23012025_09_34_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a67e60eb9b1b0ae62cfd476cdd39ee4d.jpg","text":"TemporaryFile(/tmp/multipartBody4403750833073738599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621333268,"filename":"image_23012025_09_34_34_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787159","file1":"1330787156","file0":"1330787151","file4":"1330787163","file5":"1330787165","file3":"1330787162"},"map_files_photo_id_array":[{"photo_id":"1330787165","filename":"file5"},{"photo_id":"1330787159","filename":"file2"},{"photo_id":"1330787163","filename":"file4"},{"photo_id":"1330787156","filename":"file1"},{"photo_id":"1330787151","filename":"file0"},{"photo_id":"1330787162","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787151":["hashtag1","hashtag2"]},{"1330787162":["hashtag1","hashtag2"]},{"1330787156":["hashtag1","hashtag2"]},{"1330787165":["hashtag1","hashtag2"]},{"1330787159":["hashtag1","hashtag2"]},{"1330787163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787151, 1330787162, 1330787156, 1330787165, 1330787159, 1330787163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.2389440536499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:35:32.503516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_54_9488.jpg', '/home/pi/Desktop/images/23012025/09/34/image_23012025_09_35_05_10431.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_14_9341.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_24_10485.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_35_10399.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_44_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_34_54_9488.jpg
/home/pi/Desktop/images/23012025/09/34/image_23012025_09_35_05_10431.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_14_9341.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_24_10485.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_35_10399.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_44_9351.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":["1330787331","1330787316","1330787345","1330787239","1330787295","1330787308"],"photo_ids_order":["1330787239","1330787295","1330787308","1330787316","1330787331","1330787345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22a6fe88b4ac09258a476f62c0c4a7df.jpg","text":"TemporaryFile(/tmp/multipartBody4351141028957536793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621393405,"filename":"image_23012025_09_35_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ff552dbda11c88e0b232c4176284cea.jpg","text":"TemporaryFile(/tmp/multipartBody2755234092810084891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621393405,"filename":"image_23012025_09_35_24_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac737817d83af5d80ddefde1a7b6b46c.jpg","text":"TemporaryFile(/tmp/multipartBody4045636737565901893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621393405,"filename":"image_23012025_09_35_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e68cda87e8d3a2261f61ca517b27ac6b.jpg","text":"TemporaryFile(/tmp/multipartBody4094576995242947948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621393405,"filename":"image_23012025_09_34_54_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d364750f75a693a759bde9885b5c416a.jpg","text":"TemporaryFile(/tmp/multipartBody5234001150675832650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621393405,"filename":"image_23012025_09_35_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d4f678b25a43e2eef02c23c062bf614.jpg","text":"TemporaryFile(/tmp/multipartBody5131152169259852576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621393405,"filename":"image_23012025_09_35_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787308","file1":"1330787295","file0":"1330787239","file4":"1330787331","file5":"1330787345","file3":"1330787316"},"map_files_photo_id_array":[{"photo_id":"1330787345","filename":"file5"},{"photo_id":"1330787308","filename":"file2"},{"photo_id":"1330787331","filename":"file4"},{"photo_id":"1330787295","filename":"file1"},{"photo_id":"1330787239","filename":"file0"},{"photo_id":"1330787316","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787331":["hashtag1","hashtag2"]},{"1330787316":["hashtag1","hashtag2"]},{"1330787345":["hashtag1","hashtag2"]},{"1330787239":["hashtag1","hashtag2"]},{"1330787295":["hashtag1","hashtag2"]},{"1330787308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787331, 1330787316, 1330787345, 1330787239, 1330787295, 1330787308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06379437446594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:36:32.698800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_55_10362.jpg', '/home/pi/Desktop/images/23012025/09/35/image_23012025_09_36_04_9364.jpg', '/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_14_10365.jpg', '/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_25_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_35_55_10362.jpg
/home/pi/Desktop/images/23012025/09/35/image_23012025_09_36_04_9364.jpg
/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_14_10365.jpg
/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_25_10364.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":["1330787466","1330787462","1330787458","1330787469"],"photo_ids_order":["1330787458","1330787462","1330787466","1330787469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acb853dc7bf8814a058ee7c80fe87123.jpg","text":"TemporaryFile(/tmp/multipartBody4942591693857539813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621453562,"filename":"image_23012025_09_36_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d41905c06839fdb2c7d1fe907462530f.jpg","text":"TemporaryFile(/tmp/multipartBody9204881352122346664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621453562,"filename":"image_23012025_09_36_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6e5cd04069c7d17dc6bf81d080f0a17.jpg","text":"TemporaryFile(/tmp/multipartBody4169292370731082590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621453562,"filename":"image_23012025_09_35_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e226ac34a997d21d2573322292adbbb5.jpg","text":"TemporaryFile(/tmp/multipartBody4198965944038734001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621453562,"filename":"image_23012025_09_36_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787466","file1":"1330787462","file0":"1330787458","file3":"1330787469"},"map_files_photo_id_array":[{"photo_id":"1330787466","filename":"file2"},{"photo_id":"1330787462","filename":"file1"},{"photo_id":"1330787458","filename":"file0"},{"photo_id":"1330787469","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787466":["hashtag1","hashtag2"]},{"1330787462":["hashtag1","hashtag2"]},{"1330787458":["hashtag1","hashtag2"]},{"1330787469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787466, 1330787462, 1330787458, 1330787469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.682790756225586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:37:32.984707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_44_10333.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_15_10334.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_24_9435.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_34_10413.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_45_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/36/image_23012025_09_36_44_10333.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_15_10334.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_24_9435.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_34_10413.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_45_10332.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":["1330787498","1330787495","1330787501","1330787503","1330787493"],"photo_ids_order":["1330787493","1330787495","1330787498","1330787501","1330787503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92d61e68f7a2a7ac4c8ed65eb740b355.jpg","text":"TemporaryFile(/tmp/multipartBody7577073729440357935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621513866,"filename":"image_23012025_09_37_24_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d6a1e121bb796694b5e2433dff5e0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1765763532114231257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621513866,"filename":"image_23012025_09_37_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f309e8260fc063962d8c5e344e5fb51.jpg","text":"TemporaryFile(/tmp/multipartBody7907894547707613882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621513866,"filename":"image_23012025_09_37_34_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da1be170521e41cb850491a05b35d156.jpg","text":"TemporaryFile(/tmp/multipartBody129533928910950144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621513866,"filename":"image_23012025_09_37_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33880c4930024da17bc865951740d6ff.jpg","text":"TemporaryFile(/tmp/multipartBody643360227760147118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621513866,"filename":"image_23012025_09_36_44_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787498","file1":"1330787495","file0":"1330787493","file4":"1330787503","file3":"1330787501"},"map_files_photo_id_array":[{"photo_id":"1330787498","filename":"file2"},{"photo_id":"1330787503","filename":"file4"},{"photo_id":"1330787495","filename":"file1"},{"photo_id":"1330787493","filename":"file0"},{"photo_id":"1330787501","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787498":["hashtag1","hashtag2"]},{"1330787495":["hashtag1","hashtag2"]},{"1330787501":["hashtag1","hashtag2"]},{"1330787503":["hashtag1","hashtag2"]},{"1330787493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787498, 1330787495, 1330787501, 1330787503, 1330787493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.95088744163513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:38:32.164153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_54_9396.jpg', '/home/pi/Desktop/images/23012025/09/37/image_23012025_09_38_05_10458.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_15_10342.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_24_9342.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_35_10371.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_44_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_37_54_9396.jpg
/home/pi/Desktop/images/23012025/09/37/image_23012025_09_38_05_10458.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_15_10342.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_24_9342.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_35_10371.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_44_9350.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":["1330787526","1330787535","1330787552","1330787528","1330787548","1330787524"],"photo_ids_order":["1330787524","1330787526","1330787528","1330787535","1330787548","1330787552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d03dbba30957ef429531468fc6b2e4d.jpg","text":"TemporaryFile(/tmp/multipartBody9062777346045318024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621573075,"filename":"image_23012025_09_38_05_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ad14a51c1fe271a03cb6f7c05c7044f.jpg","text":"TemporaryFile(/tmp/multipartBody2920070123073174800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621573075,"filename":"image_23012025_09_38_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53b899ab35481bf375a4c884d8ef5aac.jpg","text":"TemporaryFile(/tmp/multipartBody6600433802142656506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621573075,"filename":"image_23012025_09_38_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38d0e902244a6d6d4616321b2ba86c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7926233563277198012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621573075,"filename":"image_23012025_09_38_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57ac3dd3d655a0d8f28f4649fe60c210.jpg","text":"TemporaryFile(/tmp/multipartBody3374206590012679969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621573075,"filename":"image_23012025_09_38_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d93067b14cc9b434c4d346e1a1774b7.jpg","text":"TemporaryFile(/tmp/multipartBody8078399209489257451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621573075,"filename":"image_23012025_09_37_54_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787528","file1":"1330787526","file0":"1330787524","file4":"1330787548","file5":"1330787552","file3":"1330787535"},"map_files_photo_id_array":[{"photo_id":"1330787552","filename":"file5"},{"photo_id":"1330787528","filename":"file2"},{"photo_id":"1330787548","filename":"file4"},{"photo_id":"1330787526","filename":"file1"},{"photo_id":"1330787524","filename":"file0"},{"photo_id":"1330787535","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787526":["hashtag1","hashtag2"]},{"1330787535":["hashtag1","hashtag2"]},{"1330787552":["hashtag1","hashtag2"]},{"1330787528":["hashtag1","hashtag2"]},{"1330787548":["hashtag1","hashtag2"]},{"1330787524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787526, 1330787535, 1330787552, 1330787528, 1330787548, 1330787524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54347538948059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:39:32.340428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_54_10366.jpg', '/home/pi/Desktop/images/23012025/09/38/image_23012025_09_39_05_10344.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_14_9467.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_25_10389.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_35_10337.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_44_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_38_54_10366.jpg
/home/pi/Desktop/images/23012025/09/38/image_23012025_09_39_05_10344.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_14_9467.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_25_10389.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_35_10337.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_44_9409.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":["1330787583","1330787577","1330787573","1330787584","1330787586","1330787580"],"photo_ids_order":["1330787573","1330787577","1330787580","1330787583","1330787584","1330787586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d31a57c5ae538ad7c8be8c5cb6fa804.jpg","text":"TemporaryFile(/tmp/multipartBody1685065602640772898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621633257,"filename":"image_23012025_09_39_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9af0e4b2c99480a2287fb71fda667354.jpg","text":"TemporaryFile(/tmp/multipartBody5315849541588385781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621633257,"filename":"image_23012025_09_39_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/718b79b3a78317baa05d1a50d26f6b70.jpg","text":"TemporaryFile(/tmp/multipartBody7612025269423850875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621633257,"filename":"image_23012025_09_38_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83fc7991d7272192cb79118304336411.jpg","text":"TemporaryFile(/tmp/multipartBody2587167963765057306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621633257,"filename":"image_23012025_09_39_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7923c3bb0acb85260c48ae445492db22.jpg","text":"TemporaryFile(/tmp/multipartBody8728211662363134470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621633257,"filename":"image_23012025_09_39_44_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b044ecc1de7d5e7d42efce2b875ae8a.jpg","text":"TemporaryFile(/tmp/multipartBody8271929692124525023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621633257,"filename":"image_23012025_09_39_14_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787580","file1":"1330787577","file0":"1330787573","file4":"1330787584","file5":"1330787586","file3":"1330787583"},"map_files_photo_id_array":[{"photo_id":"1330787586","filename":"file5"},{"photo_id":"1330787580","filename":"file2"},{"photo_id":"1330787584","filename":"file4"},{"photo_id":"1330787577","filename":"file1"},{"photo_id":"1330787573","filename":"file0"},{"photo_id":"1330787583","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787583":["hashtag1","hashtag2"]},{"1330787577":["hashtag1","hashtag2"]},{"1330787573":["hashtag1","hashtag2"]},{"1330787584":["hashtag1","hashtag2"]},{"1330787586":["hashtag1","hashtag2"]},{"1330787580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787583, 1330787577, 1330787573, 1330787584, 1330787586, 1330787580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49605917930603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:40:32.433034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_55_10426.jpg', '/home/pi/Desktop/images/23012025/09/39/image_23012025_09_40_04_9435.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_14_10377.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_24_9416.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_34_10419.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_45_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_39_55_10426.jpg
/home/pi/Desktop/images/23012025/09/39/image_23012025_09_40_04_9435.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_14_10377.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_24_9416.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_34_10419.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_45_10372.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":["1330787703","1330787625","1330787613","1330787762","1330787683","1330787635"],"photo_ids_order":["1330787613","1330787625","1330787635","1330787683","1330787703","1330787762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c708816736a1535062977d1e453b122.jpg","text":"TemporaryFile(/tmp/multipartBody7560739162086971698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621693328,"filename":"image_23012025_09_40_34_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3962630e49bbb3a5fc64013b9878e833.jpg","text":"TemporaryFile(/tmp/multipartBody7235095017881979077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621693328,"filename":"image_23012025_09_40_04_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/863a5a5b2d8a7d16c7eea1f918307aee.jpg","text":"TemporaryFile(/tmp/multipartBody3043385341738656202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621693328,"filename":"image_23012025_09_39_55_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9675ab4e31c772e5f4f28a74a9eee41.jpg","text":"TemporaryFile(/tmp/multipartBody6588721941482427727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621693328,"filename":"image_23012025_09_40_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16af849607548571b9e1f164b8b2caed.jpg","text":"TemporaryFile(/tmp/multipartBody1213858974747659740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621693328,"filename":"image_23012025_09_40_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56d9306a9892614b38b24a4784e8ac84.jpg","text":"TemporaryFile(/tmp/multipartBody8960905536980288845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621693328,"filename":"image_23012025_09_40_14_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787635","file1":"1330787625","file0":"1330787613","file4":"1330787703","file5":"1330787762","file3":"1330787683"},"map_files_photo_id_array":[{"photo_id":"1330787762","filename":"file5"},{"photo_id":"1330787635","filename":"file2"},{"photo_id":"1330787703","filename":"file4"},{"photo_id":"1330787625","filename":"file1"},{"photo_id":"1330787613","filename":"file0"},{"photo_id":"1330787683","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787703":["hashtag1","hashtag2"]},{"1330787625":["hashtag1","hashtag2"]},{"1330787613":["hashtag1","hashtag2"]},{"1330787762":["hashtag1","hashtag2"]},{"1330787683":["hashtag1","hashtag2"]},{"1330787635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787703, 1330787625, 1330787613, 1330787762, 1330787683, 1330787635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61560249328613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:41:32.605950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_54_9314.jpg', '/home/pi/Desktop/images/23012025/09/40/image_23012025_09_41_04_10375.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_15_10337.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_24_9440.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_35_10333.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_45_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_40_54_9314.jpg
/home/pi/Desktop/images/23012025/09/40/image_23012025_09_41_04_10375.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_15_10337.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_24_9440.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_35_10333.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_45_10333.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":["1330787880","1330787940","1330787937","1330787939","1330787941","1330787920"],"photo_ids_order":["1330787880","1330787920","1330787937","1330787939","1330787940","1330787941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39a3e05e4fbe5599f8eb2259e39b6b47.jpg","text":"TemporaryFile(/tmp/multipartBody6838205483504853377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621753577,"filename":"image_23012025_09_40_54_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa9de2ab2b5b8c3b20524ff23957ec70.jpg","text":"TemporaryFile(/tmp/multipartBody1208526535924604660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621753577,"filename":"image_23012025_09_41_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52dba4fb43681da154327ace2f345296.jpg","text":"TemporaryFile(/tmp/multipartBody8302474119241227886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621753577,"filename":"image_23012025_09_41_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0491da2db10bb61e552bafe729494bb.jpg","text":"TemporaryFile(/tmp/multipartBody8986898262131915396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621753577,"filename":"image_23012025_09_41_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93f5265c99a8d1ebc33d79f9d97813e1.jpg","text":"TemporaryFile(/tmp/multipartBody6544044490020554562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621753577,"filename":"image_23012025_09_41_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c3af4b193604e13e05bc20a4d5729d0.jpg","text":"TemporaryFile(/tmp/multipartBody8062481775137682348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621753577,"filename":"image_23012025_09_41_04_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330787937","file1":"1330787920","file0":"1330787880","file4":"1330787940","file5":"1330787941","file3":"1330787939"},"map_files_photo_id_array":[{"photo_id":"1330787941","filename":"file5"},{"photo_id":"1330787937","filename":"file2"},{"photo_id":"1330787940","filename":"file4"},{"photo_id":"1330787920","filename":"file1"},{"photo_id":"1330787880","filename":"file0"},{"photo_id":"1330787939","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330787880":["hashtag1","hashtag2"]},{"1330787940":["hashtag1","hashtag2"]},{"1330787937":["hashtag1","hashtag2"]},{"1330787939":["hashtag1","hashtag2"]},{"1330787941":["hashtag1","hashtag2"]},{"1330787920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330787880, 1330787940, 1330787937, 1330787939, 1330787941, 1330787920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.093130588531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:42:33.000827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_54_9453.jpg', '/home/pi/Desktop/images/23012025/09/41/image_23012025_09_42_05_10355.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_14_9419.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_24_10351.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_35_10364.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_44_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_41_54_9453.jpg
/home/pi/Desktop/images/23012025/09/41/image_23012025_09_42_05_10355.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_14_9419.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_24_10351.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_35_10364.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_44_9343.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":["1330788003","1330788006","1330788008","1330788010","1330787997","1330788012"],"photo_ids_order":["1330787997","1330788003","1330788006","1330788008","1330788010","1330788012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17287184549f3429a4677ba3f5272caf.jpg","text":"TemporaryFile(/tmp/multipartBody2918913510187396995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621813915,"filename":"image_23012025_09_42_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd8328979b8bbe7dd99aa53a361999f0.jpg","text":"TemporaryFile(/tmp/multipartBody2202957656686832329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621813915,"filename":"image_23012025_09_42_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e426febca943883f0a50cc62ec0b2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2510872158823095924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621813915,"filename":"image_23012025_09_42_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a181a1c95cb994aad81a00b963255c8.jpg","text":"TemporaryFile(/tmp/multipartBody1862366707249111340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621813915,"filename":"image_23012025_09_42_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c156fd784662175b2ae1b35f9784b630.jpg","text":"TemporaryFile(/tmp/multipartBody7724324373244569905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621813915,"filename":"image_23012025_09_41_54_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaddcbdcd091a0d562402db8da4aeda9.jpg","text":"TemporaryFile(/tmp/multipartBody3913003116312237516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621813915,"filename":"image_23012025_09_42_44_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330788006","file1":"1330788003","file0":"1330787997","file4":"1330788010","file5":"1330788012","file3":"1330788008"},"map_files_photo_id_array":[{"photo_id":"1330788012","filename":"file5"},{"photo_id":"1330788006","filename":"file2"},{"photo_id":"1330788010","filename":"file4"},{"photo_id":"1330788003","filename":"file1"},{"photo_id":"1330787997","filename":"file0"},{"photo_id":"1330788008","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330788003":["hashtag1","hashtag2"]},{"1330788006":["hashtag1","hashtag2"]},{"1330788008":["hashtag1","hashtag2"]},{"1330788010":["hashtag1","hashtag2"]},{"1330787997":["hashtag1","hashtag2"]},{"1330788012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330788003, 1330788006, 1330788008, 1330788010, 1330787997, 1330788012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65009140968323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:43:33.143079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_55_10418.jpg', '/home/pi/Desktop/images/23012025/09/42/image_23012025_09_43_04_9383.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_14_10410.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_25_10338.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_34_9389.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_44_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_42_55_10418.jpg
/home/pi/Desktop/images/23012025/09/42/image_23012025_09_43_04_9383.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_14_10410.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_25_10338.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_34_9389.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_44_10339.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":["1330788041","1330788038","1330788043","1330788183","1330788100","1330788045"],"photo_ids_order":["1330788038","1330788041","1330788043","1330788045","1330788100","1330788183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c93f869abf4fa94c4af7d342068b1b57.jpg","text":"TemporaryFile(/tmp/multipartBody7003543163305543874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621874091,"filename":"image_23012025_09_43_04_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5588852cac84f206491327de0ad9974e.jpg","text":"TemporaryFile(/tmp/multipartBody189263259526598205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621874091,"filename":"image_23012025_09_42_55_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/242638cab72afbdbf8c7d5deefd297a1.jpg","text":"TemporaryFile(/tmp/multipartBody8615226696781745779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621874091,"filename":"image_23012025_09_43_14_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfc43f61b55bd470e32b432398ce9a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1943636024414811749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621874091,"filename":"image_23012025_09_43_44_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74bca5c0569ae43d32b4bab64377a2f2.jpg","text":"TemporaryFile(/tmp/multipartBody4593777997926610994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621874091,"filename":"image_23012025_09_43_34_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c51334cec82e5f477cd62713e8fd7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3238183413193076398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621874091,"filename":"image_23012025_09_43_25_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330788043","file1":"1330788041","file0":"1330788038","file4":"1330788100","file5":"1330788183","file3":"1330788045"},"map_files_photo_id_array":[{"photo_id":"1330788183","filename":"file5"},{"photo_id":"1330788043","filename":"file2"},{"photo_id":"1330788100","filename":"file4"},{"photo_id":"1330788041","filename":"file1"},{"photo_id":"1330788038","filename":"file0"},{"photo_id":"1330788045","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330788041":["hashtag1","hashtag2"]},{"1330788038":["hashtag1","hashtag2"]},{"1330788043":["hashtag1","hashtag2"]},{"1330788183":["hashtag1","hashtag2"]},{"1330788100":["hashtag1","hashtag2"]},{"1330788045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330788041, 1330788038, 1330788043, 1330788183, 1330788100, 1330788045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.481308460235596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:44:32.440744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_55_10386.jpg', '/home/pi/Desktop/images/23012025/09/43/image_23012025_09_44_04_9344.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_14_10357.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_25_10374.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_43_55_10386.jpg
/home/pi/Desktop/images/23012025/09/43/image_23012025_09_44_04_9344.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_14_10357.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_25_10374.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_45_10345.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":["1330788755","1330788602","1330788751","1330788757","1330788666"],"photo_ids_order":["1330788602","1330788666","1330788751","1330788755","1330788757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a38c9983ceea4ac1c38af4ab3d0bbce.jpg","text":"TemporaryFile(/tmp/multipartBody2175239975094976779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621933319,"filename":"image_23012025_09_44_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ddb28c0ffc4d2e9ab73fdea00e918d40.jpg","text":"TemporaryFile(/tmp/multipartBody1524331718382342100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621933319,"filename":"image_23012025_09_43_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7d365ca27d2a6677dde72766b3ddd11.jpg","text":"TemporaryFile(/tmp/multipartBody8813838260131450680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621933319,"filename":"image_23012025_09_44_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57a59a54f2c0b594f414d4d75042e239.jpg","text":"TemporaryFile(/tmp/multipartBody6153330137457626883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621933319,"filename":"image_23012025_09_44_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03e0a4f7c221b8ff82dc31397673eb5b.jpg","text":"TemporaryFile(/tmp/multipartBody4347417593203117770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737621933319,"filename":"image_23012025_09_44_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330788751","file1":"1330788666","file0":"1330788602","file4":"1330788757","file3":"1330788755"},"map_files_photo_id_array":[{"photo_id":"1330788751","filename":"file2"},{"photo_id":"1330788757","filename":"file4"},{"photo_id":"1330788666","filename":"file1"},{"photo_id":"1330788602","filename":"file0"},{"photo_id":"1330788755","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330788755":["hashtag1","hashtag2"]},{"1330788602":["hashtag1","hashtag2"]},{"1330788751":["hashtag1","hashtag2"]},{"1330788757":["hashtag1","hashtag2"]},{"1330788666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330788755, 1330788602, 1330788751, 1330788757, 1330788666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.99747896194458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:45:32.786924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_54_9459.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_45_04_10400.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_15_10359.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_24_9340.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_35_10417.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_44_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_54_9459.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_45_04_10400.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_15_10359.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_24_9340.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_35_10417.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_44_9361.jpg
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: 0.505969762802124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 09:45:42.816544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_54_9459.jpg', '/home/pi/Desktop/images/23012025/09/44/image_23012025_09_45_04_10400.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_15_10359.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_24_9340.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_35_10417.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_44_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_44_54_9459.jpg
/home/pi/Desktop/images/23012025/09/44/image_23012025_09_45_04_10400.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_15_10359.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_24_9340.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_35_10417.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_44_9361.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":["1330788822","1330788816","1330788824","1330788812","1330788826","1330788825"],"photo_ids_order":["1330788812","1330788816","1330788822","1330788824","1330788825","1330788826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89e20ed88b38ab3f48cc631397d0d565.jpg","text":"TemporaryFile(/tmp/multipartBody3215127750574143620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622003717,"filename":"image_23012025_09_45_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d10c39c3dfa291f3b9cf07217a8d9481.jpg","text":"TemporaryFile(/tmp/multipartBody7109461810328136959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622003717,"filename":"image_23012025_09_45_04_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3955c574a3655f3710157581cb6621fc.jpg","text":"TemporaryFile(/tmp/multipartBody891531877284221303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622003717,"filename":"image_23012025_09_45_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d6d27721375befe859e086fd9567fb4.jpg","text":"TemporaryFile(/tmp/multipartBody472891492134874681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622003717,"filename":"image_23012025_09_44_54_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44881751809721fd56af5a7774f7da4c.jpg","text":"TemporaryFile(/tmp/multipartBody5104662597628592866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622003717,"filename":"image_23012025_09_45_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d848729bfbc004ba88143de3d3143e9.jpg","text":"TemporaryFile(/tmp/multipartBody5849488075120539892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622003717,"filename":"image_23012025_09_45_35_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330788822","file1":"1330788816","file0":"1330788812","file4":"1330788825","file5":"1330788826","file3":"1330788824"},"map_files_photo_id_array":[{"photo_id":"1330788826","filename":"file5"},{"photo_id":"1330788822","filename":"file2"},{"photo_id":"1330788825","filename":"file4"},{"photo_id":"1330788816","filename":"file1"},{"photo_id":"1330788812","filename":"file0"},{"photo_id":"1330788824","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330788822":["hashtag1","hashtag2"]},{"1330788816":["hashtag1","hashtag2"]},{"1330788824":["hashtag1","hashtag2"]},{"1330788812":["hashtag1","hashtag2"]},{"1330788826":["hashtag1","hashtag2"]},{"1330788825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330788822, 1330788816, 1330788824, 1330788812, 1330788826, 1330788825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08157563209534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:46:33.109825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_54_10348.jpg', '/home/pi/Desktop/images/23012025/09/45/image_23012025_09_46_05_10406.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_14_9529.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_25_10357.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_34_9350.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_44_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_45_54_10348.jpg
/home/pi/Desktop/images/23012025/09/45/image_23012025_09_46_05_10406.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_14_9529.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_25_10357.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_34_9350.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_44_10421.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":["1330789022","1330788968","1330789019","1330789033","1330789009","1330789014"],"photo_ids_order":["1330788968","1330789009","1330789014","1330789019","1330789022","1330789033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1bc77973a2400251a3389790856f498.jpg","text":"TemporaryFile(/tmp/multipartBody2421644385339867372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622054049,"filename":"image_23012025_09_46_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2174e75acfe879db9274acb9c87e29ab.jpg","text":"TemporaryFile(/tmp/multipartBody8245454180543316879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622054049,"filename":"image_23012025_09_45_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd9940f838a63caef328e117ae8ec2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8730767134084535239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622054049,"filename":"image_23012025_09_46_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b35b925d7ddf30c466420505515e104b.jpg","text":"TemporaryFile(/tmp/multipartBody5417249356510486346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622054049,"filename":"image_23012025_09_46_44_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0164f26ed2dadc485a59243c2ffd328.jpg","text":"TemporaryFile(/tmp/multipartBody883396853705310342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622054049,"filename":"image_23012025_09_46_05_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfd8b3dfd8ac3183943a18a95eb7f693.jpg","text":"TemporaryFile(/tmp/multipartBody959825336100904718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622054049,"filename":"image_23012025_09_46_14_9529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330789014","file1":"1330789009","file0":"1330788968","file4":"1330789022","file5":"1330789033","file3":"1330789019"},"map_files_photo_id_array":[{"photo_id":"1330789033","filename":"file5"},{"photo_id":"1330789014","filename":"file2"},{"photo_id":"1330789022","filename":"file4"},{"photo_id":"1330789009","filename":"file1"},{"photo_id":"1330788968","filename":"file0"},{"photo_id":"1330789019","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330789022":["hashtag1","hashtag2"]},{"1330788968":["hashtag1","hashtag2"]},{"1330789019":["hashtag1","hashtag2"]},{"1330789033":["hashtag1","hashtag2"]},{"1330789009":["hashtag1","hashtag2"]},{"1330789014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330789022, 1330788968, 1330789019, 1330789033, 1330789009, 1330789014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.823379039764404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:47:32.352883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_55_10428.jpg', '/home/pi/Desktop/images/23012025/09/46/image_23012025_09_47_04_9349.jpg', '/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_15_10351.jpg', '/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_34_9358.jpg', '/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_45_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_46_55_10428.jpg
/home/pi/Desktop/images/23012025/09/46/image_23012025_09_47_04_9349.jpg
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_15_10351.jpg
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_34_9358.jpg
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_45_10390.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":["1330789343","1330789421","1330789471","1330789336","1330789347"],"photo_ids_order":["1330789336","1330789343","1330789347","1330789421","1330789471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bb8c5ad55ac8c62b08f7265df04cd98.jpg","text":"TemporaryFile(/tmp/multipartBody1101387590447635447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622113231,"filename":"image_23012025_09_47_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96cf72db6b9bee253377dfbd55c3d924.jpg","text":"TemporaryFile(/tmp/multipartBody4866925602483190314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622113231,"filename":"image_23012025_09_47_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d877af32618daec871c472fa1cf88fc.jpg","text":"TemporaryFile(/tmp/multipartBody7856227823572273084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622113231,"filename":"image_23012025_09_47_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06132640b24accaf00ce07da8b8d6f34.jpg","text":"TemporaryFile(/tmp/multipartBody4810427814673129503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622113231,"filename":"image_23012025_09_46_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22f157cb5051cd3c4620fbc77bfeb681.jpg","text":"TemporaryFile(/tmp/multipartBody5413051195761238088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622113231,"filename":"image_23012025_09_47_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330789347","file1":"1330789343","file0":"1330789336","file4":"1330789471","file3":"1330789421"},"map_files_photo_id_array":[{"photo_id":"1330789347","filename":"file2"},{"photo_id":"1330789471","filename":"file4"},{"photo_id":"1330789343","filename":"file1"},{"photo_id":"1330789336","filename":"file0"},{"photo_id":"1330789421","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330789343":["hashtag1","hashtag2"]},{"1330789421":["hashtag1","hashtag2"]},{"1330789471":["hashtag1","hashtag2"]},{"1330789336":["hashtag1","hashtag2"]},{"1330789347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330789343, 1330789421, 1330789471, 1330789336, 1330789347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.695590019226074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:48:32.518157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_54_9430.jpg', '/home/pi/Desktop/images/23012025/09/47/image_23012025_09_48_04_10327.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_15_10389.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_24_9477.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_35_10358.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_44_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_47_54_9430.jpg
/home/pi/Desktop/images/23012025/09/47/image_23012025_09_48_04_10327.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_15_10389.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_24_9477.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_35_10358.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_44_9460.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":["1330789577","1330789498","1330789502","1330789575","1330789572","1330789574"],"photo_ids_order":["1330789498","1330789502","1330789572","1330789574","1330789575","1330789577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca8152821d1aa980353d18309a268f96.jpg","text":"TemporaryFile(/tmp/multipartBody7499328563309203442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622173423,"filename":"image_23012025_09_48_44_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a866d1dfa8233bf204a9e945ad75a89.jpg","text":"TemporaryFile(/tmp/multipartBody740793826953699465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622173423,"filename":"image_23012025_09_47_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f4cb25b9d395c531e85ce602858367a.jpg","text":"TemporaryFile(/tmp/multipartBody4186693255891225877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622173423,"filename":"image_23012025_09_48_04_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ec524d047553c036d3a20c8b770389d.jpg","text":"TemporaryFile(/tmp/multipartBody8728621707058000940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622173423,"filename":"image_23012025_09_48_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2452c33edd5bc207e263ae531915f8a3.jpg","text":"TemporaryFile(/tmp/multipartBody3960101159665237438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622173423,"filename":"image_23012025_09_48_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae4b55514da467c26901985f75e2f435.jpg","text":"TemporaryFile(/tmp/multipartBody5009477293422721679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622173423,"filename":"image_23012025_09_48_24_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330789572","file1":"1330789502","file0":"1330789498","file4":"1330789575","file5":"1330789577","file3":"1330789574"},"map_files_photo_id_array":[{"photo_id":"1330789577","filename":"file5"},{"photo_id":"1330789572","filename":"file2"},{"photo_id":"1330789575","filename":"file4"},{"photo_id":"1330789502","filename":"file1"},{"photo_id":"1330789498","filename":"file0"},{"photo_id":"1330789574","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330789577":["hashtag1","hashtag2"]},{"1330789498":["hashtag1","hashtag2"]},{"1330789502":["hashtag1","hashtag2"]},{"1330789575":["hashtag1","hashtag2"]},{"1330789572":["hashtag1","hashtag2"]},{"1330789574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330789577, 1330789498, 1330789502, 1330789575, 1330789572, 1330789574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.03880333900452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:49:32.645423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_54_10363.jpg', '/home/pi/Desktop/images/23012025/09/48/image_23012025_09_49_05_10362.jpg', '/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_14_9414.jpg', '/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_25_10351.jpg', '/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_34_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_48_54_10363.jpg
/home/pi/Desktop/images/23012025/09/48/image_23012025_09_49_05_10362.jpg
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_14_9414.jpg
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_25_10351.jpg
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_34_9326.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":["1330789649","1330789645","1330789638","1330789641","1330789652"],"photo_ids_order":["1330789638","1330789641","1330789645","1330789649","1330789652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12b89c69d5e06bf67a3c93d37b712824.jpg","text":"TemporaryFile(/tmp/multipartBody2665752184124954442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622233533,"filename":"image_23012025_09_49_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb8d74897ba2f9fcb2d431ddc4868f99.jpg","text":"TemporaryFile(/tmp/multipartBody2750226376874225224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622233533,"filename":"image_23012025_09_49_14_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28d8d403cd0cecaeb3ff2c3776cfbc48.jpg","text":"TemporaryFile(/tmp/multipartBody1778011959980109511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622233533,"filename":"image_23012025_09_48_54_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a96a5b6fa9837ea030bd5438a0ae46c.jpg","text":"TemporaryFile(/tmp/multipartBody4246639763220435783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622233533,"filename":"image_23012025_09_49_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1524969adae3d27603632f080a7af0c9.jpg","text":"TemporaryFile(/tmp/multipartBody5359752211023675416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622233533,"filename":"image_23012025_09_49_34_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330789645","file1":"1330789641","file0":"1330789638","file4":"1330789652","file3":"1330789649"},"map_files_photo_id_array":[{"photo_id":"1330789645","filename":"file2"},{"photo_id":"1330789652","filename":"file4"},{"photo_id":"1330789641","filename":"file1"},{"photo_id":"1330789638","filename":"file0"},{"photo_id":"1330789649","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330789649":["hashtag1","hashtag2"]},{"1330789645":["hashtag1","hashtag2"]},{"1330789638":["hashtag1","hashtag2"]},{"1330789641":["hashtag1","hashtag2"]},{"1330789652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330789649, 1330789645, 1330789638, 1330789641, 1330789652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.67524433135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:50:32.873287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_44_10327.jpg', '/home/pi/Desktop/images/23012025/09/49/image_23012025_09_50_04_9408.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_14_10428.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_25_10344.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_34_9409.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_44_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_49_44_10327.jpg
/home/pi/Desktop/images/23012025/09/49/image_23012025_09_50_04_9408.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_14_10428.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_25_10344.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_34_9409.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_44_10338.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":["1330789684","1330789669","1330789711","1330789674","1330789697","1330789701"],"photo_ids_order":["1330789669","1330789674","1330789684","1330789697","1330789701","1330789711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3781fb956e5c00b911bf5de05be46399.jpg","text":"TemporaryFile(/tmp/multipartBody2285004400197347012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622293776,"filename":"image_23012025_09_50_14_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/787209f98a50a6b4d9178916782a4f7c.jpg","text":"TemporaryFile(/tmp/multipartBody1641186934562251006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622293776,"filename":"image_23012025_09_49_44_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34f5db8b4b195361ea0b7bf683ab5340.jpg","text":"TemporaryFile(/tmp/multipartBody9140265471129223400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622293776,"filename":"image_23012025_09_50_44_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d73fccb6026f4bce6e8276a9376b9e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5643381164016933502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622293776,"filename":"image_23012025_09_50_04_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20ed8afe73e3898978eb0b27fcabd5fd.jpg","text":"TemporaryFile(/tmp/multipartBody6445463703928573679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622293776,"filename":"image_23012025_09_50_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1190964c4166060f660390448fb140e.jpg","text":"TemporaryFile(/tmp/multipartBody2819167142252730621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622293776,"filename":"image_23012025_09_50_34_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330789684","file1":"1330789674","file0":"1330789669","file4":"1330789701","file5":"1330789711","file3":"1330789697"},"map_files_photo_id_array":[{"photo_id":"1330789711","filename":"file5"},{"photo_id":"1330789684","filename":"file2"},{"photo_id":"1330789701","filename":"file4"},{"photo_id":"1330789674","filename":"file1"},{"photo_id":"1330789669","filename":"file0"},{"photo_id":"1330789697","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330789684":["hashtag1","hashtag2"]},{"1330789669":["hashtag1","hashtag2"]},{"1330789711":["hashtag1","hashtag2"]},{"1330789674":["hashtag1","hashtag2"]},{"1330789697":["hashtag1","hashtag2"]},{"1330789701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330789684, 1330789669, 1330789711, 1330789674, 1330789697, 1330789701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95685291290283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:51:33.284681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_55_10339.jpg', '/home/pi/Desktop/images/23012025/09/50/image_23012025_09_51_04_9419.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_15_10326.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_24_9365.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_34_10433.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_45_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_50_55_10339.jpg
/home/pi/Desktop/images/23012025/09/50/image_23012025_09_51_04_9419.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_15_10326.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_24_9365.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_34_10433.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_45_10338.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":["1330789832","1330789783","1330789887","1330789842","1330789779","1330789886"],"photo_ids_order":["1330789779","1330789783","1330789832","1330789842","1330789886","1330789887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e950294c57bd90b2e4e599c0de5555f8.jpg","text":"TemporaryFile(/tmp/multipartBody8545738630755041864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622354194,"filename":"image_23012025_09_51_15_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2394453664930eba107a5d272dc47fc4.jpg","text":"TemporaryFile(/tmp/multipartBody502626778663231319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622354194,"filename":"image_23012025_09_51_04_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acc35d8cf596cdd12d617b5895d75671.jpg","text":"TemporaryFile(/tmp/multipartBody4036036903616542425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622354194,"filename":"image_23012025_09_51_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5499a85c4a374d9c6285c7062efad3f.jpg","text":"TemporaryFile(/tmp/multipartBody6274919065485956217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622354194,"filename":"image_23012025_09_51_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/caac458fd5e38b27e3409d887c3a3e58.jpg","text":"TemporaryFile(/tmp/multipartBody3380528106381736600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622354194,"filename":"image_23012025_09_50_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67f92ab29b29a889dab9161281093499.jpg","text":"TemporaryFile(/tmp/multipartBody4906507169184375911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622354194,"filename":"image_23012025_09_51_34_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330789832","file1":"1330789783","file0":"1330789779","file4":"1330789886","file5":"1330789887","file3":"1330789842"},"map_files_photo_id_array":[{"photo_id":"1330789887","filename":"file5"},{"photo_id":"1330789832","filename":"file2"},{"photo_id":"1330789886","filename":"file4"},{"photo_id":"1330789783","filename":"file1"},{"photo_id":"1330789779","filename":"file0"},{"photo_id":"1330789842","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330789832":["hashtag1","hashtag2"]},{"1330789783":["hashtag1","hashtag2"]},{"1330789887":["hashtag1","hashtag2"]},{"1330789842":["hashtag1","hashtag2"]},{"1330789779":["hashtag1","hashtag2"]},{"1330789886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330789832, 1330789783, 1330789887, 1330789842, 1330789779, 1330789886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.998207092285156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:52:32.342692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_54_9426.jpg', '/home/pi/Desktop/images/23012025/09/51/image_23012025_09_52_05_10398.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_14_9344.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_24_10424.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_35_10342.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_44_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_51_54_9426.jpg
/home/pi/Desktop/images/23012025/09/51/image_23012025_09_52_05_10398.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_14_9344.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_24_10424.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_35_10342.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_44_9434.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":["1330789910","1330789907","1330789930","1330789927","1330789929","1330789923"],"photo_ids_order":["1330789907","1330789910","1330789923","1330789927","1330789929","1330789930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2714929f19fb10fbbeab22396ca9b3ed.jpg","text":"TemporaryFile(/tmp/multipartBody1552581296542434926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622413235,"filename":"image_23012025_09_52_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c4bdff0cf73965ae1b08d330eafe35f.jpg","text":"TemporaryFile(/tmp/multipartBody714823019860339221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622413235,"filename":"image_23012025_09_51_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66ee816d95d17c044f165484b2f15e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3990077546197321543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622413235,"filename":"image_23012025_09_52_44_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72675908bc675593829647beac089c92.jpg","text":"TemporaryFile(/tmp/multipartBody7535020975754499515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622413235,"filename":"image_23012025_09_52_24_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1d6388c61058ea5de6db4be32dcc1d1.jpg","text":"TemporaryFile(/tmp/multipartBody5197483197800102814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622413235,"filename":"image_23012025_09_52_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ceb91902f5649f21587fe792206933d0.jpg","text":"TemporaryFile(/tmp/multipartBody590934255017725396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622413235,"filename":"image_23012025_09_52_14_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330789923","file1":"1330789910","file0":"1330789907","file4":"1330789929","file5":"1330789930","file3":"1330789927"},"map_files_photo_id_array":[{"photo_id":"1330789930","filename":"file5"},{"photo_id":"1330789923","filename":"file2"},{"photo_id":"1330789929","filename":"file4"},{"photo_id":"1330789910","filename":"file1"},{"photo_id":"1330789907","filename":"file0"},{"photo_id":"1330789927","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330789910":["hashtag1","hashtag2"]},{"1330789907":["hashtag1","hashtag2"]},{"1330789930":["hashtag1","hashtag2"]},{"1330789927":["hashtag1","hashtag2"]},{"1330789929":["hashtag1","hashtag2"]},{"1330789923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330789910, 1330789907, 1330789930, 1330789927, 1330789929, 1330789923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91247892379761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:53:32.504963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_55_10421.jpg', '/home/pi/Desktop/images/23012025/09/52/image_23012025_09_53_05_10344.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_14_9452.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_25_10360.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_44_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_52_55_10421.jpg
/home/pi/Desktop/images/23012025/09/52/image_23012025_09_53_05_10344.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_14_9452.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_25_10360.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_44_10326.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":["1330790087","1330790108","1330790110","1330790104","1330790101"],"photo_ids_order":["1330790087","1330790101","1330790104","1330790108","1330790110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc96f4346b6ac1647b77ed7e55de05cc.jpg","text":"TemporaryFile(/tmp/multipartBody6386075792362916955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622473380,"filename":"image_23012025_09_52_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfc701acba3248d79e6bc80e98b0ee0c.jpg","text":"TemporaryFile(/tmp/multipartBody1709299838458649206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622473380,"filename":"image_23012025_09_53_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e52d9ff68102f2aa035dccfee95f754.jpg","text":"TemporaryFile(/tmp/multipartBody8025952756619256090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622473380,"filename":"image_23012025_09_53_44_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d8913038d7c52e939185cea5a8e8bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5604245361719378261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622473380,"filename":"image_23012025_09_53_14_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cc4baacde74d50ac2fe3f8441404f2a.jpg","text":"TemporaryFile(/tmp/multipartBody7513468985581723900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622473380,"filename":"image_23012025_09_53_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330790104","file1":"1330790101","file0":"1330790087","file4":"1330790110","file3":"1330790108"},"map_files_photo_id_array":[{"photo_id":"1330790104","filename":"file2"},{"photo_id":"1330790110","filename":"file4"},{"photo_id":"1330790101","filename":"file1"},{"photo_id":"1330790087","filename":"file0"},{"photo_id":"1330790108","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330790087":["hashtag1","hashtag2"]},{"1330790108":["hashtag1","hashtag2"]},{"1330790110":["hashtag1","hashtag2"]},{"1330790104":["hashtag1","hashtag2"]},{"1330790101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330790087, 1330790108, 1330790110, 1330790104, 1330790101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.2332558631897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:54:32.719870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_55_10389.jpg', '/home/pi/Desktop/images/23012025/09/53/image_23012025_09_54_04_9406.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_15_10332.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_24_9390.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_34_10413.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_53_55_10389.jpg
/home/pi/Desktop/images/23012025/09/53/image_23012025_09_54_04_9406.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_15_10332.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_24_9390.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_34_10413.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_45_10362.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":["1330790130","1330790127","1330790138","1330790140","1330790122","1330790134"],"photo_ids_order":["1330790122","1330790127","1330790130","1330790134","1330790138","1330790140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67aa2e13bc23e5adbf4d79360548d8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4618760776677179834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622533608,"filename":"image_23012025_09_54_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6139401001e36afc48cf3d7958ddf6d.jpg","text":"TemporaryFile(/tmp/multipartBody5991670212932203387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622533608,"filename":"image_23012025_09_54_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17e1f854418d1dcd44b694452ffadadd.jpg","text":"TemporaryFile(/tmp/multipartBody4845641565836783974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622533608,"filename":"image_23012025_09_54_34_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67b6bd4a9c36d6624c5e204ca7a3a7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2679982600878183126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622533608,"filename":"image_23012025_09_54_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e28f39ea0ee228f15a79747aec93f9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7522236294993329673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622533608,"filename":"image_23012025_09_53_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3ab2bf23b5139bef52225c657eccfa9.jpg","text":"TemporaryFile(/tmp/multipartBody284110982721511062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622533608,"filename":"image_23012025_09_54_24_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330790130","file1":"1330790127","file0":"1330790122","file4":"1330790138","file5":"1330790140","file3":"1330790134"},"map_files_photo_id_array":[{"photo_id":"1330790140","filename":"file5"},{"photo_id":"1330790130","filename":"file2"},{"photo_id":"1330790138","filename":"file4"},{"photo_id":"1330790127","filename":"file1"},{"photo_id":"1330790122","filename":"file0"},{"photo_id":"1330790134","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330790130":["hashtag1","hashtag2"]},{"1330790127":["hashtag1","hashtag2"]},{"1330790138":["hashtag1","hashtag2"]},{"1330790140":["hashtag1","hashtag2"]},{"1330790122":["hashtag1","hashtag2"]},{"1330790134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330790130, 1330790127, 1330790138, 1330790140, 1330790122, 1330790134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67279577255249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:55:32.898917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_54_9469.jpg', '/home/pi/Desktop/images/23012025/09/54/image_23012025_09_55_05_10359.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_14_9344.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_24_10435.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_35_10342.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_44_9527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_54_54_9469.jpg
/home/pi/Desktop/images/23012025/09/54/image_23012025_09_55_05_10359.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_14_9344.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_24_10435.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_35_10342.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_44_9527.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":["1330790436","1330790814","1330790495","1330790354","1330790665","1330790740"],"photo_ids_order":["1330790354","1330790436","1330790495","1330790665","1330790740","1330790814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2098e0e0bbfe31a6651eaa3537e9573.jpg","text":"TemporaryFile(/tmp/multipartBody6867535233167554362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622593786,"filename":"image_23012025_09_55_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fed0303f9aefcad436490940c1a86b01.jpg","text":"TemporaryFile(/tmp/multipartBody7217321161479934023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622593786,"filename":"image_23012025_09_55_44_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3ebc3e2b504128e0c0679c1ad14dcda.jpg","text":"TemporaryFile(/tmp/multipartBody1475922046036395538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622593786,"filename":"image_23012025_09_55_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acf3397a748c192606ff6fd2c59ad2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7108765624094450673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622593786,"filename":"image_23012025_09_54_54_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bed38787e18904e5472f4082772b767.jpg","text":"TemporaryFile(/tmp/multipartBody2743621242888691006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622593786,"filename":"image_23012025_09_55_24_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b97ddfe5a993681dbdb2ae9389f6e854.jpg","text":"TemporaryFile(/tmp/multipartBody3985870331919987918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622593786,"filename":"image_23012025_09_55_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330790495","file1":"1330790436","file0":"1330790354","file4":"1330790740","file5":"1330790814","file3":"1330790665"},"map_files_photo_id_array":[{"photo_id":"1330790814","filename":"file5"},{"photo_id":"1330790495","filename":"file2"},{"photo_id":"1330790740","filename":"file4"},{"photo_id":"1330790436","filename":"file1"},{"photo_id":"1330790354","filename":"file0"},{"photo_id":"1330790665","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330790436":["hashtag1","hashtag2"]},{"1330790814":["hashtag1","hashtag2"]},{"1330790495":["hashtag1","hashtag2"]},{"1330790354":["hashtag1","hashtag2"]},{"1330790665":["hashtag1","hashtag2"]},{"1330790740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330790436, 1330790814, 1330790495, 1330790354, 1330790665, 1330790740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51129937171936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:56:32.976499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_55_10357.jpg', '/home/pi/Desktop/images/23012025/09/55/image_23012025_09_56_04_9332.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_14_10356.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_24_9742.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_34_10353.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_45_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_55_55_10357.jpg
/home/pi/Desktop/images/23012025/09/55/image_23012025_09_56_04_9332.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_14_10356.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_24_9742.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_34_10353.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_45_10347.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":["1330791098","1330791113","1330791116","1330791043","1330791118","1330791066"],"photo_ids_order":["1330791043","1330791066","1330791098","1330791113","1330791116","1330791118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd2de42f02ad4dda084a4e2f36fd88df.jpg","text":"TemporaryFile(/tmp/multipartBody15140792925082996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653863,"filename":"image_23012025_09_56_14_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c561053c8c668cd9c324c60c244886f9.jpg","text":"TemporaryFile(/tmp/multipartBody797335324019451433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653863,"filename":"image_23012025_09_56_24_9742.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a1cca84015a4190a9078d7e2dbf40e5.jpg","text":"TemporaryFile(/tmp/multipartBody8748980281815952281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653863,"filename":"image_23012025_09_56_34_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06026d38fa1628f8f15afa2c5444254d.jpg","text":"TemporaryFile(/tmp/multipartBody927129997789882467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653863,"filename":"image_23012025_09_55_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a0d1d247d38e1a1adf15ff2c8afccd3.jpg","text":"TemporaryFile(/tmp/multipartBody2686369388146678242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653863,"filename":"image_23012025_09_56_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6109634dc72e0a8ec442f2ee25b913f.jpg","text":"TemporaryFile(/tmp/multipartBody2528190271727320680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622653863,"filename":"image_23012025_09_56_04_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791098","file1":"1330791066","file0":"1330791043","file4":"1330791116","file5":"1330791118","file3":"1330791113"},"map_files_photo_id_array":[{"photo_id":"1330791118","filename":"file5"},{"photo_id":"1330791098","filename":"file2"},{"photo_id":"1330791116","filename":"file4"},{"photo_id":"1330791066","filename":"file1"},{"photo_id":"1330791043","filename":"file0"},{"photo_id":"1330791113","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330791098":["hashtag1","hashtag2"]},{"1330791113":["hashtag1","hashtag2"]},{"1330791116":["hashtag1","hashtag2"]},{"1330791043":["hashtag1","hashtag2"]},{"1330791118":["hashtag1","hashtag2"]},{"1330791066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330791098, 1330791113, 1330791116, 1330791043, 1330791118, 1330791066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66056847572327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 09:57:32.224927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_54_9457.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_57_04_10337.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_15_10341.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_24_9411.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_35_10426.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_44_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_54_9457.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_57_04_10337.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_15_10341.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_24_9411.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_35_10426.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_44_9375.jpg
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: 0.5126197338104248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 09:57:42.214161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_54_9457.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_57_04_10337.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_15_10341.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_24_9411.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_35_10426.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_44_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_54_9457.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_57_04_10337.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_15_10341.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_24_9411.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_35_10426.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_44_9375.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 09:59:04.376020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_54_9457.jpg', '/home/pi/Desktop/images/23012025/09/56/image_23012025_09_57_04_10337.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_15_10341.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_24_9411.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_35_10426.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_44_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_56_54_9457.jpg
/home/pi/Desktop/images/23012025/09/56/image_23012025_09_57_04_10337.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_15_10341.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_24_9411.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_35_10426.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_44_9375.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":["1330791224","1330791298","1330791364","1330791220","1330791213","1330791266"],"photo_ids_order":["1330791213","1330791220","1330791224","1330791266","1330791298","1330791364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4a8e88d4ea885c4ebfc325daab245b4.jpg","text":"TemporaryFile(/tmp/multipartBody9071719439963097909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622805412,"filename":"image_23012025_09_57_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6fa5c54743b136b30995bb891feedb2.jpg","text":"TemporaryFile(/tmp/multipartBody4821225064117491277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622805412,"filename":"image_23012025_09_57_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9204a16e3cfb10b781dcfb108d189b43.jpg","text":"TemporaryFile(/tmp/multipartBody2698497644970650330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622805412,"filename":"image_23012025_09_57_44_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afc5523a1591d586902d465006cf07c9.jpg","text":"TemporaryFile(/tmp/multipartBody1091164921971547710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622805412,"filename":"image_23012025_09_57_04_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cac4dcf942d458b4b2b9d46d8cda6d85.jpg","text":"TemporaryFile(/tmp/multipartBody7482711856571766334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622805412,"filename":"image_23012025_09_56_54_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf0fb099140d6b51b525eb3fb8817969.jpg","text":"TemporaryFile(/tmp/multipartBody678571336255957679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622805412,"filename":"image_23012025_09_57_24_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791224","file1":"1330791220","file0":"1330791213","file4":"1330791298","file5":"1330791364","file3":"1330791266"},"map_files_photo_id_array":[{"photo_id":"1330791364","filename":"file5"},{"photo_id":"1330791224","filename":"file2"},{"photo_id":"1330791298","filename":"file4"},{"photo_id":"1330791220","filename":"file1"},{"photo_id":"1330791213","filename":"file0"},{"photo_id":"1330791266","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330791224":["hashtag1","hashtag2"]},{"1330791298":["hashtag1","hashtag2"]},{"1330791364":["hashtag1","hashtag2"]},{"1330791220":["hashtag1","hashtag2"]},{"1330791213":["hashtag1","hashtag2"]},{"1330791266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330791224, 1330791298, 1330791364, 1330791220, 1330791213, 1330791266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.288246870040894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 09:59:52.688126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_24_10351.jpg', '/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_35_10421.jpg', '/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_55_10337.jpg', '/home/pi/Desktop/images/20012025/08/27/image_20012025_08_28_05_10415.jpg', '/home/pi/Desktop/images/20012025/08/28/image_20012025_08_28_14_9336.jpg', '/home/pi/Desktop/images/20012025/08/28/image_20012025_08_28_25_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_24_10351.jpg
/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_35_10421.jpg
/home/pi/Desktop/images/20012025/08/27/image_20012025_08_27_55_10337.jpg
/home/pi/Desktop/images/20012025/08/27/image_20012025_08_28_05_10415.jpg
/home/pi/Desktop/images/20012025/08/28/image_20012025_08_28_14_9336.jpg
/home/pi/Desktop/images/20012025/08/28/image_20012025_08_28_25_10408.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":["1330791404","1330791394","1330791399","1330791396","1330791456","1330791441"],"photo_ids_order":["1330791394","1330791396","1330791399","1330791404","1330791441","1330791456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bb43629f801a5303aea3da50acf3c25.jpg","text":"TemporaryFile(/tmp/multipartBody7240355953470162601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622854971,"filename":"image_20012025_08_28_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a229d28f2220971334ed1cdae7e98777.jpg","text":"TemporaryFile(/tmp/multipartBody5971478258540018019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622854971,"filename":"image_20012025_08_27_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cee81b7d2f6109b7403d340affc9362.jpg","text":"TemporaryFile(/tmp/multipartBody1721460479537825749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622854971,"filename":"image_20012025_08_27_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4030d177775bc58d592fad617a7c30c4.jpg","text":"TemporaryFile(/tmp/multipartBody1891729983831325832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622854971,"filename":"image_20012025_08_27_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6713758046f4b33ee24b4f72d46cf5cb.jpg","text":"TemporaryFile(/tmp/multipartBody5129970320085709034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622854971,"filename":"image_20012025_08_28_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56dfe5ba1c184fc889fed30820ba7d35.jpg","text":"TemporaryFile(/tmp/multipartBody7230884197489294899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622854971,"filename":"image_20012025_08_28_14_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791399","file1":"1330791396","file0":"1330791394","file4":"1330791441","file5":"1330791456","file3":"1330791404"},"map_files_photo_id_array":[{"photo_id":"1330791456","filename":"file5"},{"photo_id":"1330791399","filename":"file2"},{"photo_id":"1330791441","filename":"file4"},{"photo_id":"1330791396","filename":"file1"},{"photo_id":"1330791394","filename":"file0"},{"photo_id":"1330791404","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330791404":["hashtag1","hashtag2"]},{"1330791394":["hashtag1","hashtag2"]},{"1330791399":["hashtag1","hashtag2"]},{"1330791396":["hashtag1","hashtag2"]},{"1330791456":["hashtag1","hashtag2"]},{"1330791441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330791404, 1330791394, 1330791399, 1330791396, 1330791456, 1330791441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.743160009384155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:00:42.993114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_54_10348.jpg', '/home/pi/Desktop/images/23012025/09/57/image_23012025_09_58_05_10358.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_14_9466.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_25_10372.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_34_9325.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_44_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_57_54_10348.jpg
/home/pi/Desktop/images/23012025/09/57/image_23012025_09_58_05_10358.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_14_9466.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_25_10372.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_34_9325.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_44_10401.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":["1330791481","1330791475","1330791478","1330791492","1330791471","1330791485"],"photo_ids_order":["1330791471","1330791475","1330791478","1330791481","1330791485","1330791492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d18357447fe343985a9a8122a3300c60.jpg","text":"TemporaryFile(/tmp/multipartBody4971444573849682943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622903911,"filename":"image_23012025_09_58_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89a13cd899210b116aaef1f9d54c24ca.jpg","text":"TemporaryFile(/tmp/multipartBody4866339010814557787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622903911,"filename":"image_23012025_09_58_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f92f4aa4439be8482b178c25e64f4f46.jpg","text":"TemporaryFile(/tmp/multipartBody5131125747157491497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622903911,"filename":"image_23012025_09_58_14_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9faea778fe41383202b09ea6e90123c1.jpg","text":"TemporaryFile(/tmp/multipartBody7858819370209583473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622903911,"filename":"image_23012025_09_58_44_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94a5c8a41ade5408fe57dbba342f71bc.jpg","text":"TemporaryFile(/tmp/multipartBody6073400579163637459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622903911,"filename":"image_23012025_09_57_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/392294c3b3390dd547326b5954fd481a.jpg","text":"TemporaryFile(/tmp/multipartBody2532696027668282382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622903911,"filename":"image_23012025_09_58_34_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791478","file1":"1330791475","file0":"1330791471","file4":"1330791485","file5":"1330791492","file3":"1330791481"},"map_files_photo_id_array":[{"photo_id":"1330791492","filename":"file5"},{"photo_id":"1330791478","filename":"file2"},{"photo_id":"1330791485","filename":"file4"},{"photo_id":"1330791475","filename":"file1"},{"photo_id":"1330791471","filename":"file0"},{"photo_id":"1330791481","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330791481":["hashtag1","hashtag2"]},{"1330791475":["hashtag1","hashtag2"]},{"1330791478":["hashtag1","hashtag2"]},{"1330791492":["hashtag1","hashtag2"]},{"1330791471":["hashtag1","hashtag2"]},{"1330791485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330791481, 1330791475, 1330791478, 1330791492, 1330791471, 1330791485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7361958026886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:01:33.051535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_55_10358.jpg', '/home/pi/Desktop/images/23012025/09/58/image_23012025_09_59_04_9465.jpg', '/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_14_10344.jpg', '/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_25_10350.jpg', '/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_34_9355.jpg', '/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_45_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_58_55_10358.jpg
/home/pi/Desktop/images/23012025/09/58/image_23012025_09_59_04_9465.jpg
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_14_10344.jpg
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_25_10350.jpg
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_34_9355.jpg
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_45_10402.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":["1330791503","1330791523","1330791520","1330791508","1330791517","1330791513"],"photo_ids_order":["1330791503","1330791508","1330791513","1330791517","1330791520","1330791523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae7d885b52ed33db32077e228463a7a6.jpg","text":"TemporaryFile(/tmp/multipartBody2976606381382197706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622953945,"filename":"image_23012025_09_58_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b51a1ca585f6bd71c22adc838cdd7537.jpg","text":"TemporaryFile(/tmp/multipartBody5382582809503177519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622953945,"filename":"image_23012025_09_59_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c152858e17b469d32fbdc4534d2bd7b.jpg","text":"TemporaryFile(/tmp/multipartBody6503098768323307289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622953945,"filename":"image_23012025_09_59_34_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6852d4e0b4692a3b6286808ec567c60.jpg","text":"TemporaryFile(/tmp/multipartBody9022520483192568549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622953945,"filename":"image_23012025_09_59_04_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/944e3ecfd7502cc88a2ea88f6f96cfd5.jpg","text":"TemporaryFile(/tmp/multipartBody100912222920769410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622953945,"filename":"image_23012025_09_59_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ed5e14123f03736f73153f7d48f035d.jpg","text":"TemporaryFile(/tmp/multipartBody1668886366392261009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737622953945,"filename":"image_23012025_09_59_14_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791513","file1":"1330791508","file0":"1330791503","file4":"1330791520","file5":"1330791523","file3":"1330791517"},"map_files_photo_id_array":[{"photo_id":"1330791523","filename":"file5"},{"photo_id":"1330791513","filename":"file2"},{"photo_id":"1330791520","filename":"file4"},{"photo_id":"1330791508","filename":"file1"},{"photo_id":"1330791503","filename":"file0"},{"photo_id":"1330791517","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330791503":["hashtag1","hashtag2"]},{"1330791523":["hashtag1","hashtag2"]},{"1330791520":["hashtag1","hashtag2"]},{"1330791508":["hashtag1","hashtag2"]},{"1330791517":["hashtag1","hashtag2"]},{"1330791513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330791503, 1330791523, 1330791520, 1330791508, 1330791517, 1330791513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55866360664368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:02:32.326132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_54_9337.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_16_10082.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_26_10358.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_37_10395.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_46_9388.jpg', '/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_56_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/09/59/image_23012025_09_59_54_9337.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_16_10082.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_26_10358.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_37_10395.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_46_9388.jpg
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_00_56_10355.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":["1330791545","1330791556","1330791553","1330791535","1330791549","1330791540"],"photo_ids_order":["1330791535","1330791540","1330791545","1330791549","1330791553","1330791556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff556f78a2eacde74f76ea8032ba33b8.jpg","text":"TemporaryFile(/tmp/multipartBody1803098743420138427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623013225,"filename":"image_23012025_10_00_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4504ad7d970d04da78a214e97878d0ef.jpg","text":"TemporaryFile(/tmp/multipartBody6055047916345590936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623013225,"filename":"image_23012025_10_00_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d110c2399d1a9b14a2f3e333968f1f31.jpg","text":"TemporaryFile(/tmp/multipartBody5437028962398105179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623013225,"filename":"image_23012025_10_00_46_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/728f317f34e7b6a1ffa3719fd967b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody4550061474323751916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623013225,"filename":"image_23012025_09_59_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c78fa974a9e42ed289897d0bd9ad041.jpg","text":"TemporaryFile(/tmp/multipartBody7596319858872992538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623013225,"filename":"image_23012025_10_00_37_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b9926223a9e041419696508d87dac8b.jpg","text":"TemporaryFile(/tmp/multipartBody8752055955056109004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623013225,"filename":"image_23012025_10_00_16_10082.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791545","file1":"1330791540","file0":"1330791535","file4":"1330791553","file5":"1330791556","file3":"1330791549"},"map_files_photo_id_array":[{"photo_id":"1330791556","filename":"file5"},{"photo_id":"1330791545","filename":"file2"},{"photo_id":"1330791553","filename":"file4"},{"photo_id":"1330791540","filename":"file1"},{"photo_id":"1330791535","filename":"file0"},{"photo_id":"1330791549","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330791545":["hashtag1","hashtag2"]},{"1330791556":["hashtag1","hashtag2"]},{"1330791553":["hashtag1","hashtag2"]},{"1330791535":["hashtag1","hashtag2"]},{"1330791549":["hashtag1","hashtag2"]},{"1330791540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330791545, 1330791556, 1330791553, 1330791535, 1330791549, 1330791540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.634143114089966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:03:32.492034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/00/image_23012025_10_01_06_9422.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_16_10471.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_27_10351.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_36_9436.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_46_10364.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_56_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_01_06_9422.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_16_10471.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_27_10351.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_36_9436.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_46_10364.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_56_9389.jpg
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: 0.5101478099822998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:03:42.550983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/00/image_23012025_10_01_06_9422.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_16_10471.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_27_10351.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_36_9436.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_46_10364.jpg', '/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_56_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/00/image_23012025_10_01_06_9422.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_16_10471.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_27_10351.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_36_9436.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_46_10364.jpg
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_01_56_9389.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":["1330791818","1330791815","1330791876","1330791798","1330791867","1330791807"],"photo_ids_order":["1330791798","1330791807","1330791815","1330791818","1330791867","1330791876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19b08a5a0ba8e29ff759354e5d0bdee1.jpg","text":"TemporaryFile(/tmp/multipartBody3317497946923053141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623083455,"filename":"image_23012025_10_01_36_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e5592545762b7d28d939f972b140cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3021556637831123573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623083455,"filename":"image_23012025_10_01_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/520837e76923b5fc1702ba6a0e963dd7.jpg","text":"TemporaryFile(/tmp/multipartBody1602659162489639240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623083455,"filename":"image_23012025_10_01_56_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b2eebeaa84f63178dae2a5c316c7c03.jpg","text":"TemporaryFile(/tmp/multipartBody3995805606358391428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623083455,"filename":"image_23012025_10_01_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb4e7b73d49d356d3677f4d80c7ea4cb.jpg","text":"TemporaryFile(/tmp/multipartBody3567410802829174561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623083455,"filename":"image_23012025_10_01_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cfaf25c4f9f484adf9225db3b1608cc.jpg","text":"TemporaryFile(/tmp/multipartBody1786497397033350824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623083455,"filename":"image_23012025_10_01_16_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791815","file1":"1330791807","file0":"1330791798","file4":"1330791867","file5":"1330791876","file3":"1330791818"},"map_files_photo_id_array":[{"photo_id":"1330791876","filename":"file5"},{"photo_id":"1330791815","filename":"file2"},{"photo_id":"1330791867","filename":"file4"},{"photo_id":"1330791807","filename":"file1"},{"photo_id":"1330791798","filename":"file0"},{"photo_id":"1330791818","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330791818":["hashtag1","hashtag2"]},{"1330791815":["hashtag1","hashtag2"]},{"1330791876":["hashtag1","hashtag2"]},{"1330791798":["hashtag1","hashtag2"]},{"1330791867":["hashtag1","hashtag2"]},{"1330791807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330791818, 1330791815, 1330791876, 1330791798, 1330791867, 1330791807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.072946548461914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:04:33.507403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/01/image_23012025_10_02_06_10357.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_17_10332.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_26_9335.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_36_10363.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_47_10369.jpg', '/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_56_9459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/01/image_23012025_10_02_06_10357.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_17_10332.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_26_9335.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_36_10363.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_47_10369.jpg
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_02_56_9459.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":["1330792031","1330792013","1330791970","1330792026","1330791942","1330791989"],"photo_ids_order":["1330791942","1330791970","1330791989","1330792013","1330792026","1330792031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a5de8944a3c94c27f24c7e803e5c980.jpg","text":"TemporaryFile(/tmp/multipartBody215118891773873246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623134404,"filename":"image_23012025_10_02_56_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bfb4b19194dc4e93bdd92e349225fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3925879057510649386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623134404,"filename":"image_23012025_10_02_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdd011a2687f1166fe4cf260611daeaf.jpg","text":"TemporaryFile(/tmp/multipartBody5512466577740741536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623134404,"filename":"image_23012025_10_02_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0aaa149baa439b80b38053c6eb408c1.jpg","text":"TemporaryFile(/tmp/multipartBody1407357812285676528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623134404,"filename":"image_23012025_10_02_47_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13060098465a719460d549a10f9fca54.jpg","text":"TemporaryFile(/tmp/multipartBody1959700414542812248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623134404,"filename":"image_23012025_10_02_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/561a61fb17bcb990563fe8a350e4f510.jpg","text":"TemporaryFile(/tmp/multipartBody205719020292272189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623134404,"filename":"image_23012025_10_02_26_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330791989","file1":"1330791970","file0":"1330791942","file4":"1330792026","file5":"1330792031","file3":"1330792013"},"map_files_photo_id_array":[{"photo_id":"1330792031","filename":"file5"},{"photo_id":"1330791989","filename":"file2"},{"photo_id":"1330792026","filename":"file4"},{"photo_id":"1330791970","filename":"file1"},{"photo_id":"1330791942","filename":"file0"},{"photo_id":"1330792013","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330792031":["hashtag1","hashtag2"]},{"1330792013":["hashtag1","hashtag2"]},{"1330791970":["hashtag1","hashtag2"]},{"1330792026":["hashtag1","hashtag2"]},{"1330791942":["hashtag1","hashtag2"]},{"1330791989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330792031, 1330792013, 1330791970, 1330792026, 1330791942, 1330791989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73425793647766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:05:32.888421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/02/image_23012025_10_03_06_10345.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_17_10359.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_26_9356.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_36_10239.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_47_10371.jpg', '/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_56_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/02/image_23012025_10_03_06_10345.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_17_10359.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_26_9356.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_36_10239.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_47_10371.jpg
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_03_56_9401.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":["1330792192","1330792195","1330792159","1330792204","1330792181","1330792134"],"photo_ids_order":["1330792134","1330792159","1330792181","1330792192","1330792195","1330792204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2de32dedee82831f7f98309ae6d1b470.jpg","text":"TemporaryFile(/tmp/multipartBody5769436138447912892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193808,"filename":"image_23012025_10_03_36_10239.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7944b52db34e4e40cc3d670f28918ef.jpg","text":"TemporaryFile(/tmp/multipartBody3388844362812855612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193808,"filename":"image_23012025_10_03_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da5ca9938eebffd583ec18d3f9622c01.jpg","text":"TemporaryFile(/tmp/multipartBody342461189822433973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193808,"filename":"image_23012025_10_03_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4f17c2737d1a3aabd5d4d5fbd4a4c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3278835472640359658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193808,"filename":"image_23012025_10_03_56_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/132d34ebfe1105b6aeb0798177fac97e.jpg","text":"TemporaryFile(/tmp/multipartBody4822082160046103835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193808,"filename":"image_23012025_10_03_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a8a88d7385a1746169f0d6d7a901f83.jpg","text":"TemporaryFile(/tmp/multipartBody5252598549761415955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623193808,"filename":"image_23012025_10_03_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330792181","file1":"1330792159","file0":"1330792134","file4":"1330792195","file5":"1330792204","file3":"1330792192"},"map_files_photo_id_array":[{"photo_id":"1330792204","filename":"file5"},{"photo_id":"1330792181","filename":"file2"},{"photo_id":"1330792195","filename":"file4"},{"photo_id":"1330792159","filename":"file1"},{"photo_id":"1330792134","filename":"file0"},{"photo_id":"1330792192","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330792192":["hashtag1","hashtag2"]},{"1330792195":["hashtag1","hashtag2"]},{"1330792159":["hashtag1","hashtag2"]},{"1330792204":["hashtag1","hashtag2"]},{"1330792181":["hashtag1","hashtag2"]},{"1330792134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330792192, 1330792195, 1330792159, 1330792204, 1330792181, 1330792134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02506732940674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:06:33.159352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/03/image_23012025_10_04_07_10384.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_16_9333.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_37_10351.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_46_9428.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_57_10422.jpg', '/home/pi/Desktop/images/23012025/10/04/image_23012025_10_05_06_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/03/image_23012025_10_04_07_10384.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_16_9333.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_37_10351.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_46_9428.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_04_57_10422.jpg
/home/pi/Desktop/images/23012025/10/04/image_23012025_10_05_06_9342.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":["1330792954","1330792777","1330792674","1330792581","1330792851","1330792500"],"photo_ids_order":["1330792500","1330792581","1330792674","1330792777","1330792851","1330792954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7feff9ff10f39077b5fc2cfcbf040dbc.jpg","text":"TemporaryFile(/tmp/multipartBody2927647354777459589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623254050,"filename":"image_23012025_10_05_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dc2d157ceb7e196c3477ab9d8bd4d86.jpg","text":"TemporaryFile(/tmp/multipartBody293871491594061835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623254050,"filename":"image_23012025_10_04_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a48111cbc0870a7974f27370b488ee98.jpg","text":"TemporaryFile(/tmp/multipartBody3707790379060921511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623254050,"filename":"image_23012025_10_04_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90a83409a812e4117c58f5de616ddecb.jpg","text":"TemporaryFile(/tmp/multipartBody8129608366726400521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623254050,"filename":"image_23012025_10_04_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b770fd898d32ce6c005ea96c9775d437.jpg","text":"TemporaryFile(/tmp/multipartBody8654104423365656702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623254050,"filename":"image_23012025_10_04_57_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb683b7d3cb69d45e234be3b805ed623.jpg","text":"TemporaryFile(/tmp/multipartBody831895270262829996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623254050,"filename":"image_23012025_10_04_07_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330792674","file1":"1330792581","file0":"1330792500","file4":"1330792851","file5":"1330792954","file3":"1330792777"},"map_files_photo_id_array":[{"photo_id":"1330792954","filename":"file5"},{"photo_id":"1330792674","filename":"file2"},{"photo_id":"1330792851","filename":"file4"},{"photo_id":"1330792581","filename":"file1"},{"photo_id":"1330792500","filename":"file0"},{"photo_id":"1330792777","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330792954":["hashtag1","hashtag2"]},{"1330792777":["hashtag1","hashtag2"]},{"1330792674":["hashtag1","hashtag2"]},{"1330792581":["hashtag1","hashtag2"]},{"1330792851":["hashtag1","hashtag2"]},{"1330792500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330792954, 1330792777, 1330792674, 1330792581, 1330792851, 1330792500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.26227807998657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:07:32.240714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_16_10418.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_26_9620.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_36_10418.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_47_10348.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_56_9455.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_06_06_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_16_10418.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_26_9620.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_36_10418.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_47_10348.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_56_9455.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_06_06_10353.jpg
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: 0.5309035778045654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:07:42.353135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_16_10418.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_26_9620.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_36_10418.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_47_10348.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_56_9455.jpg', '/home/pi/Desktop/images/23012025/10/05/image_23012025_10_06_06_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_16_10418.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_26_9620.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_36_10418.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_47_10348.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_05_56_9455.jpg
/home/pi/Desktop/images/23012025/10/05/image_23012025_10_06_06_10353.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":["1330793475","1330793484","1330793471","1330793465","1330793459","1330793479"],"photo_ids_order":["1330793459","1330793465","1330793471","1330793475","1330793479","1330793484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1db11666096ca6ab7a6074b9ba3834ef.jpg","text":"TemporaryFile(/tmp/multipartBody5886676998426220720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623323302,"filename":"image_23012025_10_05_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f1c2c4c81e4021b783fa80a0bd4245c.jpg","text":"TemporaryFile(/tmp/multipartBody5661005428357546381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623323302,"filename":"image_23012025_10_06_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43d77ace8e495068a6bea66f9e7aa22c.jpg","text":"TemporaryFile(/tmp/multipartBody3183126469740444445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623323302,"filename":"image_23012025_10_05_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9526d0d906c39a9be3addf30be89587d.jpg","text":"TemporaryFile(/tmp/multipartBody3551331113149188338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623323302,"filename":"image_23012025_10_05_26_9620.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8a2ca518ef5fb3a66f805c66a134bfc.jpg","text":"TemporaryFile(/tmp/multipartBody6802185004262202408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623323302,"filename":"image_23012025_10_05_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6286e0dbabd34cc2d583437fcfeff033.jpg","text":"TemporaryFile(/tmp/multipartBody5933236022433182440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623323302,"filename":"image_23012025_10_05_56_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330793471","file1":"1330793465","file0":"1330793459","file4":"1330793479","file5":"1330793484","file3":"1330793475"},"map_files_photo_id_array":[{"photo_id":"1330793484","filename":"file5"},{"photo_id":"1330793471","filename":"file2"},{"photo_id":"1330793479","filename":"file4"},{"photo_id":"1330793465","filename":"file1"},{"photo_id":"1330793459","filename":"file0"},{"photo_id":"1330793475","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330793475":["hashtag1","hashtag2"]},{"1330793484":["hashtag1","hashtag2"]},{"1330793471":["hashtag1","hashtag2"]},{"1330793465":["hashtag1","hashtag2"]},{"1330793459":["hashtag1","hashtag2"]},{"1330793479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330793475, 1330793484, 1330793471, 1330793465, 1330793459, 1330793479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83130073547363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:08:32.409013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_17_10331.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_26_9362.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_37_10384.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_46_9408.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_56_10363.jpg', '/home/pi/Desktop/images/23012025/10/06/image_23012025_10_07_07_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_17_10331.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_26_9362.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_37_10384.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_46_9408.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_06_56_10363.jpg
/home/pi/Desktop/images/23012025/10/06/image_23012025_10_07_07_10398.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":["1330794072","1330794225","1330793496","1330793655","1330794397","1330793927"],"photo_ids_order":["1330793496","1330793655","1330793927","1330794072","1330794225","1330794397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1418de93d4ebac6d6955f06176af0595.jpg","text":"TemporaryFile(/tmp/multipartBody1146521413937784632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373298,"filename":"image_23012025_10_06_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03de3591757c127c42b7dc5d55d05d24.jpg","text":"TemporaryFile(/tmp/multipartBody6455009373130823486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373298,"filename":"image_23012025_10_06_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73e745c42b020d3c9e271a959fb1076d.jpg","text":"TemporaryFile(/tmp/multipartBody3647721867077346915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373298,"filename":"image_23012025_10_06_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f956d3d7610716a104bdd8067971144b.jpg","text":"TemporaryFile(/tmp/multipartBody3446060437441277405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373298,"filename":"image_23012025_10_06_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/142ecc7e4444488d836901ec21c96895.jpg","text":"TemporaryFile(/tmp/multipartBody2704355221136658815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373298,"filename":"image_23012025_10_07_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76d56e28e12301ae4ffa4943e6b2c8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4244339042812686029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623373298,"filename":"image_23012025_10_06_37_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330793927","file1":"1330793655","file0":"1330793496","file4":"1330794225","file5":"1330794397","file3":"1330794072"},"map_files_photo_id_array":[{"photo_id":"1330794397","filename":"file5"},{"photo_id":"1330793927","filename":"file2"},{"photo_id":"1330794225","filename":"file4"},{"photo_id":"1330793655","filename":"file1"},{"photo_id":"1330793496","filename":"file0"},{"photo_id":"1330794072","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330794072":["hashtag1","hashtag2"]},{"1330794225":["hashtag1","hashtag2"]},{"1330793496":["hashtag1","hashtag2"]},{"1330793655":["hashtag1","hashtag2"]},{"1330794397":["hashtag1","hashtag2"]},{"1330793927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330794072, 1330794225, 1330793496, 1330793655, 1330794397, 1330793927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.3363676071167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:09:32.625980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_16_9393.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_26_10333.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_37_10400.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_46_9428.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_57_10390.jpg', '/home/pi/Desktop/images/23012025/10/07/image_23012025_10_08_06_9489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_16_9393.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_26_10333.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_37_10400.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_46_9428.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_07_57_10390.jpg
/home/pi/Desktop/images/23012025/10/07/image_23012025_10_08_06_9489.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":["1330794904","1330794837","1330794909","1330794900","1330794887","1330794856"],"photo_ids_order":["1330794837","1330794856","1330794887","1330794900","1330794904","1330794909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f55b0f299498456ff1b706606c2a771d.jpg","text":"TemporaryFile(/tmp/multipartBody6893654349218864385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623433518,"filename":"image_23012025_10_07_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/215e34c4374791bbaed3640c6dcf878d.jpg","text":"TemporaryFile(/tmp/multipartBody3321743544108082273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623433518,"filename":"image_23012025_10_07_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8342c707add3a2630244c77980d0bee8.jpg","text":"TemporaryFile(/tmp/multipartBody2059556671186532551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623433518,"filename":"image_23012025_10_08_06_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02c5714e817494a8ecfd7b1deb805344.jpg","text":"TemporaryFile(/tmp/multipartBody3381669095486927597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623433518,"filename":"image_23012025_10_07_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a16cc3af105bfe638629f919ae0e269.jpg","text":"TemporaryFile(/tmp/multipartBody4281302225705290260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623433518,"filename":"image_23012025_10_07_37_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e2781f2cfe908aa9e9f68143d1c0251.jpg","text":"TemporaryFile(/tmp/multipartBody4128575493523909924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623433518,"filename":"image_23012025_10_07_26_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330794887","file1":"1330794856","file0":"1330794837","file4":"1330794904","file5":"1330794909","file3":"1330794900"},"map_files_photo_id_array":[{"photo_id":"1330794909","filename":"file5"},{"photo_id":"1330794887","filename":"file2"},{"photo_id":"1330794904","filename":"file4"},{"photo_id":"1330794856","filename":"file1"},{"photo_id":"1330794837","filename":"file0"},{"photo_id":"1330794900","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330794904":["hashtag1","hashtag2"]},{"1330794837":["hashtag1","hashtag2"]},{"1330794909":["hashtag1","hashtag2"]},{"1330794900":["hashtag1","hashtag2"]},{"1330794887":["hashtag1","hashtag2"]},{"1330794856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330794904, 1330794837, 1330794909, 1330794900, 1330794887, 1330794856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83931589126587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:10:32.747384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_16_10343.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_27_10348.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_36_9336.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_47_10372.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_56_9352.jpg', '/home/pi/Desktop/images/23012025/10/08/image_23012025_10_09_06_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_16_10343.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_27_10348.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_36_9336.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_47_10372.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_08_56_9352.jpg
/home/pi/Desktop/images/23012025/10/08/image_23012025_10_09_06_10404.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":["1330794993","1330794987","1330794972","1330794995","1330794977","1330794982"],"photo_ids_order":["1330794972","1330794977","1330794982","1330794987","1330794993","1330794995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/150b30968fd4bb6da77edc5f509b1d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6926293061309674875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493664,"filename":"image_23012025_10_08_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/770c92fdac9aed7a955c29103051cec2.jpg","text":"TemporaryFile(/tmp/multipartBody2184164854133280328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493664,"filename":"image_23012025_10_08_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bb761ba00f594e767e407656f764e71.jpg","text":"TemporaryFile(/tmp/multipartBody2114189525981763503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493664,"filename":"image_23012025_10_08_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec6518c45ace65a2c9f76c6814843c44.jpg","text":"TemporaryFile(/tmp/multipartBody882281087635733179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493664,"filename":"image_23012025_10_09_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffd1ec07c38b5293115134abecd7dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody5482488803076597604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493664,"filename":"image_23012025_10_08_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bf4b9edcd67be1c8350146b89e4cd07.jpg","text":"TemporaryFile(/tmp/multipartBody4982907825108835655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623493664,"filename":"image_23012025_10_08_36_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330794982","file1":"1330794977","file0":"1330794972","file4":"1330794993","file5":"1330794995","file3":"1330794987"},"map_files_photo_id_array":[{"photo_id":"1330794995","filename":"file5"},{"photo_id":"1330794982","filename":"file2"},{"photo_id":"1330794993","filename":"file4"},{"photo_id":"1330794977","filename":"file1"},{"photo_id":"1330794972","filename":"file0"},{"photo_id":"1330794987","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330794993":["hashtag1","hashtag2"]},{"1330794987":["hashtag1","hashtag2"]},{"1330794972":["hashtag1","hashtag2"]},{"1330794995":["hashtag1","hashtag2"]},{"1330794977":["hashtag1","hashtag2"]},{"1330794982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330794993, 1330794987, 1330794972, 1330794995, 1330794977, 1330794982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27369999885559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:11:32.960872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_17_10338.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_26_9437.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_36_10367.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_47_10347.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_56_9358.jpg', '/home/pi/Desktop/images/23012025/10/09/image_23012025_10_10_07_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_17_10338.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_26_9437.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_36_10367.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_47_10347.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_09_56_9358.jpg
/home/pi/Desktop/images/23012025/10/09/image_23012025_10_10_07_10422.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":["1330795431","1330795391","1330795387","1330795197","1330795383","1330795350"],"photo_ids_order":["1330795197","1330795350","1330795383","1330795387","1330795391","1330795431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f39da4003a64b2aa28262cc6cb796c6.jpg","text":"TemporaryFile(/tmp/multipartBody1829830401651161552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623553866,"filename":"image_23012025_10_10_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc89ff58461aad0c1f8472267f9fd0a1.jpg","text":"TemporaryFile(/tmp/multipartBody6136657513012008299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623553866,"filename":"image_23012025_10_09_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/091218ee509398bb1392fa01eb91603e.jpg","text":"TemporaryFile(/tmp/multipartBody2091158760132380162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623553866,"filename":"image_23012025_10_09_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92c97ca62d888078517f353963456191.jpg","text":"TemporaryFile(/tmp/multipartBody193900693067813736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623553866,"filename":"image_23012025_10_09_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfa97a2787334584211af08b87fcbd1c.jpg","text":"TemporaryFile(/tmp/multipartBody2797044524358255415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623553866,"filename":"image_23012025_10_09_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b469431616f2ad401771abc35c339224.jpg","text":"TemporaryFile(/tmp/multipartBody925680738986608216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623553866,"filename":"image_23012025_10_09_26_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330795383","file1":"1330795350","file0":"1330795197","file4":"1330795391","file5":"1330795431","file3":"1330795387"},"map_files_photo_id_array":[{"photo_id":"1330795431","filename":"file5"},{"photo_id":"1330795383","filename":"file2"},{"photo_id":"1330795391","filename":"file4"},{"photo_id":"1330795350","filename":"file1"},{"photo_id":"1330795197","filename":"file0"},{"photo_id":"1330795387","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330795431":["hashtag1","hashtag2"]},{"1330795391":["hashtag1","hashtag2"]},{"1330795387":["hashtag1","hashtag2"]},{"1330795197":["hashtag1","hashtag2"]},{"1330795383":["hashtag1","hashtag2"]},{"1330795350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330795431, 1330795391, 1330795387, 1330795197, 1330795383, 1330795350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.54105520248413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:12:32.162721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_16_9356.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_26_10340.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_37_10349.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_46_9375.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_11_07_10379.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_16_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_16_9356.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_26_10340.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_37_10349.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_46_9375.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_11_07_10379.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_16_9413.jpg
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: 0.4980647563934326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:12:42.231307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_16_9356.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_26_10340.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_37_10349.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_46_9375.jpg', '/home/pi/Desktop/images/23012025/10/10/image_23012025_10_11_07_10379.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_16_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_16_9356.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_26_10340.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_37_10349.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_10_46_9375.jpg
/home/pi/Desktop/images/23012025/10/10/image_23012025_10_11_07_10379.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_16_9413.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":["1330795545","1330795524","1330795536","1330795529","1330795540","1330795534"],"photo_ids_order":["1330795524","1330795529","1330795534","1330795536","1330795540","1330795545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a75b36aaf8f3304d695582d085252a46.jpg","text":"TemporaryFile(/tmp/multipartBody7081874322493467675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623623127,"filename":"image_23012025_10_11_16_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fcf3f28f0a0f152ff594cdb971d7b56.jpg","text":"TemporaryFile(/tmp/multipartBody2210460697893290268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623623127,"filename":"image_23012025_10_10_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f02bd542040ad285db71bae40a1bffe0.jpg","text":"TemporaryFile(/tmp/multipartBody3243184804479155465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623623127,"filename":"image_23012025_10_10_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72e8784076bc374f79d3219e1c470e14.jpg","text":"TemporaryFile(/tmp/multipartBody7331078049133728568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623623127,"filename":"image_23012025_10_10_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e68661c27e46879059e31394c258956a.jpg","text":"TemporaryFile(/tmp/multipartBody6770236283922037060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623623127,"filename":"image_23012025_10_11_07_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e53fdb2157c52cb51af9b96a177518f2.jpg","text":"TemporaryFile(/tmp/multipartBody2840966980982241880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623623127,"filename":"image_23012025_10_10_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330795534","file1":"1330795529","file0":"1330795524","file4":"1330795540","file5":"1330795545","file3":"1330795536"},"map_files_photo_id_array":[{"photo_id":"1330795545","filename":"file5"},{"photo_id":"1330795534","filename":"file2"},{"photo_id":"1330795540","filename":"file4"},{"photo_id":"1330795529","filename":"file1"},{"photo_id":"1330795524","filename":"file0"},{"photo_id":"1330795536","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330795545":["hashtag1","hashtag2"]},{"1330795524":["hashtag1","hashtag2"]},{"1330795536":["hashtag1","hashtag2"]},{"1330795529":["hashtag1","hashtag2"]},{"1330795540":["hashtag1","hashtag2"]},{"1330795534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330795545, 1330795524, 1330795536, 1330795529, 1330795540, 1330795534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48278212547302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:13:32.369705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_27_10418.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_46_10347.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_57_10379.jpg', '/home/pi/Desktop/images/23012025/10/11/image_23012025_10_12_06_9414.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_17_10353.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_26_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_27_10418.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_46_10347.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_11_57_10379.jpg
/home/pi/Desktop/images/23012025/10/11/image_23012025_10_12_06_9414.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_17_10353.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_26_9332.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":["1330795595","1330795640","1330795637","1330795613","1330795600","1330795578"],"photo_ids_order":["1330795578","1330795595","1330795600","1330795613","1330795637","1330795640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1cb33b0ca8472669377b692282fe707.jpg","text":"TemporaryFile(/tmp/multipartBody4440069621508350832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623673272,"filename":"image_23012025_10_11_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaced5688cf0385d4ae0f2921ad49ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2696047360771250958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623673272,"filename":"image_23012025_10_12_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21981eca11aa4b40ae350c06b1c13515.jpg","text":"TemporaryFile(/tmp/multipartBody2267335063227652880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623673272,"filename":"image_23012025_10_12_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09fcdd69420bba8cf28e91aacf511829.jpg","text":"TemporaryFile(/tmp/multipartBody5319586754179984054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623673272,"filename":"image_23012025_10_12_06_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9faf9129846ef35736d496616f3bf509.jpg","text":"TemporaryFile(/tmp/multipartBody1832736687514212118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623673272,"filename":"image_23012025_10_11_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8b13525e6f13f03dff394f5f6d78de7.jpg","text":"TemporaryFile(/tmp/multipartBody2787971104209419911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623673272,"filename":"image_23012025_10_11_27_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330795600","file1":"1330795595","file0":"1330795578","file4":"1330795637","file5":"1330795640","file3":"1330795613"},"map_files_photo_id_array":[{"photo_id":"1330795640","filename":"file5"},{"photo_id":"1330795600","filename":"file2"},{"photo_id":"1330795637","filename":"file4"},{"photo_id":"1330795595","filename":"file1"},{"photo_id":"1330795578","filename":"file0"},{"photo_id":"1330795613","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330795595":["hashtag1","hashtag2"]},{"1330795640":["hashtag1","hashtag2"]},{"1330795637":["hashtag1","hashtag2"]},{"1330795613":["hashtag1","hashtag2"]},{"1330795600":["hashtag1","hashtag2"]},{"1330795578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330795595, 1330795640, 1330795637, 1330795613, 1330795600, 1330795578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88010787963867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:14:32.504555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_36_10445.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_47_10417.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_56_9406.jpg', '/home/pi/Desktop/images/23012025/10/12/image_23012025_10_13_07_10376.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_16_9418.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_26_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_36_10445.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_47_10417.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_12_56_9406.jpg
/home/pi/Desktop/images/23012025/10/12/image_23012025_10_13_07_10376.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_16_9418.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_26_10345.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":["1330795719","1330795710","1330795704","1330795748","1330795690","1330795744"],"photo_ids_order":["1330795690","1330795704","1330795710","1330795719","1330795744","1330795748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fbfc4b0662085aebba3aa2312b446db.jpg","text":"TemporaryFile(/tmp/multipartBody762883440111129151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733405,"filename":"image_23012025_10_13_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05eaa2502bbbfdc60207733f298bbc76.jpg","text":"TemporaryFile(/tmp/multipartBody1764322651130593421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733405,"filename":"image_23012025_10_12_56_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aba61e46256785caced0f1f10fa11e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4656883401170420134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733405,"filename":"image_23012025_10_12_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66fa1dbde0744f9338b881859b0ed8df.jpg","text":"TemporaryFile(/tmp/multipartBody4138018428252839481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733405,"filename":"image_23012025_10_13_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dff53d61b647a4f36401cafb50541d03.jpg","text":"TemporaryFile(/tmp/multipartBody6172301991232992132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733405,"filename":"image_23012025_10_12_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bff74ebee92e14ebc629269772c24de9.jpg","text":"TemporaryFile(/tmp/multipartBody706770764249546724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623733405,"filename":"image_23012025_10_13_16_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330795710","file1":"1330795704","file0":"1330795690","file4":"1330795744","file5":"1330795748","file3":"1330795719"},"map_files_photo_id_array":[{"photo_id":"1330795748","filename":"file5"},{"photo_id":"1330795710","filename":"file2"},{"photo_id":"1330795744","filename":"file4"},{"photo_id":"1330795704","filename":"file1"},{"photo_id":"1330795690","filename":"file0"},{"photo_id":"1330795719","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330795719":["hashtag1","hashtag2"]},{"1330795710":["hashtag1","hashtag2"]},{"1330795704":["hashtag1","hashtag2"]},{"1330795748":["hashtag1","hashtag2"]},{"1330795690":["hashtag1","hashtag2"]},{"1330795744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330795719, 1330795710, 1330795704, 1330795748, 1330795690, 1330795744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30117964744568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:15:32.642569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_37_10402.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_46_9386.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_57_10406.jpg', '/home/pi/Desktop/images/23012025/10/13/image_23012025_10_14_06_9402.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_16_10350.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_27_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_37_10402.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_46_9386.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_13_57_10406.jpg
/home/pi/Desktop/images/23012025/10/13/image_23012025_10_14_06_9402.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_16_10350.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_27_10346.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":["1330795842","1330795886","1330795871","1330795823","1330795873","1330795855"],"photo_ids_order":["1330795823","1330795842","1330795855","1330795871","1330795873","1330795886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e2e90fe965af08087e75ea23d79879d.jpg","text":"TemporaryFile(/tmp/multipartBody5266109348755272597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793545,"filename":"image_23012025_10_13_46_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04248a6807e25b8450ccc27ce1e404a8.jpg","text":"TemporaryFile(/tmp/multipartBody5939460729516324667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793545,"filename":"image_23012025_10_14_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb6dd1fd7bad82bf18f719b1ecd843e7.jpg","text":"TemporaryFile(/tmp/multipartBody6855651260260281260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793545,"filename":"image_23012025_10_14_06_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ed613ce27f1f526e7ce0aa0f2228086.jpg","text":"TemporaryFile(/tmp/multipartBody1123925961746214776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793545,"filename":"image_23012025_10_13_37_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35d3fd1aae2e3b19408b0b6980ccb55f.jpg","text":"TemporaryFile(/tmp/multipartBody5618082632448273265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793545,"filename":"image_23012025_10_14_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/883b4cd810adbe3d5cd65493f04e1b7d.jpg","text":"TemporaryFile(/tmp/multipartBody4367269619929205750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623793545,"filename":"image_23012025_10_13_57_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330795855","file1":"1330795842","file0":"1330795823","file4":"1330795873","file5":"1330795886","file3":"1330795871"},"map_files_photo_id_array":[{"photo_id":"1330795886","filename":"file5"},{"photo_id":"1330795855","filename":"file2"},{"photo_id":"1330795873","filename":"file4"},{"photo_id":"1330795842","filename":"file1"},{"photo_id":"1330795823","filename":"file0"},{"photo_id":"1330795871","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330795842":["hashtag1","hashtag2"]},{"1330795886":["hashtag1","hashtag2"]},{"1330795871":["hashtag1","hashtag2"]},{"1330795823":["hashtag1","hashtag2"]},{"1330795873":["hashtag1","hashtag2"]},{"1330795855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330795842, 1330795886, 1330795871, 1330795823, 1330795873, 1330795855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.378947734832764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:16:32.939343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_36_9460.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_46_10357.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_57_10334.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_15_06_9392.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_17_10338.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_26_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_36_9460.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_46_10357.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_57_10334.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_15_06_9392.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_17_10338.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_26_9447.jpg
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: 0.5061554908752441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:16:42.894694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_36_9460.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_46_10357.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_57_10334.jpg', '/home/pi/Desktop/images/23012025/10/14/image_23012025_10_15_06_9392.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_17_10338.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_26_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_36_9460.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_46_10357.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_14_57_10334.jpg
/home/pi/Desktop/images/23012025/10/14/image_23012025_10_15_06_9392.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_17_10338.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_26_9447.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":["1330795914","1330795923","1330796015","1330795939","1330795918","1330795933"],"photo_ids_order":["1330795914","1330795918","1330795923","1330795933","1330795939","1330796015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3beffe67ed31532d21a6616c722e480c.jpg","text":"TemporaryFile(/tmp/multipartBody7148105391642209711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623863791,"filename":"image_23012025_10_14_36_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37b5ad8f17324cb1a8a154c0b429eaa3.jpg","text":"TemporaryFile(/tmp/multipartBody1707279469650733046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623863791,"filename":"image_23012025_10_14_57_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fcc540b1eeae6adf704ac925366c19e.jpg","text":"TemporaryFile(/tmp/multipartBody2155488287438784559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623863791,"filename":"image_23012025_10_15_26_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c3c33f9b96aa1143959b450dd0d6daa.jpg","text":"TemporaryFile(/tmp/multipartBody747300757226316748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623863791,"filename":"image_23012025_10_15_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b6056db810c2f5663bceae5c940b686.jpg","text":"TemporaryFile(/tmp/multipartBody7007128142609056977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623863791,"filename":"image_23012025_10_14_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa97973ec5458dfa1b12dfe5760eb869.jpg","text":"TemporaryFile(/tmp/multipartBody271757961869621634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623863791,"filename":"image_23012025_10_15_06_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330795923","file1":"1330795918","file0":"1330795914","file4":"1330795939","file5":"1330796015","file3":"1330795933"},"map_files_photo_id_array":[{"photo_id":"1330796015","filename":"file5"},{"photo_id":"1330795923","filename":"file2"},{"photo_id":"1330795939","filename":"file4"},{"photo_id":"1330795918","filename":"file1"},{"photo_id":"1330795914","filename":"file0"},{"photo_id":"1330795933","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330795914":["hashtag1","hashtag2"]},{"1330795923":["hashtag1","hashtag2"]},{"1330796015":["hashtag1","hashtag2"]},{"1330795939":["hashtag1","hashtag2"]},{"1330795918":["hashtag1","hashtag2"]},{"1330795933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330795914, 1330795923, 1330796015, 1330795939, 1330795918, 1330795933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.088125228881836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:17:33.090480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_36_10429.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_56_9498.jpg', '/home/pi/Desktop/images/23012025/10/15/image_23012025_10_16_07_10329.jpg', '/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_16_9344.jpg', '/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_26_10369.jpg', '/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_37_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_36_10429.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_15_56_9498.jpg
/home/pi/Desktop/images/23012025/10/15/image_23012025_10_16_07_10329.jpg
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_16_9344.jpg
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_26_10369.jpg
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_37_10336.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":["1330796041","1330796038","1330796046","1330796034","1330796028","1330796022"],"photo_ids_order":["1330796022","1330796028","1330796034","1330796038","1330796041","1330796046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee92046c7ad49baf538ddc7180a3ba5d.jpg","text":"TemporaryFile(/tmp/multipartBody2204550799669503381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913979,"filename":"image_23012025_10_16_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2fe663a4a840785d2a98ce3034e652ca.jpg","text":"TemporaryFile(/tmp/multipartBody2224411282286923058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913979,"filename":"image_23012025_10_16_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbaab004becf32d525d9a9a5d71470e0.jpg","text":"TemporaryFile(/tmp/multipartBody2425733672813627795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913979,"filename":"image_23012025_10_16_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/170e194cbdb89144cafb9e3f7eeb48d4.jpg","text":"TemporaryFile(/tmp/multipartBody1482166637787574261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913979,"filename":"image_23012025_10_16_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1f34fab18c7f5305e67c275e7dbb911.jpg","text":"TemporaryFile(/tmp/multipartBody6570579789808975608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913979,"filename":"image_23012025_10_15_56_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a0242770d34f4406de013bf185bc0aa.jpg","text":"TemporaryFile(/tmp/multipartBody4817081279578761987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623913979,"filename":"image_23012025_10_15_36_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330796034","file1":"1330796028","file0":"1330796022","file4":"1330796041","file5":"1330796046","file3":"1330796038"},"map_files_photo_id_array":[{"photo_id":"1330796046","filename":"file5"},{"photo_id":"1330796034","filename":"file2"},{"photo_id":"1330796041","filename":"file4"},{"photo_id":"1330796028","filename":"file1"},{"photo_id":"1330796022","filename":"file0"},{"photo_id":"1330796038","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330796041":["hashtag1","hashtag2"]},{"1330796038":["hashtag1","hashtag2"]},{"1330796046":["hashtag1","hashtag2"]},{"1330796034":["hashtag1","hashtag2"]},{"1330796028":["hashtag1","hashtag2"]},{"1330796022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330796041, 1330796038, 1330796046, 1330796034, 1330796028, 1330796022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.332924365997314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:18:32.296214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_46_9325.jpg', '/home/pi/Desktop/images/23012025/10/16/image_23012025_10_17_07_10377.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_16_9443.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_27_10358.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_36_9315.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_16_46_9325.jpg
/home/pi/Desktop/images/23012025/10/16/image_23012025_10_17_07_10377.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_16_9443.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_27_10358.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_36_9315.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_46_10351.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":["1330796093","1330796087","1330796054","1330796083","1330796059","1330796091"],"photo_ids_order":["1330796054","1330796059","1330796083","1330796087","1330796091","1330796093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a347d0d08c521e717762fd371765b6d.jpg","text":"TemporaryFile(/tmp/multipartBody935315308329293146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973212,"filename":"image_23012025_10_17_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/641387c83d3b0fb6c0e7b29e48fe8f44.jpg","text":"TemporaryFile(/tmp/multipartBody8667595561382817917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973212,"filename":"image_23012025_10_17_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0cd6188e38ccf140ab4af6a1cfeb8ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2807617951773409509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973212,"filename":"image_23012025_10_16_46_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb920b87956a2a1f7f7373371b908f45.jpg","text":"TemporaryFile(/tmp/multipartBody4533291939785763502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973212,"filename":"image_23012025_10_17_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/446dd8e894a2408b0aacaa7d9729021a.jpg","text":"TemporaryFile(/tmp/multipartBody1042424451622105610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973212,"filename":"image_23012025_10_17_07_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9a41e9d7d66fa165f6fc757b6127bc7.jpg","text":"TemporaryFile(/tmp/multipartBody8002516847941248305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737623973212,"filename":"image_23012025_10_17_36_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330796083","file1":"1330796059","file0":"1330796054","file4":"1330796091","file5":"1330796093","file3":"1330796087"},"map_files_photo_id_array":[{"photo_id":"1330796093","filename":"file5"},{"photo_id":"1330796083","filename":"file2"},{"photo_id":"1330796091","filename":"file4"},{"photo_id":"1330796059","filename":"file1"},{"photo_id":"1330796054","filename":"file0"},{"photo_id":"1330796087","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330796093":["hashtag1","hashtag2"]},{"1330796087":["hashtag1","hashtag2"]},{"1330796054":["hashtag1","hashtag2"]},{"1330796083":["hashtag1","hashtag2"]},{"1330796059":["hashtag1","hashtag2"]},{"1330796091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330796093, 1330796087, 1330796054, 1330796083, 1330796059, 1330796091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.34631419181824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:19:32.444763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_57_10420.jpg', '/home/pi/Desktop/images/23012025/10/17/image_23012025_10_18_06_9473.jpg', '/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_16_10332.jpg', '/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_26_9440.jpg', '/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_36_10319.jpg', '/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_56_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_17_57_10420.jpg
/home/pi/Desktop/images/23012025/10/17/image_23012025_10_18_06_9473.jpg
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_16_10332.jpg
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_26_9440.jpg
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_36_10319.jpg
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_18_56_9401.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":["1330796322","1330796111","1330796105","1330796117","1330796269","1330796169"],"photo_ids_order":["1330796105","1330796111","1330796117","1330796169","1330796269","1330796322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d27c774f6df5cb581b5a3f1e408ea0cf.jpg","text":"TemporaryFile(/tmp/multipartBody1200297946544885664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033343,"filename":"image_23012025_10_18_56_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b174a88ba91ccf4bd3b2738ffdd53554.jpg","text":"TemporaryFile(/tmp/multipartBody2438890031286672569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033343,"filename":"image_23012025_10_18_06_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bc40c8ca4fb3fccdd758a99d2179280.jpg","text":"TemporaryFile(/tmp/multipartBody296715022213700183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033343,"filename":"image_23012025_10_17_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/141d9b22de49179bb3d9e63330fa9232.jpg","text":"TemporaryFile(/tmp/multipartBody522649172293035904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033343,"filename":"image_23012025_10_18_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40704c9c699de1f672d1be837f1f9d02.jpg","text":"TemporaryFile(/tmp/multipartBody3151488142493018609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033343,"filename":"image_23012025_10_18_36_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fd64ad461789afa6c486a7eff578ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5292921027612473873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624033343,"filename":"image_23012025_10_18_26_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330796117","file1":"1330796111","file0":"1330796105","file4":"1330796269","file5":"1330796322","file3":"1330796169"},"map_files_photo_id_array":[{"photo_id":"1330796322","filename":"file5"},{"photo_id":"1330796117","filename":"file2"},{"photo_id":"1330796269","filename":"file4"},{"photo_id":"1330796111","filename":"file1"},{"photo_id":"1330796105","filename":"file0"},{"photo_id":"1330796169","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330796322":["hashtag1","hashtag2"]},{"1330796111":["hashtag1","hashtag2"]},{"1330796105":["hashtag1","hashtag2"]},{"1330796117":["hashtag1","hashtag2"]},{"1330796269":["hashtag1","hashtag2"]},{"1330796169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330796322, 1330796111, 1330796105, 1330796117, 1330796269, 1330796169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.47877645492554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:20:32.696586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/18/image_23012025_10_19_06_10356.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_17_10337.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_26_9401.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_36_10332.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_47_10409.jpg', '/home/pi/Desktop/images/23012025/10/19/image_23012025_10_20_07_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/18/image_23012025_10_19_06_10356.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_17_10337.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_26_9401.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_36_10332.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_19_47_10409.jpg
/home/pi/Desktop/images/23012025/10/19/image_23012025_10_20_07_10398.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":["1330796840","1330796770","1330796903","1330796767","1330796860","1330796863"],"photo_ids_order":["1330796767","1330796770","1330796840","1330796860","1330796863","1330796903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/152f4d9d32b4d5a4f3db7b8809387df6.jpg","text":"TemporaryFile(/tmp/multipartBody372969149317307171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093586,"filename":"image_23012025_10_19_26_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71e4142a3fff7f6d74d4f162aa6766e7.jpg","text":"TemporaryFile(/tmp/multipartBody3992253877850706112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093586,"filename":"image_23012025_10_19_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72d42df2986d7ecda203040f27a97952.jpg","text":"TemporaryFile(/tmp/multipartBody5847847638882410065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093586,"filename":"image_23012025_10_20_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b15431a3f84d35ecadacc2ff3197f093.jpg","text":"TemporaryFile(/tmp/multipartBody4223879969305239261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093586,"filename":"image_23012025_10_19_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32ceb75daedcc6c20cee9cfbdd8a0f79.jpg","text":"TemporaryFile(/tmp/multipartBody7439726595765481169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093586,"filename":"image_23012025_10_19_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44b32c9f4ccea9e66ad51f3242049773.jpg","text":"TemporaryFile(/tmp/multipartBody8977918600615517178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624093586,"filename":"image_23012025_10_19_47_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330796840","file1":"1330796770","file0":"1330796767","file4":"1330796863","file5":"1330796903","file3":"1330796860"},"map_files_photo_id_array":[{"photo_id":"1330796903","filename":"file5"},{"photo_id":"1330796840","filename":"file2"},{"photo_id":"1330796863","filename":"file4"},{"photo_id":"1330796770","filename":"file1"},{"photo_id":"1330796767","filename":"file0"},{"photo_id":"1330796860","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330796840":["hashtag1","hashtag2"]},{"1330796770":["hashtag1","hashtag2"]},{"1330796903":["hashtag1","hashtag2"]},{"1330796767":["hashtag1","hashtag2"]},{"1330796860":["hashtag1","hashtag2"]},{"1330796863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330796840, 1330796770, 1330796903, 1330796767, 1330796860, 1330796863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.530096769332886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:21:32.860820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_16_9399.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_26_10418.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_37_10318.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_46_9421.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_56_10354.jpg', '/home/pi/Desktop/images/23012025/10/20/image_23012025_10_21_07_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_16_9399.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_26_10418.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_37_10318.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_46_9421.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_20_56_10354.jpg
/home/pi/Desktop/images/23012025/10/20/image_23012025_10_21_07_10342.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":["1330797347","1330797308","1330797229","1330797351","1330797222","1330797225"],"photo_ids_order":["1330797222","1330797225","1330797229","1330797308","1330797347","1330797351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78a0a2ed06f6243a0413b3a7f00b18c8.jpg","text":"TemporaryFile(/tmp/multipartBody4580925656811863688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153756,"filename":"image_23012025_10_20_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac48315f81f8c959c55a2e56dad6fbb4.jpg","text":"TemporaryFile(/tmp/multipartBody5970946048145005828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153756,"filename":"image_23012025_10_20_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/add18afb75c71381c01cee59194a54f1.jpg","text":"TemporaryFile(/tmp/multipartBody8054694990459957226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153756,"filename":"image_23012025_10_20_37_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9544d6b66e31e985d5dd700e0970a83.jpg","text":"TemporaryFile(/tmp/multipartBody8450703855159102186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153756,"filename":"image_23012025_10_21_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fb17449171a42ec75a11184b3ac6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3302320878629783369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153756,"filename":"image_23012025_10_20_16_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/959e9a0143f6010179986c0bc91e54b3.jpg","text":"TemporaryFile(/tmp/multipartBody5086487126402192910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624153756,"filename":"image_23012025_10_20_26_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330797229","file1":"1330797225","file0":"1330797222","file4":"1330797347","file5":"1330797351","file3":"1330797308"},"map_files_photo_id_array":[{"photo_id":"1330797351","filename":"file5"},{"photo_id":"1330797229","filename":"file2"},{"photo_id":"1330797347","filename":"file4"},{"photo_id":"1330797225","filename":"file1"},{"photo_id":"1330797222","filename":"file0"},{"photo_id":"1330797308","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330797347":["hashtag1","hashtag2"]},{"1330797308":["hashtag1","hashtag2"]},{"1330797229":["hashtag1","hashtag2"]},{"1330797351":["hashtag1","hashtag2"]},{"1330797222":["hashtag1","hashtag2"]},{"1330797225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330797347, 1330797308, 1330797229, 1330797351, 1330797222, 1330797225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.154398679733276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:22:33.060060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_16_9351.jpg', '/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_26_10341.jpg', '/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_46_9424.jpg', '/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_57_10390.jpg', '/home/pi/Desktop/images/23012025/10/21/image_23012025_10_22_06_9482.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_16_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_16_9351.jpg
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_26_10341.jpg
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_46_9424.jpg
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_21_57_10390.jpg
/home/pi/Desktop/images/23012025/10/21/image_23012025_10_22_06_9482.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_16_10335.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":["1330797515","1330797509","1330797487","1330797523","1330797513","1330797519"],"photo_ids_order":["1330797487","1330797509","1330797513","1330797515","1330797519","1330797523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c1fba80cd4a0851e0e33eb25c948377.jpg","text":"TemporaryFile(/tmp/multipartBody5883728381263730645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213953,"filename":"image_23012025_10_21_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96535a4be73cc072b405604902cf51d6.jpg","text":"TemporaryFile(/tmp/multipartBody612674969733471559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213953,"filename":"image_23012025_10_21_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fd69fd2810e14794efb950b18586726.jpg","text":"TemporaryFile(/tmp/multipartBody5194156150503179706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213953,"filename":"image_23012025_10_21_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40551cd93579c5ef848c9c16795f9e3e.jpg","text":"TemporaryFile(/tmp/multipartBody806049201741778833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213953,"filename":"image_23012025_10_22_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f16cb4dff9a07c0dac05deb1d4c87027.jpg","text":"TemporaryFile(/tmp/multipartBody8170360308768413318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213953,"filename":"image_23012025_10_21_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dcf95f79ef6615936fd0001b539690e.jpg","text":"TemporaryFile(/tmp/multipartBody6656647682186612888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624213953,"filename":"image_23012025_10_22_06_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330797513","file1":"1330797509","file0":"1330797487","file4":"1330797519","file5":"1330797523","file3":"1330797515"},"map_files_photo_id_array":[{"photo_id":"1330797523","filename":"file5"},{"photo_id":"1330797513","filename":"file2"},{"photo_id":"1330797519","filename":"file4"},{"photo_id":"1330797509","filename":"file1"},{"photo_id":"1330797487","filename":"file0"},{"photo_id":"1330797515","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330797515":["hashtag1","hashtag2"]},{"1330797509":["hashtag1","hashtag2"]},{"1330797487":["hashtag1","hashtag2"]},{"1330797523":["hashtag1","hashtag2"]},{"1330797513":["hashtag1","hashtag2"]},{"1330797519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330797515, 1330797509, 1330797487, 1330797523, 1330797513, 1330797519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.862128019332886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:23:32.330141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_27_10403.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_36_9431.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_47_10399.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_56_9407.jpg', '/home/pi/Desktop/images/23012025/10/22/image_23012025_10_23_06_10364.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_17_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_27_10403.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_36_9431.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_47_10399.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_22_56_9407.jpg
/home/pi/Desktop/images/23012025/10/22/image_23012025_10_23_06_10364.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_17_10367.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":["1330797556","1330797558","1330797552","1330797546","1330797549","1330797560"],"photo_ids_order":["1330797546","1330797549","1330797552","1330797556","1330797558","1330797560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e0a8d199dad0acbdb58674ec165fd6e.jpg","text":"TemporaryFile(/tmp/multipartBody2294241427356602326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624273215,"filename":"image_23012025_10_22_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04e013c330387b6791d4217cbd2caf6c.jpg","text":"TemporaryFile(/tmp/multipartBody7965235383335960619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624273215,"filename":"image_23012025_10_23_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78a2fd3bd6d7e577f7d104adb765cc6e.jpg","text":"TemporaryFile(/tmp/multipartBody1560993212272611674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624273215,"filename":"image_23012025_10_22_47_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4694448b7b37ef9c8bda506b0ca3691a.jpg","text":"TemporaryFile(/tmp/multipartBody3332986285416975804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624273215,"filename":"image_23012025_10_22_27_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7736082bf1ebdbbd6547ed95ecb13c4b.jpg","text":"TemporaryFile(/tmp/multipartBody2180989242218112236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624273215,"filename":"image_23012025_10_22_36_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0bce2533c80e586b75d636acf595517.jpg","text":"TemporaryFile(/tmp/multipartBody8891814439472509299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624273215,"filename":"image_23012025_10_23_17_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330797552","file1":"1330797549","file0":"1330797546","file4":"1330797558","file5":"1330797560","file3":"1330797556"},"map_files_photo_id_array":[{"photo_id":"1330797560","filename":"file5"},{"photo_id":"1330797552","filename":"file2"},{"photo_id":"1330797558","filename":"file4"},{"photo_id":"1330797549","filename":"file1"},{"photo_id":"1330797546","filename":"file0"},{"photo_id":"1330797556","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330797556":["hashtag1","hashtag2"]},{"1330797558":["hashtag1","hashtag2"]},{"1330797552":["hashtag1","hashtag2"]},{"1330797546":["hashtag1","hashtag2"]},{"1330797549":["hashtag1","hashtag2"]},{"1330797560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330797556, 1330797558, 1330797552, 1330797546, 1330797549, 1330797560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.57467746734619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:24:32.421121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_26_9369.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_36_10326.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_46_9446.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_56_10461.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_24_07_10396.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_16_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_26_9369.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_36_10326.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_46_9446.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_56_10461.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_24_07_10396.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_16_9395.jpg
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: 0.5082557201385498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:24:42.523382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_26_9369.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_36_10326.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_46_9446.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_56_10461.jpg', '/home/pi/Desktop/images/23012025/10/23/image_23012025_10_24_07_10396.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_16_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_26_9369.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_36_10326.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_46_9446.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_23_56_10461.jpg
/home/pi/Desktop/images/23012025/10/23/image_23012025_10_24_07_10396.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_16_9395.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":["1330797666","1330797660","1330797633","1330797593","1330797587","1330797635"],"photo_ids_order":["1330797587","1330797593","1330797633","1330797635","1330797660","1330797666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ae8fb4bad7593f8830d9ebab1d58e14.jpg","text":"TemporaryFile(/tmp/multipartBody8824957449908113937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624343415,"filename":"image_23012025_10_24_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c34119a25a8d577d371bf82d79908800.jpg","text":"TemporaryFile(/tmp/multipartBody4338712913108239679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624343415,"filename":"image_23012025_10_24_07_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f38bb62a5eee733a4d4cdafc157420d3.jpg","text":"TemporaryFile(/tmp/multipartBody8747174467714123693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624343415,"filename":"image_23012025_10_23_46_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e310c8e5cbf30ee68e88144ea23c4801.jpg","text":"TemporaryFile(/tmp/multipartBody9079649953209466351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624343415,"filename":"image_23012025_10_23_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5a8d5908bc4b62f25c12775f7cb32b3.jpg","text":"TemporaryFile(/tmp/multipartBody7363668895796907752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624343415,"filename":"image_23012025_10_23_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3a4b25a12684c75065a9cbac9dbc890.jpg","text":"TemporaryFile(/tmp/multipartBody3805619075433418187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624343415,"filename":"image_23012025_10_23_56_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330797633","file1":"1330797593","file0":"1330797587","file4":"1330797660","file5":"1330797666","file3":"1330797635"},"map_files_photo_id_array":[{"photo_id":"1330797666","filename":"file5"},{"photo_id":"1330797633","filename":"file2"},{"photo_id":"1330797660","filename":"file4"},{"photo_id":"1330797593","filename":"file1"},{"photo_id":"1330797587","filename":"file0"},{"photo_id":"1330797635","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330797666":["hashtag1","hashtag2"]},{"1330797660":["hashtag1","hashtag2"]},{"1330797633":["hashtag1","hashtag2"]},{"1330797593":["hashtag1","hashtag2"]},{"1330797587":["hashtag1","hashtag2"]},{"1330797635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330797666, 1330797660, 1330797633, 1330797593, 1330797587, 1330797635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65979337692261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:25:32.805085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_27_10374.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_36_9330.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_46_10339.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_57_10364.jpg', '/home/pi/Desktop/images/23012025/10/24/image_23012025_10_25_06_9451.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_16_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_27_10374.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_36_9330.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_46_10339.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_24_57_10364.jpg
/home/pi/Desktop/images/23012025/10/24/image_23012025_10_25_06_9451.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_16_10327.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":["1330797766","1330797949","1330797913","1330797736","1330797861","1330797903"],"photo_ids_order":["1330797736","1330797766","1330797861","1330797903","1330797913","1330797949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63adf09ab413e297e842658bfe5f5794.jpg","text":"TemporaryFile(/tmp/multipartBody1296035167192866719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624393712,"filename":"image_23012025_10_24_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cf4614bdc05a23955eb8c0d4437c43d.jpg","text":"TemporaryFile(/tmp/multipartBody8113401602367315073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624393712,"filename":"image_23012025_10_25_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84319f541dddf789de5a5327b010743c.jpg","text":"TemporaryFile(/tmp/multipartBody3474385598771310055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624393712,"filename":"image_23012025_10_25_06_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e1e8845b3b04fe862f639d1f198f469.jpg","text":"TemporaryFile(/tmp/multipartBody4367160924802373822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624393712,"filename":"image_23012025_10_24_27_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d55a67eff1eabfed4458e2474fdcb47.jpg","text":"TemporaryFile(/tmp/multipartBody7414541048938728891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624393712,"filename":"image_23012025_10_24_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55ecfbc24d44bc955875f4ad0d6309a6.jpg","text":"TemporaryFile(/tmp/multipartBody5548381444515090925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624393712,"filename":"image_23012025_10_24_57_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330797861","file1":"1330797766","file0":"1330797736","file4":"1330797913","file5":"1330797949","file3":"1330797903"},"map_files_photo_id_array":[{"photo_id":"1330797949","filename":"file5"},{"photo_id":"1330797861","filename":"file2"},{"photo_id":"1330797913","filename":"file4"},{"photo_id":"1330797766","filename":"file1"},{"photo_id":"1330797736","filename":"file0"},{"photo_id":"1330797903","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330797766":["hashtag1","hashtag2"]},{"1330797949":["hashtag1","hashtag2"]},{"1330797913":["hashtag1","hashtag2"]},{"1330797736":["hashtag1","hashtag2"]},{"1330797861":["hashtag1","hashtag2"]},{"1330797903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330797766, 1330797949, 1330797913, 1330797736, 1330797861, 1330797903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78757452964783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:26:33.039003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_27_10368.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_36_9368.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_46_10353.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_57_10379.jpg', '/home/pi/Desktop/images/23012025/10/25/image_23012025_10_26_06_9341.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_17_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_27_10368.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_36_9368.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_46_10353.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_25_57_10379.jpg
/home/pi/Desktop/images/23012025/10/25/image_23012025_10_26_06_9341.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_17_10329.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":["1330798075","1330798060","1330798071","1330798077","1330798067","1330798055"],"photo_ids_order":["1330798055","1330798060","1330798067","1330798071","1330798075","1330798077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50e6957f89b3c2dbc97d6cf392dfddc1.jpg","text":"TemporaryFile(/tmp/multipartBody3786024973171696686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624453919,"filename":"image_23012025_10_26_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/701ab2af208d4b91b375ea92b913632e.jpg","text":"TemporaryFile(/tmp/multipartBody36426803765109276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624453919,"filename":"image_23012025_10_25_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4057e593d4d6d12eff8e8b8f081f1db1.jpg","text":"TemporaryFile(/tmp/multipartBody7850761172234861313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624453919,"filename":"image_23012025_10_25_57_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2002bf99e8a23882de88157a6cf5e23.jpg","text":"TemporaryFile(/tmp/multipartBody8339773405150488090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624453919,"filename":"image_23012025_10_26_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56e4580e303d30c22d5cf1142570546d.jpg","text":"TemporaryFile(/tmp/multipartBody279174033976908492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624453919,"filename":"image_23012025_10_25_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53979fd509212826ea0329168ac86eb9.jpg","text":"TemporaryFile(/tmp/multipartBody4111340419955947781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624453919,"filename":"image_23012025_10_25_27_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330798067","file1":"1330798060","file0":"1330798055","file4":"1330798075","file5":"1330798077","file3":"1330798071"},"map_files_photo_id_array":[{"photo_id":"1330798077","filename":"file5"},{"photo_id":"1330798067","filename":"file2"},{"photo_id":"1330798075","filename":"file4"},{"photo_id":"1330798060","filename":"file1"},{"photo_id":"1330798055","filename":"file0"},{"photo_id":"1330798071","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330798075":["hashtag1","hashtag2"]},{"1330798060":["hashtag1","hashtag2"]},{"1330798071":["hashtag1","hashtag2"]},{"1330798077":["hashtag1","hashtag2"]},{"1330798067":["hashtag1","hashtag2"]},{"1330798055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330798075, 1330798060, 1330798071, 1330798077, 1330798067, 1330798055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91343355178833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:27:32.251493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_26_9345.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_36_10448.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_47_10350.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_56_9456.jpg', '/home/pi/Desktop/images/23012025/10/26/image_23012025_10_27_06_10343.jpg', '/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_16_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_26_9345.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_36_10448.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_47_10350.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_26_56_9456.jpg
/home/pi/Desktop/images/23012025/10/26/image_23012025_10_27_06_10343.jpg
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_16_9397.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":["1330798363","1330798402","1330798408","1330798365","1330798350","1330798355"],"photo_ids_order":["1330798350","1330798355","1330798363","1330798365","1330798402","1330798408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54d56674a88913fe30947f23548dea45.jpg","text":"TemporaryFile(/tmp/multipartBody3099093981185441731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624513149,"filename":"image_23012025_10_26_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23b8824585225fa0b9068cd7338dbb3f.jpg","text":"TemporaryFile(/tmp/multipartBody282896368131709033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624513149,"filename":"image_23012025_10_27_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b63a6fab449142ecab8231424e1ed7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8367982587923182251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624513149,"filename":"image_23012025_10_27_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3939775cb66c44f907fd0470f61b8755.jpg","text":"TemporaryFile(/tmp/multipartBody8385888323559881853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624513149,"filename":"image_23012025_10_26_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0700cb9efe72db34ddf59a3a26cad44b.jpg","text":"TemporaryFile(/tmp/multipartBody3508120429056205624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624513149,"filename":"image_23012025_10_26_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8134d19172f6c395c7e348858ae8eec.jpg","text":"TemporaryFile(/tmp/multipartBody8684723916416490184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624513149,"filename":"image_23012025_10_26_36_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330798363","file1":"1330798355","file0":"1330798350","file4":"1330798402","file5":"1330798408","file3":"1330798365"},"map_files_photo_id_array":[{"photo_id":"1330798408","filename":"file5"},{"photo_id":"1330798363","filename":"file2"},{"photo_id":"1330798402","filename":"file4"},{"photo_id":"1330798355","filename":"file1"},{"photo_id":"1330798350","filename":"file0"},{"photo_id":"1330798365","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330798363":["hashtag1","hashtag2"]},{"1330798402":["hashtag1","hashtag2"]},{"1330798408":["hashtag1","hashtag2"]},{"1330798365":["hashtag1","hashtag2"]},{"1330798350":["hashtag1","hashtag2"]},{"1330798355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330798363, 1330798402, 1330798408, 1330798365, 1330798350, 1330798355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.1795129776001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:28:32.368163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_26_10357.jpg', '/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_37_10330.jpg', '/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_46_9347.jpg', '/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_56_10445.jpg', '/home/pi/Desktop/images/23012025/10/27/image_23012025_10_28_07_10335.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_16_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_26_10357.jpg
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_37_10330.jpg
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_46_9347.jpg
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_27_56_10445.jpg
/home/pi/Desktop/images/23012025/10/27/image_23012025_10_28_07_10335.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_16_9464.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":["1330798453","1330798443","1330798452","1330798446","1330798449","1330798454"],"photo_ids_order":["1330798443","1330798446","1330798449","1330798452","1330798453","1330798454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d403090f71bafe56a7462166c45faec8.jpg","text":"TemporaryFile(/tmp/multipartBody2792059334622589978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624573271,"filename":"image_23012025_10_28_07_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dee3219344f860ffccfe30106c8c59b.jpg","text":"TemporaryFile(/tmp/multipartBody1891193806520324560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624573271,"filename":"image_23012025_10_27_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/070677c78537122a9623809a5af9e841.jpg","text":"TemporaryFile(/tmp/multipartBody4325307040769979209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624573271,"filename":"image_23012025_10_27_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0deb01998fa6fcd9aa45b6cf8ea0ec62.jpg","text":"TemporaryFile(/tmp/multipartBody519991326952145240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624573271,"filename":"image_23012025_10_27_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fafa3b5a07bdde405805f579c31b119b.jpg","text":"TemporaryFile(/tmp/multipartBody2050576791959989050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624573271,"filename":"image_23012025_10_27_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ebc59d5c1442566393dcb20b0c6bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody3987329102070528359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624573271,"filename":"image_23012025_10_28_16_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330798449","file1":"1330798446","file0":"1330798443","file4":"1330798453","file5":"1330798454","file3":"1330798452"},"map_files_photo_id_array":[{"photo_id":"1330798454","filename":"file5"},{"photo_id":"1330798449","filename":"file2"},{"photo_id":"1330798453","filename":"file4"},{"photo_id":"1330798446","filename":"file1"},{"photo_id":"1330798443","filename":"file0"},{"photo_id":"1330798452","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330798453":["hashtag1","hashtag2"]},{"1330798443":["hashtag1","hashtag2"]},{"1330798452":["hashtag1","hashtag2"]},{"1330798446":["hashtag1","hashtag2"]},{"1330798449":["hashtag1","hashtag2"]},{"1330798454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330798453, 1330798443, 1330798452, 1330798446, 1330798449, 1330798454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36109709739685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:29:32.500869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_26_10356.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_37_10304.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_46_9329.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_56_10332.jpg', '/home/pi/Desktop/images/23012025/10/28/image_23012025_10_29_07_10360.jpg', '/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_16_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_26_10356.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_37_10304.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_46_9329.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_28_56_10332.jpg
/home/pi/Desktop/images/23012025/10/28/image_23012025_10_29_07_10360.jpg
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_16_9328.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":["1330798489","1330798491","1330798484","1330798487","1330798481","1330798475"],"photo_ids_order":["1330798475","1330798481","1330798484","1330798487","1330798489","1330798491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6a8ea893b5124ff2ca4ed52fc6ce238.jpg","text":"TemporaryFile(/tmp/multipartBody3620427865268965048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624633379,"filename":"image_23012025_10_29_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dca40f6f8625d2a3f757abafe97eca2e.jpg","text":"TemporaryFile(/tmp/multipartBody3614101234844247998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624633379,"filename":"image_23012025_10_29_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/939da4182b42cba5b3135ef5d6abeabd.jpg","text":"TemporaryFile(/tmp/multipartBody2041422748528407143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624633379,"filename":"image_23012025_10_28_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20b3a586e7e8beb34a99e7a7c21e7d62.jpg","text":"TemporaryFile(/tmp/multipartBody2363274807778417351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624633379,"filename":"image_23012025_10_28_56_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f9519536037598698b5616a35b83509.jpg","text":"TemporaryFile(/tmp/multipartBody1808455663244765017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624633379,"filename":"image_23012025_10_28_37_10304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49909c19bdc34b8e388dee6ee43205f2.jpg","text":"TemporaryFile(/tmp/multipartBody8467539222752700180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624633379,"filename":"image_23012025_10_28_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330798484","file1":"1330798481","file0":"1330798475","file4":"1330798489","file5":"1330798491","file3":"1330798487"},"map_files_photo_id_array":[{"photo_id":"1330798491","filename":"file5"},{"photo_id":"1330798484","filename":"file2"},{"photo_id":"1330798489","filename":"file4"},{"photo_id":"1330798481","filename":"file1"},{"photo_id":"1330798475","filename":"file0"},{"photo_id":"1330798487","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330798489":["hashtag1","hashtag2"]},{"1330798491":["hashtag1","hashtag2"]},{"1330798484":["hashtag1","hashtag2"]},{"1330798487":["hashtag1","hashtag2"]},{"1330798481":["hashtag1","hashtag2"]},{"1330798475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330798489, 1330798491, 1330798484, 1330798487, 1330798481, 1330798475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56307411193848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:30:32.725694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_27_10384.jpg', '/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_36_9372.jpg', '/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_46_10414.jpg', '/home/pi/Desktop/images/23012025/10/29/image_23012025_10_30_06_9422.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_17_10402.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_26_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_27_10384.jpg
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_36_9372.jpg
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_29_46_10414.jpg
/home/pi/Desktop/images/23012025/10/29/image_23012025_10_30_06_9422.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_17_10402.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_26_9325.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":["1330798612","1330798609","1330798600","1330798596","1330798605","1330798614"],"photo_ids_order":["1330798596","1330798600","1330798605","1330798609","1330798612","1330798614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb8bcb1eeda09b879eb6b055397387ba.jpg","text":"TemporaryFile(/tmp/multipartBody7172009046486315118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624693618,"filename":"image_23012025_10_30_17_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a3f953c2f62762f4a32838a38cf72fd.jpg","text":"TemporaryFile(/tmp/multipartBody5496476122443230294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624693618,"filename":"image_23012025_10_30_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c76036123ea25c29470312754f5d9f6.jpg","text":"TemporaryFile(/tmp/multipartBody697928392650933290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624693618,"filename":"image_23012025_10_29_36_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf7e62ddf0aecefd9b1bfc54ca44d502.jpg","text":"TemporaryFile(/tmp/multipartBody23759861035286316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624693618,"filename":"image_23012025_10_29_27_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a81f69007b611e19498c637a1ea5f71c.jpg","text":"TemporaryFile(/tmp/multipartBody5567863944727461933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624693618,"filename":"image_23012025_10_29_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce2c44b7b84d7af0394c196b933424b6.jpg","text":"TemporaryFile(/tmp/multipartBody2908314281790057135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624693618,"filename":"image_23012025_10_30_26_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330798605","file1":"1330798600","file0":"1330798596","file4":"1330798612","file5":"1330798614","file3":"1330798609"},"map_files_photo_id_array":[{"photo_id":"1330798614","filename":"file5"},{"photo_id":"1330798605","filename":"file2"},{"photo_id":"1330798612","filename":"file4"},{"photo_id":"1330798600","filename":"file1"},{"photo_id":"1330798596","filename":"file0"},{"photo_id":"1330798609","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330798612":["hashtag1","hashtag2"]},{"1330798609":["hashtag1","hashtag2"]},{"1330798600":["hashtag1","hashtag2"]},{"1330798596":["hashtag1","hashtag2"]},{"1330798605":["hashtag1","hashtag2"]},{"1330798614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330798612, 1330798609, 1330798600, 1330798596, 1330798605, 1330798614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65911531448364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:31:32.976254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_36_10321.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_47_10337.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_56_9350.jpg', '/home/pi/Desktop/images/23012025/10/30/image_23012025_10_31_06_10411.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_17_10338.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_26_9392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_36_10321.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_47_10337.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_30_56_9350.jpg
/home/pi/Desktop/images/23012025/10/30/image_23012025_10_31_06_10411.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_17_10338.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_26_9392.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":["1330798645","1330798734","1330798737","1330798664","1330798688","1330798658"],"photo_ids_order":["1330798645","1330798658","1330798664","1330798688","1330798734","1330798737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3d89a52adb6f909d6ffc6a6438d56d6.jpg","text":"TemporaryFile(/tmp/multipartBody3703391254104452399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624753862,"filename":"image_23012025_10_30_36_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aad5ce198125ce47cd765df34f6e57cb.jpg","text":"TemporaryFile(/tmp/multipartBody3171503444594588684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624753862,"filename":"image_23012025_10_31_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/753a2ccd7ee8a3b7d71773d1eaf79a99.jpg","text":"TemporaryFile(/tmp/multipartBody9084645165488787026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624753862,"filename":"image_23012025_10_31_26_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46812f2575ec3bd227d57f3e26d27f3a.jpg","text":"TemporaryFile(/tmp/multipartBody6939703790058127148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624753862,"filename":"image_23012025_10_30_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5af16c8423947a857efe6703d741ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6905577196611972574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624753862,"filename":"image_23012025_10_31_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29c555401ec84c2a62b42a608fbce3aa.jpg","text":"TemporaryFile(/tmp/multipartBody4981812595265993379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624753862,"filename":"image_23012025_10_30_47_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330798664","file1":"1330798658","file0":"1330798645","file4":"1330798734","file5":"1330798737","file3":"1330798688"},"map_files_photo_id_array":[{"photo_id":"1330798737","filename":"file5"},{"photo_id":"1330798664","filename":"file2"},{"photo_id":"1330798734","filename":"file4"},{"photo_id":"1330798658","filename":"file1"},{"photo_id":"1330798645","filename":"file0"},{"photo_id":"1330798688","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330798645":["hashtag1","hashtag2"]},{"1330798734":["hashtag1","hashtag2"]},{"1330798737":["hashtag1","hashtag2"]},{"1330798664":["hashtag1","hashtag2"]},{"1330798688":["hashtag1","hashtag2"]},{"1330798658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330798645, 1330798734, 1330798737, 1330798664, 1330798688, 1330798658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.92064118385315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:32:32.174375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_36_10331.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_47_10361.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_56_9437.jpg', '/home/pi/Desktop/images/23012025/10/31/image_23012025_10_32_07_10345.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_16_9356.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_26_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_36_10331.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_47_10361.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_31_56_9437.jpg
/home/pi/Desktop/images/23012025/10/31/image_23012025_10_32_07_10345.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_16_9356.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_26_10342.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":["1330798993","1330798910","1330798918","1330798857","1330798997","1330798925"],"photo_ids_order":["1330798857","1330798910","1330798918","1330798925","1330798993","1330798997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffa46e51524315b0a53f6104996ae789.jpg","text":"TemporaryFile(/tmp/multipartBody7411966206575274297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624813085,"filename":"image_23012025_10_32_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1a02abe47a77eba77f457c11688e86c.jpg","text":"TemporaryFile(/tmp/multipartBody1621066815731671378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624813085,"filename":"image_23012025_10_31_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7196265e617a9f83a1644f05f4460a5e.jpg","text":"TemporaryFile(/tmp/multipartBody6472483520835906382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624813085,"filename":"image_23012025_10_31_56_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d496c000f125ab94b15ee02b9dc71e7f.jpg","text":"TemporaryFile(/tmp/multipartBody565600508670013483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624813085,"filename":"image_23012025_10_31_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7171f624cd40dc151090a3e3fc23f477.jpg","text":"TemporaryFile(/tmp/multipartBody4073715862991820108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624813085,"filename":"image_23012025_10_32_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaa7fa2cf033ab627c65b47a923fabfb.jpg","text":"TemporaryFile(/tmp/multipartBody1663354100046702090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624813085,"filename":"image_23012025_10_32_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330798918","file1":"1330798910","file0":"1330798857","file4":"1330798993","file5":"1330798997","file3":"1330798925"},"map_files_photo_id_array":[{"photo_id":"1330798997","filename":"file5"},{"photo_id":"1330798918","filename":"file2"},{"photo_id":"1330798993","filename":"file4"},{"photo_id":"1330798910","filename":"file1"},{"photo_id":"1330798857","filename":"file0"},{"photo_id":"1330798925","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330798993":["hashtag1","hashtag2"]},{"1330798910":["hashtag1","hashtag2"]},{"1330798918":["hashtag1","hashtag2"]},{"1330798857":["hashtag1","hashtag2"]},{"1330798997":["hashtag1","hashtag2"]},{"1330798925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330798993, 1330798910, 1330798918, 1330798857, 1330798997, 1330798925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25072431564331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:33:32.364787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_37_10360.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_46_9341.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_56_10340.jpg', '/home/pi/Desktop/images/23012025/10/32/image_23012025_10_33_07_10340.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_16_9319.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_37_10360.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_46_9341.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_32_56_10340.jpg
/home/pi/Desktop/images/23012025/10/32/image_23012025_10_33_07_10340.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_16_9319.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_26_10350.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":["1330799131","1330799104","1330799107","1330799085","1330799096","1330799083"],"photo_ids_order":["1330799083","1330799085","1330799096","1330799104","1330799107","1330799131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8266b3ab51d6a58de62ee543d081eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody5731861874350722741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624873254,"filename":"image_23012025_10_33_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1ff5d832e04c9d7b2bfcff9a1498f95.jpg","text":"TemporaryFile(/tmp/multipartBody4178146741424682752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624873254,"filename":"image_23012025_10_33_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f34e22da051d65670742d01c9ffba5e.jpg","text":"TemporaryFile(/tmp/multipartBody3057479413210686828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624873254,"filename":"image_23012025_10_33_16_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50aadaa0fa70e32c2265f7270cf3471f.jpg","text":"TemporaryFile(/tmp/multipartBody4739161202065046145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624873254,"filename":"image_23012025_10_32_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90929b411f9e0c0d84f559351f029d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4674657384824158539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624873254,"filename":"image_23012025_10_32_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc2906aca7b53359b3ce5ac9e2015ef9.jpg","text":"TemporaryFile(/tmp/multipartBody5350453041520640869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624873254,"filename":"image_23012025_10_32_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330799096","file1":"1330799085","file0":"1330799083","file4":"1330799107","file5":"1330799131","file3":"1330799104"},"map_files_photo_id_array":[{"photo_id":"1330799131","filename":"file5"},{"photo_id":"1330799096","filename":"file2"},{"photo_id":"1330799107","filename":"file4"},{"photo_id":"1330799085","filename":"file1"},{"photo_id":"1330799083","filename":"file0"},{"photo_id":"1330799104","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330799131":["hashtag1","hashtag2"]},{"1330799104":["hashtag1","hashtag2"]},{"1330799107":["hashtag1","hashtag2"]},{"1330799085":["hashtag1","hashtag2"]},{"1330799096":["hashtag1","hashtag2"]},{"1330799083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330799131, 1330799104, 1330799107, 1330799085, 1330799096, 1330799083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49042773246765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:34:32.591354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_37_10339.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_46_9444.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_56_10409.jpg', '/home/pi/Desktop/images/23012025/10/33/image_23012025_10_34_07_10341.jpg', '/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_27_10330.jpg', '/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_36_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_37_10339.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_46_9444.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_33_56_10409.jpg
/home/pi/Desktop/images/23012025/10/33/image_23012025_10_34_07_10341.jpg
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_27_10330.jpg
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_36_9442.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":["1330799161","1330799155","1330799158","1330799178","1330799330","1330799152"],"photo_ids_order":["1330799152","1330799155","1330799158","1330799161","1330799178","1330799330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1fbb7518c227b05ff47b50e912e242b.jpg","text":"TemporaryFile(/tmp/multipartBody302497182040532609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624933493,"filename":"image_23012025_10_34_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32314e35ca0f15dec9e3ec2b058c03e0.jpg","text":"TemporaryFile(/tmp/multipartBody6761177996777093752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624933493,"filename":"image_23012025_10_33_46_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88aff9ec48dc201ddd552585b4335719.jpg","text":"TemporaryFile(/tmp/multipartBody8336164849644346736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624933493,"filename":"image_23012025_10_33_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bda6f8d2eb9a0581c973eff0d400b43.jpg","text":"TemporaryFile(/tmp/multipartBody4442382110639295597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624933493,"filename":"image_23012025_10_34_27_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b87babb9d9aa639e788e147c0d9c862c.jpg","text":"TemporaryFile(/tmp/multipartBody1762772470616956664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624933493,"filename":"image_23012025_10_34_36_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db6a11f918b58823c513e055de10534d.jpg","text":"TemporaryFile(/tmp/multipartBody7392901076399026328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624933493,"filename":"image_23012025_10_33_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330799158","file1":"1330799155","file0":"1330799152","file4":"1330799178","file5":"1330799330","file3":"1330799161"},"map_files_photo_id_array":[{"photo_id":"1330799330","filename":"file5"},{"photo_id":"1330799158","filename":"file2"},{"photo_id":"1330799178","filename":"file4"},{"photo_id":"1330799155","filename":"file1"},{"photo_id":"1330799152","filename":"file0"},{"photo_id":"1330799161","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330799161":["hashtag1","hashtag2"]},{"1330799155":["hashtag1","hashtag2"]},{"1330799158":["hashtag1","hashtag2"]},{"1330799178":["hashtag1","hashtag2"]},{"1330799330":["hashtag1","hashtag2"]},{"1330799152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330799161, 1330799155, 1330799158, 1330799178, 1330799330, 1330799152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.494059801101685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:35:32.735664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_46_10462.jpg', '/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_57_10339.jpg', '/home/pi/Desktop/images/23012025/10/34/image_23012025_10_35_06_9382.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_17_10315.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_26_9337.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_36_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_46_10462.jpg
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_34_57_10339.jpg
/home/pi/Desktop/images/23012025/10/34/image_23012025_10_35_06_9382.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_17_10315.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_26_9337.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_36_10338.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":["1330799722","1330799936","1330799831","1330799927","1330799599","1330799968"],"photo_ids_order":["1330799599","1330799722","1330799831","1330799927","1330799936","1330799968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68ac6f8c7527691120b3ab2c54f94ddc.jpg","text":"TemporaryFile(/tmp/multipartBody5660554255261838444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993642,"filename":"image_23012025_10_34_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b941d4a397db82be89cefc2b31c31998.jpg","text":"TemporaryFile(/tmp/multipartBody8646981090638249519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993642,"filename":"image_23012025_10_35_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cf8a744e872f29571755118b1be5b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6740422869268935919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993642,"filename":"image_23012025_10_35_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a937c6fc35e1ac3497bb2024a0c2ef61.jpg","text":"TemporaryFile(/tmp/multipartBody5893921764209766358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993642,"filename":"image_23012025_10_35_17_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68309a6dc7c02638c687b8c6b7c7c620.jpg","text":"TemporaryFile(/tmp/multipartBody1957351796394412982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993642,"filename":"image_23012025_10_34_46_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7790c21b2ab989b529afd20c6eff1c3.jpg","text":"TemporaryFile(/tmp/multipartBody50351891802404657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737624993642,"filename":"image_23012025_10_35_36_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330799831","file1":"1330799722","file0":"1330799599","file4":"1330799936","file5":"1330799968","file3":"1330799927"},"map_files_photo_id_array":[{"photo_id":"1330799968","filename":"file5"},{"photo_id":"1330799831","filename":"file2"},{"photo_id":"1330799936","filename":"file4"},{"photo_id":"1330799722","filename":"file1"},{"photo_id":"1330799599","filename":"file0"},{"photo_id":"1330799927","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330799722":["hashtag1","hashtag2"]},{"1330799936":["hashtag1","hashtag2"]},{"1330799831":["hashtag1","hashtag2"]},{"1330799927":["hashtag1","hashtag2"]},{"1330799599":["hashtag1","hashtag2"]},{"1330799968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330799722, 1330799936, 1330799831, 1330799927, 1330799599, 1330799968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.0065541267395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:36:32.969061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_47_10356.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_56_9483.jpg', '/home/pi/Desktop/images/23012025/10/35/image_23012025_10_36_06_10357.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_17_10336.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_26_9433.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_36_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_47_10356.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_35_56_9483.jpg
/home/pi/Desktop/images/23012025/10/35/image_23012025_10_36_06_10357.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_17_10336.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_26_9433.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_36_10321.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":["1330800050","1330800044","1330800047","1330800037","1330800052","1330800040"],"photo_ids_order":["1330800037","1330800040","1330800044","1330800047","1330800050","1330800052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec477585f1d1197314ab3b5a320d39a7.jpg","text":"TemporaryFile(/tmp/multipartBody1660919448096741496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053868,"filename":"image_23012025_10_36_26_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73b1184130ed9356c655b27ffdd2ef9e.jpg","text":"TemporaryFile(/tmp/multipartBody6978844773148562898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053868,"filename":"image_23012025_10_36_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eec88473d860dd388998e5f5d479239.jpg","text":"TemporaryFile(/tmp/multipartBody2818474621769363914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053868,"filename":"image_23012025_10_36_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b58161ea59d7e77a4da049324337d6bf.jpg","text":"TemporaryFile(/tmp/multipartBody2830229054527453383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053868,"filename":"image_23012025_10_35_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99b63839a61a804ce2c1f60f244446aa.jpg","text":"TemporaryFile(/tmp/multipartBody3201083784137693400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053868,"filename":"image_23012025_10_36_36_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/307f66b1052b7dfdc4ca15a23506b2aa.jpg","text":"TemporaryFile(/tmp/multipartBody6179547389302049624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625053868,"filename":"image_23012025_10_35_56_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800044","file1":"1330800040","file0":"1330800037","file4":"1330800050","file5":"1330800052","file3":"1330800047"},"map_files_photo_id_array":[{"photo_id":"1330800052","filename":"file5"},{"photo_id":"1330800044","filename":"file2"},{"photo_id":"1330800050","filename":"file4"},{"photo_id":"1330800040","filename":"file1"},{"photo_id":"1330800037","filename":"file0"},{"photo_id":"1330800047","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800050":["hashtag1","hashtag2"]},{"1330800044":["hashtag1","hashtag2"]},{"1330800047":["hashtag1","hashtag2"]},{"1330800037":["hashtag1","hashtag2"]},{"1330800052":["hashtag1","hashtag2"]},{"1330800040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800050, 1330800044, 1330800047, 1330800037, 1330800052, 1330800040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70851683616638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:37:32.245022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_47_10340.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_56_9339.jpg', '/home/pi/Desktop/images/23012025/10/36/image_23012025_10_37_06_10338.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_17_10339.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_26_9383.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_37_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_47_10340.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_36_56_9339.jpg
/home/pi/Desktop/images/23012025/10/36/image_23012025_10_37_06_10338.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_17_10339.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_26_9383.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_37_10338.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":["1330800117","1330800105","1330800113","1330800082","1330800127","1330800109"],"photo_ids_order":["1330800082","1330800105","1330800109","1330800113","1330800117","1330800127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a3d9f0e347fa2c503186bcf6bb5263e.jpg","text":"TemporaryFile(/tmp/multipartBody9056202553172245999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113173,"filename":"image_23012025_10_37_26_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce7e4b6113000d17a2224de39e61eca4.jpg","text":"TemporaryFile(/tmp/multipartBody2302023123016748111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113173,"filename":"image_23012025_10_36_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7d116a3471d1c02fc992c8011b349f8.jpg","text":"TemporaryFile(/tmp/multipartBody8759532073917325997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113173,"filename":"image_23012025_10_37_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbdb3485d265dc4e2b289173ef6fcdef.jpg","text":"TemporaryFile(/tmp/multipartBody8069287082565332888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113173,"filename":"image_23012025_10_36_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/785879ff72f4dd807e6e64831c9f7daa.jpg","text":"TemporaryFile(/tmp/multipartBody6941374001270209743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113173,"filename":"image_23012025_10_37_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8b8d9049807a8e1c3b30f33abeb4450.jpg","text":"TemporaryFile(/tmp/multipartBody7013445638544483204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625113173,"filename":"image_23012025_10_37_06_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800109","file1":"1330800105","file0":"1330800082","file4":"1330800117","file5":"1330800127","file3":"1330800113"},"map_files_photo_id_array":[{"photo_id":"1330800127","filename":"file5"},{"photo_id":"1330800109","filename":"file2"},{"photo_id":"1330800117","filename":"file4"},{"photo_id":"1330800105","filename":"file1"},{"photo_id":"1330800082","filename":"file0"},{"photo_id":"1330800113","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800117":["hashtag1","hashtag2"]},{"1330800105":["hashtag1","hashtag2"]},{"1330800113":["hashtag1","hashtag2"]},{"1330800082":["hashtag1","hashtag2"]},{"1330800127":["hashtag1","hashtag2"]},{"1330800109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800117, 1330800105, 1330800113, 1330800082, 1330800127, 1330800109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35656237602234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:38:32.320944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_46_9336.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_56_10432.jpg', '/home/pi/Desktop/images/23012025/10/37/image_23012025_10_38_07_10340.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_16_9384.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_26_10439.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_37_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_46_9336.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_37_56_10432.jpg
/home/pi/Desktop/images/23012025/10/37/image_23012025_10_38_07_10340.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_16_9384.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_26_10439.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_37_10342.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":["1330800213","1330800201","1330800212","1330800148","1330800205","1330800208"],"photo_ids_order":["1330800148","1330800201","1330800205","1330800208","1330800212","1330800213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/726fbdf290179bcac33f058ea874e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody3107777274373714903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625173191,"filename":"image_23012025_10_38_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8986609a79b7901905f58773e58b1ec8.jpg","text":"TemporaryFile(/tmp/multipartBody8960135599031877867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625173191,"filename":"image_23012025_10_37_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94754ef2b66132fb1767f1c518de35ca.jpg","text":"TemporaryFile(/tmp/multipartBody8888792111913759886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625173191,"filename":"image_23012025_10_38_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b87e72e4da29c9af856ee3b2fdd0250b.jpg","text":"TemporaryFile(/tmp/multipartBody4654867078680819571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625173191,"filename":"image_23012025_10_37_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96bbe0b86f429ed39694767c78dec489.jpg","text":"TemporaryFile(/tmp/multipartBody7262206820925159482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625173191,"filename":"image_23012025_10_38_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a14c5d221a7fb2ad2e2b14d6d0a52168.jpg","text":"TemporaryFile(/tmp/multipartBody6263671816175979265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625173191,"filename":"image_23012025_10_38_16_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800205","file1":"1330800201","file0":"1330800148","file4":"1330800212","file5":"1330800213","file3":"1330800208"},"map_files_photo_id_array":[{"photo_id":"1330800213","filename":"file5"},{"photo_id":"1330800205","filename":"file2"},{"photo_id":"1330800212","filename":"file4"},{"photo_id":"1330800201","filename":"file1"},{"photo_id":"1330800148","filename":"file0"},{"photo_id":"1330800208","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800213":["hashtag1","hashtag2"]},{"1330800201":["hashtag1","hashtag2"]},{"1330800212":["hashtag1","hashtag2"]},{"1330800148":["hashtag1","hashtag2"]},{"1330800205":["hashtag1","hashtag2"]},{"1330800208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800213, 1330800201, 1330800212, 1330800148, 1330800205, 1330800208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.821739196777344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:39:32.527149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_46_9352.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_57_10343.jpg', '/home/pi/Desktop/images/23012025/10/38/image_23012025_10_39_06_9375.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_16_10331.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_27_10403.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_36_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_46_9352.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_38_57_10343.jpg
/home/pi/Desktop/images/23012025/10/38/image_23012025_10_39_06_9375.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_16_10331.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_27_10403.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_36_9409.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":["1330800225","1330800245","1330800230","1330800221","1330800235","1330800250"],"photo_ids_order":["1330800221","1330800225","1330800230","1330800235","1330800245","1330800250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1c7b6804368662b2c43d8effd9b3203.jpg","text":"TemporaryFile(/tmp/multipartBody4486785829275219115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625233426,"filename":"image_23012025_10_38_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ef4e12ea03c5fac3aaeea03551575d0.jpg","text":"TemporaryFile(/tmp/multipartBody4789003671361800298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625233426,"filename":"image_23012025_10_39_27_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2a8edf13b7e656fe477ee57ba336662.jpg","text":"TemporaryFile(/tmp/multipartBody7983048128396144987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625233426,"filename":"image_23012025_10_39_06_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/699f4f42ae74813caef2f5576341d987.jpg","text":"TemporaryFile(/tmp/multipartBody6228885964448606647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625233426,"filename":"image_23012025_10_38_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e8e68d87f8e3572d5e04583f84fc895.jpg","text":"TemporaryFile(/tmp/multipartBody8450982677668655012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625233426,"filename":"image_23012025_10_39_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa3e950c0448c4fbaa7c4f191f0be133.jpg","text":"TemporaryFile(/tmp/multipartBody1473628667623876659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625233426,"filename":"image_23012025_10_39_36_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800230","file1":"1330800225","file0":"1330800221","file4":"1330800245","file5":"1330800250","file3":"1330800235"},"map_files_photo_id_array":[{"photo_id":"1330800250","filename":"file5"},{"photo_id":"1330800230","filename":"file2"},{"photo_id":"1330800245","filename":"file4"},{"photo_id":"1330800225","filename":"file1"},{"photo_id":"1330800221","filename":"file0"},{"photo_id":"1330800235","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800225":["hashtag1","hashtag2"]},{"1330800245":["hashtag1","hashtag2"]},{"1330800230":["hashtag1","hashtag2"]},{"1330800221":["hashtag1","hashtag2"]},{"1330800235":["hashtag1","hashtag2"]},{"1330800250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800225, 1330800245, 1330800230, 1330800221, 1330800235, 1330800250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.56524896621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:40:32.718243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_46_10352.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_57_10361.jpg', '/home/pi/Desktop/images/23012025/10/39/image_23012025_10_40_06_9419.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_17_10421.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_26_9353.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_36_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_46_10352.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_39_57_10361.jpg
/home/pi/Desktop/images/23012025/10/39/image_23012025_10_40_06_9419.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_17_10421.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_26_9353.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_36_10333.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":["1330800479","1330800504","1330800527","1330800512","1330800648","1330800555"],"photo_ids_order":["1330800479","1330800504","1330800512","1330800527","1330800555","1330800648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72aa7aa9524affcd34634c91015cf82f.jpg","text":"TemporaryFile(/tmp/multipartBody7669213770939262873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625293674,"filename":"image_23012025_10_39_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03e450f2abc6e0f7d5671414a057f384.jpg","text":"TemporaryFile(/tmp/multipartBody4874415064562450246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625293674,"filename":"image_23012025_10_39_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30391481f44b406c93a85480007d5259.jpg","text":"TemporaryFile(/tmp/multipartBody7067331729802298012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625293674,"filename":"image_23012025_10_40_17_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/559aad3fb4dbfb1f6c3354c4297cc37b.jpg","text":"TemporaryFile(/tmp/multipartBody6564185413112354606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625293674,"filename":"image_23012025_10_40_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe9ad9d89ed4ce2a1bc7b28081368251.jpg","text":"TemporaryFile(/tmp/multipartBody4889156252296943475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625293674,"filename":"image_23012025_10_40_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be2034952bf042ddab72cbe3f6f96771.jpg","text":"TemporaryFile(/tmp/multipartBody9186641996704169866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625293674,"filename":"image_23012025_10_40_26_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800512","file1":"1330800504","file0":"1330800479","file4":"1330800555","file5":"1330800648","file3":"1330800527"},"map_files_photo_id_array":[{"photo_id":"1330800648","filename":"file5"},{"photo_id":"1330800512","filename":"file2"},{"photo_id":"1330800555","filename":"file4"},{"photo_id":"1330800504","filename":"file1"},{"photo_id":"1330800479","filename":"file0"},{"photo_id":"1330800527","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800479":["hashtag1","hashtag2"]},{"1330800504":["hashtag1","hashtag2"]},{"1330800527":["hashtag1","hashtag2"]},{"1330800512":["hashtag1","hashtag2"]},{"1330800648":["hashtag1","hashtag2"]},{"1330800555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800479, 1330800504, 1330800527, 1330800512, 1330800648, 1330800555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49796533584595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:41:33.073047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_47_10363.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_56_9468.jpg', '/home/pi/Desktop/images/23012025/10/40/image_23012025_10_41_07_10447.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_16_9323.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_26_10404.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_37_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_47_10363.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_40_56_9468.jpg
/home/pi/Desktop/images/23012025/10/40/image_23012025_10_41_07_10447.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_16_9323.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_26_10404.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_37_10366.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":["1330800720","1330800695","1330800713","1330800704","1330800709","1330800699"],"photo_ids_order":["1330800695","1330800699","1330800704","1330800709","1330800713","1330800720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ec5022dc8381e0d78eeb7410a9d30dc.jpg","text":"TemporaryFile(/tmp/multipartBody8922446159057294078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625353972,"filename":"image_23012025_10_41_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2628a0a774211423c51636a8e8217cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4546428304234149587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625353972,"filename":"image_23012025_10_40_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aabfa4126b2eb54a73f7acf5e4efe109.jpg","text":"TemporaryFile(/tmp/multipartBody1174739967431634999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625353972,"filename":"image_23012025_10_41_26_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db77b081b7795f18974177d455f95e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2146845508526220392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625353972,"filename":"image_23012025_10_41_07_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7012eb2a784c37819df19cecc5ff17b9.jpg","text":"TemporaryFile(/tmp/multipartBody5055284516954863598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625353972,"filename":"image_23012025_10_41_16_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70866c430d566d8dff880074bb8cf45a.jpg","text":"TemporaryFile(/tmp/multipartBody1670597956442282480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625353972,"filename":"image_23012025_10_40_56_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800704","file1":"1330800699","file0":"1330800695","file4":"1330800713","file5":"1330800720","file3":"1330800709"},"map_files_photo_id_array":[{"photo_id":"1330800720","filename":"file5"},{"photo_id":"1330800704","filename":"file2"},{"photo_id":"1330800713","filename":"file4"},{"photo_id":"1330800699","filename":"file1"},{"photo_id":"1330800695","filename":"file0"},{"photo_id":"1330800709","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800720":["hashtag1","hashtag2"]},{"1330800695":["hashtag1","hashtag2"]},{"1330800713":["hashtag1","hashtag2"]},{"1330800704":["hashtag1","hashtag2"]},{"1330800709":["hashtag1","hashtag2"]},{"1330800699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800720, 1330800695, 1330800713, 1330800704, 1330800709, 1330800699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25287055969238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:42:32.244263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_46_9490.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_57_10355.jpg', '/home/pi/Desktop/images/23012025/10/41/image_23012025_10_42_07_10329.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_16_9381.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_27_10350.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_36_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_46_9490.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_41_57_10355.jpg
/home/pi/Desktop/images/23012025/10/41/image_23012025_10_42_07_10329.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_16_9381.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_27_10350.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_36_9452.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":["1330800762","1330800752","1330800755","1330800743","1330800766","1330800748"],"photo_ids_order":["1330800743","1330800748","1330800752","1330800755","1330800762","1330800766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc08283228464e28775eacc893391c89.jpg","text":"TemporaryFile(/tmp/multipartBody5395299522709532846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625413147,"filename":"image_23012025_10_42_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb4ab0d7c4bee56cfc15c4089fdab0b6.jpg","text":"TemporaryFile(/tmp/multipartBody3796832790900207301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625413147,"filename":"image_23012025_10_42_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc033d1688fcd088539d96bc0a9abfc8.jpg","text":"TemporaryFile(/tmp/multipartBody6459418912534575554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625413147,"filename":"image_23012025_10_42_16_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b9a5b49e6a871e4412ef9f8f1fdf49e.jpg","text":"TemporaryFile(/tmp/multipartBody4231960645199388141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625413147,"filename":"image_23012025_10_41_46_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce96ed5d064ad321e56b749cfb750392.jpg","text":"TemporaryFile(/tmp/multipartBody5587948889326579336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625413147,"filename":"image_23012025_10_42_36_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04dface3433cd05f670aaaf7e87296c4.jpg","text":"TemporaryFile(/tmp/multipartBody5161181435718153858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625413147,"filename":"image_23012025_10_41_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800752","file1":"1330800748","file0":"1330800743","file4":"1330800762","file5":"1330800766","file3":"1330800755"},"map_files_photo_id_array":[{"photo_id":"1330800766","filename":"file5"},{"photo_id":"1330800752","filename":"file2"},{"photo_id":"1330800762","filename":"file4"},{"photo_id":"1330800748","filename":"file1"},{"photo_id":"1330800743","filename":"file0"},{"photo_id":"1330800755","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800762":["hashtag1","hashtag2"]},{"1330800752":["hashtag1","hashtag2"]},{"1330800755":["hashtag1","hashtag2"]},{"1330800743":["hashtag1","hashtag2"]},{"1330800766":["hashtag1","hashtag2"]},{"1330800748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800762, 1330800752, 1330800755, 1330800743, 1330800766, 1330800748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2891902923584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:43:32.508820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_46_10413.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_57_10330.jpg', '/home/pi/Desktop/images/23012025/10/42/image_23012025_10_43_06_9330.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_16_10348.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_27_10389.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_36_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_46_10413.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_42_57_10330.jpg
/home/pi/Desktop/images/23012025/10/42/image_23012025_10_43_06_9330.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_16_10348.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_27_10389.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_36_9412.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":["1330800801","1330800819","1330800807","1330800812","1330800824","1330800829"],"photo_ids_order":["1330800801","1330800807","1330800812","1330800819","1330800824","1330800829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1d8f3486060ba751e5d07969b0b9f19.jpg","text":"TemporaryFile(/tmp/multipartBody7982741869661964342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625473390,"filename":"image_23012025_10_42_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8dd6e3cffb7ad943ae37d798af64e06.jpg","text":"TemporaryFile(/tmp/multipartBody8875950088584932954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625473390,"filename":"image_23012025_10_43_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e6366053c272af75d0875e34d549fd3.jpg","text":"TemporaryFile(/tmp/multipartBody8419717643100337559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625473390,"filename":"image_23012025_10_42_57_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/403d42cb828cd0a5b69d2b64c63a27da.jpg","text":"TemporaryFile(/tmp/multipartBody7382195112367815664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625473390,"filename":"image_23012025_10_43_06_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31c94ec93847ef8f88e242b751cef596.jpg","text":"TemporaryFile(/tmp/multipartBody5844065789275000787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625473390,"filename":"image_23012025_10_43_27_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c75d78da09629959e81defe388f3d900.jpg","text":"TemporaryFile(/tmp/multipartBody6534810278032221781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625473390,"filename":"image_23012025_10_43_36_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800812","file1":"1330800807","file0":"1330800801","file4":"1330800824","file5":"1330800829","file3":"1330800819"},"map_files_photo_id_array":[{"photo_id":"1330800829","filename":"file5"},{"photo_id":"1330800812","filename":"file2"},{"photo_id":"1330800824","filename":"file4"},{"photo_id":"1330800807","filename":"file1"},{"photo_id":"1330800801","filename":"file0"},{"photo_id":"1330800819","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800801":["hashtag1","hashtag2"]},{"1330800819":["hashtag1","hashtag2"]},{"1330800807":["hashtag1","hashtag2"]},{"1330800812":["hashtag1","hashtag2"]},{"1330800824":["hashtag1","hashtag2"]},{"1330800829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800801, 1330800819, 1330800807, 1330800812, 1330800824, 1330800829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.318541288375854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:44:32.646346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_47_10349.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_56_9328.jpg', '/home/pi/Desktop/images/23012025/10/43/image_23012025_10_44_06_10447.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_17_10340.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_26_9437.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_36_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_47_10349.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_43_56_9328.jpg
/home/pi/Desktop/images/23012025/10/43/image_23012025_10_44_06_10447.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_17_10340.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_26_9437.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_36_10334.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":["1330800900","1330800878","1330800902","1330800886","1330800874","1330800897"],"photo_ids_order":["1330800874","1330800878","1330800886","1330800897","1330800900","1330800902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73d90147241d737e3e86eb1b3c9d4c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1644174549294809990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625533538,"filename":"image_23012025_10_44_26_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/413cab5ec9154e07b2f67fbe475c95cf.jpg","text":"TemporaryFile(/tmp/multipartBody8091320978343582330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625533538,"filename":"image_23012025_10_43_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce3f7c80b70db123f92ab15f2675227c.jpg","text":"TemporaryFile(/tmp/multipartBody7232497156714440512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625533538,"filename":"image_23012025_10_44_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/908385ce890426c864b991d4c19aabdd.jpg","text":"TemporaryFile(/tmp/multipartBody7609586685631169751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625533538,"filename":"image_23012025_10_44_06_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86281ebf286b581975fc7cccb6136080.jpg","text":"TemporaryFile(/tmp/multipartBody4537019877989580366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625533538,"filename":"image_23012025_10_43_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c3b5f19ce32e7ae4688561e67d18bba.jpg","text":"TemporaryFile(/tmp/multipartBody6607789461702708000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625533538,"filename":"image_23012025_10_44_17_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800886","file1":"1330800878","file0":"1330800874","file4":"1330800900","file5":"1330800902","file3":"1330800897"},"map_files_photo_id_array":[{"photo_id":"1330800902","filename":"file5"},{"photo_id":"1330800886","filename":"file2"},{"photo_id":"1330800900","filename":"file4"},{"photo_id":"1330800878","filename":"file1"},{"photo_id":"1330800874","filename":"file0"},{"photo_id":"1330800897","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330800900":["hashtag1","hashtag2"]},{"1330800878":["hashtag1","hashtag2"]},{"1330800902":["hashtag1","hashtag2"]},{"1330800886":["hashtag1","hashtag2"]},{"1330800874":["hashtag1","hashtag2"]},{"1330800897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330800900, 1330800878, 1330800902, 1330800886, 1330800874, 1330800897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.574546575546265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:45:32.917656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_46_9381.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_56_10330.jpg', '/home/pi/Desktop/images/23012025/10/44/image_23012025_10_45_07_10378.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_16_9457.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_26_10402.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_37_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_46_9381.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_44_56_10330.jpg
/home/pi/Desktop/images/23012025/10/44/image_23012025_10_45_07_10378.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_16_9457.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_26_10402.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_37_10344.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":["1330801002","1330801055","1330801106","1330800979","1330800976","1330800972"],"photo_ids_order":["1330800972","1330800976","1330800979","1330801002","1330801055","1330801106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6455128521c2b3fd0d0a0601fc6cd2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6182830401178582756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593802,"filename":"image_23012025_10_45_16_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f711d572a9bc888c3aa5824cff0b6ad8.jpg","text":"TemporaryFile(/tmp/multipartBody498802787983184926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593802,"filename":"image_23012025_10_45_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6266d6a9130af799932ea3e8a190ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1656465362759912659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593802,"filename":"image_23012025_10_45_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf2a1a5ce4a9d17458e9e7be7c4536e3.jpg","text":"TemporaryFile(/tmp/multipartBody543717605489534153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593802,"filename":"image_23012025_10_45_07_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e4728d5421b98af5936912fe38c4a30.jpg","text":"TemporaryFile(/tmp/multipartBody2938322997268178823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593802,"filename":"image_23012025_10_44_56_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c3060fcca8d5c99140ed2e539034f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6982030382907117382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625593802,"filename":"image_23012025_10_44_46_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330800979","file1":"1330800976","file0":"1330800972","file4":"1330801055","file5":"1330801106","file3":"1330801002"},"map_files_photo_id_array":[{"photo_id":"1330801106","filename":"file5"},{"photo_id":"1330800979","filename":"file2"},{"photo_id":"1330801055","filename":"file4"},{"photo_id":"1330800976","filename":"file1"},{"photo_id":"1330800972","filename":"file0"},{"photo_id":"1330801002","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801002":["hashtag1","hashtag2"]},{"1330801055":["hashtag1","hashtag2"]},{"1330801106":["hashtag1","hashtag2"]},{"1330800979":["hashtag1","hashtag2"]},{"1330800976":["hashtag1","hashtag2"]},{"1330800972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801002, 1330801055, 1330801106, 1330800979, 1330800976, 1330800972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.215331077575684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:46:33.163097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_46_9323.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_56_10343.jpg', '/home/pi/Desktop/images/23012025/10/45/image_23012025_10_46_07_10353.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_16_9327.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_26_10356.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_37_10308.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_46_9323.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_45_56_10343.jpg
/home/pi/Desktop/images/23012025/10/45/image_23012025_10_46_07_10353.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_16_9327.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_26_10356.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_37_10308.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":["1330801215","1330801253","1330801231","1330801222","1330801219","1330801239"],"photo_ids_order":["1330801215","1330801219","1330801222","1330801231","1330801239","1330801253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00e32393619cfd83bd30fdb23bd017f1.jpg","text":"TemporaryFile(/tmp/multipartBody6794801286636927411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625654065,"filename":"image_23012025_10_45_46_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b86657c271eabcae72a7d29b35ccc40.jpg","text":"TemporaryFile(/tmp/multipartBody5779040036102738668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625654065,"filename":"image_23012025_10_46_37_10308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9425405ffb8a35f1ebbbf62b826c7c02.jpg","text":"TemporaryFile(/tmp/multipartBody2111235135697917699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625654065,"filename":"image_23012025_10_46_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2772048981c99871e0a8304be0bb1897.jpg","text":"TemporaryFile(/tmp/multipartBody7997875411739621441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625654065,"filename":"image_23012025_10_46_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/988c4be7fa954b4bec0914802ae06fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1885133548729061074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625654065,"filename":"image_23012025_10_45_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f65c2da9e989ca44c0e729b0d8e9b873.jpg","text":"TemporaryFile(/tmp/multipartBody2931843850680590589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625654065,"filename":"image_23012025_10_46_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801222","file1":"1330801219","file0":"1330801215","file4":"1330801239","file5":"1330801253","file3":"1330801231"},"map_files_photo_id_array":[{"photo_id":"1330801253","filename":"file5"},{"photo_id":"1330801222","filename":"file2"},{"photo_id":"1330801239","filename":"file4"},{"photo_id":"1330801219","filename":"file1"},{"photo_id":"1330801215","filename":"file0"},{"photo_id":"1330801231","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801215":["hashtag1","hashtag2"]},{"1330801253":["hashtag1","hashtag2"]},{"1330801231":["hashtag1","hashtag2"]},{"1330801222":["hashtag1","hashtag2"]},{"1330801219":["hashtag1","hashtag2"]},{"1330801239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801215, 1330801253, 1330801231, 1330801222, 1330801219, 1330801239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88304543495178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:47:32.513535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_46_9480.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_57_10364.jpg', '/home/pi/Desktop/images/23012025/10/46/image_23012025_10_47_06_9431.jpg', '/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_16_10314.jpg', '/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_27_10341.jpg', '/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_47_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_46_9480.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_46_57_10364.jpg
/home/pi/Desktop/images/23012025/10/46/image_23012025_10_47_06_9431.jpg
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_16_10314.jpg
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_27_10341.jpg
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_47_10367.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":["1330801382","1330801391","1330801427","1330801386","1330801377","1330801425"],"photo_ids_order":["1330801377","1330801382","1330801386","1330801391","1330801425","1330801427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77e8064e7272ed4cfb8674160c0de10c.jpg","text":"TemporaryFile(/tmp/multipartBody8121576404807996626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713419,"filename":"image_23012025_10_46_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3b5cd280d7c4e11c7a9ceffd4a3a218.jpg","text":"TemporaryFile(/tmp/multipartBody337560511922393082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713419,"filename":"image_23012025_10_47_16_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42f891b5499131480132da7d100da992.jpg","text":"TemporaryFile(/tmp/multipartBody4264535218726070298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713419,"filename":"image_23012025_10_47_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/470a7708876532482061590c2b02cd32.jpg","text":"TemporaryFile(/tmp/multipartBody107530126292501755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713419,"filename":"image_23012025_10_47_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6d202c7229db40f431b75480c14547b.jpg","text":"TemporaryFile(/tmp/multipartBody3558939910158374906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713419,"filename":"image_23012025_10_46_46_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b41bfb1104fb99553b303c10fd23c8bc.jpg","text":"TemporaryFile(/tmp/multipartBody5757801832091612494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625713419,"filename":"image_23012025_10_47_27_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801386","file1":"1330801382","file0":"1330801377","file4":"1330801425","file5":"1330801427","file3":"1330801391"},"map_files_photo_id_array":[{"photo_id":"1330801427","filename":"file5"},{"photo_id":"1330801386","filename":"file2"},{"photo_id":"1330801425","filename":"file4"},{"photo_id":"1330801382","filename":"file1"},{"photo_id":"1330801377","filename":"file0"},{"photo_id":"1330801391","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801382":["hashtag1","hashtag2"]},{"1330801391":["hashtag1","hashtag2"]},{"1330801427":["hashtag1","hashtag2"]},{"1330801386":["hashtag1","hashtag2"]},{"1330801377":["hashtag1","hashtag2"]},{"1330801425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801382, 1330801391, 1330801427, 1330801386, 1330801377, 1330801425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90646052360535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:48:32.626006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_56_9335.jpg', '/home/pi/Desktop/images/23012025/10/47/image_23012025_10_48_06_10367.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_17_10347.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_26_9339.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_36_10422.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_47_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_47_56_9335.jpg
/home/pi/Desktop/images/23012025/10/47/image_23012025_10_48_06_10367.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_17_10347.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_26_9339.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_36_10422.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_47_10360.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":["1330801484","1330801472","1330801489","1330801477","1330801497","1330801494"],"photo_ids_order":["1330801472","1330801477","1330801484","1330801489","1330801494","1330801497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb8bb256a6e2edfe422cf776406b2675.jpg","text":"TemporaryFile(/tmp/multipartBody8612588509358638309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625773534,"filename":"image_23012025_10_48_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10d6f80d58c69bac73d232a83ba7fefe.jpg","text":"TemporaryFile(/tmp/multipartBody8080228149482248237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625773534,"filename":"image_23012025_10_47_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c70265fedc57ad493bc534f2cd006c84.jpg","text":"TemporaryFile(/tmp/multipartBody1006147654089253354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625773534,"filename":"image_23012025_10_48_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea81e7a9f8ef44c54fb140830296bd6f.jpg","text":"TemporaryFile(/tmp/multipartBody2282142184616367477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625773534,"filename":"image_23012025_10_48_06_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94c863b986913bfbee757bf55411e9ea.jpg","text":"TemporaryFile(/tmp/multipartBody4674879620384503575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625773534,"filename":"image_23012025_10_48_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4b38a44f7985c83a6cf85cbde45c46c.jpg","text":"TemporaryFile(/tmp/multipartBody3419311863482796930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625773534,"filename":"image_23012025_10_48_36_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801484","file1":"1330801477","file0":"1330801472","file4":"1330801494","file5":"1330801497","file3":"1330801489"},"map_files_photo_id_array":[{"photo_id":"1330801497","filename":"file5"},{"photo_id":"1330801484","filename":"file2"},{"photo_id":"1330801494","filename":"file4"},{"photo_id":"1330801477","filename":"file1"},{"photo_id":"1330801472","filename":"file0"},{"photo_id":"1330801489","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801484":["hashtag1","hashtag2"]},{"1330801472":["hashtag1","hashtag2"]},{"1330801489":["hashtag1","hashtag2"]},{"1330801477":["hashtag1","hashtag2"]},{"1330801497":["hashtag1","hashtag2"]},{"1330801494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801484, 1330801472, 1330801489, 1330801477, 1330801497, 1330801494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.05377674102783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:49:32.802047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_56_9404.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_49_06_10352.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_16_9421.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_26_10344.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_37_10324.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_46_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_56_9404.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_49_06_10352.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_16_9421.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_26_10344.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_37_10324.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_46_9366.jpg
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: 2.2100605964660645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:49:42.840200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_56_9404.jpg', '/home/pi/Desktop/images/23012025/10/48/image_23012025_10_49_06_10352.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_16_9421.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_26_10344.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_37_10324.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_46_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_48_56_9404.jpg
/home/pi/Desktop/images/23012025/10/48/image_23012025_10_49_06_10352.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_16_9421.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_26_10344.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_37_10324.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_46_9366.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":["1330801571","1330801546","1330801572","1330801566","1330801563","1330801557"],"photo_ids_order":["1330801546","1330801557","1330801563","1330801566","1330801571","1330801572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78b45a3adfba79708ddfbaa3e3ef85f0.jpg","text":"TemporaryFile(/tmp/multipartBody2436313492314431207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625843749,"filename":"image_23012025_10_49_37_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8553ca8796ea97134b709d97fad4232.jpg","text":"TemporaryFile(/tmp/multipartBody4599711087877223119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625843749,"filename":"image_23012025_10_48_56_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/241d6eb27911a3cbf4c377928f2bf4c4.jpg","text":"TemporaryFile(/tmp/multipartBody6763001895407154188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625843749,"filename":"image_23012025_10_49_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d917f35af20e96cb0889e55ff1a0d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8638014532358310845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625843749,"filename":"image_23012025_10_49_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26635e113f01c358a62bb1503a161db8.jpg","text":"TemporaryFile(/tmp/multipartBody7730037336390688926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625843749,"filename":"image_23012025_10_49_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fe498cdd47a7d3b220bc2d6ae2259c2.jpg","text":"TemporaryFile(/tmp/multipartBody8545290623388618040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625843749,"filename":"image_23012025_10_49_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801563","file1":"1330801557","file0":"1330801546","file4":"1330801571","file5":"1330801572","file3":"1330801566"},"map_files_photo_id_array":[{"photo_id":"1330801572","filename":"file5"},{"photo_id":"1330801563","filename":"file2"},{"photo_id":"1330801571","filename":"file4"},{"photo_id":"1330801557","filename":"file1"},{"photo_id":"1330801546","filename":"file0"},{"photo_id":"1330801566","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801571":["hashtag1","hashtag2"]},{"1330801546":["hashtag1","hashtag2"]},{"1330801572":["hashtag1","hashtag2"]},{"1330801566":["hashtag1","hashtag2"]},{"1330801563":["hashtag1","hashtag2"]},{"1330801557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801571, 1330801546, 1330801572, 1330801566, 1330801563, 1330801557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.61207103729248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:50:33.104587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_56_10419.jpg', '/home/pi/Desktop/images/23012025/10/49/image_23012025_10_50_07_10368.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_16_9438.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_27_10376.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_37_10320.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_46_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_49_56_10419.jpg
/home/pi/Desktop/images/23012025/10/49/image_23012025_10_50_07_10368.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_16_9438.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_27_10376.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_37_10320.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_46_9400.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":["1330801605","1330801608","1330801637","1330801640","1330801590","1330801592"],"photo_ids_order":["1330801590","1330801592","1330801605","1330801608","1330801637","1330801640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90ffa120afd4a21e8ebd3d11e2602ea9.jpg","text":"TemporaryFile(/tmp/multipartBody3809861196266411554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893993,"filename":"image_23012025_10_50_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8f05e0625608564a1cc3e70209cf83d.jpg","text":"TemporaryFile(/tmp/multipartBody5968002214649671479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893993,"filename":"image_23012025_10_50_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5539eb1a2565456b18fac7fb92df7482.jpg","text":"TemporaryFile(/tmp/multipartBody2423217860561803398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893993,"filename":"image_23012025_10_50_37_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1362e8cc9532c639bf5b1e8b7b85b0fa.jpg","text":"TemporaryFile(/tmp/multipartBody8149159865766668684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893993,"filename":"image_23012025_10_50_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc676e4382a558ab5deda16096c6039b.jpg","text":"TemporaryFile(/tmp/multipartBody7310191823247252554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893993,"filename":"image_23012025_10_49_56_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaf175d708045b07f6eb24b0a2a382d9.jpg","text":"TemporaryFile(/tmp/multipartBody1565003301806482372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625893993,"filename":"image_23012025_10_50_07_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801605","file1":"1330801592","file0":"1330801590","file4":"1330801637","file5":"1330801640","file3":"1330801608"},"map_files_photo_id_array":[{"photo_id":"1330801640","filename":"file5"},{"photo_id":"1330801605","filename":"file2"},{"photo_id":"1330801637","filename":"file4"},{"photo_id":"1330801592","filename":"file1"},{"photo_id":"1330801590","filename":"file0"},{"photo_id":"1330801608","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801605":["hashtag1","hashtag2"]},{"1330801608":["hashtag1","hashtag2"]},{"1330801637":["hashtag1","hashtag2"]},{"1330801640":["hashtag1","hashtag2"]},{"1330801590":["hashtag1","hashtag2"]},{"1330801592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801605, 1330801608, 1330801637, 1330801640, 1330801590, 1330801592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.724878787994385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:51:32.256330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_57_10382.jpg', '/home/pi/Desktop/images/23012025/10/50/image_23012025_10_51_06_9455.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_16_10341.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_27_10373.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_36_9325.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_46_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_50_57_10382.jpg
/home/pi/Desktop/images/23012025/10/50/image_23012025_10_51_06_9455.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_16_10341.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_27_10373.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_36_9325.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_46_10375.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":["1330801658","1330801690","1330801687","1330801675","1330801692","1330801691"],"photo_ids_order":["1330801658","1330801675","1330801687","1330801690","1330801691","1330801692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c193a2fe6a8034daf2a4d223a443962.jpg","text":"TemporaryFile(/tmp/multipartBody8621657400763117596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953277,"filename":"image_23012025_10_50_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37becce3b1eb5592b09eaa006d5c33fc.jpg","text":"TemporaryFile(/tmp/multipartBody8551637097531601040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953277,"filename":"image_23012025_10_51_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed2a59e5307dd5c877f684bd260807a5.jpg","text":"TemporaryFile(/tmp/multipartBody2078086997914331970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953277,"filename":"image_23012025_10_51_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e9d16b13dd53b7c93f25fb0c2bf41a0.jpg","text":"TemporaryFile(/tmp/multipartBody5984472371388786718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953277,"filename":"image_23012025_10_51_06_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec6d3b87bcce2dc9504b697fa67bd7c0.jpg","text":"TemporaryFile(/tmp/multipartBody2732768118148319952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953277,"filename":"image_23012025_10_51_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6867b5100297fd42815fe3b4007543a2.jpg","text":"TemporaryFile(/tmp/multipartBody4193802597049988701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737625953277,"filename":"image_23012025_10_51_36_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801687","file1":"1330801675","file0":"1330801658","file4":"1330801691","file5":"1330801692","file3":"1330801690"},"map_files_photo_id_array":[{"photo_id":"1330801692","filename":"file5"},{"photo_id":"1330801687","filename":"file2"},{"photo_id":"1330801691","filename":"file4"},{"photo_id":"1330801675","filename":"file1"},{"photo_id":"1330801658","filename":"file0"},{"photo_id":"1330801690","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801658":["hashtag1","hashtag2"]},{"1330801690":["hashtag1","hashtag2"]},{"1330801687":["hashtag1","hashtag2"]},{"1330801675":["hashtag1","hashtag2"]},{"1330801692":["hashtag1","hashtag2"]},{"1330801691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801658, 1330801690, 1330801687, 1330801675, 1330801692, 1330801691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75826835632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:52:32.366174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_56_9411.jpg', '/home/pi/Desktop/images/23012025/10/51/image_23012025_10_52_06_10342.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_17_10369.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_26_9458.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_36_10335.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_47_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_51_56_9411.jpg
/home/pi/Desktop/images/23012025/10/51/image_23012025_10_52_06_10342.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_17_10369.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_26_9458.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_36_10335.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_47_10386.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":["1330801847","1330801826","1330801840","1330801843","1330801822","1330801836"],"photo_ids_order":["1330801822","1330801826","1330801836","1330801840","1330801843","1330801847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ca7efa9517095f47fe239b2d856086a.jpg","text":"TemporaryFile(/tmp/multipartBody3963842645917747931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626013276,"filename":"image_23012025_10_52_47_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ec3547d6e4d844ce0722739120c5302.jpg","text":"TemporaryFile(/tmp/multipartBody3294244655203600639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626013276,"filename":"image_23012025_10_52_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08d4d2f5df7b24ce917ed97599add7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2346758202910317297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626013276,"filename":"image_23012025_10_52_26_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2b36f0f6b3d58d15a9064719e6ffc3d.jpg","text":"TemporaryFile(/tmp/multipartBody8152371410562685332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626013276,"filename":"image_23012025_10_52_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a0b26e941a2208752ba81bf30bec752.jpg","text":"TemporaryFile(/tmp/multipartBody8088705018501885277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626013276,"filename":"image_23012025_10_51_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/612cb57bc1b4ffefcb821b3ba8eb77b1.jpg","text":"TemporaryFile(/tmp/multipartBody8564408449161068588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626013276,"filename":"image_23012025_10_52_17_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801836","file1":"1330801826","file0":"1330801822","file4":"1330801843","file5":"1330801847","file3":"1330801840"},"map_files_photo_id_array":[{"photo_id":"1330801847","filename":"file5"},{"photo_id":"1330801836","filename":"file2"},{"photo_id":"1330801843","filename":"file4"},{"photo_id":"1330801826","filename":"file1"},{"photo_id":"1330801822","filename":"file0"},{"photo_id":"1330801840","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801847":["hashtag1","hashtag2"]},{"1330801826":["hashtag1","hashtag2"]},{"1330801840":["hashtag1","hashtag2"]},{"1330801843":["hashtag1","hashtag2"]},{"1330801822":["hashtag1","hashtag2"]},{"1330801836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801847, 1330801826, 1330801840, 1330801843, 1330801822, 1330801836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.34604001045227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:53:32.756111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_56_9412.jpg', '/home/pi/Desktop/images/23012025/10/52/image_23012025_10_53_07_10342.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_16_9340.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_26_10358.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_37_10396.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_46_9498.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_52_56_9412.jpg
/home/pi/Desktop/images/23012025/10/52/image_23012025_10_53_07_10342.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_16_9340.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_26_10358.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_37_10396.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_46_9498.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":["1330801902","1330801871","1330801916","1330801926","1330801905","1330801920"],"photo_ids_order":["1330801871","1330801902","1330801905","1330801916","1330801920","1330801926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c821a2f9664a808622a06390f679d150.jpg","text":"TemporaryFile(/tmp/multipartBody6237935259483909052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073661,"filename":"image_23012025_10_53_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9a4b4c21431d2f96a0140a06ce41b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1206394282289589799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073661,"filename":"image_23012025_10_52_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eee23a5aa27e5872f59ab66b0a156ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2106035524332955578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073661,"filename":"image_23012025_10_53_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e4a8209b93182e7a98c7c2a673b8143.jpg","text":"TemporaryFile(/tmp/multipartBody7934404427714952519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073661,"filename":"image_23012025_10_53_46_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a8991686c9d8b737c3700140cad5167.jpg","text":"TemporaryFile(/tmp/multipartBody4620377601336266180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073661,"filename":"image_23012025_10_53_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e54b03be920fa4615e83a54a3ea4bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2482686784694949794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626073661,"filename":"image_23012025_10_53_37_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330801905","file1":"1330801902","file0":"1330801871","file4":"1330801920","file5":"1330801926","file3":"1330801916"},"map_files_photo_id_array":[{"photo_id":"1330801926","filename":"file5"},{"photo_id":"1330801905","filename":"file2"},{"photo_id":"1330801920","filename":"file4"},{"photo_id":"1330801902","filename":"file1"},{"photo_id":"1330801871","filename":"file0"},{"photo_id":"1330801916","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330801902":["hashtag1","hashtag2"]},{"1330801871":["hashtag1","hashtag2"]},{"1330801916":["hashtag1","hashtag2"]},{"1330801926":["hashtag1","hashtag2"]},{"1330801905":["hashtag1","hashtag2"]},{"1330801920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330801902, 1330801871, 1330801916, 1330801926, 1330801905, 1330801920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87542796134949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:54:32.651600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_57_10384.jpg', '/home/pi/Desktop/images/23012025/10/53/image_23012025_10_54_06_9412.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_16_10341.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_27_10355.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_36_9404.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_46_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_53_57_10384.jpg
/home/pi/Desktop/images/23012025/10/53/image_23012025_10_54_06_9412.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_16_10341.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_27_10355.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_36_9404.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_46_10405.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":["1330802012","1330802006","1330802009","1330801996","1330801999","1330802004"],"photo_ids_order":["1330801996","1330801999","1330802004","1330802006","1330802009","1330802012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b8da0aaeee0152b1e11713f0b8e7c40.jpg","text":"TemporaryFile(/tmp/multipartBody5956345153396452753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133557,"filename":"image_23012025_10_54_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bec6183ba37aa46935d194ca996d4dda.jpg","text":"TemporaryFile(/tmp/multipartBody3109051467205199152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133557,"filename":"image_23012025_10_54_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89043f0e4db552ced629ba4e00e05a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5890328406705806961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133557,"filename":"image_23012025_10_54_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39dce624cd5c78614de14d76cbe27cde.jpg","text":"TemporaryFile(/tmp/multipartBody3940271523801343257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133557,"filename":"image_23012025_10_53_57_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/107135eba5b0add03b63242d7f339c66.jpg","text":"TemporaryFile(/tmp/multipartBody6581132986808126528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133557,"filename":"image_23012025_10_54_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d1d444d6a1b75397b1530dbb2fcd11f.jpg","text":"TemporaryFile(/tmp/multipartBody1714793999417878417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626133557,"filename":"image_23012025_10_54_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802004","file1":"1330801999","file0":"1330801996","file4":"1330802009","file5":"1330802012","file3":"1330802006"},"map_files_photo_id_array":[{"photo_id":"1330802012","filename":"file5"},{"photo_id":"1330802004","filename":"file2"},{"photo_id":"1330802009","filename":"file4"},{"photo_id":"1330801999","filename":"file1"},{"photo_id":"1330801996","filename":"file0"},{"photo_id":"1330802006","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802012":["hashtag1","hashtag2"]},{"1330802006":["hashtag1","hashtag2"]},{"1330802009":["hashtag1","hashtag2"]},{"1330801996":["hashtag1","hashtag2"]},{"1330801999":["hashtag1","hashtag2"]},{"1330802004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802012, 1330802006, 1330802009, 1330801996, 1330801999, 1330802004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88035726547241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:55:33.037125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_57_10346.jpg', '/home/pi/Desktop/images/23012025/10/54/image_23012025_10_55_06_9327.jpg', '/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_16_10374.jpg', '/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_27_10346.jpg', '/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_36_9406.jpg', '/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_47_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_54_57_10346.jpg
/home/pi/Desktop/images/23012025/10/54/image_23012025_10_55_06_9327.jpg
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_16_10374.jpg
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_27_10346.jpg
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_36_9406.jpg
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_47_10355.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":["1330802050","1330802047","1330802032","1330802035","1330802040","1330802043"],"photo_ids_order":["1330802032","1330802035","1330802040","1330802043","1330802047","1330802050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e728187d14d34f0888fa9a8c890fd404.jpg","text":"TemporaryFile(/tmp/multipartBody5236054636893903743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626193962,"filename":"image_23012025_10_55_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ce330a19d4abb2226f9a1dcbd1e3db0.jpg","text":"TemporaryFile(/tmp/multipartBody4734804502682553532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626193962,"filename":"image_23012025_10_55_36_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8447fafb439417affe6cd40bb54fdd1.jpg","text":"TemporaryFile(/tmp/multipartBody1606467068674476949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626193962,"filename":"image_23012025_10_54_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a97b6576c8f9e2d3275eeddcf45524a.jpg","text":"TemporaryFile(/tmp/multipartBody2067141713288347639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626193962,"filename":"image_23012025_10_55_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4604900d8d040c60e5c3b1823b1634c4.jpg","text":"TemporaryFile(/tmp/multipartBody7738232535145834273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626193962,"filename":"image_23012025_10_55_16_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9822c7843fab60a319cf53d3bc9f8716.jpg","text":"TemporaryFile(/tmp/multipartBody6775885585158363529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626193962,"filename":"image_23012025_10_55_27_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802040","file1":"1330802035","file0":"1330802032","file4":"1330802047","file5":"1330802050","file3":"1330802043"},"map_files_photo_id_array":[{"photo_id":"1330802050","filename":"file5"},{"photo_id":"1330802040","filename":"file2"},{"photo_id":"1330802047","filename":"file4"},{"photo_id":"1330802035","filename":"file1"},{"photo_id":"1330802032","filename":"file0"},{"photo_id":"1330802043","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802050":["hashtag1","hashtag2"]},{"1330802047":["hashtag1","hashtag2"]},{"1330802032":["hashtag1","hashtag2"]},{"1330802035":["hashtag1","hashtag2"]},{"1330802040":["hashtag1","hashtag2"]},{"1330802043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802050, 1330802047, 1330802032, 1330802035, 1330802040, 1330802043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.10617923736572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:56:32.309511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_56_9347.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_17_10334.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_26_9330.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_36_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/55/image_23012025_10_55_56_9347.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_17_10334.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_26_9330.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_36_10391.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":["1330802069","1330802080","1330802074","1330802103"],"photo_ids_order":["1330802069","1330802074","1330802080","1330802103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75f173473db09c1c9b52cbe5c53e5e65.jpg","text":"TemporaryFile(/tmp/multipartBody8670991073481991831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253171,"filename":"image_23012025_10_55_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e8ec3fb2c9ea52cdbf77b3fab9bc8d7.jpg","text":"TemporaryFile(/tmp/multipartBody3555540233159951163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253171,"filename":"image_23012025_10_56_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b59db2a1955e8669b01332415c1103c.jpg","text":"TemporaryFile(/tmp/multipartBody2915553416182260713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253171,"filename":"image_23012025_10_56_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c04f4cc97fd109ce7b125382309e9e5.jpg","text":"TemporaryFile(/tmp/multipartBody8812795217918653081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626253171,"filename":"image_23012025_10_56_36_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802080","file1":"1330802074","file0":"1330802069","file3":"1330802103"},"map_files_photo_id_array":[{"photo_id":"1330802080","filename":"file2"},{"photo_id":"1330802074","filename":"file1"},{"photo_id":"1330802069","filename":"file0"},{"photo_id":"1330802103","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802069":["hashtag1","hashtag2"]},{"1330802080":["hashtag1","hashtag2"]},{"1330802074":["hashtag1","hashtag2"]},{"1330802103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802069, 1330802080, 1330802074, 1330802103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.12808632850647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 10:57:32.509078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_47_10354.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_57_06_10336.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_16_9376.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_26_10340.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_37_10315.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_46_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_47_10354.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_57_06_10336.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_16_9376.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_26_10340.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_37_10315.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_46_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 10:59:04.375797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_47_10354.jpg', '/home/pi/Desktop/images/23012025/10/56/image_23012025_10_57_06_10336.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_16_9376.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_26_10340.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_37_10315.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_46_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_56_47_10354.jpg
/home/pi/Desktop/images/23012025/10/56/image_23012025_10_57_06_10336.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_16_9376.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_26_10340.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_37_10315.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_46_9357.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":["1330802435","1330802368","1330802362","1330802410","1330802424","1330802325"],"photo_ids_order":["1330802325","1330802362","1330802368","1330802410","1330802424","1330802435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed7994770c8b293644dc380d720f33fc.jpg","text":"TemporaryFile(/tmp/multipartBody6735681591327561166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626405401,"filename":"image_23012025_10_57_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/106de406aae5c9e1f0454872d319c2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7898867298887057424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626405401,"filename":"image_23012025_10_57_16_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ac5fd38e8f86de8874130604d991033.jpg","text":"TemporaryFile(/tmp/multipartBody3734229357969461908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626405401,"filename":"image_23012025_10_57_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfcb989f3e260e46fb46f2dd795d5b17.jpg","text":"TemporaryFile(/tmp/multipartBody6948744596706194521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626405401,"filename":"image_23012025_10_57_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81c8f0661a24a94571f5d4e76421c262.jpg","text":"TemporaryFile(/tmp/multipartBody8535229955656340247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626405401,"filename":"image_23012025_10_57_37_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37828f27317738457f8b44dd49085c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6097237764552152291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626405401,"filename":"image_23012025_10_56_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802368","file1":"1330802362","file0":"1330802325","file4":"1330802424","file5":"1330802435","file3":"1330802410"},"map_files_photo_id_array":[{"photo_id":"1330802435","filename":"file5"},{"photo_id":"1330802368","filename":"file2"},{"photo_id":"1330802424","filename":"file4"},{"photo_id":"1330802362","filename":"file1"},{"photo_id":"1330802325","filename":"file0"},{"photo_id":"1330802410","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802435":["hashtag1","hashtag2"]},{"1330802368":["hashtag1","hashtag2"]},{"1330802362":["hashtag1","hashtag2"]},{"1330802410":["hashtag1","hashtag2"]},{"1330802424":["hashtag1","hashtag2"]},{"1330802325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802435, 1330802368, 1330802362, 1330802410, 1330802424, 1330802325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.619285583496094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 10:59:53.083487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/28/image_20012025_08_28_55_10386.jpg', '/home/pi/Desktop/images/20012025/08/29/image_20012025_08_29_15_10464.jpg', '/home/pi/Desktop/images/20012025/08/29/image_20012025_08_29_45_10362.jpg', '/home/pi/Desktop/images/20012025/08/29/image_20012025_08_29_54_9325.jpg', '/home/pi/Desktop/images/20012025/08/29/image_20012025_08_30_05_10357.jpg', '/home/pi/Desktop/images/20012025/08/30/image_20012025_08_30_35_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/28/image_20012025_08_28_55_10386.jpg
/home/pi/Desktop/images/20012025/08/29/image_20012025_08_29_15_10464.jpg
/home/pi/Desktop/images/20012025/08/29/image_20012025_08_29_45_10362.jpg
/home/pi/Desktop/images/20012025/08/29/image_20012025_08_29_54_9325.jpg
/home/pi/Desktop/images/20012025/08/29/image_20012025_08_30_05_10357.jpg
/home/pi/Desktop/images/20012025/08/30/image_20012025_08_30_35_10475.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":["1330802461","1330802481","1330802457","1330802469","1330802454","1330802474"],"photo_ids_order":["1330802454","1330802457","1330802461","1330802469","1330802474","1330802481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72141d6334e84e38a34fb1dbd54a22c3.jpg","text":"TemporaryFile(/tmp/multipartBody303573140993802908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626455397,"filename":"image_20012025_08_29_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd5c3f48d6d2197c901986d2f70f5765.jpg","text":"TemporaryFile(/tmp/multipartBody44682061718027310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626455397,"filename":"image_20012025_08_30_35_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5072c803543f563c389a7f78f0eed043.jpg","text":"TemporaryFile(/tmp/multipartBody587676203094984353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626455397,"filename":"image_20012025_08_29_15_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be9df358ae2cd3a3b4e8c69ada8d20b2.jpg","text":"TemporaryFile(/tmp/multipartBody9079531157373695951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626455397,"filename":"image_20012025_08_29_54_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0135cad1d4cf94ed91d74e4e93be5a6c.jpg","text":"TemporaryFile(/tmp/multipartBody5995131658587137041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626455397,"filename":"image_20012025_08_28_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/386a3ff930d87ea301251c14c2400dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1623139156242074381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626455397,"filename":"image_20012025_08_30_05_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802461","file1":"1330802457","file0":"1330802454","file4":"1330802474","file5":"1330802481","file3":"1330802469"},"map_files_photo_id_array":[{"photo_id":"1330802481","filename":"file5"},{"photo_id":"1330802461","filename":"file2"},{"photo_id":"1330802474","filename":"file4"},{"photo_id":"1330802457","filename":"file1"},{"photo_id":"1330802454","filename":"file0"},{"photo_id":"1330802469","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330802461":["hashtag1","hashtag2"]},{"1330802481":["hashtag1","hashtag2"]},{"1330802457":["hashtag1","hashtag2"]},{"1330802469":["hashtag1","hashtag2"]},{"1330802454":["hashtag1","hashtag2"]},{"1330802474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330802461, 1330802481, 1330802457, 1330802469, 1330802454, 1330802474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.98630928993225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:00:42.450343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_56_10338.jpg', '/home/pi/Desktop/images/23012025/10/57/image_23012025_10_58_07_10360.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_16_9349.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_26_10398.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_37_10399.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_46_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_57_56_10338.jpg
/home/pi/Desktop/images/23012025/10/57/image_23012025_10_58_07_10360.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_16_9349.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_26_10398.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_37_10399.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_46_9395.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":["1330802516","1330802501","1330802524","1330802520","1330802514","1330802508"],"photo_ids_order":["1330802501","1330802508","1330802514","1330802516","1330802520","1330802524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c62015fb3dd52fabcffaac137ea6186.jpg","text":"TemporaryFile(/tmp/multipartBody7624103099910079545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626503367,"filename":"image_23012025_10_58_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ecbd5c0ea7e01575f5b2019a782be4b.jpg","text":"TemporaryFile(/tmp/multipartBody4377051494258221539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626503367,"filename":"image_23012025_10_57_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2736c8f94168134e69e13662c13a008.jpg","text":"TemporaryFile(/tmp/multipartBody3326859313794011069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626503367,"filename":"image_23012025_10_58_46_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc203932edda1c0386609445905353b4.jpg","text":"TemporaryFile(/tmp/multipartBody7787022750146011226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626503367,"filename":"image_23012025_10_58_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf5603e11923cf76c2e636d2387f712f.jpg","text":"TemporaryFile(/tmp/multipartBody7749215025768570634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626503367,"filename":"image_23012025_10_58_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a2f7e047a19b112c505a34c0d6ab924.jpg","text":"TemporaryFile(/tmp/multipartBody7826414983624673758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626503367,"filename":"image_23012025_10_58_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802514","file1":"1330802508","file0":"1330802501","file4":"1330802520","file5":"1330802524","file3":"1330802516"},"map_files_photo_id_array":[{"photo_id":"1330802524","filename":"file5"},{"photo_id":"1330802514","filename":"file2"},{"photo_id":"1330802520","filename":"file4"},{"photo_id":"1330802508","filename":"file1"},{"photo_id":"1330802501","filename":"file0"},{"photo_id":"1330802516","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802516":["hashtag1","hashtag2"]},{"1330802501":["hashtag1","hashtag2"]},{"1330802524":["hashtag1","hashtag2"]},{"1330802520":["hashtag1","hashtag2"]},{"1330802514":["hashtag1","hashtag2"]},{"1330802508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802516, 1330802501, 1330802524, 1330802520, 1330802514, 1330802508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52638387680054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:01:32.478709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_56_10372.jpg', '/home/pi/Desktop/images/23012025/10/58/image_23012025_10_59_07_10327.jpg', '/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_16_9394.jpg', '/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_27_10352.jpg', '/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_36_9340.jpg', '/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_58_56_10372.jpg
/home/pi/Desktop/images/23012025/10/58/image_23012025_10_59_07_10327.jpg
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_16_9394.jpg
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_27_10352.jpg
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_36_9340.jpg
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_46_10346.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":["1330802564","1330802578","1330802542","1330802574","1330802571","1330802568"],"photo_ids_order":["1330802542","1330802564","1330802568","1330802571","1330802574","1330802578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d82d3d2bd80e1b7c27dd7562446979f.jpg","text":"TemporaryFile(/tmp/multipartBody1261519383397538574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626553370,"filename":"image_23012025_10_59_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f15f6da829e6ec226112650572cdb738.jpg","text":"TemporaryFile(/tmp/multipartBody8714865961102427524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626553370,"filename":"image_23012025_10_59_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/782337ffd6ef70dc3d34277224ad7082.jpg","text":"TemporaryFile(/tmp/multipartBody925956976422829982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626553370,"filename":"image_23012025_10_58_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2485d061ee74c506ed1e313b6180a8a6.jpg","text":"TemporaryFile(/tmp/multipartBody5157136941052293144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626553370,"filename":"image_23012025_10_59_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/facb7954e35f405d96fcddb4b29db2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3905801929036859451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626553370,"filename":"image_23012025_10_59_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe7aab081558a2d89d288792db0828cc.jpg","text":"TemporaryFile(/tmp/multipartBody6608480495544495796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626553370,"filename":"image_23012025_10_59_16_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802568","file1":"1330802564","file0":"1330802542","file4":"1330802574","file5":"1330802578","file3":"1330802571"},"map_files_photo_id_array":[{"photo_id":"1330802578","filename":"file5"},{"photo_id":"1330802568","filename":"file2"},{"photo_id":"1330802574","filename":"file4"},{"photo_id":"1330802564","filename":"file1"},{"photo_id":"1330802542","filename":"file0"},{"photo_id":"1330802571","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802564":["hashtag1","hashtag2"]},{"1330802578":["hashtag1","hashtag2"]},{"1330802542":["hashtag1","hashtag2"]},{"1330802574":["hashtag1","hashtag2"]},{"1330802571":["hashtag1","hashtag2"]},{"1330802568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802564, 1330802578, 1330802542, 1330802574, 1330802571, 1330802568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.911924600601196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:02:32.657343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_57_10399.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_14_10077.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_24_10399.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_35_10383.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_44_9388.jpg', '/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_54_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/10/59/image_23012025_10_59_57_10399.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_14_10077.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_24_10399.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_35_10383.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_44_9388.jpg
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_01_54_10342.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":["1330802593","1330802638","1330802617","1330802628","1330802601","1330802597"],"photo_ids_order":["1330802593","1330802597","1330802601","1330802617","1330802628","1330802638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cbe538a0c8ca7b4996b2bf667652121.jpg","text":"TemporaryFile(/tmp/multipartBody5140643999749475196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626613556,"filename":"image_23012025_10_59_57_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30b05591ab98cbbbbdf58424576feab3.jpg","text":"TemporaryFile(/tmp/multipartBody7076970063029684450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626613556,"filename":"image_23012025_11_01_54_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b55f9f3d354e352b77a62fc73c2da042.jpg","text":"TemporaryFile(/tmp/multipartBody2449693897370443903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626613556,"filename":"image_23012025_11_01_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31c7a45fe7d9ab7d1678961ef44538e1.jpg","text":"TemporaryFile(/tmp/multipartBody5003885302620604377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626613556,"filename":"image_23012025_11_01_44_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a272e3adbc306a0791d1ac94e447f920.jpg","text":"TemporaryFile(/tmp/multipartBody5658340707484432125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626613556,"filename":"image_23012025_11_01_24_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00efc7d789e25264038479848d93cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody1950199036034268481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626613556,"filename":"image_23012025_11_01_14_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802601","file1":"1330802597","file0":"1330802593","file4":"1330802628","file5":"1330802638","file3":"1330802617"},"map_files_photo_id_array":[{"photo_id":"1330802638","filename":"file5"},{"photo_id":"1330802601","filename":"file2"},{"photo_id":"1330802628","filename":"file4"},{"photo_id":"1330802597","filename":"file1"},{"photo_id":"1330802593","filename":"file0"},{"photo_id":"1330802617","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802593":["hashtag1","hashtag2"]},{"1330802638":["hashtag1","hashtag2"]},{"1330802617":["hashtag1","hashtag2"]},{"1330802628":["hashtag1","hashtag2"]},{"1330802601":["hashtag1","hashtag2"]},{"1330802597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802593, 1330802638, 1330802617, 1330802628, 1330802601, 1330802597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78777265548706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:03:32.800864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/01/image_23012025_11_02_05_10342.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_14_9342.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_25_10431.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_34_9350.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_44_10348.jpg', '/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_55_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/01/image_23012025_11_02_05_10342.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_14_9342.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_25_10431.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_34_9350.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_44_10348.jpg
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_02_55_10342.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":["1330802884","1330802914","1330802889","1330802934","1330802882","1330802945"],"photo_ids_order":["1330802882","1330802884","1330802889","1330802914","1330802934","1330802945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a46e6f3bb4bff3411f2b3d21f138925.jpg","text":"TemporaryFile(/tmp/multipartBody6915922536504048414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626673733,"filename":"image_23012025_11_02_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f1ad4ff38c942cf3e1df9bf6107f668.jpg","text":"TemporaryFile(/tmp/multipartBody7543039668274411035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626673733,"filename":"image_23012025_11_02_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72d967b6cdc416f0283cc60c52ae0121.jpg","text":"TemporaryFile(/tmp/multipartBody4097738190027265484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626673733,"filename":"image_23012025_11_02_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9953f57431b40866f23bd03e3129d7f.jpg","text":"TemporaryFile(/tmp/multipartBody8239182382667267036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626673733,"filename":"image_23012025_11_02_44_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc144958f1921702573b2bf67feaae86.jpg","text":"TemporaryFile(/tmp/multipartBody8308002664124586505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626673733,"filename":"image_23012025_11_02_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2822755b3cdbcebb7062a7c7a42c32e4.jpg","text":"TemporaryFile(/tmp/multipartBody7883438160341205519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626673733,"filename":"image_23012025_11_02_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330802889","file1":"1330802884","file0":"1330802882","file4":"1330802934","file5":"1330802945","file3":"1330802914"},"map_files_photo_id_array":[{"photo_id":"1330802945","filename":"file5"},{"photo_id":"1330802889","filename":"file2"},{"photo_id":"1330802934","filename":"file4"},{"photo_id":"1330802884","filename":"file1"},{"photo_id":"1330802882","filename":"file0"},{"photo_id":"1330802914","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330802884":["hashtag1","hashtag2"]},{"1330802914":["hashtag1","hashtag2"]},{"1330802889":["hashtag1","hashtag2"]},{"1330802934":["hashtag1","hashtag2"]},{"1330802882":["hashtag1","hashtag2"]},{"1330802945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330802884, 1330802914, 1330802889, 1330802934, 1330802882, 1330802945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.63694143295288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:04:32.206816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/02/image_23012025_11_03_04_9329.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_14_10321.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_25_10373.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_34_9434.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_44_10363.jpg', '/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_55_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/02/image_23012025_11_03_04_9329.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_14_10321.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_25_10373.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_34_9434.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_44_10363.jpg
/home/pi/Desktop/images/23012025/11/03/image_23012025_11_03_55_10434.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":["1330803017","1330803022","1330803025","1330802998","1330803024","1330803009"],"photo_ids_order":["1330802998","1330803009","1330803017","1330803022","1330803024","1330803025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09ac987aff42fd757c838389c11bbf7a.jpg","text":"TemporaryFile(/tmp/multipartBody483365031690861658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626733092,"filename":"image_23012025_11_03_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de4bf44c21561b9070be95d6184b6351.jpg","text":"TemporaryFile(/tmp/multipartBody8748776950532947591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626733092,"filename":"image_23012025_11_03_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/990c6bc106604a6df9749314d8e0a7f7.jpg","text":"TemporaryFile(/tmp/multipartBody2493877992859298864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626733092,"filename":"image_23012025_11_03_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da7b7783376caeeede0c682bb2505644.jpg","text":"TemporaryFile(/tmp/multipartBody4759329744837932898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626733092,"filename":"image_23012025_11_03_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1593afeaae780f4b082cd91d652587dc.jpg","text":"TemporaryFile(/tmp/multipartBody7358899921934714381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626733092,"filename":"image_23012025_11_03_44_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abe3bd8b3c5dad06e3db094fdb90fd27.jpg","text":"TemporaryFile(/tmp/multipartBody2100768381245065501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626733092,"filename":"image_23012025_11_03_14_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330803017","file1":"1330803009","file0":"1330802998","file4":"1330803024","file5":"1330803025","file3":"1330803022"},"map_files_photo_id_array":[{"photo_id":"1330803025","filename":"file5"},{"photo_id":"1330803017","filename":"file2"},{"photo_id":"1330803024","filename":"file4"},{"photo_id":"1330803009","filename":"file1"},{"photo_id":"1330802998","filename":"file0"},{"photo_id":"1330803022","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330803017":["hashtag1","hashtag2"]},{"1330803022":["hashtag1","hashtag2"]},{"1330803025":["hashtag1","hashtag2"]},{"1330802998":["hashtag1","hashtag2"]},{"1330803024":["hashtag1","hashtag2"]},{"1330803009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330803017, 1330803022, 1330803025, 1330802998, 1330803024, 1330803009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.223249673843384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:05:32.369602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_15_10414.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_24_9395.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_34_10344.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_45_10346.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_54_9426.jpg', '/home/pi/Desktop/images/23012025/11/04/image_23012025_11_05_05_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_15_10414.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_24_9395.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_34_10344.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_45_10346.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_04_54_9426.jpg
/home/pi/Desktop/images/23012025/11/04/image_23012025_11_05_05_10337.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":["1330803122","1330803116","1330803319","1330803127","1330803126","1330803129"],"photo_ids_order":["1330803116","1330803122","1330803126","1330803127","1330803129","1330803319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c88d9e54564b8cc57b261afc5df9ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody5395681670692601857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626793267,"filename":"image_23012025_11_04_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb85948f06e02c95d74c7c0bbf6cba6f.jpg","text":"TemporaryFile(/tmp/multipartBody8143002680244338842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626793267,"filename":"image_23012025_11_04_15_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7803c818a32ad60b4599258032c3d4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3585853182042075114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626793267,"filename":"image_23012025_11_05_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8b00fa74a9ef912b0e653df6a2346bc.jpg","text":"TemporaryFile(/tmp/multipartBody4109955852242820474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626793267,"filename":"image_23012025_11_04_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/696b1cadcb02b37370ea9c19d724c570.jpg","text":"TemporaryFile(/tmp/multipartBody9087298238558341261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626793267,"filename":"image_23012025_11_04_34_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc818fe285961c28f127a380018fe6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7690995630821725563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626793267,"filename":"image_23012025_11_04_54_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330803126","file1":"1330803122","file0":"1330803116","file4":"1330803129","file5":"1330803319","file3":"1330803127"},"map_files_photo_id_array":[{"photo_id":"1330803319","filename":"file5"},{"photo_id":"1330803126","filename":"file2"},{"photo_id":"1330803129","filename":"file4"},{"photo_id":"1330803122","filename":"file1"},{"photo_id":"1330803116","filename":"file0"},{"photo_id":"1330803127","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330803122":["hashtag1","hashtag2"]},{"1330803116":["hashtag1","hashtag2"]},{"1330803319":["hashtag1","hashtag2"]},{"1330803127":["hashtag1","hashtag2"]},{"1330803126":["hashtag1","hashtag2"]},{"1330803129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330803122, 1330803116, 1330803319, 1330803127, 1330803126, 1330803129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37554430961609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:06:32.572476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_14_9358.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_24_10356.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_35_10334.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_44_9344.jpg', '/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_54_10355.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_14_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_14_9358.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_24_10356.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_35_10334.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_44_9344.jpg
/home/pi/Desktop/images/23012025/11/05/image_23012025_11_05_54_10355.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_14_9463.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":["1330803886","1330803916","1330803894","1330803921","1330803918","1330803911"],"photo_ids_order":["1330803886","1330803894","1330803911","1330803916","1330803918","1330803921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/598ca638be231a2260e5ee9e700205d4.jpg","text":"TemporaryFile(/tmp/multipartBody938304578451884417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626853466,"filename":"image_23012025_11_05_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97de2bde6d32f18d3192387e08e2523c.jpg","text":"TemporaryFile(/tmp/multipartBody4277145138398967370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626853466,"filename":"image_23012025_11_05_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b859c45a034b67ca741c0ad77e17dae6.jpg","text":"TemporaryFile(/tmp/multipartBody5325290168340095359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626853466,"filename":"image_23012025_11_05_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b50ef1ca71e995a9c1908fd7b9823217.jpg","text":"TemporaryFile(/tmp/multipartBody3172611613827922732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626853466,"filename":"image_23012025_11_06_14_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/748a6facff91aa415c8c845beba1f1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4684372813496442522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626853466,"filename":"image_23012025_11_05_54_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90877f4f74753e5211bd82035ac6842b.jpg","text":"TemporaryFile(/tmp/multipartBody5284359729847349491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626853466,"filename":"image_23012025_11_05_35_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330803911","file1":"1330803894","file0":"1330803886","file4":"1330803918","file5":"1330803921","file3":"1330803916"},"map_files_photo_id_array":[{"photo_id":"1330803921","filename":"file5"},{"photo_id":"1330803911","filename":"file2"},{"photo_id":"1330803918","filename":"file4"},{"photo_id":"1330803894","filename":"file1"},{"photo_id":"1330803886","filename":"file0"},{"photo_id":"1330803916","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330803886":["hashtag1","hashtag2"]},{"1330803916":["hashtag1","hashtag2"]},{"1330803894":["hashtag1","hashtag2"]},{"1330803921":["hashtag1","hashtag2"]},{"1330803918":["hashtag1","hashtag2"]},{"1330803911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330803886, 1330803916, 1330803894, 1330803921, 1330803918, 1330803911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.31970477104187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:07:32.922826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_24_10330.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_35_10338.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_44_9447.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_55_10354.jpg', '/home/pi/Desktop/images/23012025/11/06/image_23012025_11_07_04_9479.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_14_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_24_10330.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_35_10338.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_44_9447.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_06_55_10354.jpg
/home/pi/Desktop/images/23012025/11/06/image_23012025_11_07_04_9479.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_14_10356.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":["1330804231","1330804237","1330804227","1330804215","1330804271","1330804148"],"photo_ids_order":["1330804148","1330804215","1330804227","1330804231","1330804237","1330804271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f0046963426d7e26d5d57e1512543f5.jpg","text":"TemporaryFile(/tmp/multipartBody8403695565619255517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626913847,"filename":"image_23012025_11_06_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3943cffdc10b690d3da62b64f066563c.jpg","text":"TemporaryFile(/tmp/multipartBody998701033541347992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626913847,"filename":"image_23012025_11_07_04_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecc8e870895da578fea8e3fdd8d624be.jpg","text":"TemporaryFile(/tmp/multipartBody5723575640854245581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626913847,"filename":"image_23012025_11_06_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f0ee6b5f4f93e81d48067a3c99601a0.jpg","text":"TemporaryFile(/tmp/multipartBody1740801536355542610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626913847,"filename":"image_23012025_11_06_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/651efcc3dd32485b51ec062d5e39a2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6671352440386552482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626913847,"filename":"image_23012025_11_07_14_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9608222093cc53c20af7a876960516d6.jpg","text":"TemporaryFile(/tmp/multipartBody907007763904968691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626913847,"filename":"image_23012025_11_06_24_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330804227","file1":"1330804215","file0":"1330804148","file4":"1330804237","file5":"1330804271","file3":"1330804231"},"map_files_photo_id_array":[{"photo_id":"1330804271","filename":"file5"},{"photo_id":"1330804227","filename":"file2"},{"photo_id":"1330804237","filename":"file4"},{"photo_id":"1330804215","filename":"file1"},{"photo_id":"1330804148","filename":"file0"},{"photo_id":"1330804231","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330804231":["hashtag1","hashtag2"]},{"1330804237":["hashtag1","hashtag2"]},{"1330804227":["hashtag1","hashtag2"]},{"1330804215":["hashtag1","hashtag2"]},{"1330804271":["hashtag1","hashtag2"]},{"1330804148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330804231, 1330804237, 1330804227, 1330804215, 1330804271, 1330804148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42026662826538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:08:33.098966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_25_10425.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_34_9399.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_45_10361.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_54_9487.jpg', '/home/pi/Desktop/images/23012025/11/07/image_23012025_11_08_04_10397.jpg', '/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_24_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_25_10425.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_34_9399.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_45_10361.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_07_54_9487.jpg
/home/pi/Desktop/images/23012025/11/07/image_23012025_11_08_04_10397.jpg
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_24_9340.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":["1330804392","1330804397","1330804401","1330804385","1330804403","1330804381"],"photo_ids_order":["1330804381","1330804385","1330804392","1330804397","1330804401","1330804403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebaec5251b422d1a7b6271f4a91fa01a.jpg","text":"TemporaryFile(/tmp/multipartBody5742308677157215534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626973995,"filename":"image_23012025_11_07_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4030b7cc2588846b2410bd6422c5892.jpg","text":"TemporaryFile(/tmp/multipartBody1432359822419519313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626973995,"filename":"image_23012025_11_07_54_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/947c3fbdd5bc7f0087e5fb71505a63a1.jpg","text":"TemporaryFile(/tmp/multipartBody4032929419001347175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626973995,"filename":"image_23012025_11_08_04_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f065e3a6f67ff64da2841fffad9095ea.jpg","text":"TemporaryFile(/tmp/multipartBody9015887545285891636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626973995,"filename":"image_23012025_11_07_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/068b9d529183d868c545207c0d4c273f.jpg","text":"TemporaryFile(/tmp/multipartBody8634191938024501647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626973995,"filename":"image_23012025_11_08_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5018b39c66ad027a16a1b7f338a46618.jpg","text":"TemporaryFile(/tmp/multipartBody6880479545568863858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737626973995,"filename":"image_23012025_11_07_25_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330804392","file1":"1330804385","file0":"1330804381","file4":"1330804401","file5":"1330804403","file3":"1330804397"},"map_files_photo_id_array":[{"photo_id":"1330804403","filename":"file5"},{"photo_id":"1330804392","filename":"file2"},{"photo_id":"1330804401","filename":"file4"},{"photo_id":"1330804385","filename":"file1"},{"photo_id":"1330804381","filename":"file0"},{"photo_id":"1330804397","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330804392":["hashtag1","hashtag2"]},{"1330804397":["hashtag1","hashtag2"]},{"1330804401":["hashtag1","hashtag2"]},{"1330804385":["hashtag1","hashtag2"]},{"1330804403":["hashtag1","hashtag2"]},{"1330804381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330804392, 1330804397, 1330804401, 1330804385, 1330804403, 1330804381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35832142829895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:09:32.310653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_45_10341.jpg', '/home/pi/Desktop/images/23012025/11/08/image_23012025_11_09_05_10370.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_14_9337.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_24_10424.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_35_10369.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_44_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_45_10341.jpg
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_09_05_10370.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_14_9337.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_24_10424.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_35_10369.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_44_9470.jpg
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: 0.5274128913879395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:09:42.466488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_45_10341.jpg', '/home/pi/Desktop/images/23012025/11/08/image_23012025_11_09_05_10370.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_14_9337.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_24_10424.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_35_10369.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_44_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_08_45_10341.jpg
/home/pi/Desktop/images/23012025/11/08/image_23012025_11_09_05_10370.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_14_9337.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_24_10424.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_35_10369.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_44_9470.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":["1330804459","1330804438","1330804440","1330804434","1330804428","1330804445"],"photo_ids_order":["1330804428","1330804434","1330804438","1330804440","1330804445","1330804459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44e343e6155a60175527df676ae0420a.jpg","text":"TemporaryFile(/tmp/multipartBody7420584861320936843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627043393,"filename":"image_23012025_11_09_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/074e797acb99c837bc9d96438e2d0ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3769542788514831507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627043393,"filename":"image_23012025_11_09_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21dd0b0d1caa0e89ef25c31c9025a6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7919708341613287519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627043393,"filename":"image_23012025_11_09_24_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/044850c5e7480806812ad305c912a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody8126447389011839023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627043393,"filename":"image_23012025_11_09_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cd438418b761b30f6b696b1453a6ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4611484646845473709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627043393,"filename":"image_23012025_11_08_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/464aa30537a2e5f215cc7b3ac575d57c.jpg","text":"TemporaryFile(/tmp/multipartBody7029660695262754631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627043393,"filename":"image_23012025_11_09_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330804438","file1":"1330804434","file0":"1330804428","file4":"1330804445","file5":"1330804459","file3":"1330804440"},"map_files_photo_id_array":[{"photo_id":"1330804459","filename":"file5"},{"photo_id":"1330804438","filename":"file2"},{"photo_id":"1330804445","filename":"file4"},{"photo_id":"1330804434","filename":"file1"},{"photo_id":"1330804428","filename":"file0"},{"photo_id":"1330804440","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330804459":["hashtag1","hashtag2"]},{"1330804438":["hashtag1","hashtag2"]},{"1330804440":["hashtag1","hashtag2"]},{"1330804434":["hashtag1","hashtag2"]},{"1330804428":["hashtag1","hashtag2"]},{"1330804445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330804459, 1330804438, 1330804440, 1330804434, 1330804428, 1330804445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.31127381324768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:10:32.501226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_55_10371.jpg', '/home/pi/Desktop/images/23012025/11/09/image_23012025_11_10_04_9424.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_14_10359.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_25_10325.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_34_9419.jpg', '/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_44_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_09_55_10371.jpg
/home/pi/Desktop/images/23012025/11/09/image_23012025_11_10_04_9424.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_14_10359.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_25_10325.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_34_9419.jpg
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_44_10334.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":["1330804543","1330804546","1330804510","1330804534","1330804541","1330804495"],"photo_ids_order":["1330804495","1330804510","1330804534","1330804541","1330804543","1330804546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a82bfef0d99c3b3c93e96e65f7a6c2b.jpg","text":"TemporaryFile(/tmp/multipartBody67588565503843729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627093456,"filename":"image_23012025_11_10_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93054534e6c1f2a97995ccc32b4f1e13.jpg","text":"TemporaryFile(/tmp/multipartBody7265622322072907724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627093456,"filename":"image_23012025_11_10_44_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60ed2508bdfbaa1a5e500f5d9e232cae.jpg","text":"TemporaryFile(/tmp/multipartBody4542321825567772411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627093456,"filename":"image_23012025_11_10_04_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f415d46d5006992623ef2d30d88fc13.jpg","text":"TemporaryFile(/tmp/multipartBody7572680512278233258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627093456,"filename":"image_23012025_11_10_14_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa7f4dd6cbeeefae314eb9354fd699dd.jpg","text":"TemporaryFile(/tmp/multipartBody6390104036188857327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627093456,"filename":"image_23012025_11_10_25_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0656d4e8f11e4295519bcbc49083b212.jpg","text":"TemporaryFile(/tmp/multipartBody3310188774591794337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627093456,"filename":"image_23012025_11_09_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330804534","file1":"1330804510","file0":"1330804495","file4":"1330804543","file5":"1330804546","file3":"1330804541"},"map_files_photo_id_array":[{"photo_id":"1330804546","filename":"file5"},{"photo_id":"1330804534","filename":"file2"},{"photo_id":"1330804543","filename":"file4"},{"photo_id":"1330804510","filename":"file1"},{"photo_id":"1330804495","filename":"file0"},{"photo_id":"1330804541","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330804543":["hashtag1","hashtag2"]},{"1330804546":["hashtag1","hashtag2"]},{"1330804510":["hashtag1","hashtag2"]},{"1330804534":["hashtag1","hashtag2"]},{"1330804541":["hashtag1","hashtag2"]},{"1330804495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330804543, 1330804546, 1330804510, 1330804534, 1330804541, 1330804495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.73193097114563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:11:32.695438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_55_10353.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_15_10399.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_25_10351.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_34_9324.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_45_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/10/image_23012025_11_10_55_10353.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_15_10399.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_25_10351.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_34_9324.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_45_10336.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":["1330804624","1330804563","1330804569","1330804585","1330804576"],"photo_ids_order":["1330804563","1330804569","1330804576","1330804585","1330804624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f86fcde11c446059c89ab55f958b809.jpg","text":"TemporaryFile(/tmp/multipartBody1121928503999610017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627153572,"filename":"image_23012025_11_11_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abd6f795e67523c61597a0e1165a6996.jpg","text":"TemporaryFile(/tmp/multipartBody2116091876828897048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627153572,"filename":"image_23012025_11_10_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08c331dac2205dd61be56e3a89f005db.jpg","text":"TemporaryFile(/tmp/multipartBody8859305043556967164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627153572,"filename":"image_23012025_11_11_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81b88d29e6622c4e9aaed7bfc267fd4c.jpg","text":"TemporaryFile(/tmp/multipartBody1704246826450599395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627153572,"filename":"image_23012025_11_11_34_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37be10bdcecee18021447e8cff122262.jpg","text":"TemporaryFile(/tmp/multipartBody3727380866858587153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627153572,"filename":"image_23012025_11_11_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330804576","file1":"1330804569","file0":"1330804563","file4":"1330804624","file3":"1330804585"},"map_files_photo_id_array":[{"photo_id":"1330804576","filename":"file2"},{"photo_id":"1330804624","filename":"file4"},{"photo_id":"1330804569","filename":"file1"},{"photo_id":"1330804563","filename":"file0"},{"photo_id":"1330804585","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330804624":["hashtag1","hashtag2"]},{"1330804563":["hashtag1","hashtag2"]},{"1330804569":["hashtag1","hashtag2"]},{"1330804585":["hashtag1","hashtag2"]},{"1330804576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330804624, 1330804563, 1330804569, 1330804585, 1330804576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.68927049636841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:12:32.757047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_54_9359.jpg', '/home/pi/Desktop/images/23012025/11/11/image_23012025_11_12_04_10355.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_15_10353.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_24_9417.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_34_10328.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_11_54_9359.jpg
/home/pi/Desktop/images/23012025/11/11/image_23012025_11_12_04_10355.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_15_10353.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_24_9417.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_34_10328.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_45_10341.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":["1330804807","1330804725","1330804734","1330804763","1330804826","1330804870"],"photo_ids_order":["1330804725","1330804734","1330804763","1330804807","1330804826","1330804870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c641ff1e9b2a2616977801c6474976ee.jpg","text":"TemporaryFile(/tmp/multipartBody5778843787745802497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627213658,"filename":"image_23012025_11_12_24_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/794478da09a9af8e7c232df50e5867d7.jpg","text":"TemporaryFile(/tmp/multipartBody102195573091311687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627213658,"filename":"image_23012025_11_11_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0298fc56b9d4d4bf95499ffc0fe43e9.jpg","text":"TemporaryFile(/tmp/multipartBody3477433077786576714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627213658,"filename":"image_23012025_11_12_04_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a43f61ef317ffe4be5cba5d6a5fd5f97.jpg","text":"TemporaryFile(/tmp/multipartBody4077849095982804887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627213658,"filename":"image_23012025_11_12_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cec91b934b6c6433c17f7a3357f87de.jpg","text":"TemporaryFile(/tmp/multipartBody2933779952325645878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627213658,"filename":"image_23012025_11_12_34_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/491a70f89c520798c63c0c0bb6d37ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8169220262745608576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627213658,"filename":"image_23012025_11_12_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330804763","file1":"1330804734","file0":"1330804725","file4":"1330804826","file5":"1330804870","file3":"1330804807"},"map_files_photo_id_array":[{"photo_id":"1330804870","filename":"file5"},{"photo_id":"1330804763","filename":"file2"},{"photo_id":"1330804826","filename":"file4"},{"photo_id":"1330804734","filename":"file1"},{"photo_id":"1330804725","filename":"file0"},{"photo_id":"1330804807","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330804807":["hashtag1","hashtag2"]},{"1330804725":["hashtag1","hashtag2"]},{"1330804734":["hashtag1","hashtag2"]},{"1330804763":["hashtag1","hashtag2"]},{"1330804826":["hashtag1","hashtag2"]},{"1330804870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330804807, 1330804725, 1330804734, 1330804763, 1330804826, 1330804870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.623579263687134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:13:33.200716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_54_9444.jpg', '/home/pi/Desktop/images/23012025/11/12/image_23012025_11_13_04_10353.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_15_10334.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_24_9361.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_35_10403.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_12_54_9444.jpg
/home/pi/Desktop/images/23012025/11/12/image_23012025_11_13_04_10353.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_15_10334.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_24_9361.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_35_10403.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_44_9355.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":["1330804995","1330805000","1330804973","1330804990","1330804984","1330804978"],"photo_ids_order":["1330804973","1330804978","1330804984","1330804990","1330804995","1330805000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af22a31709da1dd63de00356b03268c8.jpg","text":"TemporaryFile(/tmp/multipartBody6845186321615003456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627274097,"filename":"image_23012025_11_13_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f5ebf90ee158543adfd010f25300e27.jpg","text":"TemporaryFile(/tmp/multipartBody6010316604191816187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627274097,"filename":"image_23012025_11_13_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d907df4ac527508035e29b9f44f89113.jpg","text":"TemporaryFile(/tmp/multipartBody2558438493103600272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627274097,"filename":"image_23012025_11_12_54_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/991e3c7f542f1a40045af8bac78168e5.jpg","text":"TemporaryFile(/tmp/multipartBody4823617955919600774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627274097,"filename":"image_23012025_11_13_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b27428cccdc2116c2c0bf4408115992b.jpg","text":"TemporaryFile(/tmp/multipartBody5826426272787926474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627274097,"filename":"image_23012025_11_13_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0e8802e0f80367abea575957b5a2e00.jpg","text":"TemporaryFile(/tmp/multipartBody6835394501226262580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627274097,"filename":"image_23012025_11_13_04_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330804984","file1":"1330804978","file0":"1330804973","file4":"1330804995","file5":"1330805000","file3":"1330804990"},"map_files_photo_id_array":[{"photo_id":"1330805000","filename":"file5"},{"photo_id":"1330804984","filename":"file2"},{"photo_id":"1330804995","filename":"file4"},{"photo_id":"1330804978","filename":"file1"},{"photo_id":"1330804973","filename":"file0"},{"photo_id":"1330804990","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330804995":["hashtag1","hashtag2"]},{"1330805000":["hashtag1","hashtag2"]},{"1330804973":["hashtag1","hashtag2"]},{"1330804990":["hashtag1","hashtag2"]},{"1330804984":["hashtag1","hashtag2"]},{"1330804978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330804995, 1330805000, 1330804973, 1330804990, 1330804984, 1330804978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.681113719940186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:14:32.313148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_54_10466.jpg', '/home/pi/Desktop/images/23012025/11/13/image_23012025_11_14_05_10413.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_14_9376.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_25_10415.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_34_9466.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_45_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_13_54_10466.jpg
/home/pi/Desktop/images/23012025/11/13/image_23012025_11_14_05_10413.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_14_9376.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_25_10415.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_34_9466.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_45_10445.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":["1330805209","1330805200","1330805121","1330805045","1330805036","1330805029"],"photo_ids_order":["1330805029","1330805036","1330805045","1330805121","1330805200","1330805209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/805c19e0e86afd031ceb455aec985a70.jpg","text":"TemporaryFile(/tmp/multipartBody1610113870059119079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333203,"filename":"image_23012025_11_14_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0f1574a77abb41fa37d66ec52134cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4662448932409682456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333203,"filename":"image_23012025_11_14_34_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7645b90e9992adbfd8c7c69454abd3ba.jpg","text":"TemporaryFile(/tmp/multipartBody4196941264239741482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333203,"filename":"image_23012025_11_14_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc9a440e86201ccce2125a73d360d3a1.jpg","text":"TemporaryFile(/tmp/multipartBody5306777120391109516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333203,"filename":"image_23012025_11_14_14_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df150cfc1e2918c6d3f15af25331bf3f.jpg","text":"TemporaryFile(/tmp/multipartBody3671565043551468028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333203,"filename":"image_23012025_11_14_05_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9c7eb715bfd2eae90ec5884220adfe9.jpg","text":"TemporaryFile(/tmp/multipartBody6794425991858770208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627333203,"filename":"image_23012025_11_13_54_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805045","file1":"1330805036","file0":"1330805029","file4":"1330805200","file5":"1330805209","file3":"1330805121"},"map_files_photo_id_array":[{"photo_id":"1330805209","filename":"file5"},{"photo_id":"1330805045","filename":"file2"},{"photo_id":"1330805200","filename":"file4"},{"photo_id":"1330805036","filename":"file1"},{"photo_id":"1330805029","filename":"file0"},{"photo_id":"1330805121","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805209":["hashtag1","hashtag2"]},{"1330805200":["hashtag1","hashtag2"]},{"1330805121":["hashtag1","hashtag2"]},{"1330805045":["hashtag1","hashtag2"]},{"1330805036":["hashtag1","hashtag2"]},{"1330805029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805209, 1330805200, 1330805121, 1330805045, 1330805036, 1330805029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02011156082153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:15:32.530599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_54_9358.jpg', '/home/pi/Desktop/images/23012025/11/14/image_23012025_11_15_04_10328.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_15_10348.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_24_9355.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_34_10362.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_45_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_14_54_9358.jpg
/home/pi/Desktop/images/23012025/11/14/image_23012025_11_15_04_10328.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_15_10348.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_24_9355.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_34_10362.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_45_10340.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":["1330805286","1330805274","1330805284","1330805237","1330805263","1330805242"],"photo_ids_order":["1330805237","1330805242","1330805263","1330805274","1330805284","1330805286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c68fb39885d96c49ca040ba0f9773fe.jpg","text":"TemporaryFile(/tmp/multipartBody7743939563199666065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627393410,"filename":"image_23012025_11_15_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8792002f85ff870d8ff7cbd9f58a6a1.jpg","text":"TemporaryFile(/tmp/multipartBody3317386291609136176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627393410,"filename":"image_23012025_11_15_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a167efbae7cb113234589af1ee8eedb.jpg","text":"TemporaryFile(/tmp/multipartBody5379945773798542757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627393410,"filename":"image_23012025_11_15_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b954ed20bf86f30b84c6b6bb86618e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8456117906433216916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627393410,"filename":"image_23012025_11_14_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bbddd49536c2a109e5a6dbc605192df.jpg","text":"TemporaryFile(/tmp/multipartBody4219668176159638283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627393410,"filename":"image_23012025_11_15_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6982cf2707d4936718db2b61029c59ec.jpg","text":"TemporaryFile(/tmp/multipartBody8056620919730938172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627393410,"filename":"image_23012025_11_15_04_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805263","file1":"1330805242","file0":"1330805237","file4":"1330805284","file5":"1330805286","file3":"1330805274"},"map_files_photo_id_array":[{"photo_id":"1330805286","filename":"file5"},{"photo_id":"1330805263","filename":"file2"},{"photo_id":"1330805284","filename":"file4"},{"photo_id":"1330805242","filename":"file1"},{"photo_id":"1330805237","filename":"file0"},{"photo_id":"1330805274","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805286":["hashtag1","hashtag2"]},{"1330805274":["hashtag1","hashtag2"]},{"1330805284":["hashtag1","hashtag2"]},{"1330805237":["hashtag1","hashtag2"]},{"1330805263":["hashtag1","hashtag2"]},{"1330805242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805286, 1330805274, 1330805284, 1330805237, 1330805263, 1330805242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.81109023094177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:16:32.740762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_54_9366.jpg', '/home/pi/Desktop/images/23012025/11/15/image_23012025_11_16_04_10421.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_15_10322.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_24_9440.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_35_10338.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_44_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_15_54_9366.jpg
/home/pi/Desktop/images/23012025/11/15/image_23012025_11_16_04_10421.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_15_10322.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_24_9440.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_35_10338.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_44_9412.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":["1330805352","1330805360","1330805363","1330805348","1330805368","1330805356"],"photo_ids_order":["1330805348","1330805352","1330805356","1330805360","1330805363","1330805368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08084fdd3f93a92c789f6bce2b015dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4375768299260974321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627453652,"filename":"image_23012025_11_16_04_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/839b948d6563a61ecd6a3e6087e0c236.jpg","text":"TemporaryFile(/tmp/multipartBody5806736935773244891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627453652,"filename":"image_23012025_11_16_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57bb47d35723951ad33627f81fd2ba2a.jpg","text":"TemporaryFile(/tmp/multipartBody6667185667422124832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627453652,"filename":"image_23012025_11_16_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8887ec1d62c1c4f75a98a257a18c8d21.jpg","text":"TemporaryFile(/tmp/multipartBody8152861466467774596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627453652,"filename":"image_23012025_11_15_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bc9b88502a0d832acab77e8583a73eb.jpg","text":"TemporaryFile(/tmp/multipartBody5207300698682391994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627453652,"filename":"image_23012025_11_16_44_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14d827876d00e1a08f2167838c7d4629.jpg","text":"TemporaryFile(/tmp/multipartBody2999626391183256317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627453652,"filename":"image_23012025_11_16_15_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805356","file1":"1330805352","file0":"1330805348","file4":"1330805363","file5":"1330805368","file3":"1330805360"},"map_files_photo_id_array":[{"photo_id":"1330805368","filename":"file5"},{"photo_id":"1330805356","filename":"file2"},{"photo_id":"1330805363","filename":"file4"},{"photo_id":"1330805352","filename":"file1"},{"photo_id":"1330805348","filename":"file0"},{"photo_id":"1330805360","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805352":["hashtag1","hashtag2"]},{"1330805360":["hashtag1","hashtag2"]},{"1330805363":["hashtag1","hashtag2"]},{"1330805348":["hashtag1","hashtag2"]},{"1330805368":["hashtag1","hashtag2"]},{"1330805356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805352, 1330805360, 1330805363, 1330805348, 1330805368, 1330805356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22895312309265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:17:32.914199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_54_10406.jpg', '/home/pi/Desktop/images/23012025/11/16/image_23012025_11_17_05_10321.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_14_9382.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_24_10362.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_35_10415.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_44_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_16_54_10406.jpg
/home/pi/Desktop/images/23012025/11/16/image_23012025_11_17_05_10321.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_14_9382.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_24_10362.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_35_10415.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_44_9346.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":["1330805430","1330805433","1330805424","1330805441","1330805417","1330805426"],"photo_ids_order":["1330805417","1330805424","1330805426","1330805430","1330805433","1330805441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6d901fe7eda7c90c763794b400fa76e.jpg","text":"TemporaryFile(/tmp/multipartBody7771713176423075379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627513825,"filename":"image_23012025_11_17_24_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71ecd54eb204ed57866a907a18b41779.jpg","text":"TemporaryFile(/tmp/multipartBody370883329064935158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627513825,"filename":"image_23012025_11_17_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb3ea43970497408dd9457eb6d59c53a.jpg","text":"TemporaryFile(/tmp/multipartBody3017589613021235707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627513825,"filename":"image_23012025_11_17_05_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82406ec571150e8fefd028ef90375f00.jpg","text":"TemporaryFile(/tmp/multipartBody5589271303344376967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627513825,"filename":"image_23012025_11_17_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4884b5c2243a3d6091ed82b086228a69.jpg","text":"TemporaryFile(/tmp/multipartBody4878031288079794395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627513825,"filename":"image_23012025_11_16_54_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc4d7f18f189fb58f3574fe46865b20c.jpg","text":"TemporaryFile(/tmp/multipartBody4481426667950146738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627513825,"filename":"image_23012025_11_17_14_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805426","file1":"1330805424","file0":"1330805417","file4":"1330805433","file5":"1330805441","file3":"1330805430"},"map_files_photo_id_array":[{"photo_id":"1330805441","filename":"file5"},{"photo_id":"1330805426","filename":"file2"},{"photo_id":"1330805433","filename":"file4"},{"photo_id":"1330805424","filename":"file1"},{"photo_id":"1330805417","filename":"file0"},{"photo_id":"1330805430","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805430":["hashtag1","hashtag2"]},{"1330805433":["hashtag1","hashtag2"]},{"1330805424":["hashtag1","hashtag2"]},{"1330805441":["hashtag1","hashtag2"]},{"1330805417":["hashtag1","hashtag2"]},{"1330805426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805430, 1330805433, 1330805424, 1330805441, 1330805417, 1330805426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12196707725525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:18:32.485721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_55_10346.jpg', '/home/pi/Desktop/images/23012025/11/17/image_23012025_11_18_05_10347.jpg', '/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_14_9386.jpg', '/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_25_10366.jpg', '/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_34_9326.jpg', '/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_44_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_17_55_10346.jpg
/home/pi/Desktop/images/23012025/11/17/image_23012025_11_18_05_10347.jpg
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_14_9386.jpg
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_25_10366.jpg
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_34_9326.jpg
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_44_10350.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":["1330805508","1330805517","1330805513","1330805497","1330805488","1330805503"],"photo_ids_order":["1330805488","1330805497","1330805503","1330805508","1330805513","1330805517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf6f3df8ddfa2086d28b37484e24275c.jpg","text":"TemporaryFile(/tmp/multipartBody987659872865177403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627573380,"filename":"image_23012025_11_18_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5a3b610a4ae5d49b15a1578e0696867.jpg","text":"TemporaryFile(/tmp/multipartBody8057759319530122998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627573380,"filename":"image_23012025_11_18_44_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0602b0cbb33d7169118eaa2f6c2ca2e.jpg","text":"TemporaryFile(/tmp/multipartBody2828657538512780279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627573380,"filename":"image_23012025_11_18_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/753e6c0419d704dcbdee723a6ba7d8ce.jpg","text":"TemporaryFile(/tmp/multipartBody8676654862940855171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627573380,"filename":"image_23012025_11_18_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf8366b5ee3a1d3fc95aeab2388d17a3.jpg","text":"TemporaryFile(/tmp/multipartBody9072217853098089084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627573380,"filename":"image_23012025_11_17_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1483c18080a93c739fe8adb1a46629d.jpg","text":"TemporaryFile(/tmp/multipartBody7211439506345522736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627573380,"filename":"image_23012025_11_18_14_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805503","file1":"1330805497","file0":"1330805488","file4":"1330805513","file5":"1330805517","file3":"1330805508"},"map_files_photo_id_array":[{"photo_id":"1330805517","filename":"file5"},{"photo_id":"1330805503","filename":"file2"},{"photo_id":"1330805513","filename":"file4"},{"photo_id":"1330805497","filename":"file1"},{"photo_id":"1330805488","filename":"file0"},{"photo_id":"1330805508","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805508":["hashtag1","hashtag2"]},{"1330805517":["hashtag1","hashtag2"]},{"1330805513":["hashtag1","hashtag2"]},{"1330805497":["hashtag1","hashtag2"]},{"1330805488":["hashtag1","hashtag2"]},{"1330805503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805508, 1330805517, 1330805513, 1330805497, 1330805488, 1330805503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02795433998108 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:19:32.579174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_55_10348.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_14_10330.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_25_10431.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_34_9342.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_44_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/18/image_23012025_11_18_55_10348.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_14_10330.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_25_10431.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_34_9342.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_44_10330.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":["1330805577","1330805544","1330805547","1330805541","1330805581"],"photo_ids_order":["1330805541","1330805544","1330805547","1330805577","1330805581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55e7fa6fd2cfd375fc084ed631b5ea1a.jpg","text":"TemporaryFile(/tmp/multipartBody2245328165616994706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627633455,"filename":"image_23012025_11_19_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/905d00e8b7dcb2300ca10c2ce6094ece.jpg","text":"TemporaryFile(/tmp/multipartBody214148408773523497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627633455,"filename":"image_23012025_11_19_14_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14b59da5e8589e7e48d4d3bbe5b849d6.jpg","text":"TemporaryFile(/tmp/multipartBody3613753825052747377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627633455,"filename":"image_23012025_11_19_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ce3f43abc4deb930630a36343840251.jpg","text":"TemporaryFile(/tmp/multipartBody6637897210285011734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627633455,"filename":"image_23012025_11_18_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8be28c750aeb4e851806e9ab2e9f2ca.jpg","text":"TemporaryFile(/tmp/multipartBody6744257389295873623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627633455,"filename":"image_23012025_11_19_44_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805547","file1":"1330805544","file0":"1330805541","file4":"1330805581","file3":"1330805577"},"map_files_photo_id_array":[{"photo_id":"1330805547","filename":"file2"},{"photo_id":"1330805581","filename":"file4"},{"photo_id":"1330805544","filename":"file1"},{"photo_id":"1330805541","filename":"file0"},{"photo_id":"1330805577","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805577":["hashtag1","hashtag2"]},{"1330805544":["hashtag1","hashtag2"]},{"1330805547":["hashtag1","hashtag2"]},{"1330805541":["hashtag1","hashtag2"]},{"1330805581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805577, 1330805544, 1330805547, 1330805541, 1330805581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.4157612323761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:20:32.771542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_55_10370.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_20_04_9334.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_15_10333.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_24_9437.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_34_10338.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_55_10370.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_20_04_9334.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_15_10333.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_24_9437.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_34_10338.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_45_10345.jpg
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: 0.5304005146026611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:20:42.770438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_55_10370.jpg', '/home/pi/Desktop/images/23012025/11/19/image_23012025_11_20_04_9334.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_15_10333.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_24_9437.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_34_10338.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_19_55_10370.jpg
/home/pi/Desktop/images/23012025/11/19/image_23012025_11_20_04_9334.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_15_10333.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_24_9437.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_34_10338.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_45_10345.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":["1330805634","1330805613","1330805616","1330805624","1330805629","1330805620"],"photo_ids_order":["1330805613","1330805616","1330805620","1330805624","1330805629","1330805634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38a45b5dbfcbea39e6b8b9af5b9e7af2.jpg","text":"TemporaryFile(/tmp/multipartBody984910889831232703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627703662,"filename":"image_23012025_11_20_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69794366e42b2be07c78a07f7e440c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4633678906148404780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627703662,"filename":"image_23012025_11_19_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffd580ebc80ef251507524f286f8cedb.jpg","text":"TemporaryFile(/tmp/multipartBody5245550556133001704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627703662,"filename":"image_23012025_11_20_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14264560b0328f7181606aa4b16bc617.jpg","text":"TemporaryFile(/tmp/multipartBody8973235684235128634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627703662,"filename":"image_23012025_11_20_24_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3995910f3ec07a958579d44cf060a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3564080770088803569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627703662,"filename":"image_23012025_11_20_34_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd5e55023bd86365802d348315835ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1492888664681456018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627703662,"filename":"image_23012025_11_20_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805620","file1":"1330805616","file0":"1330805613","file4":"1330805629","file5":"1330805634","file3":"1330805624"},"map_files_photo_id_array":[{"photo_id":"1330805634","filename":"file5"},{"photo_id":"1330805620","filename":"file2"},{"photo_id":"1330805629","filename":"file4"},{"photo_id":"1330805616","filename":"file1"},{"photo_id":"1330805613","filename":"file0"},{"photo_id":"1330805624","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805634":["hashtag1","hashtag2"]},{"1330805613":["hashtag1","hashtag2"]},{"1330805616":["hashtag1","hashtag2"]},{"1330805624":["hashtag1","hashtag2"]},{"1330805629":["hashtag1","hashtag2"]},{"1330805620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805634, 1330805613, 1330805616, 1330805624, 1330805629, 1330805620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59372544288635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:21:33.018955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_54_9473.jpg', '/home/pi/Desktop/images/23012025/11/20/image_23012025_11_21_04_10323.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_15_10343.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_24_9421.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_35_10335.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_44_9536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_20_54_9473.jpg
/home/pi/Desktop/images/23012025/11/20/image_23012025_11_21_04_10323.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_15_10343.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_24_9421.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_35_10335.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_44_9536.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":["1330805673","1330805679","1330805684","1330805657","1330805689","1330805656"],"photo_ids_order":["1330805656","1330805657","1330805673","1330805679","1330805684","1330805689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/330a67477bb72916fc3935608e21c9d7.jpg","text":"TemporaryFile(/tmp/multipartBody866551819581655954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753916,"filename":"image_23012025_11_21_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/793c197ba7851baa826225469b91daf5.jpg","text":"TemporaryFile(/tmp/multipartBody1258114506597611262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753916,"filename":"image_23012025_11_21_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aba309bb405e4ffb8b488bd79b6b1b09.jpg","text":"TemporaryFile(/tmp/multipartBody2349624565155817951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753916,"filename":"image_23012025_11_21_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c99becd866db36291c6c5a08127748a.jpg","text":"TemporaryFile(/tmp/multipartBody694222759481714645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753916,"filename":"image_23012025_11_21_04_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f890dde9927afa475b44c6fb829b9152.jpg","text":"TemporaryFile(/tmp/multipartBody8280226418899109348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753916,"filename":"image_23012025_11_21_44_9536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ddda83a41de6a86e08768d647124f57.jpg","text":"TemporaryFile(/tmp/multipartBody8607615729441380816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627753916,"filename":"image_23012025_11_20_54_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805673","file1":"1330805657","file0":"1330805656","file4":"1330805684","file5":"1330805689","file3":"1330805679"},"map_files_photo_id_array":[{"photo_id":"1330805689","filename":"file5"},{"photo_id":"1330805673","filename":"file2"},{"photo_id":"1330805684","filename":"file4"},{"photo_id":"1330805657","filename":"file1"},{"photo_id":"1330805656","filename":"file0"},{"photo_id":"1330805679","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805673":["hashtag1","hashtag2"]},{"1330805679":["hashtag1","hashtag2"]},{"1330805684":["hashtag1","hashtag2"]},{"1330805657":["hashtag1","hashtag2"]},{"1330805689":["hashtag1","hashtag2"]},{"1330805656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805673, 1330805679, 1330805684, 1330805657, 1330805689, 1330805656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26414895057678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:22:33.119325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_54_10364.jpg', '/home/pi/Desktop/images/23012025/11/21/image_23012025_11_22_05_10351.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_14_9322.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_24_10341.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_35_10335.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_44_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_21_54_10364.jpg
/home/pi/Desktop/images/23012025/11/21/image_23012025_11_22_05_10351.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_14_9322.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_24_10341.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_35_10335.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_44_9329.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":["1330805835","1330805867","1330805819","1330805812","1330805740","1330805790"],"photo_ids_order":["1330805740","1330805790","1330805812","1330805819","1330805835","1330805867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21ca320c8ef98b31f89b9f921624c5c7.jpg","text":"TemporaryFile(/tmp/multipartBody8610760634038263676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813999,"filename":"image_23012025_11_22_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a76750c9c97387f45215b8fbc0090cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8799886487831938178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813999,"filename":"image_23012025_11_22_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cef558203fd50b175ff9abd7ad207ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7760746243735798264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813999,"filename":"image_23012025_11_22_24_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3bde2ef82c10b572bc971e70dff943b.jpg","text":"TemporaryFile(/tmp/multipartBody5370227588630570199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813999,"filename":"image_23012025_11_22_14_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2508ab7bb61034965e051452d7b0f599.jpg","text":"TemporaryFile(/tmp/multipartBody294454523414557452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813999,"filename":"image_23012025_11_21_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c13178f61e2807d2139f74831426eb7d.jpg","text":"TemporaryFile(/tmp/multipartBody6994697065431167880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627813999,"filename":"image_23012025_11_22_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805812","file1":"1330805790","file0":"1330805740","file4":"1330805835","file5":"1330805867","file3":"1330805819"},"map_files_photo_id_array":[{"photo_id":"1330805867","filename":"file5"},{"photo_id":"1330805812","filename":"file2"},{"photo_id":"1330805835","filename":"file4"},{"photo_id":"1330805790","filename":"file1"},{"photo_id":"1330805740","filename":"file0"},{"photo_id":"1330805819","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805835":["hashtag1","hashtag2"]},{"1330805867":["hashtag1","hashtag2"]},{"1330805819":["hashtag1","hashtag2"]},{"1330805812":["hashtag1","hashtag2"]},{"1330805740":["hashtag1","hashtag2"]},{"1330805790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805835, 1330805867, 1330805819, 1330805812, 1330805740, 1330805790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27011561393738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:23:32.321306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_55_10459.jpg', '/home/pi/Desktop/images/23012025/11/22/image_23012025_11_23_04_9338.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_14_10410.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_25_10332.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_34_9407.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_44_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_22_55_10459.jpg
/home/pi/Desktop/images/23012025/11/22/image_23012025_11_23_04_9338.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_14_10410.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_25_10332.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_34_9407.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_44_10335.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":["1330805940","1330805957","1330805945","1330805960","1330805950","1330805997"],"photo_ids_order":["1330805940","1330805945","1330805950","1330805957","1330805960","1330805997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f63047e01708fd1d95ae103c5c087f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1278705318423992010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627873214,"filename":"image_23012025_11_22_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10980851c56a11932b03e4ab644932a5.jpg","text":"TemporaryFile(/tmp/multipartBody8265693297808786957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627873214,"filename":"image_23012025_11_23_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f03f1c7ec2704a9f5d7a9267a9727a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5757850320531283850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627873214,"filename":"image_23012025_11_23_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a824877f3250d5decc2a8bc596bef3c4.jpg","text":"TemporaryFile(/tmp/multipartBody9082715936253407097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627873214,"filename":"image_23012025_11_23_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/385e4c801217dbfe5a1819d13c4698f8.jpg","text":"TemporaryFile(/tmp/multipartBody7924129373111374506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627873214,"filename":"image_23012025_11_23_14_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3aa39a523f0e2e15410ac99c39d48256.jpg","text":"TemporaryFile(/tmp/multipartBody6045171212129349563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627873214,"filename":"image_23012025_11_23_44_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330805950","file1":"1330805945","file0":"1330805940","file4":"1330805960","file5":"1330805997","file3":"1330805957"},"map_files_photo_id_array":[{"photo_id":"1330805997","filename":"file5"},{"photo_id":"1330805950","filename":"file2"},{"photo_id":"1330805960","filename":"file4"},{"photo_id":"1330805945","filename":"file1"},{"photo_id":"1330805940","filename":"file0"},{"photo_id":"1330805957","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330805940":["hashtag1","hashtag2"]},{"1330805957":["hashtag1","hashtag2"]},{"1330805945":["hashtag1","hashtag2"]},{"1330805960":["hashtag1","hashtag2"]},{"1330805950":["hashtag1","hashtag2"]},{"1330805997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330805940, 1330805957, 1330805945, 1330805960, 1330805950, 1330805997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.50626492500305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:24:32.546355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_55_10342.jpg', '/home/pi/Desktop/images/23012025/11/23/image_23012025_11_24_04_9456.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_15_10356.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_24_9491.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_34_10428.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_45_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_23_55_10342.jpg
/home/pi/Desktop/images/23012025/11/23/image_23012025_11_24_04_9456.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_15_10356.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_24_9491.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_34_10428.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_45_10325.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":["1330806782","1330806776","1330806785","1330806770","1330806765","1330806780"],"photo_ids_order":["1330806765","1330806770","1330806776","1330806780","1330806782","1330806785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d9214dff46a88e713aa090e3e94722f.jpg","text":"TemporaryFile(/tmp/multipartBody8596611806889131732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627933437,"filename":"image_23012025_11_24_34_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efa2a551233b454e3fe846d4f89e9eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6280589733615971110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627933437,"filename":"image_23012025_11_24_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b44b88a09e74f5ecf8d99f883efdd9d6.jpg","text":"TemporaryFile(/tmp/multipartBody4370229653536123580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627933437,"filename":"image_23012025_11_24_45_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19354937e67ba83bb1ce2ec9dd277bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2465117227785137463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627933437,"filename":"image_23012025_11_24_04_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbe7ce6bf6a01c3d683b54508b5687af.jpg","text":"TemporaryFile(/tmp/multipartBody7555390300919101580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627933437,"filename":"image_23012025_11_23_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45457df3a723b127c3d23b5c57db3065.jpg","text":"TemporaryFile(/tmp/multipartBody5838017771098146463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627933437,"filename":"image_23012025_11_24_24_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330806776","file1":"1330806770","file0":"1330806765","file4":"1330806782","file5":"1330806785","file3":"1330806780"},"map_files_photo_id_array":[{"photo_id":"1330806785","filename":"file5"},{"photo_id":"1330806776","filename":"file2"},{"photo_id":"1330806782","filename":"file4"},{"photo_id":"1330806770","filename":"file1"},{"photo_id":"1330806765","filename":"file0"},{"photo_id":"1330806780","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330806782":["hashtag1","hashtag2"]},{"1330806776":["hashtag1","hashtag2"]},{"1330806785":["hashtag1","hashtag2"]},{"1330806770":["hashtag1","hashtag2"]},{"1330806765":["hashtag1","hashtag2"]},{"1330806780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330806782, 1330806776, 1330806785, 1330806770, 1330806765, 1330806780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87719988822937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:25:32.712859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_54_9402.jpg', '/home/pi/Desktop/images/23012025/11/24/image_23012025_11_25_05_10323.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_14_9335.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_24_10361.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_35_10341.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_44_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_24_54_9402.jpg
/home/pi/Desktop/images/23012025/11/24/image_23012025_11_25_05_10323.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_14_9335.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_24_10361.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_35_10341.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_44_9316.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":["1330806840","1330806890","1330806848","1330806844","1330806864","1330806867"],"photo_ids_order":["1330806840","1330806844","1330806848","1330806864","1330806867","1330806890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7d63ac631631f90c55a5dc2e4130d77.jpg","text":"TemporaryFile(/tmp/multipartBody1234755396475295895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627993594,"filename":"image_23012025_11_24_54_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf20ff9c1171dedd7f2c031ce1538ea6.jpg","text":"TemporaryFile(/tmp/multipartBody6776656972014426749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627993594,"filename":"image_23012025_11_25_44_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e77a3e79d03284d96d7f75d0cdab962e.jpg","text":"TemporaryFile(/tmp/multipartBody5809156663186030055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627993594,"filename":"image_23012025_11_25_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30d84eed6dfb1aeca01fea438b9d8ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8511428093938777505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627993594,"filename":"image_23012025_11_25_05_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/659ce53cb0785056a614d4f14b55d0bc.jpg","text":"TemporaryFile(/tmp/multipartBody2233720053441249693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627993594,"filename":"image_23012025_11_25_24_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ace4f9ea009a905a9c6722a6853b00e.jpg","text":"TemporaryFile(/tmp/multipartBody1470834661230632001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737627993594,"filename":"image_23012025_11_25_35_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330806848","file1":"1330806844","file0":"1330806840","file4":"1330806867","file5":"1330806890","file3":"1330806864"},"map_files_photo_id_array":[{"photo_id":"1330806890","filename":"file5"},{"photo_id":"1330806848","filename":"file2"},{"photo_id":"1330806867","filename":"file4"},{"photo_id":"1330806844","filename":"file1"},{"photo_id":"1330806840","filename":"file0"},{"photo_id":"1330806864","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330806840":["hashtag1","hashtag2"]},{"1330806890":["hashtag1","hashtag2"]},{"1330806848":["hashtag1","hashtag2"]},{"1330806844":["hashtag1","hashtag2"]},{"1330806864":["hashtag1","hashtag2"]},{"1330806867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330806840, 1330806890, 1330806848, 1330806844, 1330806864, 1330806867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6139178276062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:26:32.945997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_54_10376.jpg', '/home/pi/Desktop/images/23012025/11/25/image_23012025_11_26_05_10353.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_14_9346.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_24_10470.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_35_10357.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_44_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_25_54_10376.jpg
/home/pi/Desktop/images/23012025/11/25/image_23012025_11_26_05_10353.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_14_9346.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_24_10470.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_35_10357.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_44_9404.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":["1330807391","1330807346","1330807375","1330807363","1330807389","1330807368"],"photo_ids_order":["1330807346","1330807363","1330807368","1330807375","1330807389","1330807391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b5e5bd9bbe497110a0011813743313c.jpg","text":"TemporaryFile(/tmp/multipartBody8039467979442201727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628053822,"filename":"image_23012025_11_26_44_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4364126675101646105a69f4c7fe4a01.jpg","text":"TemporaryFile(/tmp/multipartBody3429883538401183606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628053822,"filename":"image_23012025_11_25_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0ee45f437f4213e8b0320dfbc4f9f93.jpg","text":"TemporaryFile(/tmp/multipartBody8026709109125687222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628053822,"filename":"image_23012025_11_26_24_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccf270ef0a0bb000cb6ba4af4036ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody77351786731007693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628053822,"filename":"image_23012025_11_26_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/584d45bbcf80b1ae0bbbad68c59d2566.jpg","text":"TemporaryFile(/tmp/multipartBody3723119658940201389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628053822,"filename":"image_23012025_11_26_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e807927ca6845d343e2fbbc48302300.jpg","text":"TemporaryFile(/tmp/multipartBody920880351976085981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628053822,"filename":"image_23012025_11_26_14_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330807368","file1":"1330807363","file0":"1330807346","file4":"1330807389","file5":"1330807391","file3":"1330807375"},"map_files_photo_id_array":[{"photo_id":"1330807391","filename":"file5"},{"photo_id":"1330807368","filename":"file2"},{"photo_id":"1330807389","filename":"file4"},{"photo_id":"1330807363","filename":"file1"},{"photo_id":"1330807346","filename":"file0"},{"photo_id":"1330807375","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330807391":["hashtag1","hashtag2"]},{"1330807346":["hashtag1","hashtag2"]},{"1330807375":["hashtag1","hashtag2"]},{"1330807363":["hashtag1","hashtag2"]},{"1330807389":["hashtag1","hashtag2"]},{"1330807368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330807391, 1330807346, 1330807375, 1330807363, 1330807389, 1330807368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.74226236343384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:27:33.118666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_55_10446.jpg', '/home/pi/Desktop/images/23012025/11/26/image_23012025_11_27_04_9405.jpg', '/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_14_10339.jpg', '/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_25_10352.jpg', '/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_34_9430.jpg', '/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_26_55_10446.jpg
/home/pi/Desktop/images/23012025/11/26/image_23012025_11_27_04_9405.jpg
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_14_10339.jpg
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_25_10352.jpg
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_34_9430.jpg
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_45_10341.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":["1330807625","1330807613","1330807585","1330807561","1330807627","1330807623"],"photo_ids_order":["1330807561","1330807585","1330807613","1330807623","1330807625","1330807627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c942e00544c4c9ca5774a30756fff5ac.jpg","text":"TemporaryFile(/tmp/multipartBody7916938830446711564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628114047,"filename":"image_23012025_11_27_34_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc4c37256284ce89510157571c1ff275.jpg","text":"TemporaryFile(/tmp/multipartBody3004733477191893680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628114047,"filename":"image_23012025_11_27_14_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdf7b40b5b453c5da4adfdb5e5139e96.jpg","text":"TemporaryFile(/tmp/multipartBody4536797515013849034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628114047,"filename":"image_23012025_11_27_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9e32989faed1b787826b4b5f6bc3b42.jpg","text":"TemporaryFile(/tmp/multipartBody8367085827665679530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628114047,"filename":"image_23012025_11_26_55_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e9c2f47531224c07769d242c8e9832f.jpg","text":"TemporaryFile(/tmp/multipartBody4424933004193774973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628114047,"filename":"image_23012025_11_27_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b2622f41f622847826f498a43f2eeea.jpg","text":"TemporaryFile(/tmp/multipartBody6355010694974708324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628114047,"filename":"image_23012025_11_27_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330807613","file1":"1330807585","file0":"1330807561","file4":"1330807625","file5":"1330807627","file3":"1330807623"},"map_files_photo_id_array":[{"photo_id":"1330807627","filename":"file5"},{"photo_id":"1330807613","filename":"file2"},{"photo_id":"1330807625","filename":"file4"},{"photo_id":"1330807585","filename":"file1"},{"photo_id":"1330807561","filename":"file0"},{"photo_id":"1330807623","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330807625":["hashtag1","hashtag2"]},{"1330807613":["hashtag1","hashtag2"]},{"1330807585":["hashtag1","hashtag2"]},{"1330807561":["hashtag1","hashtag2"]},{"1330807627":["hashtag1","hashtag2"]},{"1330807623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330807625, 1330807613, 1330807585, 1330807561, 1330807627, 1330807623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62967538833618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:28:32.505313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_55_10342.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_15_10335.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_24_9376.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_34_10357.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_45_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/27/image_23012025_11_27_55_10342.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_15_10335.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_24_9376.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_34_10357.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_45_10319.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":["1330807943","1330807937","1330807931","1330807954","1330807950"],"photo_ids_order":["1330807931","1330807937","1330807943","1330807950","1330807954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/524ca1cb4495946766772349c7f1e385.jpg","text":"TemporaryFile(/tmp/multipartBody3690370077994890747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173375,"filename":"image_23012025_11_28_24_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa7d70746e177ffcacd2fcad145cd917.jpg","text":"TemporaryFile(/tmp/multipartBody7818280532135243303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173375,"filename":"image_23012025_11_28_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f6608046ab43b3d6b314cdef89e22c8.jpg","text":"TemporaryFile(/tmp/multipartBody6009316916613926839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173375,"filename":"image_23012025_11_27_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6979b3e2e65e84a284acaf66ec1133dc.jpg","text":"TemporaryFile(/tmp/multipartBody4616282884971488569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173375,"filename":"image_23012025_11_28_45_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/648f02dede0039df292d2d4416a4956c.jpg","text":"TemporaryFile(/tmp/multipartBody5135469858419238855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628173375,"filename":"image_23012025_11_28_34_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330807943","file1":"1330807937","file0":"1330807931","file4":"1330807954","file3":"1330807950"},"map_files_photo_id_array":[{"photo_id":"1330807943","filename":"file2"},{"photo_id":"1330807954","filename":"file4"},{"photo_id":"1330807937","filename":"file1"},{"photo_id":"1330807931","filename":"file0"},{"photo_id":"1330807950","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330807943":["hashtag1","hashtag2"]},{"1330807937":["hashtag1","hashtag2"]},{"1330807931":["hashtag1","hashtag2"]},{"1330807954":["hashtag1","hashtag2"]},{"1330807950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330807943, 1330807937, 1330807931, 1330807954, 1330807950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.11174774169922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:29:32.719304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_54_9391.jpg', '/home/pi/Desktop/images/23012025/11/28/image_23012025_11_29_04_10341.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_15_10351.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_24_9436.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_34_10324.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_45_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_28_54_9391.jpg
/home/pi/Desktop/images/23012025/11/28/image_23012025_11_29_04_10341.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_15_10351.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_24_9436.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_34_10324.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_45_10319.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":["1330807993","1330807978","1330807972","1330807998","1330807989","1330807983"],"photo_ids_order":["1330807972","1330807978","1330807983","1330807989","1330807993","1330807998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/360f06b3af2864f1dfa26d34bd8b4ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8701220061536450579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233604,"filename":"image_23012025_11_29_34_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6963a62c71e86d555eda5ee4d2877d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7587675901461288058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233604,"filename":"image_23012025_11_29_04_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff19373a2e38903c7a4d0f273d082d03.jpg","text":"TemporaryFile(/tmp/multipartBody1211855320741203184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233604,"filename":"image_23012025_11_28_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14cc7a500cfc28f3648e1bc74e4710f5.jpg","text":"TemporaryFile(/tmp/multipartBody6558687040929436685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233604,"filename":"image_23012025_11_29_45_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa9b452c7f3b8e6b95d25ee723f930de.jpg","text":"TemporaryFile(/tmp/multipartBody7646338854638410404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233604,"filename":"image_23012025_11_29_24_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f2f3cad4c8ee207a5d2e84094051fdf.jpg","text":"TemporaryFile(/tmp/multipartBody5986253325170466427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628233604,"filename":"image_23012025_11_29_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330807983","file1":"1330807978","file0":"1330807972","file4":"1330807993","file5":"1330807998","file3":"1330807989"},"map_files_photo_id_array":[{"photo_id":"1330807998","filename":"file5"},{"photo_id":"1330807983","filename":"file2"},{"photo_id":"1330807993","filename":"file4"},{"photo_id":"1330807978","filename":"file1"},{"photo_id":"1330807972","filename":"file0"},{"photo_id":"1330807989","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330807993":["hashtag1","hashtag2"]},{"1330807978":["hashtag1","hashtag2"]},{"1330807972":["hashtag1","hashtag2"]},{"1330807998":["hashtag1","hashtag2"]},{"1330807989":["hashtag1","hashtag2"]},{"1330807983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330807993, 1330807978, 1330807972, 1330807998, 1330807989, 1330807983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80925464630127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:30:32.799036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_54_9361.jpg', '/home/pi/Desktop/images/23012025/11/29/image_23012025_11_30_05_10335.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_14_9357.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_24_10360.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_35_10335.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_44_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_29_54_9361.jpg
/home/pi/Desktop/images/23012025/11/29/image_23012025_11_30_05_10335.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_14_9357.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_24_10360.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_35_10335.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_44_9329.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":["1330808054","1330808033","1330808059","1330808047","1330808057","1330808051"],"photo_ids_order":["1330808033","1330808047","1330808051","1330808054","1330808057","1330808059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68e1ad6b9fe6dae8ae08faa56c00f3fb.jpg","text":"TemporaryFile(/tmp/multipartBody1460105195965284787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293679,"filename":"image_23012025_11_30_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e5a7376eb9515a0aa13cb8845eb48a5.jpg","text":"TemporaryFile(/tmp/multipartBody3661774882598755624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293679,"filename":"image_23012025_11_29_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1be756faae8625dcca3e6ea25907bf8d.jpg","text":"TemporaryFile(/tmp/multipartBody7094869017527559622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293679,"filename":"image_23012025_11_30_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ff09edbabe2aa8018b0fe5a48f775db.jpg","text":"TemporaryFile(/tmp/multipartBody3955037451172884909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293679,"filename":"image_23012025_11_30_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/762f3667845f7633e2d4fca1ee53b506.jpg","text":"TemporaryFile(/tmp/multipartBody6739258567395343515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293679,"filename":"image_23012025_11_30_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4b9579596755840a55c930dbf4813ad.jpg","text":"TemporaryFile(/tmp/multipartBody9013931429379418799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628293679,"filename":"image_23012025_11_30_14_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330808051","file1":"1330808047","file0":"1330808033","file4":"1330808057","file5":"1330808059","file3":"1330808054"},"map_files_photo_id_array":[{"photo_id":"1330808059","filename":"file5"},{"photo_id":"1330808051","filename":"file2"},{"photo_id":"1330808057","filename":"file4"},{"photo_id":"1330808047","filename":"file1"},{"photo_id":"1330808033","filename":"file0"},{"photo_id":"1330808054","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330808054":["hashtag1","hashtag2"]},{"1330808033":["hashtag1","hashtag2"]},{"1330808059":["hashtag1","hashtag2"]},{"1330808047":["hashtag1","hashtag2"]},{"1330808057":["hashtag1","hashtag2"]},{"1330808051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330808054, 1330808033, 1330808059, 1330808047, 1330808057, 1330808051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.994349002838135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:31:33.054635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_54_10349.jpg', '/home/pi/Desktop/images/23012025/11/30/image_23012025_11_31_05_10346.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_14_9354.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_24_10359.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_35_10345.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_44_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_30_54_10349.jpg
/home/pi/Desktop/images/23012025/11/30/image_23012025_11_31_05_10346.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_14_9354.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_24_10359.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_35_10345.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_44_9448.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":["1330808164","1330808119","1330808113","1330808085","1330808163","1330808150"],"photo_ids_order":["1330808085","1330808113","1330808119","1330808150","1330808163","1330808164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6276346b482afca9c598e03c47e6366.jpg","text":"TemporaryFile(/tmp/multipartBody8098405940528087778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353955,"filename":"image_23012025_11_31_44_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a00fe2d5f4530bb1a7008cdde5e1e2d5.jpg","text":"TemporaryFile(/tmp/multipartBody7344065594276276087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353955,"filename":"image_23012025_11_31_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2ecabbe8bbab86a509d9b049df30f7f.jpg","text":"TemporaryFile(/tmp/multipartBody505950135094741044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353955,"filename":"image_23012025_11_31_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c62cff6c0e8ac860617f12a06042900b.jpg","text":"TemporaryFile(/tmp/multipartBody6338272759872660842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353955,"filename":"image_23012025_11_30_54_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bde4f6c0b6753cd0bb2b68afade821b.jpg","text":"TemporaryFile(/tmp/multipartBody8369514108155755964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353955,"filename":"image_23012025_11_31_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6eb78f09300b0fa7493277d7ecf074cf.jpg","text":"TemporaryFile(/tmp/multipartBody7844980169861006014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628353955,"filename":"image_23012025_11_31_24_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330808119","file1":"1330808113","file0":"1330808085","file4":"1330808163","file5":"1330808164","file3":"1330808150"},"map_files_photo_id_array":[{"photo_id":"1330808164","filename":"file5"},{"photo_id":"1330808119","filename":"file2"},{"photo_id":"1330808163","filename":"file4"},{"photo_id":"1330808113","filename":"file1"},{"photo_id":"1330808085","filename":"file0"},{"photo_id":"1330808150","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330808164":["hashtag1","hashtag2"]},{"1330808119":["hashtag1","hashtag2"]},{"1330808113":["hashtag1","hashtag2"]},{"1330808085":["hashtag1","hashtag2"]},{"1330808163":["hashtag1","hashtag2"]},{"1330808150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330808164, 1330808119, 1330808113, 1330808085, 1330808163, 1330808150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40379738807678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:32:32.326394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_54_10349.jpg', '/home/pi/Desktop/images/23012025/11/31/image_23012025_11_32_05_10339.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_14_9377.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_35_10334.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_44_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_31_54_10349.jpg
/home/pi/Desktop/images/23012025/11/31/image_23012025_11_32_05_10339.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_14_9377.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_35_10334.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_44_9336.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":["1330808249","1330808240","1330808234","1330808278","1330808281"],"photo_ids_order":["1330808234","1330808240","1330808249","1330808278","1330808281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e55cb403bf8514d440f58e8b6fb5799.jpg","text":"TemporaryFile(/tmp/multipartBody3313613955572885980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628413208,"filename":"image_23012025_11_32_14_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/638de0a1bfccac6ceb11a83be1205471.jpg","text":"TemporaryFile(/tmp/multipartBody4234158124662292546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628413208,"filename":"image_23012025_11_32_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7035fa18c683340d8b75b47431771427.jpg","text":"TemporaryFile(/tmp/multipartBody5438656591322711744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628413208,"filename":"image_23012025_11_31_54_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcb6b7303fac5cad408df3cdb68d1fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1940662239085674764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628413208,"filename":"image_23012025_11_32_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fef77b9615f96ba81ebd2b7727af3013.jpg","text":"TemporaryFile(/tmp/multipartBody8420686998143621493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628413208,"filename":"image_23012025_11_32_44_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330808249","file1":"1330808240","file0":"1330808234","file4":"1330808281","file3":"1330808278"},"map_files_photo_id_array":[{"photo_id":"1330808249","filename":"file2"},{"photo_id":"1330808281","filename":"file4"},{"photo_id":"1330808240","filename":"file1"},{"photo_id":"1330808234","filename":"file0"},{"photo_id":"1330808278","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330808249":["hashtag1","hashtag2"]},{"1330808240":["hashtag1","hashtag2"]},{"1330808234":["hashtag1","hashtag2"]},{"1330808278":["hashtag1","hashtag2"]},{"1330808281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330808249, 1330808240, 1330808234, 1330808278, 1330808281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.72979426383972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:33:32.544003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_55_10342.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_33_05_10333.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_14_9344.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_25_10351.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_44_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_55_10342.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_33_05_10333.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_14_9344.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_25_10351.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_44_10370.jpg
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: 0.5241162776947021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:33:42.429351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_55_10342.jpg', '/home/pi/Desktop/images/23012025/11/32/image_23012025_11_33_05_10333.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_14_9344.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_25_10351.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_44_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_32_55_10342.jpg
/home/pi/Desktop/images/23012025/11/32/image_23012025_11_33_05_10333.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_14_9344.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_25_10351.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_44_10370.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":["1330808318","1330808321","1330808326","1330808314","1330808310"],"photo_ids_order":["1330808310","1330808314","1330808318","1330808321","1330808326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a60ec99929f18190cc3c1c06f998d8cd.jpg","text":"TemporaryFile(/tmp/multipartBody560806593343679686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483341,"filename":"image_23012025_11_33_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b09073a6a71de48ec9c7d15215c7af33.jpg","text":"TemporaryFile(/tmp/multipartBody8246685727443594191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483341,"filename":"image_23012025_11_33_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d0784d99a8caac83ea6571dbff10ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7519534524482191904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483341,"filename":"image_23012025_11_33_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9149c381aa8a2fa0ad56da8951b32ca0.jpg","text":"TemporaryFile(/tmp/multipartBody9011577032083820138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483341,"filename":"image_23012025_11_33_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8af3ac70d65870478345e5fefdd4157.jpg","text":"TemporaryFile(/tmp/multipartBody8319255662543729022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628483341,"filename":"image_23012025_11_32_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330808318","file1":"1330808314","file0":"1330808310","file4":"1330808326","file3":"1330808321"},"map_files_photo_id_array":[{"photo_id":"1330808318","filename":"file2"},{"photo_id":"1330808326","filename":"file4"},{"photo_id":"1330808314","filename":"file1"},{"photo_id":"1330808310","filename":"file0"},{"photo_id":"1330808321","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330808318":["hashtag1","hashtag2"]},{"1330808321":["hashtag1","hashtag2"]},{"1330808326":["hashtag1","hashtag2"]},{"1330808314":["hashtag1","hashtag2"]},{"1330808310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330808318, 1330808321, 1330808326, 1330808314, 1330808310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.676151275634766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:34:32.558637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_55_10359.jpg', '/home/pi/Desktop/images/23012025/11/33/image_23012025_11_34_04_9397.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_14_10370.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_25_10346.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_34_9399.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_44_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_33_55_10359.jpg
/home/pi/Desktop/images/23012025/11/33/image_23012025_11_34_04_9397.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_14_10370.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_25_10346.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_34_9399.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_44_10332.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":["1330808358","1330808352","1330808346","1330808355","1330808340","1330808360"],"photo_ids_order":["1330808340","1330808346","1330808352","1330808355","1330808358","1330808360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a644cb5dfe60a41126c38b2c1a9e4dc.jpg","text":"TemporaryFile(/tmp/multipartBody5021096467199656549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533429,"filename":"image_23012025_11_34_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e6ccf91cd60d49754501c71597c50de.jpg","text":"TemporaryFile(/tmp/multipartBody5488046413843968080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533429,"filename":"image_23012025_11_34_14_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d80d282f9f941a8c039c00aac0cfafe6.jpg","text":"TemporaryFile(/tmp/multipartBody5451549945502200835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533429,"filename":"image_23012025_11_34_04_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24262c5af2fb79ca47b350c7fe21739c.jpg","text":"TemporaryFile(/tmp/multipartBody2381908888237090629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533429,"filename":"image_23012025_11_34_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75bdc7064213d71d999dd29892f17187.jpg","text":"TemporaryFile(/tmp/multipartBody5345482376142427470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533429,"filename":"image_23012025_11_33_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7ee9565b606ab92b9d82499e7d12a8a.jpg","text":"TemporaryFile(/tmp/multipartBody935809598803055018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628533429,"filename":"image_23012025_11_34_44_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330808352","file1":"1330808346","file0":"1330808340","file4":"1330808358","file5":"1330808360","file3":"1330808355"},"map_files_photo_id_array":[{"photo_id":"1330808360","filename":"file5"},{"photo_id":"1330808352","filename":"file2"},{"photo_id":"1330808358","filename":"file4"},{"photo_id":"1330808346","filename":"file1"},{"photo_id":"1330808340","filename":"file0"},{"photo_id":"1330808355","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330808358":["hashtag1","hashtag2"]},{"1330808352":["hashtag1","hashtag2"]},{"1330808346":["hashtag1","hashtag2"]},{"1330808355":["hashtag1","hashtag2"]},{"1330808340":["hashtag1","hashtag2"]},{"1330808360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330808358, 1330808352, 1330808346, 1330808355, 1330808340, 1330808360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82756233215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:35:32.802965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_54_9381.jpg', '/home/pi/Desktop/images/23012025/11/34/image_23012025_11_35_04_10341.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_15_10335.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_24_9346.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_34_10336.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_34_54_9381.jpg
/home/pi/Desktop/images/23012025/11/34/image_23012025_11_35_04_10341.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_15_10335.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_24_9346.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_34_10336.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_45_10346.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":["1330808444","1330808530","1330808380","1330808533","1330808526","1330808535"],"photo_ids_order":["1330808380","1330808444","1330808526","1330808530","1330808533","1330808535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f7ae27b794ed3374c762ee785167a70.jpg","text":"TemporaryFile(/tmp/multipartBody8260066264131838232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593705,"filename":"image_23012025_11_35_04_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/beca92b1a1efd4165066a7e84e19b67d.jpg","text":"TemporaryFile(/tmp/multipartBody4062669897991651863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593705,"filename":"image_23012025_11_35_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8441d8ea541bd5439154b0468d0e6db.jpg","text":"TemporaryFile(/tmp/multipartBody1215796374071129324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593705,"filename":"image_23012025_11_34_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b4b41eba2aa3c2eb736e57df7322bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2571070675743765027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593705,"filename":"image_23012025_11_35_34_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdd99fa6b7ead413ccddc1de8374b700.jpg","text":"TemporaryFile(/tmp/multipartBody285960518917036416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593705,"filename":"image_23012025_11_35_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e19a616b49aa4eb73a5a498d758e6a80.jpg","text":"TemporaryFile(/tmp/multipartBody8057899877346331691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628593705,"filename":"image_23012025_11_35_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330808526","file1":"1330808444","file0":"1330808380","file4":"1330808533","file5":"1330808535","file3":"1330808530"},"map_files_photo_id_array":[{"photo_id":"1330808535","filename":"file5"},{"photo_id":"1330808526","filename":"file2"},{"photo_id":"1330808533","filename":"file4"},{"photo_id":"1330808444","filename":"file1"},{"photo_id":"1330808380","filename":"file0"},{"photo_id":"1330808530","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330808444":["hashtag1","hashtag2"]},{"1330808530":["hashtag1","hashtag2"]},{"1330808380":["hashtag1","hashtag2"]},{"1330808533":["hashtag1","hashtag2"]},{"1330808526":["hashtag1","hashtag2"]},{"1330808535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330808444, 1330808530, 1330808380, 1330808533, 1330808526, 1330808535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5164270401001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:36:32.936199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_54_9366.jpg', '/home/pi/Desktop/images/23012025/11/35/image_23012025_11_36_04_10438.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_15_10345.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_24_9439.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_35_10400.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_44_9315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_35_54_9366.jpg
/home/pi/Desktop/images/23012025/11/35/image_23012025_11_36_04_10438.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_15_10345.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_24_9439.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_35_10400.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_44_9315.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1330808600","1330808563","1330808568","1330808598","1330808559","1330808594"],"photo_ids_order":["1330808559","1330808563","1330808568","1330808594","1330808598","1330808600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74a2d5709bc1320588d63bfeb6ee0491.jpg","text":"TemporaryFile(/tmp/multipartBody7208356436326629109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653821,"filename":"image_23012025_11_36_44_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15afb44321f11e36c7b74bbdfd05e4dd.jpg","text":"TemporaryFile(/tmp/multipartBody1424496815249850657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653821,"filename":"image_23012025_11_36_04_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6ab66a6ace4344ad3cd3d70e55751cf.jpg","text":"TemporaryFile(/tmp/multipartBody6644807671818993449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653821,"filename":"image_23012025_11_36_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00ca1b40b3b64a48220632a57a18a102.jpg","text":"TemporaryFile(/tmp/multipartBody8651223175367613020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653821,"filename":"image_23012025_11_36_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b62f031a4ab507c3739fa02978dd3bf0.jpg","text":"TemporaryFile(/tmp/multipartBody1288245511349532150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653821,"filename":"image_23012025_11_35_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9bd9ab3f4d2ba185805f09dd5cfa12c.jpg","text":"TemporaryFile(/tmp/multipartBody3733305190749354609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628653821,"filename":"image_23012025_11_36_24_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330808568","file1":"1330808563","file0":"1330808559","file4":"1330808598","file5":"1330808600","file3":"1330808594"},"map_files_photo_id_array":[{"photo_id":"1330808600","filename":"file5"},{"photo_id":"1330808568","filename":"file2"},{"photo_id":"1330808598","filename":"file4"},{"photo_id":"1330808563","filename":"file1"},{"photo_id":"1330808559","filename":"file0"},{"photo_id":"1330808594","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330808600":["hashtag1","hashtag2"]},{"1330808563":["hashtag1","hashtag2"]},{"1330808568":["hashtag1","hashtag2"]},{"1330808598":["hashtag1","hashtag2"]},{"1330808559":["hashtag1","hashtag2"]},{"1330808594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330808600, 1330808563, 1330808568, 1330808598, 1330808559, 1330808594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 121.29945206642151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:38:42.494692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_54_10337.jpg', '/home/pi/Desktop/images/23012025/11/36/image_23012025_11_37_05_10416.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_14_9375.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_24_10346.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_35_10336.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_44_9518.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_36_54_10337.jpg
/home/pi/Desktop/images/23012025/11/36/image_23012025_11_37_05_10416.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_14_9375.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_24_10346.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_35_10336.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_44_9518.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":["1330809002","1330809523","1330809229","1330809063","1330809368","1330809518"],"photo_ids_order":["1330809002","1330809063","1330809229","1330809368","1330809518","1330809523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d789e3f128f04f1cb875a839dae91006.jpg","text":"TemporaryFile(/tmp/multipartBody6989712334614381631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628783400,"filename":"image_23012025_11_36_54_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08343e699a8337862c2f93a4351f88aa.jpg","text":"TemporaryFile(/tmp/multipartBody1042791081655367212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628783400,"filename":"image_23012025_11_37_44_9518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05fd2b3a3ee10d99d85e3cd63351f1d3.jpg","text":"TemporaryFile(/tmp/multipartBody1877899622360106593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628783400,"filename":"image_23012025_11_37_14_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12d6798d80aafe6174f07451b742b98f.jpg","text":"TemporaryFile(/tmp/multipartBody3680077350029409439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628783400,"filename":"image_23012025_11_37_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94a5fe1e512632b0b8a908f6adfab577.jpg","text":"TemporaryFile(/tmp/multipartBody3718135201654152917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628783400,"filename":"image_23012025_11_37_24_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41c29942087bef9fffe75bc9b8ce6b61.jpg","text":"TemporaryFile(/tmp/multipartBody6039577456587987088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628783400,"filename":"image_23012025_11_37_35_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330809229","file1":"1330809063","file0":"1330809002","file4":"1330809518","file5":"1330809523","file3":"1330809368"},"map_files_photo_id_array":[{"photo_id":"1330809523","filename":"file5"},{"photo_id":"1330809229","filename":"file2"},{"photo_id":"1330809518","filename":"file4"},{"photo_id":"1330809063","filename":"file1"},{"photo_id":"1330809002","filename":"file0"},{"photo_id":"1330809368","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330809002":["hashtag1","hashtag2"]},{"1330809523":["hashtag1","hashtag2"]},{"1330809229":["hashtag1","hashtag2"]},{"1330809063":["hashtag1","hashtag2"]},{"1330809368":["hashtag1","hashtag2"]},{"1330809518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330809002, 1330809523, 1330809229, 1330809063, 1330809368, 1330809518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.568705797195435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:39:32.721757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_55_10405.jpg', '/home/pi/Desktop/images/23012025/11/37/image_23012025_11_38_04_9446.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_14_10415.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_25_10352.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_34_9340.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_45_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_37_55_10405.jpg
/home/pi/Desktop/images/23012025/11/37/image_23012025_11_38_04_9446.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_14_10415.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_25_10352.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_34_9340.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_45_10340.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":["1330809547","1330809552","1330809549","1330809545","1330809539","1330809542"],"photo_ids_order":["1330809539","1330809542","1330809545","1330809547","1330809549","1330809552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8454c7139826dfde6af29112469a8cac.jpg","text":"TemporaryFile(/tmp/multipartBody4484432375638032044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628833592,"filename":"image_23012025_11_38_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91ed0a358a53da12ce3ea2ce98110ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5841731027023690288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628833592,"filename":"image_23012025_11_38_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/664f4eee0e3f09095786f9b98c5176d0.jpg","text":"TemporaryFile(/tmp/multipartBody2585409849594193902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628833592,"filename":"image_23012025_11_38_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10a41467ef74bc5732436d652c5853d0.jpg","text":"TemporaryFile(/tmp/multipartBody1692997492246548473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628833592,"filename":"image_23012025_11_38_14_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9300e016c20a31a6a6f7317819e7e28.jpg","text":"TemporaryFile(/tmp/multipartBody4315039543971020073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628833592,"filename":"image_23012025_11_37_55_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6583e3a70e2a4045378f5c871d5ef821.jpg","text":"TemporaryFile(/tmp/multipartBody3350956029570209445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628833592,"filename":"image_23012025_11_38_04_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330809545","file1":"1330809542","file0":"1330809539","file4":"1330809549","file5":"1330809552","file3":"1330809547"},"map_files_photo_id_array":[{"photo_id":"1330809552","filename":"file5"},{"photo_id":"1330809545","filename":"file2"},{"photo_id":"1330809549","filename":"file4"},{"photo_id":"1330809542","filename":"file1"},{"photo_id":"1330809539","filename":"file0"},{"photo_id":"1330809547","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330809547":["hashtag1","hashtag2"]},{"1330809552":["hashtag1","hashtag2"]},{"1330809549":["hashtag1","hashtag2"]},{"1330809545":["hashtag1","hashtag2"]},{"1330809539":["hashtag1","hashtag2"]},{"1330809542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330809547, 1330809552, 1330809549, 1330809545, 1330809539, 1330809542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.159220933914185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:40:32.964116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_54_9413.jpg', '/home/pi/Desktop/images/23012025/11/38/image_23012025_11_39_04_10373.jpg', '/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_15_10352.jpg', '/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_24_9434.jpg', '/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_34_10366.jpg', '/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_54_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_38_54_9413.jpg
/home/pi/Desktop/images/23012025/11/38/image_23012025_11_39_04_10373.jpg
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_15_10352.jpg
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_24_9434.jpg
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_34_10366.jpg
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_39_54_9445.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":["1330809564","1330809693","1330809977","1330809587","1330809830","1330809569"],"photo_ids_order":["1330809564","1330809569","1330809587","1330809693","1330809830","1330809977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8391331f9e990e66c7ad7fa5dbe7feed.jpg","text":"TemporaryFile(/tmp/multipartBody285078860356581276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893844,"filename":"image_23012025_11_38_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/705272f586c3628126e458c42faabb92.jpg","text":"TemporaryFile(/tmp/multipartBody1180716743120024607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893844,"filename":"image_23012025_11_39_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cedea484c915e745e5d709416377ca91.jpg","text":"TemporaryFile(/tmp/multipartBody5158736067101542401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893844,"filename":"image_23012025_11_39_54_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcc17a245daa22cb2897bf9be9d289a0.jpg","text":"TemporaryFile(/tmp/multipartBody2671082703795382500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893844,"filename":"image_23012025_11_39_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f56b3742fbb35f74cabaef9e1bfcdb20.jpg","text":"TemporaryFile(/tmp/multipartBody9172929782868473831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893844,"filename":"image_23012025_11_39_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b30ca4d839439b50467dba42cc7e0f70.jpg","text":"TemporaryFile(/tmp/multipartBody6488449681742761686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628893844,"filename":"image_23012025_11_39_04_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330809587","file1":"1330809569","file0":"1330809564","file4":"1330809830","file5":"1330809977","file3":"1330809693"},"map_files_photo_id_array":[{"photo_id":"1330809977","filename":"file5"},{"photo_id":"1330809587","filename":"file2"},{"photo_id":"1330809830","filename":"file4"},{"photo_id":"1330809569","filename":"file1"},{"photo_id":"1330809564","filename":"file0"},{"photo_id":"1330809693","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330809564":["hashtag1","hashtag2"]},{"1330809693":["hashtag1","hashtag2"]},{"1330809977":["hashtag1","hashtag2"]},{"1330809587":["hashtag1","hashtag2"]},{"1330809830":["hashtag1","hashtag2"]},{"1330809569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330809564, 1330809693, 1330809977, 1330809587, 1330809830, 1330809569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.46375274658203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:41:32.312974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/39/image_23012025_11_40_05_10321.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_14_9438.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_24_10349.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_34_9440.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_44_10440.jpg', '/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_55_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/39/image_23012025_11_40_05_10321.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_14_9438.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_24_10349.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_34_9440.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_44_10440.jpg
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_40_55_10429.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":["1330810261","1330810090","1330810150","1330810263","1330810085","1330810079"],"photo_ids_order":["1330810079","1330810085","1330810090","1330810150","1330810261","1330810263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e3e8b2648d41be3c695cbf080329ea3.jpg","text":"TemporaryFile(/tmp/multipartBody6672635120031957500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953258,"filename":"image_23012025_11_40_44_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d06129d8d291c7ad4e31a238450f6db8.jpg","text":"TemporaryFile(/tmp/multipartBody3621729556538695971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953258,"filename":"image_23012025_11_40_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8745a30ae31432e09838bd8e3d2f06d3.jpg","text":"TemporaryFile(/tmp/multipartBody1478916771342524443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953258,"filename":"image_23012025_11_40_34_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1538ed2770aabfbaa686fb9d14c1decf.jpg","text":"TemporaryFile(/tmp/multipartBody4882325873734503326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953258,"filename":"image_23012025_11_40_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39ef16afafb30123305be7a4d238d1e5.jpg","text":"TemporaryFile(/tmp/multipartBody1138234068760617687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953258,"filename":"image_23012025_11_40_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34aa1724f08d19928570efb1c45e3f34.jpg","text":"TemporaryFile(/tmp/multipartBody4305622418418353491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737628953258,"filename":"image_23012025_11_40_05_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330810090","file1":"1330810085","file0":"1330810079","file4":"1330810261","file5":"1330810263","file3":"1330810150"},"map_files_photo_id_array":[{"photo_id":"1330810263","filename":"file5"},{"photo_id":"1330810090","filename":"file2"},{"photo_id":"1330810261","filename":"file4"},{"photo_id":"1330810085","filename":"file1"},{"photo_id":"1330810079","filename":"file0"},{"photo_id":"1330810150","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330810261":["hashtag1","hashtag2"]},{"1330810090":["hashtag1","hashtag2"]},{"1330810150":["hashtag1","hashtag2"]},{"1330810263":["hashtag1","hashtag2"]},{"1330810085":["hashtag1","hashtag2"]},{"1330810079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330810261, 1330810090, 1330810150, 1330810263, 1330810085, 1330810079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55715560913086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:42:32.588187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/40/image_23012025_11_41_04_9470.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_15_10328.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_24_9356.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_34_10420.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_45_10345.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_54_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_41_04_9470.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_15_10328.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_24_9356.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_34_10420.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_45_10345.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_54_9414.jpg
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: 0.5335812568664551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:42:42.650656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/40/image_23012025_11_41_04_9470.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_15_10328.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_24_9356.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_34_10420.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_45_10345.jpg', '/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_54_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/40/image_23012025_11_41_04_9470.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_15_10328.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_24_9356.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_34_10420.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_45_10345.jpg
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_41_54_9414.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":["1330810436","1330810421","1330810585","1330810398","1330810428","1330810416"],"photo_ids_order":["1330810398","1330810416","1330810421","1330810428","1330810436","1330810585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11c20a2408d2c53d4e69976f14dcba9c.jpg","text":"TemporaryFile(/tmp/multipartBody5236491502062365166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629023572,"filename":"image_23012025_11_41_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ad9dd735b41baefe4d1aba9a7d4ab1a.jpg","text":"TemporaryFile(/tmp/multipartBody170740241732939917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629023572,"filename":"image_23012025_11_41_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42618e470eb4a45acfe8e236343dd85c.jpg","text":"TemporaryFile(/tmp/multipartBody3661152430933082370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629023572,"filename":"image_23012025_11_41_54_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33d52edb7eba3f1edfde2789f5ac2413.jpg","text":"TemporaryFile(/tmp/multipartBody4762379733181732808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629023572,"filename":"image_23012025_11_41_04_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/768479d4c34e3832388b93bcf3d3191e.jpg","text":"TemporaryFile(/tmp/multipartBody5484724394090754369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629023572,"filename":"image_23012025_11_41_34_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a9a609636864233023255d05dc3fe13.jpg","text":"TemporaryFile(/tmp/multipartBody6368467088170098607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629023572,"filename":"image_23012025_11_41_15_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330810421","file1":"1330810416","file0":"1330810398","file4":"1330810436","file5":"1330810585","file3":"1330810428"},"map_files_photo_id_array":[{"photo_id":"1330810585","filename":"file5"},{"photo_id":"1330810421","filename":"file2"},{"photo_id":"1330810436","filename":"file4"},{"photo_id":"1330810416","filename":"file1"},{"photo_id":"1330810398","filename":"file0"},{"photo_id":"1330810428","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330810436":["hashtag1","hashtag2"]},{"1330810421":["hashtag1","hashtag2"]},{"1330810585":["hashtag1","hashtag2"]},{"1330810398":["hashtag1","hashtag2"]},{"1330810428":["hashtag1","hashtag2"]},{"1330810416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330810436, 1330810421, 1330810585, 1330810398, 1330810428, 1330810416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.140796184539795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:43:32.690528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/41/image_23012025_11_42_04_10348.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_15_10354.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_24_9445.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_35_10329.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_44_9458.jpg', '/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_54_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/41/image_23012025_11_42_04_10348.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_15_10354.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_24_9445.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_35_10329.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_44_9458.jpg
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_42_54_10346.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":["1330810919","1330810894","1330810861","1330810891","1330811040","1330810896"],"photo_ids_order":["1330810861","1330810891","1330810894","1330810896","1330810919","1330811040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dd77bd1397f2671f78ab28f14f3042d.jpg","text":"TemporaryFile(/tmp/multipartBody8840063595164662542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073579,"filename":"image_23012025_11_42_44_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69dfd3715055056fb6372158a5bb0f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5175447779724520251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073579,"filename":"image_23012025_11_42_24_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/592a29c985b5ede7b1d26e23382f482c.jpg","text":"TemporaryFile(/tmp/multipartBody7124904718249612944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073579,"filename":"image_23012025_11_42_04_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/994f578b22aa641f6e64cc7cc6816018.jpg","text":"TemporaryFile(/tmp/multipartBody7850641677150557715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073579,"filename":"image_23012025_11_42_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69d4d9bd6fb0d44ee633f921884f0d47.jpg","text":"TemporaryFile(/tmp/multipartBody5835828492177623686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073579,"filename":"image_23012025_11_42_54_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/471505fc748cbbfbc59696dde45b5a68.jpg","text":"TemporaryFile(/tmp/multipartBody2938058850899482315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629073579,"filename":"image_23012025_11_42_35_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330810894","file1":"1330810891","file0":"1330810861","file4":"1330810919","file5":"1330811040","file3":"1330810896"},"map_files_photo_id_array":[{"photo_id":"1330811040","filename":"file5"},{"photo_id":"1330810894","filename":"file2"},{"photo_id":"1330810919","filename":"file4"},{"photo_id":"1330810891","filename":"file1"},{"photo_id":"1330810861","filename":"file0"},{"photo_id":"1330810896","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330810919":["hashtag1","hashtag2"]},{"1330810894":["hashtag1","hashtag2"]},{"1330810861":["hashtag1","hashtag2"]},{"1330810891":["hashtag1","hashtag2"]},{"1330811040":["hashtag1","hashtag2"]},{"1330810896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330810919, 1330810894, 1330810861, 1330810891, 1330811040, 1330810896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.675474882125854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:44:32.850489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/42/image_23012025_11_43_05_10336.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_14_9374.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_24_10364.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_35_10340.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_44_9402.jpg', '/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_55_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/42/image_23012025_11_43_05_10336.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_14_9374.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_24_10364.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_35_10340.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_44_9402.jpg
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_43_55_10449.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":["1330811097","1330811172","1330811151","1330811177","1330811087","1330811120"],"photo_ids_order":["1330811087","1330811097","1330811120","1330811151","1330811172","1330811177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fb1ffe3978e9cfc91cb182ca91f3b09.jpg","text":"TemporaryFile(/tmp/multipartBody5240806318283394388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133761,"filename":"image_23012025_11_43_14_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59b41bbb385e8a4a343c5e87918865fe.jpg","text":"TemporaryFile(/tmp/multipartBody3450450757556968539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133761,"filename":"image_23012025_11_43_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9419565f7405c2340523379e400e069.jpg","text":"TemporaryFile(/tmp/multipartBody3376237892036343529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133761,"filename":"image_23012025_11_43_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76c6c38d27be5a42c2244ea6b8bb924f.jpg","text":"TemporaryFile(/tmp/multipartBody8456933030545303721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133761,"filename":"image_23012025_11_43_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/891b10ec6095348d531ff9df251611d7.jpg","text":"TemporaryFile(/tmp/multipartBody3938249172682154773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133761,"filename":"image_23012025_11_43_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd5920f2a3b00897ae984267c0337bd1.jpg","text":"TemporaryFile(/tmp/multipartBody966927395474785418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629133761,"filename":"image_23012025_11_43_24_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811120","file1":"1330811097","file0":"1330811087","file4":"1330811172","file5":"1330811177","file3":"1330811151"},"map_files_photo_id_array":[{"photo_id":"1330811177","filename":"file5"},{"photo_id":"1330811120","filename":"file2"},{"photo_id":"1330811172","filename":"file4"},{"photo_id":"1330811097","filename":"file1"},{"photo_id":"1330811087","filename":"file0"},{"photo_id":"1330811151","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811097":["hashtag1","hashtag2"]},{"1330811172":["hashtag1","hashtag2"]},{"1330811151":["hashtag1","hashtag2"]},{"1330811177":["hashtag1","hashtag2"]},{"1330811087":["hashtag1","hashtag2"]},{"1330811120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811097, 1330811172, 1330811151, 1330811177, 1330811087, 1330811120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14431047439575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:45:32.330770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/43/image_23012025_11_44_04_9481.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_14_10336.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_24_9847.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_35_10349.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_44_9323.jpg', '/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_54_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/43/image_23012025_11_44_04_9481.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_14_10336.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_24_9847.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_35_10349.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_44_9323.jpg
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_44_54_10426.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":["1330811281","1330811277","1330811274","1330811268","1330811258","1330811234"],"photo_ids_order":["1330811234","1330811258","1330811268","1330811274","1330811277","1330811281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58edfd1ae7dabf91c3427cf4741cf3e5.jpg","text":"TemporaryFile(/tmp/multipartBody9031565742153274169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193242,"filename":"image_23012025_11_44_54_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52c1e94de059ea4fb156542fa7e2d488.jpg","text":"TemporaryFile(/tmp/multipartBody5049254359154391065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193242,"filename":"image_23012025_11_44_44_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4251a5f4d6e81deb087702eb9965bce4.jpg","text":"TemporaryFile(/tmp/multipartBody6016927339452050514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193242,"filename":"image_23012025_11_44_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5d25fea2ea72ee57bb88e32444ac5ec.jpg","text":"TemporaryFile(/tmp/multipartBody6468069841961359984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193242,"filename":"image_23012025_11_44_24_9847.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dd84762c8fe87f6029ee3088607cea7.jpg","text":"TemporaryFile(/tmp/multipartBody6818751250939621316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193242,"filename":"image_23012025_11_44_14_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7a793ea5c19fe62cac1078e2a809ada.jpg","text":"TemporaryFile(/tmp/multipartBody8864016479114466405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629193242,"filename":"image_23012025_11_44_04_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811268","file1":"1330811258","file0":"1330811234","file4":"1330811277","file5":"1330811281","file3":"1330811274"},"map_files_photo_id_array":[{"photo_id":"1330811281","filename":"file5"},{"photo_id":"1330811268","filename":"file2"},{"photo_id":"1330811277","filename":"file4"},{"photo_id":"1330811258","filename":"file1"},{"photo_id":"1330811234","filename":"file0"},{"photo_id":"1330811274","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811281":["hashtag1","hashtag2"]},{"1330811277":["hashtag1","hashtag2"]},{"1330811274":["hashtag1","hashtag2"]},{"1330811268":["hashtag1","hashtag2"]},{"1330811258":["hashtag1","hashtag2"]},{"1330811234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811281, 1330811277, 1330811274, 1330811268, 1330811258, 1330811234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.567065477371216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:46:32.480987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/44/image_23012025_11_45_04_10028.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_15_10420.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_24_9414.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_35_10331.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_44_9442.jpg', '/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_54_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/44/image_23012025_11_45_04_10028.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_15_10420.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_24_9414.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_35_10331.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_44_9442.jpg
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_45_54_10361.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":["1330811598","1330811571","1330811540","1330811534","1330811522","1330811528"],"photo_ids_order":["1330811522","1330811528","1330811534","1330811540","1330811571","1330811598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4dce18e4f3c36b02bdaa3c0088b08fc.jpg","text":"TemporaryFile(/tmp/multipartBody8651087258724147941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629253370,"filename":"image_23012025_11_45_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae2500cd13434361c72f09d9c7dbe058.jpg","text":"TemporaryFile(/tmp/multipartBody6812499688526302265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629253370,"filename":"image_23012025_11_45_44_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c4d615fdd008dccd28808c03e1ff2d4.jpg","text":"TemporaryFile(/tmp/multipartBody8234412655488991736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629253370,"filename":"image_23012025_11_45_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3db4ec379949f25a56c74ee2bd0dd155.jpg","text":"TemporaryFile(/tmp/multipartBody2874880924904341257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629253370,"filename":"image_23012025_11_45_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07cec5502ee7c53576123f78f2d0cf41.jpg","text":"TemporaryFile(/tmp/multipartBody2230827833861019795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629253370,"filename":"image_23012025_11_45_04_10028.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd0bda5baeca1c1c87059673cb83b08b.jpg","text":"TemporaryFile(/tmp/multipartBody2946192328348991513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629253370,"filename":"image_23012025_11_45_15_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811534","file1":"1330811528","file0":"1330811522","file4":"1330811571","file5":"1330811598","file3":"1330811540"},"map_files_photo_id_array":[{"photo_id":"1330811598","filename":"file5"},{"photo_id":"1330811534","filename":"file2"},{"photo_id":"1330811571","filename":"file4"},{"photo_id":"1330811528","filename":"file1"},{"photo_id":"1330811522","filename":"file0"},{"photo_id":"1330811540","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811598":["hashtag1","hashtag2"]},{"1330811571":["hashtag1","hashtag2"]},{"1330811540":["hashtag1","hashtag2"]},{"1330811534":["hashtag1","hashtag2"]},{"1330811522":["hashtag1","hashtag2"]},{"1330811528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811598, 1330811571, 1330811540, 1330811534, 1330811522, 1330811528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82132315635681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:47:32.626891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/45/image_23012025_11_46_05_10386.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_14_9329.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_24_10343.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_35_10344.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_44_9416.jpg', '/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_55_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/45/image_23012025_11_46_05_10386.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_14_9329.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_24_10343.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_35_10344.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_44_9416.jpg
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_46_55_10337.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":["1330811614","1330811617","1330811622","1330811631","1330811627","1330811630"],"photo_ids_order":["1330811614","1330811617","1330811622","1330811627","1330811630","1330811631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a696677b80b6aadce5fab919d5f5d9c.jpg","text":"TemporaryFile(/tmp/multipartBody2334989333968504285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313510,"filename":"image_23012025_11_46_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5077ed43f7f0d985938548fa15fcac5d.jpg","text":"TemporaryFile(/tmp/multipartBody8526835010816869156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313510,"filename":"image_23012025_11_46_14_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e4608489bb6c3c1974a7f021fb22f36.jpg","text":"TemporaryFile(/tmp/multipartBody9156505680869785954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313510,"filename":"image_23012025_11_46_24_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc18558aae87774b047786377b295c9e.jpg","text":"TemporaryFile(/tmp/multipartBody1172870114528961231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313510,"filename":"image_23012025_11_46_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dafc5c223194a4478cd2b073eafd6c97.jpg","text":"TemporaryFile(/tmp/multipartBody2802394540736731720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313510,"filename":"image_23012025_11_46_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f89961da0f43c3091cf778d393373352.jpg","text":"TemporaryFile(/tmp/multipartBody5454304813017125851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629313510,"filename":"image_23012025_11_46_44_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811622","file1":"1330811617","file0":"1330811614","file4":"1330811630","file5":"1330811631","file3":"1330811627"},"map_files_photo_id_array":[{"photo_id":"1330811631","filename":"file5"},{"photo_id":"1330811622","filename":"file2"},{"photo_id":"1330811630","filename":"file4"},{"photo_id":"1330811617","filename":"file1"},{"photo_id":"1330811614","filename":"file0"},{"photo_id":"1330811627","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811614":["hashtag1","hashtag2"]},{"1330811617":["hashtag1","hashtag2"]},{"1330811622":["hashtag1","hashtag2"]},{"1330811631":["hashtag1","hashtag2"]},{"1330811627":["hashtag1","hashtag2"]},{"1330811630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811614, 1330811617, 1330811622, 1330811631, 1330811627, 1330811630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67359209060669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:48:32.914745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/46/image_23012025_11_47_04_9344.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_14_10396.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_25_10341.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_34_9432.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_44_10346.jpg', '/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_55_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/46/image_23012025_11_47_04_9344.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_14_10396.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_25_10341.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_34_9432.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_44_10346.jpg
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_47_55_10385.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":["1330811671","1330811668","1330811670","1330811658","1330811652","1330811663"],"photo_ids_order":["1330811652","1330811658","1330811663","1330811668","1330811670","1330811671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c13a3f59c15eda30d8cd74dc9882299.jpg","text":"TemporaryFile(/tmp/multipartBody7561965776391696534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373829,"filename":"image_23012025_11_47_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92bd6c4326cb5e0c3f5e5f5e2977385d.jpg","text":"TemporaryFile(/tmp/multipartBody4791290767247974551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373829,"filename":"image_23012025_11_47_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0011292b518daa07ceb927ef6db6ed67.jpg","text":"TemporaryFile(/tmp/multipartBody7696263789484724741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373829,"filename":"image_23012025_11_47_44_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a65fab96105713152b6de790f88d8641.jpg","text":"TemporaryFile(/tmp/multipartBody2395061191611982509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373829,"filename":"image_23012025_11_47_14_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a446a04565c416e955722b2f88b1dc3c.jpg","text":"TemporaryFile(/tmp/multipartBody5736782622837933093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373829,"filename":"image_23012025_11_47_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1f83665065f60fbf8f9aae7699ad7aa.jpg","text":"TemporaryFile(/tmp/multipartBody903528790226627686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629373829,"filename":"image_23012025_11_47_25_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811663","file1":"1330811658","file0":"1330811652","file4":"1330811670","file5":"1330811671","file3":"1330811668"},"map_files_photo_id_array":[{"photo_id":"1330811671","filename":"file5"},{"photo_id":"1330811663","filename":"file2"},{"photo_id":"1330811670","filename":"file4"},{"photo_id":"1330811658","filename":"file1"},{"photo_id":"1330811652","filename":"file0"},{"photo_id":"1330811668","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811671":["hashtag1","hashtag2"]},{"1330811668":["hashtag1","hashtag2"]},{"1330811670":["hashtag1","hashtag2"]},{"1330811658":["hashtag1","hashtag2"]},{"1330811652":["hashtag1","hashtag2"]},{"1330811663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811671, 1330811668, 1330811670, 1330811658, 1330811652, 1330811663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27606153488159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:49:32.297473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/47/image_23012025_11_48_04_9347.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_14_10349.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_25_10362.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_34_9379.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_45_10353.jpg', '/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_54_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/47/image_23012025_11_48_04_9347.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_14_10349.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_25_10362.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_34_9379.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_45_10353.jpg
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_48_54_9344.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":["1330811701","1330811691","1330811696","1330811687","1330811708","1330811705"],"photo_ids_order":["1330811687","1330811691","1330811696","1330811701","1330811705","1330811708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a79af07cd05c590746ea6b86c5b3197c.jpg","text":"TemporaryFile(/tmp/multipartBody2637031057852915707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433181,"filename":"image_23012025_11_48_34_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4450c34e5497b4b74f3a537d8ff1668.jpg","text":"TemporaryFile(/tmp/multipartBody5309062959305830904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433181,"filename":"image_23012025_11_48_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3a5f02f59a78e5128cbad2358b89579.jpg","text":"TemporaryFile(/tmp/multipartBody9150963897251700038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433181,"filename":"image_23012025_11_48_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b66afe3d5f479cb91623b51bef0b188.jpg","text":"TemporaryFile(/tmp/multipartBody5651007051368715786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433181,"filename":"image_23012025_11_48_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab57ce9d06056ddb00ed3840d9ac57b3.jpg","text":"TemporaryFile(/tmp/multipartBody6272316714736823170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433181,"filename":"image_23012025_11_48_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe64d96bd68c3bbcb9a92bd1c8b97e79.jpg","text":"TemporaryFile(/tmp/multipartBody3964114751446626425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629433181,"filename":"image_23012025_11_48_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811696","file1":"1330811691","file0":"1330811687","file4":"1330811705","file5":"1330811708","file3":"1330811701"},"map_files_photo_id_array":[{"photo_id":"1330811708","filename":"file5"},{"photo_id":"1330811696","filename":"file2"},{"photo_id":"1330811705","filename":"file4"},{"photo_id":"1330811691","filename":"file1"},{"photo_id":"1330811687","filename":"file0"},{"photo_id":"1330811701","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811701":["hashtag1","hashtag2"]},{"1330811691":["hashtag1","hashtag2"]},{"1330811696":["hashtag1","hashtag2"]},{"1330811687":["hashtag1","hashtag2"]},{"1330811708":["hashtag1","hashtag2"]},{"1330811705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811701, 1330811691, 1330811696, 1330811687, 1330811708, 1330811705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41172933578491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:50:32.483773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/48/image_23012025_11_49_04_10412.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_15_10393.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_24_9417.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_34_10326.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_45_10345.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_54_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_49_04_10412.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_15_10393.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_24_9417.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_34_10326.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_45_10345.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_54_9429.jpg
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: 0.5009908676147461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:50:42.560562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/48/image_23012025_11_49_04_10412.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_15_10393.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_24_9417.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_34_10326.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_45_10345.jpg', '/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_54_9429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/48/image_23012025_11_49_04_10412.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_15_10393.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_24_9417.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_34_10326.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_45_10345.jpg
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_49_54_9429.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":["1330811755","1330811805","1330811789","1330811780","1330811798","1330811801"],"photo_ids_order":["1330811755","1330811780","1330811789","1330811798","1330811801","1330811805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/917a48ef716e4b0686ba9b4cfb59996d.jpg","text":"TemporaryFile(/tmp/multipartBody3223048346823476845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629503472,"filename":"image_23012025_11_49_04_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1b8af520a6cccab9adebf79e5e2ed05.jpg","text":"TemporaryFile(/tmp/multipartBody8242134281967733980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629503472,"filename":"image_23012025_11_49_54_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea067fd4ac234981d283b8d8d2cf5f43.jpg","text":"TemporaryFile(/tmp/multipartBody5234272970733629326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629503472,"filename":"image_23012025_11_49_24_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf0aa4317184cf21f3f39e9baf6dc177.jpg","text":"TemporaryFile(/tmp/multipartBody3139168744919622653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629503472,"filename":"image_23012025_11_49_15_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21e72953150147fcc326cf810c41ea6d.jpg","text":"TemporaryFile(/tmp/multipartBody7608867634763483254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629503472,"filename":"image_23012025_11_49_34_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fde9b742eb39c9a70a51fbc9dd86ae23.jpg","text":"TemporaryFile(/tmp/multipartBody2361648593672540130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629503472,"filename":"image_23012025_11_49_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811789","file1":"1330811780","file0":"1330811755","file4":"1330811801","file5":"1330811805","file3":"1330811798"},"map_files_photo_id_array":[{"photo_id":"1330811805","filename":"file5"},{"photo_id":"1330811789","filename":"file2"},{"photo_id":"1330811801","filename":"file4"},{"photo_id":"1330811780","filename":"file1"},{"photo_id":"1330811755","filename":"file0"},{"photo_id":"1330811798","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811755":["hashtag1","hashtag2"]},{"1330811805":["hashtag1","hashtag2"]},{"1330811789":["hashtag1","hashtag2"]},{"1330811780":["hashtag1","hashtag2"]},{"1330811798":["hashtag1","hashtag2"]},{"1330811801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811755, 1330811805, 1330811789, 1330811780, 1330811798, 1330811801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.505615234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:51:32.824041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/49/image_23012025_11_50_05_10342.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_14_9349.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_24_10398.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_35_10464.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_44_9334.jpg', '/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_55_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/49/image_23012025_11_50_05_10342.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_14_9349.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_24_10398.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_35_10464.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_44_9334.jpg
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_50_55_10355.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":["1330811869","1330811867","1330811831","1330811840","1330811837","1330811822"],"photo_ids_order":["1330811822","1330811831","1330811837","1330811840","1330811867","1330811869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42d95cfbf2a0ceb2de15448503c19e28.jpg","text":"TemporaryFile(/tmp/multipartBody474511012371385228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629553748,"filename":"image_23012025_11_50_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2a58803856c4073d5a73c636d30ea67.jpg","text":"TemporaryFile(/tmp/multipartBody4133508743022864447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629553748,"filename":"image_23012025_11_50_44_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67b3190d4e105b4e43ce966b257bdfea.jpg","text":"TemporaryFile(/tmp/multipartBody1877913530071158085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629553748,"filename":"image_23012025_11_50_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b4c6cc8a42c2f744e901bcb04c6b6ca.jpg","text":"TemporaryFile(/tmp/multipartBody7054918092950359654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629553748,"filename":"image_23012025_11_50_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/185c991e5d5a90d58b4bb4f6f7c2a326.jpg","text":"TemporaryFile(/tmp/multipartBody5512592624921608861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629553748,"filename":"image_23012025_11_50_24_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61b7e1012b3e9261cb0770741386affb.jpg","text":"TemporaryFile(/tmp/multipartBody8302082739181041172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629553748,"filename":"image_23012025_11_50_05_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811837","file1":"1330811831","file0":"1330811822","file4":"1330811867","file5":"1330811869","file3":"1330811840"},"map_files_photo_id_array":[{"photo_id":"1330811869","filename":"file5"},{"photo_id":"1330811837","filename":"file2"},{"photo_id":"1330811867","filename":"file4"},{"photo_id":"1330811831","filename":"file1"},{"photo_id":"1330811822","filename":"file0"},{"photo_id":"1330811840","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330811869":["hashtag1","hashtag2"]},{"1330811867":["hashtag1","hashtag2"]},{"1330811831":["hashtag1","hashtag2"]},{"1330811840":["hashtag1","hashtag2"]},{"1330811837":["hashtag1","hashtag2"]},{"1330811822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330811869, 1330811867, 1330811831, 1330811840, 1330811837, 1330811822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.5316436290741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:52:32.778816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/50/image_23012025_11_51_05_10346.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_14_9348.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_25_10347.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_34_9395.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_44_10372.jpg', '/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_55_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/50/image_23012025_11_51_05_10346.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_14_9348.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_25_10347.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_34_9395.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_44_10372.jpg
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_51_55_10361.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":["1330812007","1330811938","1330811997","1330812018","1330812038","1330811971"],"photo_ids_order":["1330811938","1330811971","1330811997","1330812007","1330812018","1330812038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/412849a817c964c1d233f18c7d5815cb.jpg","text":"TemporaryFile(/tmp/multipartBody2659508349075861074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629613701,"filename":"image_23012025_11_51_34_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/727957c6ec83fd52fe4df8bec01cfcb3.jpg","text":"TemporaryFile(/tmp/multipartBody4427165227659974782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629613701,"filename":"image_23012025_11_51_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa2b8424e5137e8f3212932752d880c5.jpg","text":"TemporaryFile(/tmp/multipartBody6891504318753995729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629613701,"filename":"image_23012025_11_51_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/888bed9bb00f6a8e6321ca4c2ff77c5a.jpg","text":"TemporaryFile(/tmp/multipartBody1261536340970557009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629613701,"filename":"image_23012025_11_51_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8073ab36c715046ba0559af8772c58a5.jpg","text":"TemporaryFile(/tmp/multipartBody1279382495838490559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629613701,"filename":"image_23012025_11_51_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a01ccad26182938fcf0e6872027042c8.jpg","text":"TemporaryFile(/tmp/multipartBody4895468301609635309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629613701,"filename":"image_23012025_11_51_14_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330811997","file1":"1330811971","file0":"1330811938","file4":"1330812018","file5":"1330812038","file3":"1330812007"},"map_files_photo_id_array":[{"photo_id":"1330812038","filename":"file5"},{"photo_id":"1330811997","filename":"file2"},{"photo_id":"1330812018","filename":"file4"},{"photo_id":"1330811971","filename":"file1"},{"photo_id":"1330811938","filename":"file0"},{"photo_id":"1330812007","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330812007":["hashtag1","hashtag2"]},{"1330811938":["hashtag1","hashtag2"]},{"1330811997":["hashtag1","hashtag2"]},{"1330812018":["hashtag1","hashtag2"]},{"1330812038":["hashtag1","hashtag2"]},{"1330811971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330812007, 1330811938, 1330811997, 1330812018, 1330812038, 1330811971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.137901306152344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:53:33.157795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/51/image_23012025_11_52_04_9434.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_15_10439.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_24_9477.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_34_10348.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_45_10401.jpg', '/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_54_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/51/image_23012025_11_52_04_9434.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_15_10439.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_24_9477.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_34_10348.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_45_10401.jpg
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_52_54_9397.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":["1330812118","1330812117","1330812092","1330812086","1330812080","1330812107"],"photo_ids_order":["1330812080","1330812086","1330812092","1330812107","1330812117","1330812118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9386fac3cdf8d09c8d7336ec19b4ffef.jpg","text":"TemporaryFile(/tmp/multipartBody2445119932255983772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629674128,"filename":"image_23012025_11_52_54_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50645dc9e93b8b8bf4980fc9dad2d0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7839600737282180416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629674128,"filename":"image_23012025_11_52_45_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f19cac73cb150ff1fa73906bab1f43b.jpg","text":"TemporaryFile(/tmp/multipartBody5707122991164989111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629674128,"filename":"image_23012025_11_52_24_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8e985751d6776994ce97b24959666ee.jpg","text":"TemporaryFile(/tmp/multipartBody3648082330228389571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629674128,"filename":"image_23012025_11_52_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91f923d8ea4b7ae4eab5bb59de6272b7.jpg","text":"TemporaryFile(/tmp/multipartBody8193379042569391816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629674128,"filename":"image_23012025_11_52_04_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ba3dfe68ed7bfc78ba916c2cd3804b3.jpg","text":"TemporaryFile(/tmp/multipartBody3127480867652898903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629674128,"filename":"image_23012025_11_52_34_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330812092","file1":"1330812086","file0":"1330812080","file4":"1330812117","file5":"1330812118","file3":"1330812107"},"map_files_photo_id_array":[{"photo_id":"1330812118","filename":"file5"},{"photo_id":"1330812092","filename":"file2"},{"photo_id":"1330812117","filename":"file4"},{"photo_id":"1330812086","filename":"file1"},{"photo_id":"1330812080","filename":"file0"},{"photo_id":"1330812107","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330812118":["hashtag1","hashtag2"]},{"1330812117":["hashtag1","hashtag2"]},{"1330812092":["hashtag1","hashtag2"]},{"1330812086":["hashtag1","hashtag2"]},{"1330812080":["hashtag1","hashtag2"]},{"1330812107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330812118, 1330812117, 1330812092, 1330812086, 1330812080, 1330812107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.152745485305786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:54:32.399413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/52/image_23012025_11_53_05_10336.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_14_9376.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_24_10413.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_35_10347.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_44_9465.jpg', '/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_54_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/52/image_23012025_11_53_05_10336.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_14_9376.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_24_10413.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_35_10347.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_44_9465.jpg
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_53_54_10354.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":["1330812256","1330812189","1330812185","1330812203","1330812410","1330812358"],"photo_ids_order":["1330812185","1330812189","1330812203","1330812256","1330812358","1330812410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af78bd6945e67c2bf47da943d28bb39c.jpg","text":"TemporaryFile(/tmp/multipartBody3417945158375798353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629733409,"filename":"image_23012025_11_53_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fb612f6b43238669feede7938134cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6316661651048689941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629733409,"filename":"image_23012025_11_53_14_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf2e5b0f51b509773bd6995e329ebc0a.jpg","text":"TemporaryFile(/tmp/multipartBody7733863851223830111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629733409,"filename":"image_23012025_11_53_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7404df3a31b8a1e4a7d0b0b9bc120dd.jpg","text":"TemporaryFile(/tmp/multipartBody1550478184843881551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629733409,"filename":"image_23012025_11_53_24_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae04117db1106a8419acb252f0fa71d2.jpg","text":"TemporaryFile(/tmp/multipartBody5715153800295005751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629733409,"filename":"image_23012025_11_53_54_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f8ef13ad411457b2b5492da8198afe3.jpg","text":"TemporaryFile(/tmp/multipartBody4662290772120328560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629733409,"filename":"image_23012025_11_53_44_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330812203","file1":"1330812189","file0":"1330812185","file4":"1330812358","file5":"1330812410","file3":"1330812256"},"map_files_photo_id_array":[{"photo_id":"1330812410","filename":"file5"},{"photo_id":"1330812203","filename":"file2"},{"photo_id":"1330812358","filename":"file4"},{"photo_id":"1330812189","filename":"file1"},{"photo_id":"1330812185","filename":"file0"},{"photo_id":"1330812256","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330812256":["hashtag1","hashtag2"]},{"1330812189":["hashtag1","hashtag2"]},{"1330812185":["hashtag1","hashtag2"]},{"1330812203":["hashtag1","hashtag2"]},{"1330812410":["hashtag1","hashtag2"]},{"1330812358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330812256, 1330812189, 1330812185, 1330812203, 1330812410, 1330812358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.70520567893982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:55:32.474982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/53/image_23012025_11_54_05_10352.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_14_9346.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_25_10352.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_35_10330.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_44_9355.jpg', '/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_55_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/53/image_23012025_11_54_05_10352.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_14_9346.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_25_10352.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_35_10330.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_44_9355.jpg
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_54_55_10367.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":["1330812514","1330812502","1330812510","1330812513","1330812507","1330812493"],"photo_ids_order":["1330812493","1330812502","1330812507","1330812510","1330812513","1330812514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8e73426022cb457fcbbe5d3c9e096cc.jpg","text":"TemporaryFile(/tmp/multipartBody5158524742097031745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793536,"filename":"image_23012025_11_54_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee29910815a4394d62360fbeeecc7042.jpg","text":"TemporaryFile(/tmp/multipartBody4625793723118501956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793536,"filename":"image_23012025_11_54_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/358f1e084e1e1ee85003e7991fd0b8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4509681688244714817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793536,"filename":"image_23012025_11_54_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/754f707d48f39b822401cfe8487ce3ba.jpg","text":"TemporaryFile(/tmp/multipartBody1961600476731180470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793536,"filename":"image_23012025_11_54_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b6b6838eef876e31067fe2259875c69.jpg","text":"TemporaryFile(/tmp/multipartBody1421140287096430464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793536,"filename":"image_23012025_11_54_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2aa48e04665cc0df069364482c04781.jpg","text":"TemporaryFile(/tmp/multipartBody4851074510014987082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629793536,"filename":"image_23012025_11_54_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330812507","file1":"1330812502","file0":"1330812493","file4":"1330812513","file5":"1330812514","file3":"1330812510"},"map_files_photo_id_array":[{"photo_id":"1330812514","filename":"file5"},{"photo_id":"1330812507","filename":"file2"},{"photo_id":"1330812513","filename":"file4"},{"photo_id":"1330812502","filename":"file1"},{"photo_id":"1330812493","filename":"file0"},{"photo_id":"1330812510","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330812514":["hashtag1","hashtag2"]},{"1330812502":["hashtag1","hashtag2"]},{"1330812510":["hashtag1","hashtag2"]},{"1330812513":["hashtag1","hashtag2"]},{"1330812507":["hashtag1","hashtag2"]},{"1330812493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330812514, 1330812502, 1330812510, 1330812513, 1330812507, 1330812493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39497756958008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:56:32.722353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/54/image_23012025_11_55_04_9350.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_14_10341.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_25_10460.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_34_9458.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_45_10352.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_54_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_55_04_9350.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_14_10341.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_25_10460.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_34_9458.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_45_10352.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_54_9373.jpg
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: 0.51076340675354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:56:42.684261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/54/image_23012025_11_55_04_9350.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_14_10341.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_25_10460.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_34_9458.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_45_10352.jpg', '/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_54_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/54/image_23012025_11_55_04_9350.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_14_10341.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_25_10460.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_34_9458.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_45_10352.jpg
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_55_54_9373.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":["1330812535","1330812549","1330812531","1330812525","1330812539","1330812544"],"photo_ids_order":["1330812525","1330812531","1330812535","1330812539","1330812544","1330812549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9020789c74d6094589f30029bc07b2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1059119050775053516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629863771,"filename":"image_23012025_11_55_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa69195a9988bf5ddd83fa33283a6c40.jpg","text":"TemporaryFile(/tmp/multipartBody4688091964403635331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629863771,"filename":"image_23012025_11_55_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e50e65cb121d08a43e661d518fd7881.jpg","text":"TemporaryFile(/tmp/multipartBody3069352385540388083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629863771,"filename":"image_23012025_11_55_14_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/333e5850ee77985c95bed4332bc3aefb.jpg","text":"TemporaryFile(/tmp/multipartBody8959366644737137947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629863771,"filename":"image_23012025_11_55_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/325e60587a6e75977b200596b77a3ec9.jpg","text":"TemporaryFile(/tmp/multipartBody5256929456376500930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629863771,"filename":"image_23012025_11_55_34_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1962b8d870da816af8ce1367a667a243.jpg","text":"TemporaryFile(/tmp/multipartBody7498045495675671573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737629863771,"filename":"image_23012025_11_55_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330812535","file1":"1330812531","file0":"1330812525","file4":"1330812544","file5":"1330812549","file3":"1330812539"},"map_files_photo_id_array":[{"photo_id":"1330812549","filename":"file5"},{"photo_id":"1330812535","filename":"file2"},{"photo_id":"1330812544","filename":"file4"},{"photo_id":"1330812531","filename":"file1"},{"photo_id":"1330812525","filename":"file0"},{"photo_id":"1330812539","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330812535":["hashtag1","hashtag2"]},{"1330812549":["hashtag1","hashtag2"]},{"1330812531":["hashtag1","hashtag2"]},{"1330812525":["hashtag1","hashtag2"]},{"1330812539":["hashtag1","hashtag2"]},{"1330812544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330812535, 1330812549, 1330812531, 1330812525, 1330812539, 1330812544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32597017288208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 11:57:32.793523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/55/image_23012025_11_56_04_10378.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_15_10341.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_24_9429.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_34_10371.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_45_10346.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_54_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_56_04_10378.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_15_10341.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_24_9429.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_34_10371.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_45_10346.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_54_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 11:59:03.504489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/55/image_23012025_11_56_04_10378.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_15_10341.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_24_9429.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_34_10371.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_45_10346.jpg', '/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_54_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/55/image_23012025_11_56_04_10378.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_15_10341.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_24_9429.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_34_10371.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_45_10346.jpg
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_56_54_9361.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":["1330812798","1330812786","1330812836","1330812908","1330812781","1330812949"],"photo_ids_order":["1330812781","1330812786","1330812798","1330812836","1330812908","1330812949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d5066b8d84c46f5930a4341e22aee44.jpg","text":"TemporaryFile(/tmp/multipartBody8738456159951412783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630006191,"filename":"image_23012025_11_56_24_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab97d3cb7df7a60e810f5661b7c85e59.jpg","text":"TemporaryFile(/tmp/multipartBody2338665908378833393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630006191,"filename":"image_23012025_11_56_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ca3c032b955fd266fae1de84fa32c2b.jpg","text":"TemporaryFile(/tmp/multipartBody7729496580313712926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630006191,"filename":"image_23012025_11_56_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5194a7e072a836f933ca92c2e358457.jpg","text":"TemporaryFile(/tmp/multipartBody8483879013342580721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630006191,"filename":"image_23012025_11_56_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53b65537a69bfc17be259a5aeabd6741.jpg","text":"TemporaryFile(/tmp/multipartBody7677185915131762703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630006191,"filename":"image_23012025_11_56_04_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdba48aa684335144ce02767f6e42976.jpg","text":"TemporaryFile(/tmp/multipartBody2444711826607776106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630006191,"filename":"image_23012025_11_56_54_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330812798","file1":"1330812786","file0":"1330812781","file4":"1330812908","file5":"1330812949","file3":"1330812836"},"map_files_photo_id_array":[{"photo_id":"1330812949","filename":"file5"},{"photo_id":"1330812798","filename":"file2"},{"photo_id":"1330812908","filename":"file4"},{"photo_id":"1330812786","filename":"file1"},{"photo_id":"1330812781","filename":"file0"},{"photo_id":"1330812836","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330812798":["hashtag1","hashtag2"]},{"1330812786":["hashtag1","hashtag2"]},{"1330812836":["hashtag1","hashtag2"]},{"1330812908":["hashtag1","hashtag2"]},{"1330812781":["hashtag1","hashtag2"]},{"1330812949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330812798, 1330812786, 1330812836, 1330812908, 1330812781, 1330812949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.11967921257019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 11:59:52.504262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/30/image_20012025_08_30_44_9338.jpg', '/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_15_10341.jpg', '/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_44_9344.jpg', '/home/pi/Desktop/images/20012025/08/31/image_20012025_08_32_05_10442.jpg', '/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_14_9347.jpg', '/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_25_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/30/image_20012025_08_30_44_9338.jpg
/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_15_10341.jpg
/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_44_9344.jpg
/home/pi/Desktop/images/20012025/08/31/image_20012025_08_32_05_10442.jpg
/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_14_9347.jpg
/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_25_10439.jpg
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: 1.9295110702514648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 12:00:03.350442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/56/image_23012025_11_57_05_10372.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_14_9405.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_24_10341.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_35_10336.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_44_9334.jpg', '/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_54_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/56/image_23012025_11_57_05_10372.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_14_9405.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_24_10341.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_35_10336.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_44_9334.jpg
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_57_54_10449.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":["1330813006","1330812996","1330813020","1330813002","1330813055","1330813049"],"photo_ids_order":["1330812996","1330813002","1330813006","1330813020","1330813049","1330813055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2eaea0496827f794c6cb96ae3edbada3.jpg","text":"TemporaryFile(/tmp/multipartBody1480358827589832901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630064295,"filename":"image_23012025_11_57_24_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7682fa8f3570fb2762be915dc5a3a41f.jpg","text":"TemporaryFile(/tmp/multipartBody4378485312381448536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630064295,"filename":"image_23012025_11_57_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b9b6c6c77d14155253febc332e1cb88.jpg","text":"TemporaryFile(/tmp/multipartBody2792646443473650661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630064295,"filename":"image_23012025_11_57_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63fe7792edfaecfcd9dbe6b530e24a8a.jpg","text":"TemporaryFile(/tmp/multipartBody200615519358122094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630064295,"filename":"image_23012025_11_57_14_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc9407ae0309978da66d3ca5102e3a69.jpg","text":"TemporaryFile(/tmp/multipartBody1861037213739818569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630064295,"filename":"image_23012025_11_57_54_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94638139608795740741d03ca9c061e5.jpg","text":"TemporaryFile(/tmp/multipartBody8107319754463832375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630064295,"filename":"image_23012025_11_57_44_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330813006","file1":"1330813002","file0":"1330812996","file4":"1330813049","file5":"1330813055","file3":"1330813020"},"map_files_photo_id_array":[{"photo_id":"1330813055","filename":"file5"},{"photo_id":"1330813006","filename":"file2"},{"photo_id":"1330813049","filename":"file4"},{"photo_id":"1330813002","filename":"file1"},{"photo_id":"1330812996","filename":"file0"},{"photo_id":"1330813020","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330813006":["hashtag1","hashtag2"]},{"1330812996":["hashtag1","hashtag2"]},{"1330813020":["hashtag1","hashtag2"]},{"1330813002":["hashtag1","hashtag2"]},{"1330813055":["hashtag1","hashtag2"]},{"1330813049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330813006, 1330812996, 1330813020, 1330813002, 1330813055, 1330813049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08147120475769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 12:00:52.691529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/30/image_20012025_08_30_44_9338.jpg', '/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_15_10341.jpg', '/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_44_9344.jpg', '/home/pi/Desktop/images/20012025/08/31/image_20012025_08_32_05_10442.jpg', '/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_14_9347.jpg', '/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_25_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/30/image_20012025_08_30_44_9338.jpg
/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_15_10341.jpg
/home/pi/Desktop/images/20012025/08/31/image_20012025_08_31_44_9344.jpg
/home/pi/Desktop/images/20012025/08/31/image_20012025_08_32_05_10442.jpg
/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_14_9347.jpg
/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_25_10439.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":["1330813097","1330813103","1330813093","1330813099","1330813111","1330813123"],"photo_ids_order":["1330813093","1330813097","1330813099","1330813103","1330813111","1330813123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60936ea27ec3e9dbca6d4608bda89c45.jpg","text":"TemporaryFile(/tmp/multipartBody2434434086526270549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630114926,"filename":"image_20012025_08_31_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4771d9a6836f9cd252cac7e5b7e922d6.jpg","text":"TemporaryFile(/tmp/multipartBody8573342679812215150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630114926,"filename":"image_20012025_08_32_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5698b2ac4372e80e4ebd03f0e43e528e.jpg","text":"TemporaryFile(/tmp/multipartBody2209165545402447014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630114926,"filename":"image_20012025_08_30_44_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0102a056c41d77632ee5895a8689c231.jpg","text":"TemporaryFile(/tmp/multipartBody1408366531683431929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630114926,"filename":"image_20012025_08_31_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7657ec5bb0c7b01b721284b85cef4581.jpg","text":"TemporaryFile(/tmp/multipartBody7587414676873206448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630114926,"filename":"image_20012025_08_32_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4380b5d5c45903792fc1ce907f56327.jpg","text":"TemporaryFile(/tmp/multipartBody4294588741908667064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630114926,"filename":"image_20012025_08_32_25_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330813099","file1":"1330813097","file0":"1330813093","file4":"1330813111","file5":"1330813123","file3":"1330813103"},"map_files_photo_id_array":[{"photo_id":"1330813123","filename":"file5"},{"photo_id":"1330813099","filename":"file2"},{"photo_id":"1330813111","filename":"file4"},{"photo_id":"1330813097","filename":"file1"},{"photo_id":"1330813093","filename":"file0"},{"photo_id":"1330813103","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330813097":["hashtag1","hashtag2"]},{"1330813103":["hashtag1","hashtag2"]},{"1330813093":["hashtag1","hashtag2"]},{"1330813099":["hashtag1","hashtag2"]},{"1330813111":["hashtag1","hashtag2"]},{"1330813123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330813097, 1330813103, 1330813093, 1330813099, 1330813111, 1330813123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.15592336654663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 12:01:43.025506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/57/image_23012025_11_58_05_10348.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_14_9347.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_24_10357.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_35_10346.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_44_9347.jpg', '/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_54_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/57/image_23012025_11_58_05_10348.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_14_9347.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_24_10357.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_35_10346.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_44_9347.jpg
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_58_54_10343.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":["1330813158","1330813224","1330813206","1330813187","1330813192","1330813189"],"photo_ids_order":["1330813158","1330813187","1330813189","1330813192","1330813206","1330813224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/583e83ff0f8d944ce652d8402a61f693.jpg","text":"TemporaryFile(/tmp/multipartBody3217546471728715290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630163952,"filename":"image_23012025_11_58_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d68c581ad4cacc89cfb670694e14663.jpg","text":"TemporaryFile(/tmp/multipartBody2286431779893558700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630163952,"filename":"image_23012025_11_58_54_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd6185ac7ae9803ef30fe9a231eb7fee.jpg","text":"TemporaryFile(/tmp/multipartBody7886860837998857997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630163952,"filename":"image_23012025_11_58_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/181cf3bc3516e25b6b28f56cfb354b92.jpg","text":"TemporaryFile(/tmp/multipartBody3374942722827659904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630163952,"filename":"image_23012025_11_58_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5977c77472482ba696209570fb70b97.jpg","text":"TemporaryFile(/tmp/multipartBody2851104590714444527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630163952,"filename":"image_23012025_11_58_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76a7c764d6d034629ee485566007ce40.jpg","text":"TemporaryFile(/tmp/multipartBody781727658675636802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630163952,"filename":"image_23012025_11_58_24_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330813189","file1":"1330813187","file0":"1330813158","file4":"1330813206","file5":"1330813224","file3":"1330813192"},"map_files_photo_id_array":[{"photo_id":"1330813224","filename":"file5"},{"photo_id":"1330813189","filename":"file2"},{"photo_id":"1330813206","filename":"file4"},{"photo_id":"1330813187","filename":"file1"},{"photo_id":"1330813158","filename":"file0"},{"photo_id":"1330813192","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330813158":["hashtag1","hashtag2"]},{"1330813224":["hashtag1","hashtag2"]},{"1330813206":["hashtag1","hashtag2"]},{"1330813187":["hashtag1","hashtag2"]},{"1330813192":["hashtag1","hashtag2"]},{"1330813189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330813158, 1330813224, 1330813206, 1330813187, 1330813192, 1330813189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.95534801483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:02:33.169505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/11/58/image_23012025_11_59_05_10341.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_14_9437.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_25_10341.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_34_9352.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_44_10391.jpg', '/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_55_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/11/58/image_23012025_11_59_05_10341.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_14_9437.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_25_10341.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_34_9352.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_44_10391.jpg
/home/pi/Desktop/images/23012025/11/59/image_23012025_11_59_55_10365.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":["1330813311","1330813308","1330813328","1330813316","1330813304","1330813306"],"photo_ids_order":["1330813304","1330813306","1330813308","1330813311","1330813316","1330813328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bec06b1397c4436eae30a1bae0719bf2.jpg","text":"TemporaryFile(/tmp/multipartBody5371648171236675495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630214081,"filename":"image_23012025_11_59_34_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfdb586f2d9b066a415be11d9bee7629.jpg","text":"TemporaryFile(/tmp/multipartBody4232863019640196860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630214081,"filename":"image_23012025_11_59_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0533d1bec50fc35cae8f81091ab3ec49.jpg","text":"TemporaryFile(/tmp/multipartBody2558906174920466105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630214081,"filename":"image_23012025_11_59_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac584d33861e1dbaeb1d67924683894a.jpg","text":"TemporaryFile(/tmp/multipartBody7535102029509833753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630214081,"filename":"image_23012025_11_59_44_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c03f8ada88ba65fedd88b1ed656210f.jpg","text":"TemporaryFile(/tmp/multipartBody5688723406672070518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630214081,"filename":"image_23012025_11_59_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e3c5a744c3bfaa4eb28fb69e887b7c0.jpg","text":"TemporaryFile(/tmp/multipartBody7146112466609495060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630214081,"filename":"image_23012025_11_59_14_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330813308","file1":"1330813306","file0":"1330813304","file4":"1330813316","file5":"1330813328","file3":"1330813311"},"map_files_photo_id_array":[{"photo_id":"1330813328","filename":"file5"},{"photo_id":"1330813308","filename":"file2"},{"photo_id":"1330813316","filename":"file4"},{"photo_id":"1330813306","filename":"file1"},{"photo_id":"1330813304","filename":"file0"},{"photo_id":"1330813311","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330813311":["hashtag1","hashtag2"]},{"1330813308":["hashtag1","hashtag2"]},{"1330813328":["hashtag1","hashtag2"]},{"1330813316":["hashtag1","hashtag2"]},{"1330813304":["hashtag1","hashtag2"]},{"1330813306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330813311, 1330813308, 1330813328, 1330813316, 1330813304, 1330813306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.72475981712341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:03:32.294977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_15_10075.jpg', '/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_25_10438.jpg', '/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_35_10347.jpg', '/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_45_9324.jpg', '/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_55_10352.jpg', '/home/pi/Desktop/images/23012025/12/01/image_23012025_12_02_06_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_15_10075.jpg
/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_25_10438.jpg
/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_35_10347.jpg
/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_45_9324.jpg
/home/pi/Desktop/images/23012025/12/01/image_23012025_12_01_55_10352.jpg
/home/pi/Desktop/images/23012025/12/01/image_23012025_12_02_06_10342.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":["1330813379","1330813370","1330813364","1330813381","1330813375","1330813383"],"photo_ids_order":["1330813364","1330813370","1330813375","1330813379","1330813381","1330813383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3ddb1f74f0eb31e5a17ebfd2dedf69f.jpg","text":"TemporaryFile(/tmp/multipartBody1233971118866677840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630273242,"filename":"image_23012025_12_01_45_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85445cdb8a206ed8d0503d9cac307f01.jpg","text":"TemporaryFile(/tmp/multipartBody1503726350052874222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630273242,"filename":"image_23012025_12_01_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b97c06b14f5e23ad615a46dbd27ae752.jpg","text":"TemporaryFile(/tmp/multipartBody2530894099634185469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630273242,"filename":"image_23012025_12_01_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bd3a49de74470d365f30ebffc6b0664.jpg","text":"TemporaryFile(/tmp/multipartBody7308315163728979691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630273242,"filename":"image_23012025_12_01_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2abbbdf266fcb73638dbc78a75f32a46.jpg","text":"TemporaryFile(/tmp/multipartBody5024364968429663352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630273242,"filename":"image_23012025_12_01_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5be328b27eee0a6aee1014228c2efd66.jpg","text":"TemporaryFile(/tmp/multipartBody2057893395620836956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630273242,"filename":"image_23012025_12_02_06_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330813375","file1":"1330813370","file0":"1330813364","file4":"1330813381","file5":"1330813383","file3":"1330813379"},"map_files_photo_id_array":[{"photo_id":"1330813383","filename":"file5"},{"photo_id":"1330813375","filename":"file2"},{"photo_id":"1330813381","filename":"file4"},{"photo_id":"1330813370","filename":"file1"},{"photo_id":"1330813364","filename":"file0"},{"photo_id":"1330813379","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330813379":["hashtag1","hashtag2"]},{"1330813370":["hashtag1","hashtag2"]},{"1330813364":["hashtag1","hashtag2"]},{"1330813381":["hashtag1","hashtag2"]},{"1330813375":["hashtag1","hashtag2"]},{"1330813383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330813379, 1330813370, 1330813364, 1330813381, 1330813375, 1330813383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.240370750427246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:04:32.619276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_15_9438.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_25_10446.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_35_9377.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_45_10418.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_56_10384.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_03_05_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_15_9438.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_25_10446.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_35_9377.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_45_10418.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_56_10384.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_03_05_9340.jpg
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: 0.5101091861724854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 12:04:42.550025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_15_9438.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_25_10446.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_35_9377.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_45_10418.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_56_10384.jpg', '/home/pi/Desktop/images/23012025/12/02/image_23012025_12_03_05_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_15_9438.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_25_10446.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_35_9377.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_45_10418.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_02_56_10384.jpg
/home/pi/Desktop/images/23012025/12/02/image_23012025_12_03_05_9340.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":["1330814043","1330813875","1330813464","1330814185","1330813403","1330813674"],"photo_ids_order":["1330813403","1330813464","1330813674","1330813875","1330814043","1330814185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdc9704a2306121ad09b86a420e0b96f.jpg","text":"TemporaryFile(/tmp/multipartBody6350135055649454260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630343494,"filename":"image_23012025_12_02_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7ce45702daf9e2d48221a45ad8535b9.jpg","text":"TemporaryFile(/tmp/multipartBody6177315078675657482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630343494,"filename":"image_23012025_12_02_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a65cea4ddb5d2b778b037691020c183.jpg","text":"TemporaryFile(/tmp/multipartBody8372919513516114551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630343494,"filename":"image_23012025_12_02_25_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe6c582cd01ff14130122554de595141.jpg","text":"TemporaryFile(/tmp/multipartBody6990070611206473443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630343494,"filename":"image_23012025_12_03_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34f3e57205d0c6eccd505fe1c7318712.jpg","text":"TemporaryFile(/tmp/multipartBody7925077753460155213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630343494,"filename":"image_23012025_12_02_15_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7d11ec61759262f996f7d93127ff4d0.jpg","text":"TemporaryFile(/tmp/multipartBody5095319139860461318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630343494,"filename":"image_23012025_12_02_35_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330813674","file1":"1330813464","file0":"1330813403","file4":"1330814043","file5":"1330814185","file3":"1330813875"},"map_files_photo_id_array":[{"photo_id":"1330814185","filename":"file5"},{"photo_id":"1330813674","filename":"file2"},{"photo_id":"1330814043","filename":"file4"},{"photo_id":"1330813464","filename":"file1"},{"photo_id":"1330813403","filename":"file0"},{"photo_id":"1330813875","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330814043":["hashtag1","hashtag2"]},{"1330813875":["hashtag1","hashtag2"]},{"1330813464":["hashtag1","hashtag2"]},{"1330814185":["hashtag1","hashtag2"]},{"1330813403":["hashtag1","hashtag2"]},{"1330813674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330814043, 1330813875, 1330813464, 1330814185, 1330813403, 1330813674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.678544998168945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:05:32.745093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_15_10416.jpg', '/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_25_9344.jpg', '/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_35_10386.jpg', '/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_45_10355.jpg', '/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_55_9348.jpg', '/home/pi/Desktop/images/23012025/12/03/image_23012025_12_04_05_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_15_10416.jpg
/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_25_9344.jpg
/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_35_10386.jpg
/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_45_10355.jpg
/home/pi/Desktop/images/23012025/12/03/image_23012025_12_03_55_9348.jpg
/home/pi/Desktop/images/23012025/12/03/image_23012025_12_04_05_10404.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":["1330814220","1330814223","1330814237","1330814225","1330814207","1330814212"],"photo_ids_order":["1330814207","1330814212","1330814220","1330814223","1330814225","1330814237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8f3c79c1706e56f05840843ccf7923c.jpg","text":"TemporaryFile(/tmp/multipartBody4527805612402659699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630393663,"filename":"image_23012025_12_03_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eb14a78a0e14d349c08ea3a642fb8a8.jpg","text":"TemporaryFile(/tmp/multipartBody4018979647734372346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630393663,"filename":"image_23012025_12_03_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c7576817bb641298b666430cb219c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2497010995940222550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630393663,"filename":"image_23012025_12_04_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f6f50bb50cc78269e94fe0571eeb01a.jpg","text":"TemporaryFile(/tmp/multipartBody4682566292214694459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630393663,"filename":"image_23012025_12_03_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cf291bcf96a007a3b22ca153571a666.jpg","text":"TemporaryFile(/tmp/multipartBody7520827292536211694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630393663,"filename":"image_23012025_12_03_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0abee38f4d5d9b9b8b504efd1d9c8cf.jpg","text":"TemporaryFile(/tmp/multipartBody2278755781918066450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630393663,"filename":"image_23012025_12_03_25_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330814220","file1":"1330814212","file0":"1330814207","file4":"1330814225","file5":"1330814237","file3":"1330814223"},"map_files_photo_id_array":[{"photo_id":"1330814237","filename":"file5"},{"photo_id":"1330814220","filename":"file2"},{"photo_id":"1330814225","filename":"file4"},{"photo_id":"1330814212","filename":"file1"},{"photo_id":"1330814207","filename":"file0"},{"photo_id":"1330814223","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330814220":["hashtag1","hashtag2"]},{"1330814223":["hashtag1","hashtag2"]},{"1330814237":["hashtag1","hashtag2"]},{"1330814225":["hashtag1","hashtag2"]},{"1330814207":["hashtag1","hashtag2"]},{"1330814212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330814220, 1330814223, 1330814237, 1330814225, 1330814207, 1330814212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.43179130554199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:06:32.921594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_16_10439.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_25_9410.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_35_10426.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_45_9338.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_55_10362.jpg', '/home/pi/Desktop/images/23012025/12/04/image_23012025_12_05_06_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_16_10439.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_25_9410.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_35_10426.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_45_9338.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_04_55_10362.jpg
/home/pi/Desktop/images/23012025/12/04/image_23012025_12_05_06_10413.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":["1330814613","1330814566","1330814467","1330814620","1330814617","1330814410"],"photo_ids_order":["1330814410","1330814467","1330814566","1330814613","1330814617","1330814620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/926ccbde5bdd27b50e0ad0302591ff5f.jpg","text":"TemporaryFile(/tmp/multipartBody8983073990921305317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630453829,"filename":"image_23012025_12_04_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51ed4ca6252952694a70dd555fbf6fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4558213336551294828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630453829,"filename":"image_23012025_12_04_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdba2a35c2e98a3e97ee4fea3f9a70b8.jpg","text":"TemporaryFile(/tmp/multipartBody4930696858698637861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630453829,"filename":"image_23012025_12_04_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6181128079a9bf63927c40d6f5113763.jpg","text":"TemporaryFile(/tmp/multipartBody5385673189487842975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630453829,"filename":"image_23012025_12_05_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/898b9cd47b669cd0702ab5ff51261b59.jpg","text":"TemporaryFile(/tmp/multipartBody1997159563283644863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630453829,"filename":"image_23012025_12_04_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5005b6e194afbb6071360cc7781b3bf9.jpg","text":"TemporaryFile(/tmp/multipartBody941658554284907880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630453829,"filename":"image_23012025_12_04_16_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330814566","file1":"1330814467","file0":"1330814410","file4":"1330814617","file5":"1330814620","file3":"1330814613"},"map_files_photo_id_array":[{"photo_id":"1330814620","filename":"file5"},{"photo_id":"1330814566","filename":"file2"},{"photo_id":"1330814617","filename":"file4"},{"photo_id":"1330814467","filename":"file1"},{"photo_id":"1330814410","filename":"file0"},{"photo_id":"1330814613","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330814613":["hashtag1","hashtag2"]},{"1330814566":["hashtag1","hashtag2"]},{"1330814467":["hashtag1","hashtag2"]},{"1330814620":["hashtag1","hashtag2"]},{"1330814617":["hashtag1","hashtag2"]},{"1330814410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330814613, 1330814566, 1330814467, 1330814620, 1330814617, 1330814410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.744189977645874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:07:32.167552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_15_9334.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_25_10409.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_35_9323.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_45_10402.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_55_10343.jpg', '/home/pi/Desktop/images/23012025/12/05/image_23012025_12_06_05_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_15_9334.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_25_10409.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_35_9323.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_45_10402.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_05_55_10343.jpg
/home/pi/Desktop/images/23012025/12/05/image_23012025_12_06_05_9338.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":["1330815182","1330814735","1330814950","1330814997","1330815054","1330814832"],"photo_ids_order":["1330814735","1330814832","1330814950","1330814997","1330815054","1330815182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08f7f33daf87edfc0de5abd13c12c0fe.jpg","text":"TemporaryFile(/tmp/multipartBody2357483711113567260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630513078,"filename":"image_23012025_12_06_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d95a442734e1f8b6e42efa1f1a1f54b0.jpg","text":"TemporaryFile(/tmp/multipartBody2982031886267906523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630513078,"filename":"image_23012025_12_05_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2649a3675a9a1d5914f1f94a0a356171.jpg","text":"TemporaryFile(/tmp/multipartBody6137197718841345881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630513078,"filename":"image_23012025_12_05_35_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e61e5e2392f58bb548d2ee88af51fd0b.jpg","text":"TemporaryFile(/tmp/multipartBody6466193385910601106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630513078,"filename":"image_23012025_12_05_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66f1621c8aad0ac38626fe1b0c1ccdb2.jpg","text":"TemporaryFile(/tmp/multipartBody7825860980678560620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630513078,"filename":"image_23012025_12_05_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a0ced223e3d878328fc45bc65b48cbf.jpg","text":"TemporaryFile(/tmp/multipartBody561025717675602439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630513078,"filename":"image_23012025_12_05_25_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330814950","file1":"1330814832","file0":"1330814735","file4":"1330815054","file5":"1330815182","file3":"1330814997"},"map_files_photo_id_array":[{"photo_id":"1330815182","filename":"file5"},{"photo_id":"1330814950","filename":"file2"},{"photo_id":"1330815054","filename":"file4"},{"photo_id":"1330814832","filename":"file1"},{"photo_id":"1330814735","filename":"file0"},{"photo_id":"1330814997","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330815182":["hashtag1","hashtag2"]},{"1330814735":["hashtag1","hashtag2"]},{"1330814950":["hashtag1","hashtag2"]},{"1330814997":["hashtag1","hashtag2"]},{"1330815054":["hashtag1","hashtag2"]},{"1330814832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330815182, 1330814735, 1330814950, 1330814997, 1330815054, 1330814832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.699522733688354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:08:32.369577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_15_10383.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_25_10361.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_35_9332.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_45_10437.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_56_10345.jpg', '/home/pi/Desktop/images/23012025/12/06/image_23012025_12_07_05_9508.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_15_10383.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_25_10361.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_35_9332.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_45_10437.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_06_56_10345.jpg
/home/pi/Desktop/images/23012025/12/06/image_23012025_12_07_05_9508.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":["1330815740","1330815880","1330815865","1330815667","1330815874","1330815526"],"photo_ids_order":["1330815526","1330815667","1330815740","1330815865","1330815874","1330815880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d94138d45d3af14138ca9fd64592296b.jpg","text":"TemporaryFile(/tmp/multipartBody6912418367558266052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630573287,"filename":"image_23012025_12_06_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c8b6d7e38a24b0260ad818ae3b471ae.jpg","text":"TemporaryFile(/tmp/multipartBody136755939821424835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630573287,"filename":"image_23012025_12_07_05_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15162b4ac2e53a4297c24486d034ed72.jpg","text":"TemporaryFile(/tmp/multipartBody8160991483000301681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630573287,"filename":"image_23012025_12_06_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e608f0e84ed4f7a215faf5652328bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2809555941524188097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630573287,"filename":"image_23012025_12_06_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66617636c9489277442397ec8a4ba611.jpg","text":"TemporaryFile(/tmp/multipartBody8905576689660632069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630573287,"filename":"image_23012025_12_06_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/830f86cbf6e98a81be06c59e9da4dab4.jpg","text":"TemporaryFile(/tmp/multipartBody3175239070605348618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630573287,"filename":"image_23012025_12_06_15_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330815740","file1":"1330815667","file0":"1330815526","file4":"1330815874","file5":"1330815880","file3":"1330815865"},"map_files_photo_id_array":[{"photo_id":"1330815880","filename":"file5"},{"photo_id":"1330815740","filename":"file2"},{"photo_id":"1330815874","filename":"file4"},{"photo_id":"1330815667","filename":"file1"},{"photo_id":"1330815526","filename":"file0"},{"photo_id":"1330815865","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330815740":["hashtag1","hashtag2"]},{"1330815880":["hashtag1","hashtag2"]},{"1330815865":["hashtag1","hashtag2"]},{"1330815667":["hashtag1","hashtag2"]},{"1330815874":["hashtag1","hashtag2"]},{"1330815526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330815740, 1330815880, 1330815865, 1330815667, 1330815874, 1330815526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.74199867248535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:09:32.582954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_15_10348.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_25_9414.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_35_10346.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_46_10342.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_55_9394.jpg', '/home/pi/Desktop/images/23012025/12/07/image_23012025_12_08_05_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_15_10348.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_25_9414.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_35_10346.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_46_10342.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_07_55_9394.jpg
/home/pi/Desktop/images/23012025/12/07/image_23012025_12_08_05_10450.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":["1330815980","1330815962","1330815920","1330815942","1330815939","1330815903"],"photo_ids_order":["1330815903","1330815920","1330815939","1330815942","1330815962","1330815980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27c309fb517526613fe147b97e946f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7039385032251878685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630633494,"filename":"image_23012025_12_08_05_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b74e628156bdb76d15441ec6d7aa14d8.jpg","text":"TemporaryFile(/tmp/multipartBody605582066443267336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630633494,"filename":"image_23012025_12_07_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07159f799b6d78cbb3a58cc07520d97c.jpg","text":"TemporaryFile(/tmp/multipartBody826634048710903567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630633494,"filename":"image_23012025_12_07_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/222769385eada92a6bef1a5d8dbc2a04.jpg","text":"TemporaryFile(/tmp/multipartBody6492396229424323015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630633494,"filename":"image_23012025_12_07_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d15bdb96125141e3fdcf4242b3278060.jpg","text":"TemporaryFile(/tmp/multipartBody593890402187188507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630633494,"filename":"image_23012025_12_07_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7dab31deba6f789114fef637469bfe7c.jpg","text":"TemporaryFile(/tmp/multipartBody5547452865552819922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630633494,"filename":"image_23012025_12_07_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330815939","file1":"1330815920","file0":"1330815903","file4":"1330815962","file5":"1330815980","file3":"1330815942"},"map_files_photo_id_array":[{"photo_id":"1330815980","filename":"file5"},{"photo_id":"1330815939","filename":"file2"},{"photo_id":"1330815962","filename":"file4"},{"photo_id":"1330815920","filename":"file1"},{"photo_id":"1330815903","filename":"file0"},{"photo_id":"1330815942","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330815980":["hashtag1","hashtag2"]},{"1330815962":["hashtag1","hashtag2"]},{"1330815920":["hashtag1","hashtag2"]},{"1330815942":["hashtag1","hashtag2"]},{"1330815939":["hashtag1","hashtag2"]},{"1330815903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330815980, 1330815962, 1330815920, 1330815942, 1330815939, 1330815903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71405386924744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:10:32.940026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_15_9321.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_25_10437.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_35_10326.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_45_9327.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_55_10429.jpg', '/home/pi/Desktop/images/23012025/12/08/image_23012025_12_09_06_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_15_9321.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_25_10437.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_35_10326.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_45_9327.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_08_55_10429.jpg
/home/pi/Desktop/images/23012025/12/08/image_23012025_12_09_06_10336.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":["1330816447","1330816513","1330816443","1330816566","1330816416","1330816503"],"photo_ids_order":["1330816416","1330816443","1330816447","1330816503","1330816513","1330816566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/966214161beb438394c8ef78af91acaf.jpg","text":"TemporaryFile(/tmp/multipartBody2685205992858478078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630693858,"filename":"image_23012025_12_08_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35979a6c6d7bd0c14206d0d04786eff4.jpg","text":"TemporaryFile(/tmp/multipartBody895882151765680415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630693858,"filename":"image_23012025_12_08_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a8af592599c29f6b31939a73b14461e.jpg","text":"TemporaryFile(/tmp/multipartBody8004487542247817492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630693858,"filename":"image_23012025_12_08_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebce9fa1446ee16fd6cbfaff3b3e5f1d.jpg","text":"TemporaryFile(/tmp/multipartBody3264831412575250854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630693858,"filename":"image_23012025_12_09_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26298de4089a99c6250c02dfbd7a8bad.jpg","text":"TemporaryFile(/tmp/multipartBody6142404769854051024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630693858,"filename":"image_23012025_12_08_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45f199356f3b4909afd2a99d934462c6.jpg","text":"TemporaryFile(/tmp/multipartBody2294683727458960942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630693858,"filename":"image_23012025_12_08_45_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330816447","file1":"1330816443","file0":"1330816416","file4":"1330816513","file5":"1330816566","file3":"1330816503"},"map_files_photo_id_array":[{"photo_id":"1330816566","filename":"file5"},{"photo_id":"1330816447","filename":"file2"},{"photo_id":"1330816513","filename":"file4"},{"photo_id":"1330816443","filename":"file1"},{"photo_id":"1330816416","filename":"file0"},{"photo_id":"1330816503","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330816447":["hashtag1","hashtag2"]},{"1330816513":["hashtag1","hashtag2"]},{"1330816443":["hashtag1","hashtag2"]},{"1330816566":["hashtag1","hashtag2"]},{"1330816416":["hashtag1","hashtag2"]},{"1330816503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330816447, 1330816513, 1330816443, 1330816566, 1330816416, 1330816503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.542203426361084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:11:33.180700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_15_9331.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_25_10408.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_35_9328.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_45_10393.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_55_10346.jpg', '/home/pi/Desktop/images/23012025/12/09/image_23012025_12_10_05_9315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_15_9331.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_25_10408.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_35_9328.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_45_10393.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_09_55_10346.jpg
/home/pi/Desktop/images/23012025/12/09/image_23012025_12_10_05_9315.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":["1330816619","1330816683","1330816641","1330816653","1330816647","1330816632"],"photo_ids_order":["1330816619","1330816632","1330816641","1330816647","1330816653","1330816683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58f1b4d1abcec991b9bdbf101c90e6ac.jpg","text":"TemporaryFile(/tmp/multipartBody8897364647823601237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630754096,"filename":"image_23012025_12_09_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cdc1675f6e71591da1cf3a50b2de3ce.jpg","text":"TemporaryFile(/tmp/multipartBody7894009773809169676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630754096,"filename":"image_23012025_12_10_05_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07dbd2933ffab6083aba22c849db369e.jpg","text":"TemporaryFile(/tmp/multipartBody3125224583289007152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630754096,"filename":"image_23012025_12_09_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d46b3e24de7efcc8137dc316cbbf7c02.jpg","text":"TemporaryFile(/tmp/multipartBody6157244600613602239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630754096,"filename":"image_23012025_12_09_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd17d353d5a5e09f57063c563b584075.jpg","text":"TemporaryFile(/tmp/multipartBody7534419756866762627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630754096,"filename":"image_23012025_12_09_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1246e98a9cbc903d646d28ad88134115.jpg","text":"TemporaryFile(/tmp/multipartBody7948193878121657686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630754096,"filename":"image_23012025_12_09_25_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330816641","file1":"1330816632","file0":"1330816619","file4":"1330816653","file5":"1330816683","file3":"1330816647"},"map_files_photo_id_array":[{"photo_id":"1330816683","filename":"file5"},{"photo_id":"1330816641","filename":"file2"},{"photo_id":"1330816653","filename":"file4"},{"photo_id":"1330816632","filename":"file1"},{"photo_id":"1330816619","filename":"file0"},{"photo_id":"1330816647","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330816619":["hashtag1","hashtag2"]},{"1330816683":["hashtag1","hashtag2"]},{"1330816641":["hashtag1","hashtag2"]},{"1330816653":["hashtag1","hashtag2"]},{"1330816647":["hashtag1","hashtag2"]},{"1330816632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330816619, 1330816683, 1330816641, 1330816653, 1330816647, 1330816632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26733875274658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:12:32.245818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_15_10500.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_26_10362.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_35_9328.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_45_10339.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_56_10335.jpg', '/home/pi/Desktop/images/23012025/12/10/image_23012025_12_11_05_9315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_15_10500.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_26_10362.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_35_9328.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_45_10339.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_10_56_10335.jpg
/home/pi/Desktop/images/23012025/12/10/image_23012025_12_11_05_9315.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":["1330816712","1330816801","1330816717","1330816859","1330816715","1330816709"],"photo_ids_order":["1330816709","1330816712","1330816715","1330816717","1330816801","1330816859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9efb8b1b1b2ab6fe252e2609ec5acc49.jpg","text":"TemporaryFile(/tmp/multipartBody5459417434304552040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630813149,"filename":"image_23012025_12_10_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e40bf6d65d343f3b2ecc398ec07661b.jpg","text":"TemporaryFile(/tmp/multipartBody2125809106039264624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630813149,"filename":"image_23012025_12_10_56_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f474135529ec3322d8ce9a886cdd7203.jpg","text":"TemporaryFile(/tmp/multipartBody6084264591408760731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630813149,"filename":"image_23012025_12_10_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ff904738fd8d35b6b8d0b58a87cd36a.jpg","text":"TemporaryFile(/tmp/multipartBody174421870558893317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630813149,"filename":"image_23012025_12_11_05_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21499bc437a08f41837e03d758baa8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1663232208659023162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630813149,"filename":"image_23012025_12_10_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1cf346051f1a2456b454ddca0d2f8c5.jpg","text":"TemporaryFile(/tmp/multipartBody4719828186017398600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630813149,"filename":"image_23012025_12_10_15_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330816715","file1":"1330816712","file0":"1330816709","file4":"1330816801","file5":"1330816859","file3":"1330816717"},"map_files_photo_id_array":[{"photo_id":"1330816859","filename":"file5"},{"photo_id":"1330816715","filename":"file2"},{"photo_id":"1330816801","filename":"file4"},{"photo_id":"1330816712","filename":"file1"},{"photo_id":"1330816709","filename":"file0"},{"photo_id":"1330816717","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330816712":["hashtag1","hashtag2"]},{"1330816801":["hashtag1","hashtag2"]},{"1330816717":["hashtag1","hashtag2"]},{"1330816859":["hashtag1","hashtag2"]},{"1330816715":["hashtag1","hashtag2"]},{"1330816709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330816712, 1330816801, 1330816717, 1330816859, 1330816715, 1330816709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.43111181259155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:13:32.384381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_15_10335.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_26_10347.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_35_9328.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_45_10326.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_56_10357.jpg', '/home/pi/Desktop/images/23012025/12/11/image_23012025_12_12_05_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_15_10335.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_26_10347.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_35_9328.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_45_10326.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_11_56_10357.jpg
/home/pi/Desktop/images/23012025/12/11/image_23012025_12_12_05_9324.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":["1330816873","1330816884","1330816878","1330816887","1330816881","1330816871"],"photo_ids_order":["1330816871","1330816873","1330816878","1330816881","1330816884","1330816887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/311ecd9ea65a208d741aec007b2f027a.jpg","text":"TemporaryFile(/tmp/multipartBody8426533991918163802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630873281,"filename":"image_23012025_12_11_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16b378a4841abe6825392b8e9ebec8aa.jpg","text":"TemporaryFile(/tmp/multipartBody6356700267820135021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630873281,"filename":"image_23012025_12_11_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a006e78a267656d4c0558ddfe3c226c.jpg","text":"TemporaryFile(/tmp/multipartBody7534539884406567465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630873281,"filename":"image_23012025_12_11_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/173eb9ea3fbe75457ca260ddfd7388af.jpg","text":"TemporaryFile(/tmp/multipartBody1342839584459082895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630873281,"filename":"image_23012025_12_12_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c039e4de3950e912f596c180341047b7.jpg","text":"TemporaryFile(/tmp/multipartBody4895884161746991772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630873281,"filename":"image_23012025_12_11_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed7ea0fe5ab189ea10869d98384452a0.jpg","text":"TemporaryFile(/tmp/multipartBody7965445783727977115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630873281,"filename":"image_23012025_12_11_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330816878","file1":"1330816873","file0":"1330816871","file4":"1330816884","file5":"1330816887","file3":"1330816881"},"map_files_photo_id_array":[{"photo_id":"1330816887","filename":"file5"},{"photo_id":"1330816878","filename":"file2"},{"photo_id":"1330816884","filename":"file4"},{"photo_id":"1330816873","filename":"file1"},{"photo_id":"1330816871","filename":"file0"},{"photo_id":"1330816881","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330816873":["hashtag1","hashtag2"]},{"1330816884":["hashtag1","hashtag2"]},{"1330816878":["hashtag1","hashtag2"]},{"1330816887":["hashtag1","hashtag2"]},{"1330816881":["hashtag1","hashtag2"]},{"1330816871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330816873, 1330816884, 1330816878, 1330816887, 1330816881, 1330816871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.56817078590393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:14:32.574143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_15_10444.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_25_9329.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_35_10411.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_45_10332.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_55_9324.jpg', '/home/pi/Desktop/images/23012025/12/12/image_23012025_12_13_05_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_15_10444.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_25_9329.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_35_10411.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_45_10332.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_12_55_9324.jpg
/home/pi/Desktop/images/23012025/12/12/image_23012025_12_13_05_10395.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":["1330816930","1330816906","1330816929","1330816920","1330816925","1330816913"],"photo_ids_order":["1330816906","1330816913","1330816920","1330816925","1330816929","1330816930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65ea90d65fea4f933fe3836fb9e64868.jpg","text":"TemporaryFile(/tmp/multipartBody4866717012034367927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630933476,"filename":"image_23012025_12_13_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/abd921d900c120b8aae8553e0ae634c4.jpg","text":"TemporaryFile(/tmp/multipartBody5094343494599604255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630933476,"filename":"image_23012025_12_12_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20a3eff523e39987bc1ee5aa685578f0.jpg","text":"TemporaryFile(/tmp/multipartBody976355167351931711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630933476,"filename":"image_23012025_12_12_55_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a2f648dbf8c3daf3ae15780ac435cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4039217170767694715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630933476,"filename":"image_23012025_12_12_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57b0fcc84e09ce3f6c876fe969def182.jpg","text":"TemporaryFile(/tmp/multipartBody7025864546896738285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630933476,"filename":"image_23012025_12_12_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9871567d65f8603fe7d7efb9ca23af18.jpg","text":"TemporaryFile(/tmp/multipartBody3064372060237132615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630933476,"filename":"image_23012025_12_12_25_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330816920","file1":"1330816913","file0":"1330816906","file4":"1330816929","file5":"1330816930","file3":"1330816925"},"map_files_photo_id_array":[{"photo_id":"1330816930","filename":"file5"},{"photo_id":"1330816920","filename":"file2"},{"photo_id":"1330816929","filename":"file4"},{"photo_id":"1330816913","filename":"file1"},{"photo_id":"1330816906","filename":"file0"},{"photo_id":"1330816925","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330816930":["hashtag1","hashtag2"]},{"1330816906":["hashtag1","hashtag2"]},{"1330816929":["hashtag1","hashtag2"]},{"1330816920":["hashtag1","hashtag2"]},{"1330816925":["hashtag1","hashtag2"]},{"1330816913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330816930, 1330816906, 1330816929, 1330816920, 1330816925, 1330816913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70027279853821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:15:32.819262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_15_10334.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_25_9361.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_35_10393.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_46_10324.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_55_9342.jpg', '/home/pi/Desktop/images/23012025/12/13/image_23012025_12_14_05_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_15_10334.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_25_9361.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_35_10393.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_46_10324.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_13_55_9342.jpg
/home/pi/Desktop/images/23012025/12/13/image_23012025_12_14_05_10345.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":["1330816993","1330817002","1330816988","1330816997","1330817006","1330817009"],"photo_ids_order":["1330816988","1330816993","1330816997","1330817002","1330817006","1330817009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c1f0a4a9c7548f449b1fcf17a7ba161.jpg","text":"TemporaryFile(/tmp/multipartBody6095365065212871730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630993736,"filename":"image_23012025_12_13_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40bc0564af18f1a6c94a12964e46c1b8.jpg","text":"TemporaryFile(/tmp/multipartBody98836781005056671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630993736,"filename":"image_23012025_12_13_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6048ca9da44e5cd3b80479a912108d7.jpg","text":"TemporaryFile(/tmp/multipartBody8665184193103520455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630993736,"filename":"image_23012025_12_13_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6702295f191dc99569be9ff875785468.jpg","text":"TemporaryFile(/tmp/multipartBody3589835798795839888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630993736,"filename":"image_23012025_12_13_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75ff272173cb6db13d0dc1138ae823a3.jpg","text":"TemporaryFile(/tmp/multipartBody6173176250229131643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630993736,"filename":"image_23012025_12_13_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6440e4354054a38096335518de3393c.jpg","text":"TemporaryFile(/tmp/multipartBody7984936805550072470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737630993736,"filename":"image_23012025_12_14_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330816997","file1":"1330816993","file0":"1330816988","file4":"1330817006","file5":"1330817009","file3":"1330817002"},"map_files_photo_id_array":[{"photo_id":"1330817009","filename":"file5"},{"photo_id":"1330816997","filename":"file2"},{"photo_id":"1330817006","filename":"file4"},{"photo_id":"1330816993","filename":"file1"},{"photo_id":"1330816988","filename":"file0"},{"photo_id":"1330817002","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330816993":["hashtag1","hashtag2"]},{"1330817002":["hashtag1","hashtag2"]},{"1330816988":["hashtag1","hashtag2"]},{"1330816997":["hashtag1","hashtag2"]},{"1330817006":["hashtag1","hashtag2"]},{"1330817009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330816993, 1330817002, 1330816988, 1330816997, 1330817006, 1330817009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.48887658119202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:16:33.050165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_16_10343.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_25_9323.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_35_10370.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_46_10328.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_55_9435.jpg', '/home/pi/Desktop/images/23012025/12/14/image_23012025_12_15_05_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_16_10343.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_25_9323.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_35_10370.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_46_10328.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_14_55_9435.jpg
/home/pi/Desktop/images/23012025/12/14/image_23012025_12_15_05_10459.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":["1330817089","1330817077","1330817046","1330817063","1330817039","1330817086"],"photo_ids_order":["1330817039","1330817046","1330817063","1330817077","1330817086","1330817089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9752c9eac52e68ab625cb3e8a022cd14.jpg","text":"TemporaryFile(/tmp/multipartBody3597772230327190833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631053954,"filename":"image_23012025_12_15_05_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db4264261d0cd24e779996e434cadb7d.jpg","text":"TemporaryFile(/tmp/multipartBody2895097908022670889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631053954,"filename":"image_23012025_12_14_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5731b674fe0d75f850cc440fd1a01d5.jpg","text":"TemporaryFile(/tmp/multipartBody151440920271498429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631053954,"filename":"image_23012025_12_14_25_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/393ead3af239a66d0c0e15749d13a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody655604859796944898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631053954,"filename":"image_23012025_12_14_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f82f299e898d5490a4c7406a272df2a5.jpg","text":"TemporaryFile(/tmp/multipartBody5936042718493924350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631053954,"filename":"image_23012025_12_14_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4aead11831ebb92d38dd95f52adb1a24.jpg","text":"TemporaryFile(/tmp/multipartBody1453891863157940440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631053954,"filename":"image_23012025_12_14_55_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817063","file1":"1330817046","file0":"1330817039","file4":"1330817086","file5":"1330817089","file3":"1330817077"},"map_files_photo_id_array":[{"photo_id":"1330817089","filename":"file5"},{"photo_id":"1330817063","filename":"file2"},{"photo_id":"1330817086","filename":"file4"},{"photo_id":"1330817046","filename":"file1"},{"photo_id":"1330817039","filename":"file0"},{"photo_id":"1330817077","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817089":["hashtag1","hashtag2"]},{"1330817077":["hashtag1","hashtag2"]},{"1330817046":["hashtag1","hashtag2"]},{"1330817063":["hashtag1","hashtag2"]},{"1330817039":["hashtag1","hashtag2"]},{"1330817086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817089, 1330817077, 1330817046, 1330817063, 1330817039, 1330817086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.208595991134644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:17:32.437757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_15_9424.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_25_10471.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_35_9335.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_45_10362.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_55_10341.jpg', '/home/pi/Desktop/images/23012025/12/15/image_23012025_12_16_05_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_15_9424.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_25_10471.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_35_9335.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_45_10362.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_15_55_10341.jpg
/home/pi/Desktop/images/23012025/12/15/image_23012025_12_16_05_9373.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":["1330817161","1330817196","1330817178","1330817189","1330817174","1330817153"],"photo_ids_order":["1330817153","1330817161","1330817174","1330817178","1330817189","1330817196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/086225aa04e727aed636594f106f47aa.jpg","text":"TemporaryFile(/tmp/multipartBody159042303410298673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631113359,"filename":"image_23012025_12_15_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dab0021bfb592fb4b35261813008594.jpg","text":"TemporaryFile(/tmp/multipartBody6166304654564799641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631113359,"filename":"image_23012025_12_16_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d2c29a2248c9ff694ee154ffae09e95.jpg","text":"TemporaryFile(/tmp/multipartBody6937233863109255051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631113359,"filename":"image_23012025_12_15_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab6b22632d0979514450a240b0210884.jpg","text":"TemporaryFile(/tmp/multipartBody2642308410904935298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631113359,"filename":"image_23012025_12_15_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0eb91755c203b82d6e4af86c578384a1.jpg","text":"TemporaryFile(/tmp/multipartBody494960415703018090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631113359,"filename":"image_23012025_12_15_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2c6ecf6b9726f29341afd93ae07286c.jpg","text":"TemporaryFile(/tmp/multipartBody1415221101893987813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631113359,"filename":"image_23012025_12_15_15_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817174","file1":"1330817161","file0":"1330817153","file4":"1330817189","file5":"1330817196","file3":"1330817178"},"map_files_photo_id_array":[{"photo_id":"1330817196","filename":"file5"},{"photo_id":"1330817174","filename":"file2"},{"photo_id":"1330817189","filename":"file4"},{"photo_id":"1330817161","filename":"file1"},{"photo_id":"1330817153","filename":"file0"},{"photo_id":"1330817178","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817161":["hashtag1","hashtag2"]},{"1330817196":["hashtag1","hashtag2"]},{"1330817178":["hashtag1","hashtag2"]},{"1330817189":["hashtag1","hashtag2"]},{"1330817174":["hashtag1","hashtag2"]},{"1330817153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817161, 1330817196, 1330817178, 1330817189, 1330817174, 1330817153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.062583446502686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:18:32.709213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_15_10391.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_26_10334.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_35_9333.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_45_10328.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_56_10343.jpg', '/home/pi/Desktop/images/23012025/12/16/image_23012025_12_17_05_9314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_15_10391.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_26_10334.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_35_9333.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_45_10328.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_16_56_10343.jpg
/home/pi/Desktop/images/23012025/12/16/image_23012025_12_17_05_9314.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":["1330817215","1330817224","1330817220","1330817223","1330817210","1330817204"],"photo_ids_order":["1330817204","1330817210","1330817215","1330817220","1330817223","1330817224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4993047823e90e3e4096671d3768c01.jpg","text":"TemporaryFile(/tmp/multipartBody7860998872487125031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631173649,"filename":"image_23012025_12_16_35_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87206c6910c51dfd65362cfae1732eeb.jpg","text":"TemporaryFile(/tmp/multipartBody213228307324811461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631173649,"filename":"image_23012025_12_17_05_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac593833ae68b9e53f09fded19de8637.jpg","text":"TemporaryFile(/tmp/multipartBody3969565981414078362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631173649,"filename":"image_23012025_12_16_45_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/076b26e676c8a4e5e1d39627e120b05f.jpg","text":"TemporaryFile(/tmp/multipartBody1860819526528541692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631173649,"filename":"image_23012025_12_16_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b898fff287a3324b94a93c54ea3a4df.jpg","text":"TemporaryFile(/tmp/multipartBody7212867093168173430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631173649,"filename":"image_23012025_12_16_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34fb8289b17d98a10d0aee2a99069f89.jpg","text":"TemporaryFile(/tmp/multipartBody1079730522374326741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631173649,"filename":"image_23012025_12_16_15_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817215","file1":"1330817210","file0":"1330817204","file4":"1330817223","file5":"1330817224","file3":"1330817220"},"map_files_photo_id_array":[{"photo_id":"1330817224","filename":"file5"},{"photo_id":"1330817215","filename":"file2"},{"photo_id":"1330817223","filename":"file4"},{"photo_id":"1330817210","filename":"file1"},{"photo_id":"1330817204","filename":"file0"},{"photo_id":"1330817220","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817215":["hashtag1","hashtag2"]},{"1330817224":["hashtag1","hashtag2"]},{"1330817220":["hashtag1","hashtag2"]},{"1330817223":["hashtag1","hashtag2"]},{"1330817210":["hashtag1","hashtag2"]},{"1330817204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817215, 1330817224, 1330817220, 1330817223, 1330817210, 1330817204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.28508400917053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:19:32.873555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_15_10379.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_26_10335.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_35_9324.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_45_10456.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_55_9340.jpg', '/home/pi/Desktop/images/23012025/12/17/image_23012025_12_18_05_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_15_10379.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_26_10335.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_35_9324.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_45_10456.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_17_55_9340.jpg
/home/pi/Desktop/images/23012025/12/17/image_23012025_12_18_05_10463.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":["1330817245","1330817260","1330817239","1330817258","1330817252","1330817234"],"photo_ids_order":["1330817234","1330817239","1330817245","1330817252","1330817258","1330817260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/429f094475bcfaca8b2464091c698696.jpg","text":"TemporaryFile(/tmp/multipartBody6645121190144439271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233815,"filename":"image_23012025_12_17_35_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06a8c2e2a414e15cf00f36e4fdee83cb.jpg","text":"TemporaryFile(/tmp/multipartBody8748609832521106082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233815,"filename":"image_23012025_12_18_05_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1da71bb18dcdf0acd939dcdfc32f890c.jpg","text":"TemporaryFile(/tmp/multipartBody6350675145625411332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233815,"filename":"image_23012025_12_17_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7a011eea14713ac62a35f591fb04630.jpg","text":"TemporaryFile(/tmp/multipartBody4083970499507416894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233815,"filename":"image_23012025_12_17_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20c268307fb732a52d8c801de3aacea1.jpg","text":"TemporaryFile(/tmp/multipartBody8251935662130272295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233815,"filename":"image_23012025_12_17_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1257964a106c401df2b138e042827aa.jpg","text":"TemporaryFile(/tmp/multipartBody5801957833883378668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631233815,"filename":"image_23012025_12_17_15_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817245","file1":"1330817239","file0":"1330817234","file4":"1330817258","file5":"1330817260","file3":"1330817252"},"map_files_photo_id_array":[{"photo_id":"1330817260","filename":"file5"},{"photo_id":"1330817245","filename":"file2"},{"photo_id":"1330817258","filename":"file4"},{"photo_id":"1330817239","filename":"file1"},{"photo_id":"1330817234","filename":"file0"},{"photo_id":"1330817252","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817245":["hashtag1","hashtag2"]},{"1330817260":["hashtag1","hashtag2"]},{"1330817239":["hashtag1","hashtag2"]},{"1330817258":["hashtag1","hashtag2"]},{"1330817252":["hashtag1","hashtag2"]},{"1330817234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817245, 1330817260, 1330817239, 1330817258, 1330817252, 1330817234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84685921669006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:20:33.087530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_15_10336.jpg', '/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_35_10347.jpg', '/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_46_10323.jpg', '/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_55_9329.jpg', '/home/pi/Desktop/images/23012025/12/18/image_23012025_12_19_05_10324.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_16_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_15_10336.jpg
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_35_10347.jpg
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_46_10323.jpg
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_18_55_9329.jpg
/home/pi/Desktop/images/23012025/12/18/image_23012025_12_19_05_10324.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_16_10332.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":["1330817287","1330817289","1330817274","1330817279","1330817290","1330817284"],"photo_ids_order":["1330817274","1330817279","1330817284","1330817287","1330817289","1330817290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08544e4cee365ef3cb88bbd935a18b36.jpg","text":"TemporaryFile(/tmp/multipartBody4847679892650123475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293989,"filename":"image_23012025_12_18_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f62b02e523e12684a27834f29b783267.jpg","text":"TemporaryFile(/tmp/multipartBody7994951767476525314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293989,"filename":"image_23012025_12_19_05_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e667eebcc121f9e0e303a41b83d147fc.jpg","text":"TemporaryFile(/tmp/multipartBody5691001298134748777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293989,"filename":"image_23012025_12_18_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2acf784b400007ff2f2030573f7ba9d.jpg","text":"TemporaryFile(/tmp/multipartBody1072756263688541236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293989,"filename":"image_23012025_12_18_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/480ff2c38b92c11b3319fb49fd11547e.jpg","text":"TemporaryFile(/tmp/multipartBody2763340810526562081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293989,"filename":"image_23012025_12_19_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e6fa32a72b5c5e323b1f1a17ada028c.jpg","text":"TemporaryFile(/tmp/multipartBody8519656242706296332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631293989,"filename":"image_23012025_12_18_46_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817284","file1":"1330817279","file0":"1330817274","file4":"1330817289","file5":"1330817290","file3":"1330817287"},"map_files_photo_id_array":[{"photo_id":"1330817290","filename":"file5"},{"photo_id":"1330817284","filename":"file2"},{"photo_id":"1330817289","filename":"file4"},{"photo_id":"1330817279","filename":"file1"},{"photo_id":"1330817274","filename":"file0"},{"photo_id":"1330817287","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817287":["hashtag1","hashtag2"]},{"1330817289":["hashtag1","hashtag2"]},{"1330817274":["hashtag1","hashtag2"]},{"1330817279":["hashtag1","hashtag2"]},{"1330817290":["hashtag1","hashtag2"]},{"1330817284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817287, 1330817289, 1330817274, 1330817279, 1330817290, 1330817284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.004700899124146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:21:32.569995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_25_9341.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_35_10350.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_46_10348.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_55_9340.jpg', '/home/pi/Desktop/images/23012025/12/19/image_23012025_12_20_05_10409.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_15_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_25_9341.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_35_10350.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_46_10348.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_19_55_9340.jpg
/home/pi/Desktop/images/23012025/12/19/image_23012025_12_20_05_10409.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_15_9357.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":["1330817479","1330817455","1330817450","1330817528","1330817516","1330817510"],"photo_ids_order":["1330817450","1330817455","1330817479","1330817510","1330817516","1330817528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85d69b6c8a621839856c1c076922529a.jpg","text":"TemporaryFile(/tmp/multipartBody1745688529565049858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353474,"filename":"image_23012025_12_19_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c98628e4e23ca175e3094591aed91d5.jpg","text":"TemporaryFile(/tmp/multipartBody7597269423852056183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353474,"filename":"image_23012025_12_19_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4855491ebd7d408b4a117975d6f79a14.jpg","text":"TemporaryFile(/tmp/multipartBody5360661829527991545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353474,"filename":"image_23012025_12_19_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ed99b0b4fab1e2f8e7859e0bdf4c966.jpg","text":"TemporaryFile(/tmp/multipartBody6896447925868536957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353474,"filename":"image_23012025_12_20_15_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62ea0114aa6bd8251f9e5c76ba2eb4aa.jpg","text":"TemporaryFile(/tmp/multipartBody3442674590536226554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353474,"filename":"image_23012025_12_20_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5d46c6e1a66f7db58d3823533b32dfa.jpg","text":"TemporaryFile(/tmp/multipartBody344368252990000346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631353474,"filename":"image_23012025_12_19_55_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817479","file1":"1330817455","file0":"1330817450","file4":"1330817516","file5":"1330817528","file3":"1330817510"},"map_files_photo_id_array":[{"photo_id":"1330817528","filename":"file5"},{"photo_id":"1330817479","filename":"file2"},{"photo_id":"1330817516","filename":"file4"},{"photo_id":"1330817455","filename":"file1"},{"photo_id":"1330817450","filename":"file0"},{"photo_id":"1330817510","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817479":["hashtag1","hashtag2"]},{"1330817455":["hashtag1","hashtag2"]},{"1330817450":["hashtag1","hashtag2"]},{"1330817528":["hashtag1","hashtag2"]},{"1330817516":["hashtag1","hashtag2"]},{"1330817510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817479, 1330817455, 1330817450, 1330817528, 1330817516, 1330817510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.998258113861084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:22:32.828438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_25_10481.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_35_10337.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_45_9347.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_55_10454.jpg', '/home/pi/Desktop/images/23012025/12/20/image_23012025_12_21_05_9375.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_15_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_25_10481.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_35_10337.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_45_9347.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_20_55_10454.jpg
/home/pi/Desktop/images/23012025/12/20/image_23012025_12_21_05_9375.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_15_10443.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":["1330817664","1330817634","1330817619","1330817607","1330817630","1330817674"],"photo_ids_order":["1330817607","1330817619","1330817630","1330817634","1330817664","1330817674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf620deb82c88e2bdf43bdf6da462243.jpg","text":"TemporaryFile(/tmp/multipartBody4795106645629165354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413732,"filename":"image_23012025_12_21_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fa780be37b1c20ffd1d3527462e41e6.jpg","text":"TemporaryFile(/tmp/multipartBody1218778711184458150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413732,"filename":"image_23012025_12_20_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4175beb6c8b20e007a604d22ce836a03.jpg","text":"TemporaryFile(/tmp/multipartBody37756298242556218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413732,"filename":"image_23012025_12_20_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72ea1b801b96120354efc2e978dce055.jpg","text":"TemporaryFile(/tmp/multipartBody6893446784007361635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413732,"filename":"image_23012025_12_20_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6178ec7fdbf27a91ff8659f8a7a797cd.jpg","text":"TemporaryFile(/tmp/multipartBody5794354129020673382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413732,"filename":"image_23012025_12_20_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48e3068701d5816190d6b0a8ada8efca.jpg","text":"TemporaryFile(/tmp/multipartBody262553267897326635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631413732,"filename":"image_23012025_12_21_15_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817630","file1":"1330817619","file0":"1330817607","file4":"1330817664","file5":"1330817674","file3":"1330817634"},"map_files_photo_id_array":[{"photo_id":"1330817674","filename":"file5"},{"photo_id":"1330817630","filename":"file2"},{"photo_id":"1330817664","filename":"file4"},{"photo_id":"1330817619","filename":"file1"},{"photo_id":"1330817607","filename":"file0"},{"photo_id":"1330817634","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817664":["hashtag1","hashtag2"]},{"1330817634":["hashtag1","hashtag2"]},{"1330817619":["hashtag1","hashtag2"]},{"1330817607":["hashtag1","hashtag2"]},{"1330817630":["hashtag1","hashtag2"]},{"1330817674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817664, 1330817634, 1330817619, 1330817607, 1330817630, 1330817674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.433340072631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:23:33.069978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_25_10367.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_35_9360.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_45_10344.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_56_10409.jpg', '/home/pi/Desktop/images/23012025/12/21/image_23012025_12_22_05_9482.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_15_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_25_10367.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_35_9360.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_45_10344.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_21_56_10409.jpg
/home/pi/Desktop/images/23012025/12/21/image_23012025_12_22_05_9482.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_15_10325.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":["1330817814","1330817808","1330817774","1330817786","1330817819","1330817822"],"photo_ids_order":["1330817774","1330817786","1330817808","1330817814","1330817819","1330817822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcab4e26a8d06a7bc0a68f82d7cd39b9.jpg","text":"TemporaryFile(/tmp/multipartBody6391834325811381276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631474006,"filename":"image_23012025_12_21_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59d5e383efab66de024b3533f298fa95.jpg","text":"TemporaryFile(/tmp/multipartBody4524150015778717418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631474006,"filename":"image_23012025_12_21_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04450c2d10e78caf3f1b798f79f01090.jpg","text":"TemporaryFile(/tmp/multipartBody2013705007654406978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631474006,"filename":"image_23012025_12_21_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96fdecb098daf9f02f640789f8a6be5c.jpg","text":"TemporaryFile(/tmp/multipartBody7772225426821685616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631474006,"filename":"image_23012025_12_21_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e00268c6802c9efb1a481d9e18c63a75.jpg","text":"TemporaryFile(/tmp/multipartBody6458246660347682291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631474006,"filename":"image_23012025_12_22_05_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c558d81dcb0d4f7032147a9e584a686.jpg","text":"TemporaryFile(/tmp/multipartBody8449827258640831741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631474006,"filename":"image_23012025_12_22_15_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330817808","file1":"1330817786","file0":"1330817774","file4":"1330817819","file5":"1330817822","file3":"1330817814"},"map_files_photo_id_array":[{"photo_id":"1330817822","filename":"file5"},{"photo_id":"1330817808","filename":"file2"},{"photo_id":"1330817819","filename":"file4"},{"photo_id":"1330817786","filename":"file1"},{"photo_id":"1330817774","filename":"file0"},{"photo_id":"1330817814","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330817814":["hashtag1","hashtag2"]},{"1330817808":["hashtag1","hashtag2"]},{"1330817774":["hashtag1","hashtag2"]},{"1330817786":["hashtag1","hashtag2"]},{"1330817819":["hashtag1","hashtag2"]},{"1330817822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330817814, 1330817808, 1330817774, 1330817786, 1330817819, 1330817822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.30192756652832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:24:32.317544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_25_9371.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_35_10398.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_46_10343.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_55_9328.jpg', '/home/pi/Desktop/images/23012025/12/22/image_23012025_12_23_05_10351.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_16_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_25_9371.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_35_10398.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_46_10343.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_22_55_9328.jpg
/home/pi/Desktop/images/23012025/12/22/image_23012025_12_23_05_10351.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_16_10326.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":["1330818291","1330818420","1330818123","1330818015","1330818062","1330818107"],"photo_ids_order":["1330818015","1330818062","1330818107","1330818123","1330818291","1330818420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d153266a42b8e94118e64def8349be1.jpg","text":"TemporaryFile(/tmp/multipartBody3401907587238559258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631533220,"filename":"image_23012025_12_23_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c29443b64463ca76b3799faaa3b92857.jpg","text":"TemporaryFile(/tmp/multipartBody5815154484743359923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631533220,"filename":"image_23012025_12_23_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a90474c49741c532e8e7df7677a47f99.jpg","text":"TemporaryFile(/tmp/multipartBody8637432435397107759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631533220,"filename":"image_23012025_12_22_55_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d91b09c626ffd5b452e157fb0f723166.jpg","text":"TemporaryFile(/tmp/multipartBody3571808106776814179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631533220,"filename":"image_23012025_12_22_25_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2698458a0ec0315f1a7159f78a433a1.jpg","text":"TemporaryFile(/tmp/multipartBody1993230893675925316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631533220,"filename":"image_23012025_12_22_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/749954e18903f01ff3976517344e73bf.jpg","text":"TemporaryFile(/tmp/multipartBody989654973135064133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631533220,"filename":"image_23012025_12_22_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330818107","file1":"1330818062","file0":"1330818015","file4":"1330818291","file5":"1330818420","file3":"1330818123"},"map_files_photo_id_array":[{"photo_id":"1330818420","filename":"file5"},{"photo_id":"1330818107","filename":"file2"},{"photo_id":"1330818291","filename":"file4"},{"photo_id":"1330818062","filename":"file1"},{"photo_id":"1330818015","filename":"file0"},{"photo_id":"1330818123","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330818291":["hashtag1","hashtag2"]},{"1330818420":["hashtag1","hashtag2"]},{"1330818123":["hashtag1","hashtag2"]},{"1330818015":["hashtag1","hashtag2"]},{"1330818062":["hashtag1","hashtag2"]},{"1330818107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330818291, 1330818420, 1330818123, 1330818015, 1330818062, 1330818107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26693320274353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:25:32.504082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_25_9369.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_35_10336.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_46_10332.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_55_9338.jpg', '/home/pi/Desktop/images/23012025/12/23/image_23012025_12_24_05_10341.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_16_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_25_9369.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_35_10336.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_46_10332.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_23_55_9338.jpg
/home/pi/Desktop/images/23012025/12/23/image_23012025_12_24_05_10341.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_16_10348.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":["1330818802","1330818780","1330818798","1330818810","1330818812","1330818784"],"photo_ids_order":["1330818780","1330818784","1330818798","1330818802","1330818810","1330818812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98218a6f94b04ca3c8def960a6d000e9.jpg","text":"TemporaryFile(/tmp/multipartBody3116820471892553262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631593402,"filename":"image_23012025_12_23_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6554f895f11783c797a5357d39d195d2.jpg","text":"TemporaryFile(/tmp/multipartBody5477910367224752699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631593402,"filename":"image_23012025_12_23_25_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e922218b24d401c1e8064adfd4ed7ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4240076685338950453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631593402,"filename":"image_23012025_12_23_46_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/395ff9ea593507dc3400681c258c518c.jpg","text":"TemporaryFile(/tmp/multipartBody5924708643827688010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631593402,"filename":"image_23012025_12_24_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1234b8dbf3739a0c57354b1992f26246.jpg","text":"TemporaryFile(/tmp/multipartBody5371612892115416090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631593402,"filename":"image_23012025_12_24_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00fd67cbe238cba4d5902508bd26df82.jpg","text":"TemporaryFile(/tmp/multipartBody6512445057207908169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631593402,"filename":"image_23012025_12_23_35_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330818798","file1":"1330818784","file0":"1330818780","file4":"1330818810","file5":"1330818812","file3":"1330818802"},"map_files_photo_id_array":[{"photo_id":"1330818812","filename":"file5"},{"photo_id":"1330818798","filename":"file2"},{"photo_id":"1330818810","filename":"file4"},{"photo_id":"1330818784","filename":"file1"},{"photo_id":"1330818780","filename":"file0"},{"photo_id":"1330818802","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330818802":["hashtag1","hashtag2"]},{"1330818780":["hashtag1","hashtag2"]},{"1330818798":["hashtag1","hashtag2"]},{"1330818810":["hashtag1","hashtag2"]},{"1330818812":["hashtag1","hashtag2"]},{"1330818784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330818802, 1330818780, 1330818798, 1330818810, 1330818812, 1330818784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.04103660583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:26:32.580008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_25_9344.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_35_10339.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_46_10327.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_55_9351.jpg', '/home/pi/Desktop/images/23012025/12/24/image_23012025_12_25_05_10411.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_15_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_25_9344.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_35_10339.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_46_10327.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_24_55_9351.jpg
/home/pi/Desktop/images/23012025/12/24/image_23012025_12_25_05_10411.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_15_9394.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":["1330819068","1330819058","1330819049","1330819045","1330819039","1330819092"],"photo_ids_order":["1330819039","1330819045","1330819049","1330819058","1330819068","1330819092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86b1b211e967671fd59237f1814c4752.jpg","text":"TemporaryFile(/tmp/multipartBody5046422357937602377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653479,"filename":"image_23012025_12_25_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/851478e066ed02608e95f4f6cdb0f5af.jpg","text":"TemporaryFile(/tmp/multipartBody4853976551918046686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653479,"filename":"image_23012025_12_24_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/797745c4291de42b9d4dbb5ce43813dd.jpg","text":"TemporaryFile(/tmp/multipartBody7230297607056103642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653479,"filename":"image_23012025_12_24_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3dbbe7912f018b81dc6de3f78d7eb79.jpg","text":"TemporaryFile(/tmp/multipartBody2838897016557209663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653479,"filename":"image_23012025_12_24_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35b1abf8e1ac9ff6f19d7695e840c538.jpg","text":"TemporaryFile(/tmp/multipartBody7271519297359549853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653479,"filename":"image_23012025_12_24_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c75c8ae8271c59fbc5e38396dae6a81b.jpg","text":"TemporaryFile(/tmp/multipartBody4522488944538851926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631653479,"filename":"image_23012025_12_25_15_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330819049","file1":"1330819045","file0":"1330819039","file4":"1330819068","file5":"1330819092","file3":"1330819058"},"map_files_photo_id_array":[{"photo_id":"1330819092","filename":"file5"},{"photo_id":"1330819049","filename":"file2"},{"photo_id":"1330819068","filename":"file4"},{"photo_id":"1330819045","filename":"file1"},{"photo_id":"1330819039","filename":"file0"},{"photo_id":"1330819058","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330819068":["hashtag1","hashtag2"]},{"1330819058":["hashtag1","hashtag2"]},{"1330819049":["hashtag1","hashtag2"]},{"1330819045":["hashtag1","hashtag2"]},{"1330819039":["hashtag1","hashtag2"]},{"1330819092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330819068, 1330819058, 1330819049, 1330819045, 1330819039, 1330819092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60891556739807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:27:32.859765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_25_10390.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_35_10322.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_45_9326.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_55_10356.jpg', '/home/pi/Desktop/images/23012025/12/25/image_23012025_12_26_05_10340.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_15_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_25_10390.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_35_10322.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_45_9326.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_25_55_10356.jpg
/home/pi/Desktop/images/23012025/12/25/image_23012025_12_26_05_10340.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_15_9333.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":["1330819484","1330819496","1330819294","1330819288","1330819380","1330819299"],"photo_ids_order":["1330819288","1330819294","1330819299","1330819380","1330819484","1330819496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6e82086e3f6461fe102d3d4985328c2.jpg","text":"TemporaryFile(/tmp/multipartBody1787078480214919175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713773,"filename":"image_23012025_12_26_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/899e0b5c6b701c55fc502fc8ea58046f.jpg","text":"TemporaryFile(/tmp/multipartBody2003592878228303881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713773,"filename":"image_23012025_12_26_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8bbd97164522a67531a44676fb51298.jpg","text":"TemporaryFile(/tmp/multipartBody1189757212522835082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713773,"filename":"image_23012025_12_25_35_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/336ba30913f51ce6949323817c18a745.jpg","text":"TemporaryFile(/tmp/multipartBody85071068855574429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713773,"filename":"image_23012025_12_25_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a73d5292df49ce811dd5315f8e97618.jpg","text":"TemporaryFile(/tmp/multipartBody7801215233760798678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713773,"filename":"image_23012025_12_25_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/736346534281d77988d504ac474115cd.jpg","text":"TemporaryFile(/tmp/multipartBody8341071907511026623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631713773,"filename":"image_23012025_12_25_45_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330819299","file1":"1330819294","file0":"1330819288","file4":"1330819484","file5":"1330819496","file3":"1330819380"},"map_files_photo_id_array":[{"photo_id":"1330819496","filename":"file5"},{"photo_id":"1330819299","filename":"file2"},{"photo_id":"1330819484","filename":"file4"},{"photo_id":"1330819294","filename":"file1"},{"photo_id":"1330819288","filename":"file0"},{"photo_id":"1330819380","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330819484":["hashtag1","hashtag2"]},{"1330819496":["hashtag1","hashtag2"]},{"1330819294":["hashtag1","hashtag2"]},{"1330819288":["hashtag1","hashtag2"]},{"1330819380":["hashtag1","hashtag2"]},{"1330819299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330819484, 1330819496, 1330819294, 1330819288, 1330819380, 1330819299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.171847105026245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:28:33.040585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_25_10346.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_35_10336.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_45_9324.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_55_10461.jpg', '/home/pi/Desktop/images/23012025/12/26/image_23012025_12_27_06_10316.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_15_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_25_10346.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_35_10336.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_45_9324.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_26_55_10461.jpg
/home/pi/Desktop/images/23012025/12/26/image_23012025_12_27_06_10316.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_15_9400.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":["1330819539","1330819548","1330819544","1330819523","1330819526","1330819534"],"photo_ids_order":["1330819523","1330819526","1330819534","1330819539","1330819544","1330819548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3b07254fb987e863d4add5aef494a24.jpg","text":"TemporaryFile(/tmp/multipartBody5388032505988520465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631773962,"filename":"image_23012025_12_26_55_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e2acbc5cfa56c2cae32e27db9282238.jpg","text":"TemporaryFile(/tmp/multipartBody9089627003446821624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631773962,"filename":"image_23012025_12_27_15_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7a79d55e17fc388b3306a383af515a2.jpg","text":"TemporaryFile(/tmp/multipartBody1389987809497596990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631773962,"filename":"image_23012025_12_27_06_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1a156ecb508efba5195d6fac66d3059.jpg","text":"TemporaryFile(/tmp/multipartBody1984479872125179316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631773962,"filename":"image_23012025_12_26_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4e3255f706d730b868ae2452887095b.jpg","text":"TemporaryFile(/tmp/multipartBody5087232905364201550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631773962,"filename":"image_23012025_12_26_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41e10ca09ed36dbe45e80fa5b29e3c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4991741894502384648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631773962,"filename":"image_23012025_12_26_45_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330819534","file1":"1330819526","file0":"1330819523","file4":"1330819544","file5":"1330819548","file3":"1330819539"},"map_files_photo_id_array":[{"photo_id":"1330819548","filename":"file5"},{"photo_id":"1330819534","filename":"file2"},{"photo_id":"1330819544","filename":"file4"},{"photo_id":"1330819526","filename":"file1"},{"photo_id":"1330819523","filename":"file0"},{"photo_id":"1330819539","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330819539":["hashtag1","hashtag2"]},{"1330819548":["hashtag1","hashtag2"]},{"1330819544":["hashtag1","hashtag2"]},{"1330819523":["hashtag1","hashtag2"]},{"1330819526":["hashtag1","hashtag2"]},{"1330819534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330819539, 1330819548, 1330819544, 1330819523, 1330819526, 1330819534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.404722929000854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:29:32.163877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_25_10371.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_35_9364.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_45_10367.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_55_10350.jpg', '/home/pi/Desktop/images/23012025/12/27/image_23012025_12_28_05_9308.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_25_10371.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_35_9364.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_45_10367.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_27_55_10350.jpg
/home/pi/Desktop/images/23012025/12/27/image_23012025_12_28_05_9308.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_15_10462.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":["1330819578","1330819583","1330819567","1330819561","1330819572","1330819581"],"photo_ids_order":["1330819561","1330819567","1330819572","1330819578","1330819581","1330819583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15cecdfccc666219a51e9ce70caa711a.jpg","text":"TemporaryFile(/tmp/multipartBody5958492986995126716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631833066,"filename":"image_23012025_12_27_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0658dac90782b11ad4996ab6a4f5bdef.jpg","text":"TemporaryFile(/tmp/multipartBody2445418945039051797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631833066,"filename":"image_23012025_12_28_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ace55fe0901599df5501de673ea5538.jpg","text":"TemporaryFile(/tmp/multipartBody87180511724194196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631833066,"filename":"image_23012025_12_27_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80aeecfd9cf020b0f9cc781a3380783a.jpg","text":"TemporaryFile(/tmp/multipartBody5482717617461869724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631833066,"filename":"image_23012025_12_27_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9319c54192bf3be0c6dd5b913ae8e476.jpg","text":"TemporaryFile(/tmp/multipartBody4929047042103300538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631833066,"filename":"image_23012025_12_27_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13ea0e53204d92651cdfdb61a282add3.jpg","text":"TemporaryFile(/tmp/multipartBody6521500546315640820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631833066,"filename":"image_23012025_12_28_05_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330819572","file1":"1330819567","file0":"1330819561","file4":"1330819581","file5":"1330819583","file3":"1330819578"},"map_files_photo_id_array":[{"photo_id":"1330819583","filename":"file5"},{"photo_id":"1330819572","filename":"file2"},{"photo_id":"1330819581","filename":"file4"},{"photo_id":"1330819567","filename":"file1"},{"photo_id":"1330819561","filename":"file0"},{"photo_id":"1330819578","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330819578":["hashtag1","hashtag2"]},{"1330819583":["hashtag1","hashtag2"]},{"1330819567":["hashtag1","hashtag2"]},{"1330819561":["hashtag1","hashtag2"]},{"1330819572":["hashtag1","hashtag2"]},{"1330819581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330819578, 1330819583, 1330819567, 1330819561, 1330819572, 1330819581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01423096656799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:30:32.416990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_26_10347.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_35_9331.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_45_10330.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_56_10352.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_29_05_9325.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_15_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_26_10347.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_35_9331.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_45_10330.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_56_10352.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_29_05_9325.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_15_10408.jpg
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: 0.5136706829071045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 12:30:42.390538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_26_10347.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_35_9331.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_45_10330.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_56_10352.jpg', '/home/pi/Desktop/images/23012025/12/28/image_23012025_12_29_05_9325.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_15_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_26_10347.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_35_9331.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_45_10330.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_28_56_10352.jpg
/home/pi/Desktop/images/23012025/12/28/image_23012025_12_29_05_9325.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_15_10408.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":["1330819776","1330819737","1330819763","1330819772","1330819744","1330819779"],"photo_ids_order":["1330819737","1330819744","1330819763","1330819772","1330819776","1330819779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2dfec92d26b394ad1cc31d18ef8e819.jpg","text":"TemporaryFile(/tmp/multipartBody2429904996497509513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631903316,"filename":"image_23012025_12_29_05_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a475cc41de32ebe25c879a1336b68287.jpg","text":"TemporaryFile(/tmp/multipartBody4999995758163180460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631903316,"filename":"image_23012025_12_28_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fbd13d298d2164b1794e928e5071604.jpg","text":"TemporaryFile(/tmp/multipartBody8806929405426979559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631903316,"filename":"image_23012025_12_28_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef4aa25ae393c86676e3d69086e100e0.jpg","text":"TemporaryFile(/tmp/multipartBody4776405018838384970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631903316,"filename":"image_23012025_12_28_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a7e4bf06b731a189ec261e66430739d.jpg","text":"TemporaryFile(/tmp/multipartBody3985448549863225851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631903316,"filename":"image_23012025_12_28_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b425bb903bfdc188c056bf0ea24dc8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6150036194010005066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631903316,"filename":"image_23012025_12_29_15_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330819763","file1":"1330819744","file0":"1330819737","file4":"1330819776","file5":"1330819779","file3":"1330819772"},"map_files_photo_id_array":[{"photo_id":"1330819779","filename":"file5"},{"photo_id":"1330819763","filename":"file2"},{"photo_id":"1330819776","filename":"file4"},{"photo_id":"1330819744","filename":"file1"},{"photo_id":"1330819737","filename":"file0"},{"photo_id":"1330819772","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330819776":["hashtag1","hashtag2"]},{"1330819737":["hashtag1","hashtag2"]},{"1330819763":["hashtag1","hashtag2"]},{"1330819772":["hashtag1","hashtag2"]},{"1330819744":["hashtag1","hashtag2"]},{"1330819779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330819776, 1330819737, 1330819763, 1330819772, 1330819744, 1330819779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.113356590270996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:31:32.711005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_25_9355.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_35_10474.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_45_10335.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_55_9340.jpg', '/home/pi/Desktop/images/23012025/12/29/image_23012025_12_30_05_10333.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_16_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_25_9355.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_35_10474.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_45_10335.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_29_55_9340.jpg
/home/pi/Desktop/images/23012025/12/29/image_23012025_12_30_05_10333.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_16_10415.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":["1330819806","1330819802","1330819798","1330819804","1330819791","1330819794"],"photo_ids_order":["1330819791","1330819794","1330819798","1330819802","1330819804","1330819806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55a5d3cfc506cdb3e8dcdfafda02aa28.jpg","text":"TemporaryFile(/tmp/multipartBody6793654048579621054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631953623,"filename":"image_23012025_12_30_16_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b841a825c0a8dbaa9dfe64a78180c95.jpg","text":"TemporaryFile(/tmp/multipartBody7456140139694168771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631953623,"filename":"image_23012025_12_29_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad5a6a3d1607cb7d5a0572d8dae6354f.jpg","text":"TemporaryFile(/tmp/multipartBody377517934656380822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631953623,"filename":"image_23012025_12_29_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd82c96d813a5c59e53886bb7f43ea32.jpg","text":"TemporaryFile(/tmp/multipartBody1534770417520428413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631953623,"filename":"image_23012025_12_30_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/510ea59cb87f59045596862eb094d444.jpg","text":"TemporaryFile(/tmp/multipartBody7708733592336443225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631953623,"filename":"image_23012025_12_29_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3b29d88685e6a9d371511b7f997fa3f.jpg","text":"TemporaryFile(/tmp/multipartBody1711439391206902551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737631953623,"filename":"image_23012025_12_29_35_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330819798","file1":"1330819794","file0":"1330819791","file4":"1330819804","file5":"1330819806","file3":"1330819802"},"map_files_photo_id_array":[{"photo_id":"1330819806","filename":"file5"},{"photo_id":"1330819798","filename":"file2"},{"photo_id":"1330819804","filename":"file4"},{"photo_id":"1330819794","filename":"file1"},{"photo_id":"1330819791","filename":"file0"},{"photo_id":"1330819802","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330819806":["hashtag1","hashtag2"]},{"1330819802":["hashtag1","hashtag2"]},{"1330819798":["hashtag1","hashtag2"]},{"1330819804":["hashtag1","hashtag2"]},{"1330819791":["hashtag1","hashtag2"]},{"1330819794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330819806, 1330819802, 1330819798, 1330819804, 1330819791, 1330819794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0102105140686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:32:32.788145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_25_9344.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_35_10338.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_46_10328.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_55_9339.jpg', '/home/pi/Desktop/images/23012025/12/30/image_23012025_12_31_05_10393.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_15_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_25_9344.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_35_10338.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_46_10328.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_30_55_9339.jpg
/home/pi/Desktop/images/23012025/12/30/image_23012025_12_31_05_10393.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_15_9347.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":["1330819854","1330819848","1330819824","1330819855","1330819852","1330819828"],"photo_ids_order":["1330819824","1330819828","1330819848","1330819852","1330819854","1330819855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffacf5d41530c342d62efa77263e8caa.jpg","text":"TemporaryFile(/tmp/multipartBody4204379205861530339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013691,"filename":"image_23012025_12_31_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/375ed78567817004c542a5afcb3e12d7.jpg","text":"TemporaryFile(/tmp/multipartBody4525164234802849524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013691,"filename":"image_23012025_12_30_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/353405c9e7b552c3a638c8b75e2532ff.jpg","text":"TemporaryFile(/tmp/multipartBody2925764703009651760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013691,"filename":"image_23012025_12_30_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/744961a5c1d40bd5fd010ef6b4b81076.jpg","text":"TemporaryFile(/tmp/multipartBody5022624849307067505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013691,"filename":"image_23012025_12_31_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8dc26b47bcf7fd90b1e4fa51cab88e1.jpg","text":"TemporaryFile(/tmp/multipartBody7811878701944743246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013691,"filename":"image_23012025_12_30_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78afccd9ac518275bcae59faa178f1b7.jpg","text":"TemporaryFile(/tmp/multipartBody6495040985641980380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632013691,"filename":"image_23012025_12_30_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330819848","file1":"1330819828","file0":"1330819824","file4":"1330819854","file5":"1330819855","file3":"1330819852"},"map_files_photo_id_array":[{"photo_id":"1330819855","filename":"file5"},{"photo_id":"1330819848","filename":"file2"},{"photo_id":"1330819854","filename":"file4"},{"photo_id":"1330819828","filename":"file1"},{"photo_id":"1330819824","filename":"file0"},{"photo_id":"1330819852","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330819854":["hashtag1","hashtag2"]},{"1330819848":["hashtag1","hashtag2"]},{"1330819824":["hashtag1","hashtag2"]},{"1330819855":["hashtag1","hashtag2"]},{"1330819852":["hashtag1","hashtag2"]},{"1330819828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330819854, 1330819848, 1330819824, 1330819855, 1330819852, 1330819828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93434762954712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:33:33.045045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_25_10417.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_35_10327.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_45_9365.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_55_10340.jpg', '/home/pi/Desktop/images/23012025/12/31/image_23012025_12_32_05_10335.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_15_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_25_10417.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_35_10327.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_45_9365.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_31_55_10340.jpg
/home/pi/Desktop/images/23012025/12/31/image_23012025_12_32_05_10335.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_15_9321.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":["1330820338","1330820245","1330820419","1330820265","1330820384","1330820387"],"photo_ids_order":["1330820245","1330820265","1330820338","1330820384","1330820387","1330820419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d510cf46627b05806682f19d6a444e74.jpg","text":"TemporaryFile(/tmp/multipartBody5311255497077012738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073945,"filename":"image_23012025_12_31_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b38b53df07d93fb494da55f205ee31dd.jpg","text":"TemporaryFile(/tmp/multipartBody4425272935216849741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073945,"filename":"image_23012025_12_31_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49cd2c72efeddba0640202e0b6ab0499.jpg","text":"TemporaryFile(/tmp/multipartBody1994649202214520728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073945,"filename":"image_23012025_12_32_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdb2bae1fe412136e8016156b3384d81.jpg","text":"TemporaryFile(/tmp/multipartBody4324371583709198805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073945,"filename":"image_23012025_12_31_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ded53cbf78da33a341741063c98ca1a.jpg","text":"TemporaryFile(/tmp/multipartBody1409232053919316385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073945,"filename":"image_23012025_12_31_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7916bfb7af4d086047a35363806d504.jpg","text":"TemporaryFile(/tmp/multipartBody8258691735434820883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632073945,"filename":"image_23012025_12_32_05_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820338","file1":"1330820265","file0":"1330820245","file4":"1330820387","file5":"1330820419","file3":"1330820384"},"map_files_photo_id_array":[{"photo_id":"1330820419","filename":"file5"},{"photo_id":"1330820338","filename":"file2"},{"photo_id":"1330820387","filename":"file4"},{"photo_id":"1330820265","filename":"file1"},{"photo_id":"1330820245","filename":"file0"},{"photo_id":"1330820384","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330820338":["hashtag1","hashtag2"]},{"1330820245":["hashtag1","hashtag2"]},{"1330820419":["hashtag1","hashtag2"]},{"1330820265":["hashtag1","hashtag2"]},{"1330820384":["hashtag1","hashtag2"]},{"1330820387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330820338, 1330820245, 1330820419, 1330820265, 1330820384, 1330820387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.255181074142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:34:32.385908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_25_10355.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_35_10332.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_45_9332.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_55_10356.jpg', '/home/pi/Desktop/images/23012025/12/32/image_23012025_12_33_06_10423.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_15_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_25_10355.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_35_10332.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_45_9332.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_32_55_10356.jpg
/home/pi/Desktop/images/23012025/12/32/image_23012025_12_33_06_10423.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_15_9316.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":["1330820620","1330820617","1330820619","1330820621","1330820606","1330820611"],"photo_ids_order":["1330820606","1330820611","1330820617","1330820619","1330820620","1330820621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a652c2de8043694a28e54e4219e97d28.jpg","text":"TemporaryFile(/tmp/multipartBody3114632949962929535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632133298,"filename":"image_23012025_12_33_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43227a955e9bfff6be885175a6345e10.jpg","text":"TemporaryFile(/tmp/multipartBody6498409009828028755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632133298,"filename":"image_23012025_12_32_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbe313c229684cb6cd20e79478bd8726.jpg","text":"TemporaryFile(/tmp/multipartBody1721260811986111394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632133298,"filename":"image_23012025_12_32_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21ce91702a1b3e5dee78e8e241f0a786.jpg","text":"TemporaryFile(/tmp/multipartBody5853172969590003839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632133298,"filename":"image_23012025_12_33_15_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c49dd662a025b37332292949067e9f55.jpg","text":"TemporaryFile(/tmp/multipartBody4474427369863411893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632133298,"filename":"image_23012025_12_32_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1493308d1308914bd24ff75d227f92c0.jpg","text":"TemporaryFile(/tmp/multipartBody7698223607396731678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632133298,"filename":"image_23012025_12_32_35_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820617","file1":"1330820611","file0":"1330820606","file4":"1330820620","file5":"1330820621","file3":"1330820619"},"map_files_photo_id_array":[{"photo_id":"1330820621","filename":"file5"},{"photo_id":"1330820617","filename":"file2"},{"photo_id":"1330820620","filename":"file4"},{"photo_id":"1330820611","filename":"file1"},{"photo_id":"1330820606","filename":"file0"},{"photo_id":"1330820619","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330820620":["hashtag1","hashtag2"]},{"1330820617":["hashtag1","hashtag2"]},{"1330820619":["hashtag1","hashtag2"]},{"1330820621":["hashtag1","hashtag2"]},{"1330820606":["hashtag1","hashtag2"]},{"1330820611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330820620, 1330820617, 1330820619, 1330820621, 1330820606, 1330820611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4298369884491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:35:32.662170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_25_10343.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_36_10342.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_45_9322.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_55_10417.jpg', '/home/pi/Desktop/images/23012025/12/33/image_23012025_12_34_05_9319.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_15_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_25_10343.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_36_10342.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_45_9322.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_33_55_10417.jpg
/home/pi/Desktop/images/23012025/12/33/image_23012025_12_34_05_9319.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_15_10461.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":["1330820652","1330820646","1330820655","1330820642","1330820650","1330820638"],"photo_ids_order":["1330820638","1330820642","1330820646","1330820650","1330820652","1330820655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9acd8a77b0bc6b928690e89915807a08.jpg","text":"TemporaryFile(/tmp/multipartBody6792982632259489375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193562,"filename":"image_23012025_12_34_05_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/101080835375b91799f459c92f808bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2657175066615510314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193562,"filename":"image_23012025_12_33_45_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4545b985472fba1c851373e60b87b08c.jpg","text":"TemporaryFile(/tmp/multipartBody7183855636006812511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193562,"filename":"image_23012025_12_34_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5eea5cbb18f94e4bded5105793d4cd38.jpg","text":"TemporaryFile(/tmp/multipartBody9132660147895948684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193562,"filename":"image_23012025_12_33_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b25c0fbaa80ff56405ddd9f42c1e274.jpg","text":"TemporaryFile(/tmp/multipartBody8351329360729794327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193562,"filename":"image_23012025_12_33_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/714037be8759cbc500cbc9bc12e04106.jpg","text":"TemporaryFile(/tmp/multipartBody5008249712928470091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632193562,"filename":"image_23012025_12_33_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820646","file1":"1330820642","file0":"1330820638","file4":"1330820652","file5":"1330820655","file3":"1330820650"},"map_files_photo_id_array":[{"photo_id":"1330820655","filename":"file5"},{"photo_id":"1330820646","filename":"file2"},{"photo_id":"1330820652","filename":"file4"},{"photo_id":"1330820642","filename":"file1"},{"photo_id":"1330820638","filename":"file0"},{"photo_id":"1330820650","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330820652":["hashtag1","hashtag2"]},{"1330820646":["hashtag1","hashtag2"]},{"1330820655":["hashtag1","hashtag2"]},{"1330820642":["hashtag1","hashtag2"]},{"1330820650":["hashtag1","hashtag2"]},{"1330820638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330820652, 1330820646, 1330820655, 1330820642, 1330820650, 1330820638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.57875919342041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:36:32.686675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_25_10343.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_35_9308.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_45_10440.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_55_9443.jpg', '/home/pi/Desktop/images/23012025/12/34/image_23012025_12_35_05_10395.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_15_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_25_10343.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_35_9308.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_45_10440.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_34_55_9443.jpg
/home/pi/Desktop/images/23012025/12/34/image_23012025_12_35_05_10395.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_15_10331.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":["1330820682","1330820691","1330820685","1330820678","1330820687","1330820671"],"photo_ids_order":["1330820671","1330820678","1330820682","1330820685","1330820687","1330820691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/775d77c52553fba1414acb047b99f7b6.jpg","text":"TemporaryFile(/tmp/multipartBody5069727249700399421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253592,"filename":"image_23012025_12_34_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c8f30669c7b8bebb852a73f39299572.jpg","text":"TemporaryFile(/tmp/multipartBody3220671896586358736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253592,"filename":"image_23012025_12_35_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b029377389a3756c3fc05340e1d891a.jpg","text":"TemporaryFile(/tmp/multipartBody3898525121861019506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253592,"filename":"image_23012025_12_34_55_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6535db19dd4b4d9ecc404872a4125fa.jpg","text":"TemporaryFile(/tmp/multipartBody6605307122777485779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253592,"filename":"image_23012025_12_34_35_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/137972eb5ccd6bb284221e6a9627231b.jpg","text":"TemporaryFile(/tmp/multipartBody1037035153238438502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253592,"filename":"image_23012025_12_35_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/353d43262286ba2fadb1b9d1b07d6bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6062212753765651524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632253592,"filename":"image_23012025_12_34_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820682","file1":"1330820678","file0":"1330820671","file4":"1330820687","file5":"1330820691","file3":"1330820685"},"map_files_photo_id_array":[{"photo_id":"1330820691","filename":"file5"},{"photo_id":"1330820682","filename":"file2"},{"photo_id":"1330820687","filename":"file4"},{"photo_id":"1330820678","filename":"file1"},{"photo_id":"1330820671","filename":"file0"},{"photo_id":"1330820685","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330820682":["hashtag1","hashtag2"]},{"1330820691":["hashtag1","hashtag2"]},{"1330820685":["hashtag1","hashtag2"]},{"1330820678":["hashtag1","hashtag2"]},{"1330820687":["hashtag1","hashtag2"]},{"1330820671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330820682, 1330820691, 1330820685, 1330820678, 1330820687, 1330820671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.46678161621094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:37:32.869789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_25_9337.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_35_10373.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_45_10325.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_55_9324.jpg', '/home/pi/Desktop/images/23012025/12/35/image_23012025_12_36_05_10422.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_15_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_25_9337.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_35_10373.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_45_10325.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_35_55_9324.jpg
/home/pi/Desktop/images/23012025/12/35/image_23012025_12_36_05_10422.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_15_10333.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":["1330820734","1330820713","1330820721","1330820709","1330820718","1330820723"],"photo_ids_order":["1330820709","1330820713","1330820718","1330820721","1330820723","1330820734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/805c3120c59c9296983af019596dad36.jpg","text":"TemporaryFile(/tmp/multipartBody6355217479185822530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313779,"filename":"image_23012025_12_36_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ad00537c158ad631f061e7587befba0.jpg","text":"TemporaryFile(/tmp/multipartBody1167708689395414797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313779,"filename":"image_23012025_12_35_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4a4616a4f2ba84776f2ea4cf45c1b57.jpg","text":"TemporaryFile(/tmp/multipartBody3675549295640993059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313779,"filename":"image_23012025_12_35_55_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da11bc97767cc5380c531d6848085029.jpg","text":"TemporaryFile(/tmp/multipartBody2990385709499881046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313779,"filename":"image_23012025_12_35_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/558a08e26952f41907c588d278ad449e.jpg","text":"TemporaryFile(/tmp/multipartBody3463970943104829508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313779,"filename":"image_23012025_12_35_45_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92d32937d680cf43389fce9624fb0c50.jpg","text":"TemporaryFile(/tmp/multipartBody6057829349180857858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632313779,"filename":"image_23012025_12_36_05_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820718","file1":"1330820713","file0":"1330820709","file4":"1330820723","file5":"1330820734","file3":"1330820721"},"map_files_photo_id_array":[{"photo_id":"1330820734","filename":"file5"},{"photo_id":"1330820718","filename":"file2"},{"photo_id":"1330820723","filename":"file4"},{"photo_id":"1330820713","filename":"file1"},{"photo_id":"1330820709","filename":"file0"},{"photo_id":"1330820721","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330820734":["hashtag1","hashtag2"]},{"1330820713":["hashtag1","hashtag2"]},{"1330820721":["hashtag1","hashtag2"]},{"1330820709":["hashtag1","hashtag2"]},{"1330820718":["hashtag1","hashtag2"]},{"1330820723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330820734, 1330820713, 1330820721, 1330820709, 1330820718, 1330820723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.290502309799194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:38:32.190159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_25_9337.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_35_10446.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_46_10325.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_55_9354.jpg', '/home/pi/Desktop/images/23012025/12/36/image_23012025_12_37_05_10390.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_15_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_25_9337.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_35_10446.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_46_10325.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_36_55_9354.jpg
/home/pi/Desktop/images/23012025/12/36/image_23012025_12_37_05_10390.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_15_9325.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":["1330820806","1330820808","1330820802","1330820798","1330820768","1330820807"],"photo_ids_order":["1330820768","1330820798","1330820802","1330820806","1330820807","1330820808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07249c703247e84cae5d33d83ff4d8c4.jpg","text":"TemporaryFile(/tmp/multipartBody1977364780718670600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373098,"filename":"image_23012025_12_36_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3a389cd3b78903d01d76a4b0008cfed.jpg","text":"TemporaryFile(/tmp/multipartBody6314957614471450367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373098,"filename":"image_23012025_12_37_15_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc5888d3f5998b58c573bccee6447424.jpg","text":"TemporaryFile(/tmp/multipartBody975979366699596420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373098,"filename":"image_23012025_12_36_46_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/204def4a40363b7b582266693f9c4337.jpg","text":"TemporaryFile(/tmp/multipartBody6966380805677525717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373098,"filename":"image_23012025_12_36_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7309ec039857b0bac55a091803cf4b2.jpg","text":"TemporaryFile(/tmp/multipartBody8672500380599665446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373098,"filename":"image_23012025_12_36_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a1ffed8c70f73ba75ba7959d1328b36.jpg","text":"TemporaryFile(/tmp/multipartBody5864843338655754102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632373098,"filename":"image_23012025_12_37_05_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820802","file1":"1330820798","file0":"1330820768","file4":"1330820807","file5":"1330820808","file3":"1330820806"},"map_files_photo_id_array":[{"photo_id":"1330820808","filename":"file5"},{"photo_id":"1330820802","filename":"file2"},{"photo_id":"1330820807","filename":"file4"},{"photo_id":"1330820798","filename":"file1"},{"photo_id":"1330820768","filename":"file0"},{"photo_id":"1330820806","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330820806":["hashtag1","hashtag2"]},{"1330820808":["hashtag1","hashtag2"]},{"1330820802":["hashtag1","hashtag2"]},{"1330820798":["hashtag1","hashtag2"]},{"1330820768":["hashtag1","hashtag2"]},{"1330820807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330820806, 1330820808, 1330820802, 1330820798, 1330820768, 1330820807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.99860715866089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:39:32.302014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_25_10386.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_35_10322.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_45_9332.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_55_10431.jpg', '/home/pi/Desktop/images/23012025/12/37/image_23012025_12_38_06_10446.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_15_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_25_10386.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_35_10322.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_45_9332.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_37_55_10431.jpg
/home/pi/Desktop/images/23012025/12/37/image_23012025_12_38_06_10446.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_15_9453.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":["1330820833","1330820862","1330820867","1330820872","1330820875","1330820854"],"photo_ids_order":["1330820833","1330820854","1330820862","1330820867","1330820872","1330820875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b03cf17bbc2362e6a1616312dc1ef24.jpg","text":"TemporaryFile(/tmp/multipartBody4909368274886225765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433238,"filename":"image_23012025_12_37_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1c8daa5f4c838b779012d562edb2fba.jpg","text":"TemporaryFile(/tmp/multipartBody794871842080858918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433238,"filename":"image_23012025_12_37_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8adc86f9d9803886754da46f4c4e9b8.jpg","text":"TemporaryFile(/tmp/multipartBody4541609097936126024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433238,"filename":"image_23012025_12_37_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/929c066543c16ed4be1ecfe538737e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5467704260800854510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433238,"filename":"image_23012025_12_38_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c8ecc23c98134184f5693a6e1849838.jpg","text":"TemporaryFile(/tmp/multipartBody3380208776793778581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433238,"filename":"image_23012025_12_38_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7ffe61d0c3198f5db03454385214ae6.jpg","text":"TemporaryFile(/tmp/multipartBody328916029415844993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632433238,"filename":"image_23012025_12_37_35_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820862","file1":"1330820854","file0":"1330820833","file4":"1330820872","file5":"1330820875","file3":"1330820867"},"map_files_photo_id_array":[{"photo_id":"1330820875","filename":"file5"},{"photo_id":"1330820862","filename":"file2"},{"photo_id":"1330820872","filename":"file4"},{"photo_id":"1330820854","filename":"file1"},{"photo_id":"1330820833","filename":"file0"},{"photo_id":"1330820867","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330820833":["hashtag1","hashtag2"]},{"1330820862":["hashtag1","hashtag2"]},{"1330820867":["hashtag1","hashtag2"]},{"1330820872":["hashtag1","hashtag2"]},{"1330820875":["hashtag1","hashtag2"]},{"1330820854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330820833, 1330820862, 1330820867, 1330820872, 1330820875, 1330820854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.501697301864624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:40:32.533619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_25_10432.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_35_9333.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_45_10450.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_56_10347.jpg', '/home/pi/Desktop/images/23012025/12/38/image_23012025_12_39_05_9320.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_15_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_25_10432.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_35_9333.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_45_10450.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_38_56_10347.jpg
/home/pi/Desktop/images/23012025/12/38/image_23012025_12_39_05_9320.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_15_10332.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":["1330821030","1330820997","1330820982","1330820990","1330821011","1330821004"],"photo_ids_order":["1330820982","1330820990","1330820997","1330821004","1330821011","1330821030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a8dd7a022ed96a77542b14be8b6472e.jpg","text":"TemporaryFile(/tmp/multipartBody3572437387960795558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632493435,"filename":"image_23012025_12_39_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47846a7b094ed55abf8ab17d8dd59447.jpg","text":"TemporaryFile(/tmp/multipartBody8119684318517603577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632493435,"filename":"image_23012025_12_38_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc1689aa8a4720a304d7b69da78f92f7.jpg","text":"TemporaryFile(/tmp/multipartBody6078417917971246130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632493435,"filename":"image_23012025_12_38_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8e7b4dd221e218f61c0a8f388e854f6.jpg","text":"TemporaryFile(/tmp/multipartBody3719986399302580333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632493435,"filename":"image_23012025_12_38_35_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/583e6277d39cc5b4c2c8701405974397.jpg","text":"TemporaryFile(/tmp/multipartBody6688664827652287782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632493435,"filename":"image_23012025_12_39_05_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2da140b925660e797fab163806dfa0f2.jpg","text":"TemporaryFile(/tmp/multipartBody837785612540319833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632493435,"filename":"image_23012025_12_38_56_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330820997","file1":"1330820990","file0":"1330820982","file4":"1330821011","file5":"1330821030","file3":"1330821004"},"map_files_photo_id_array":[{"photo_id":"1330821030","filename":"file5"},{"photo_id":"1330820997","filename":"file2"},{"photo_id":"1330821011","filename":"file4"},{"photo_id":"1330820990","filename":"file1"},{"photo_id":"1330820982","filename":"file0"},{"photo_id":"1330821004","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821030":["hashtag1","hashtag2"]},{"1330820997":["hashtag1","hashtag2"]},{"1330820982":["hashtag1","hashtag2"]},{"1330820990":["hashtag1","hashtag2"]},{"1330821011":["hashtag1","hashtag2"]},{"1330821004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821030, 1330820997, 1330820982, 1330820990, 1330821011, 1330821004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.77262735366821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:41:32.726305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_26_10351.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_35_9400.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_45_10342.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_55_9352.jpg', '/home/pi/Desktop/images/23012025/12/39/image_23012025_12_40_05_10380.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_15_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_26_10351.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_35_9400.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_45_10342.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_39_55_9352.jpg
/home/pi/Desktop/images/23012025/12/39/image_23012025_12_40_05_10380.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_15_10366.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":["1330821182","1330821086","1330821137","1330821181","1330821097","1330821148"],"photo_ids_order":["1330821086","1330821097","1330821137","1330821148","1330821181","1330821182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd6ef3c20d418f398cdca9214cd16f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2360871791901829149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553635,"filename":"image_23012025_12_40_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3f859c24bde79acf33ad7fcd4b0c91e.jpg","text":"TemporaryFile(/tmp/multipartBody2867280942648027798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553635,"filename":"image_23012025_12_39_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36a4322d69cc1976a2493e304e7f4cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7334656051931415163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553635,"filename":"image_23012025_12_39_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/052c272dd461a434e57303ffafa61df5.jpg","text":"TemporaryFile(/tmp/multipartBody174119612913436974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553635,"filename":"image_23012025_12_40_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/915995cb3018b0e7ce03547247058dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6223214776576850632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553635,"filename":"image_23012025_12_39_35_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3af52c742579058b6cd51a264d00774.jpg","text":"TemporaryFile(/tmp/multipartBody2755242316596803705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632553635,"filename":"image_23012025_12_39_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821137","file1":"1330821097","file0":"1330821086","file4":"1330821181","file5":"1330821182","file3":"1330821148"},"map_files_photo_id_array":[{"photo_id":"1330821182","filename":"file5"},{"photo_id":"1330821137","filename":"file2"},{"photo_id":"1330821181","filename":"file4"},{"photo_id":"1330821097","filename":"file1"},{"photo_id":"1330821086","filename":"file0"},{"photo_id":"1330821148","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821182":["hashtag1","hashtag2"]},{"1330821086":["hashtag1","hashtag2"]},{"1330821137":["hashtag1","hashtag2"]},{"1330821181":["hashtag1","hashtag2"]},{"1330821097":["hashtag1","hashtag2"]},{"1330821148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821182, 1330821086, 1330821137, 1330821181, 1330821097, 1330821148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.84957814216614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:42:32.893867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_25_9359.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_35_10333.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_46_10440.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_55_9355.jpg', '/home/pi/Desktop/images/23012025/12/40/image_23012025_12_41_05_10414.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_15_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_25_9359.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_35_10333.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_46_10440.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_40_55_9355.jpg
/home/pi/Desktop/images/23012025/12/40/image_23012025_12_41_05_10414.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_15_9331.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":["1330821198","1330821207","1330821209","1330821193","1330821211","1330821202"],"photo_ids_order":["1330821193","1330821198","1330821202","1330821207","1330821209","1330821211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ab1c4508c7641e41e48f9e38504f9fc.jpg","text":"TemporaryFile(/tmp/multipartBody5333532072225023533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613789,"filename":"image_23012025_12_40_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ce28106fdbaeb666e3553d1cd3a114c.jpg","text":"TemporaryFile(/tmp/multipartBody7537750781844933267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613789,"filename":"image_23012025_12_40_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2ed99e7673716ee3154a15e1c9c96c6.jpg","text":"TemporaryFile(/tmp/multipartBody6796274961438553090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613789,"filename":"image_23012025_12_41_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f9af27daafdcd7f195e9d7c69a0062f.jpg","text":"TemporaryFile(/tmp/multipartBody3908948631033039347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613789,"filename":"image_23012025_12_40_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4976cac65cb07bd62579409f9f36e270.jpg","text":"TemporaryFile(/tmp/multipartBody5702797882623683976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613789,"filename":"image_23012025_12_41_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57bb6be564a345ff5011f916e6771dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4023882039526781214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632613789,"filename":"image_23012025_12_40_46_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821202","file1":"1330821198","file0":"1330821193","file4":"1330821209","file5":"1330821211","file3":"1330821207"},"map_files_photo_id_array":[{"photo_id":"1330821211","filename":"file5"},{"photo_id":"1330821202","filename":"file2"},{"photo_id":"1330821209","filename":"file4"},{"photo_id":"1330821198","filename":"file1"},{"photo_id":"1330821193","filename":"file0"},{"photo_id":"1330821207","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821198":["hashtag1","hashtag2"]},{"1330821207":["hashtag1","hashtag2"]},{"1330821209":["hashtag1","hashtag2"]},{"1330821193":["hashtag1","hashtag2"]},{"1330821211":["hashtag1","hashtag2"]},{"1330821202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821198, 1330821207, 1330821209, 1330821193, 1330821211, 1330821202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69236922264099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:43:33.280051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_25_10401.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_35_10342.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_45_9338.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_55_10424.jpg', '/home/pi/Desktop/images/23012025/12/41/image_23012025_12_42_06_10336.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_15_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_25_10401.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_35_10342.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_45_9338.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_41_55_10424.jpg
/home/pi/Desktop/images/23012025/12/41/image_23012025_12_42_06_10336.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_15_9344.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":["1330821240","1330821236","1330821238","1330821232","1330821226","1330821229"],"photo_ids_order":["1330821226","1330821229","1330821232","1330821236","1330821238","1330821240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7eb661f8f79868df0a839e4e91c689aa.jpg","text":"TemporaryFile(/tmp/multipartBody414729681986639941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674202,"filename":"image_23012025_12_42_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17e4766e65ca54cfa53e10a74977cbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6780474924299503161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674202,"filename":"image_23012025_12_41_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b40d08d724be076f355f914dcb8d2b30.jpg","text":"TemporaryFile(/tmp/multipartBody6753084084556027366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674202,"filename":"image_23012025_12_42_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f12be145aad6d2f478081a5cc1e7821.jpg","text":"TemporaryFile(/tmp/multipartBody5154954974835477819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674202,"filename":"image_23012025_12_41_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/495924c91863068acffa07cdb295fbdd.jpg","text":"TemporaryFile(/tmp/multipartBody6255345764028469721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674202,"filename":"image_23012025_12_41_25_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c692ec52ccdd14aa0a7ceb2ecf58ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody3057615515917056688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632674202,"filename":"image_23012025_12_41_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821232","file1":"1330821229","file0":"1330821226","file4":"1330821238","file5":"1330821240","file3":"1330821236"},"map_files_photo_id_array":[{"photo_id":"1330821240","filename":"file5"},{"photo_id":"1330821232","filename":"file2"},{"photo_id":"1330821238","filename":"file4"},{"photo_id":"1330821229","filename":"file1"},{"photo_id":"1330821226","filename":"file0"},{"photo_id":"1330821236","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821240":["hashtag1","hashtag2"]},{"1330821236":["hashtag1","hashtag2"]},{"1330821238":["hashtag1","hashtag2"]},{"1330821232":["hashtag1","hashtag2"]},{"1330821226":["hashtag1","hashtag2"]},{"1330821229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821240, 1330821236, 1330821238, 1330821232, 1330821226, 1330821229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.86473846435547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:44:32.420423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_25_10342.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_36_10323.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_45_9339.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_55_10363.jpg', '/home/pi/Desktop/images/23012025/12/42/image_23012025_12_43_06_10346.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_15_9315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_25_10342.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_36_10323.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_45_9339.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_42_55_10363.jpg
/home/pi/Desktop/images/23012025/12/42/image_23012025_12_43_06_10346.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_15_9315.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":["1330821258","1330821263","1330821272","1330821275","1330821268","1330821253"],"photo_ids_order":["1330821253","1330821258","1330821263","1330821268","1330821272","1330821275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42982514b4b6cb7760f72302123d2b7c.jpg","text":"TemporaryFile(/tmp/multipartBody6710600857179506481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632733337,"filename":"image_23012025_12_42_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2c66288b215e3e8764b91cd28d75b90.jpg","text":"TemporaryFile(/tmp/multipartBody9006278008257704190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632733337,"filename":"image_23012025_12_42_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/947963d6ca46c3da7161abe4056bbf26.jpg","text":"TemporaryFile(/tmp/multipartBody4459687650569068339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632733337,"filename":"image_23012025_12_43_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa0842fa676d4e4b903823ab7354eca1.jpg","text":"TemporaryFile(/tmp/multipartBody5989735371168693664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632733337,"filename":"image_23012025_12_43_15_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3c80a73b623ef601d62763d3f7f3ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3241998944447329101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632733337,"filename":"image_23012025_12_42_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f293d7dff956bd35dc1dcf4cbe814f89.jpg","text":"TemporaryFile(/tmp/multipartBody5291262156761620441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632733337,"filename":"image_23012025_12_42_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821263","file1":"1330821258","file0":"1330821253","file4":"1330821272","file5":"1330821275","file3":"1330821268"},"map_files_photo_id_array":[{"photo_id":"1330821275","filename":"file5"},{"photo_id":"1330821263","filename":"file2"},{"photo_id":"1330821272","filename":"file4"},{"photo_id":"1330821258","filename":"file1"},{"photo_id":"1330821253","filename":"file0"},{"photo_id":"1330821268","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821258":["hashtag1","hashtag2"]},{"1330821263":["hashtag1","hashtag2"]},{"1330821272":["hashtag1","hashtag2"]},{"1330821275":["hashtag1","hashtag2"]},{"1330821268":["hashtag1","hashtag2"]},{"1330821253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821258, 1330821263, 1330821272, 1330821275, 1330821268, 1330821253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21929049491882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:45:32.567870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_25_10382.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_36_10346.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_45_9387.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_55_10453.jpg', '/home/pi/Desktop/images/23012025/12/43/image_23012025_12_44_05_9326.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_15_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_25_10382.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_36_10346.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_45_9387.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_43_55_10453.jpg
/home/pi/Desktop/images/23012025/12/43/image_23012025_12_44_05_9326.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_15_10342.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":["1330821474","1330821513","1330821444","1330821497","1330821398","1330821512"],"photo_ids_order":["1330821398","1330821444","1330821474","1330821497","1330821512","1330821513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18c5bcccd4462c52671121a185fc471c.jpg","text":"TemporaryFile(/tmp/multipartBody3144789161712382926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793478,"filename":"image_23012025_12_43_45_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f7951a0ba90d0e0810ce6a110adbf72.jpg","text":"TemporaryFile(/tmp/multipartBody6752501805354734938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793478,"filename":"image_23012025_12_44_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5a0775da5caf9dc639e3d5b96266cbb.jpg","text":"TemporaryFile(/tmp/multipartBody867796277924139268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793478,"filename":"image_23012025_12_43_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91db3a6b6fed4a9a36463fe824230151.jpg","text":"TemporaryFile(/tmp/multipartBody7761146893397866929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793478,"filename":"image_23012025_12_43_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d0b7e06391423c4dabb059a68570f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2237585472486713272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793478,"filename":"image_23012025_12_43_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53630c827bf36022f60454a2f40002db.jpg","text":"TemporaryFile(/tmp/multipartBody5579276680380394898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632793478,"filename":"image_23012025_12_44_05_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821474","file1":"1330821444","file0":"1330821398","file4":"1330821512","file5":"1330821513","file3":"1330821497"},"map_files_photo_id_array":[{"photo_id":"1330821513","filename":"file5"},{"photo_id":"1330821474","filename":"file2"},{"photo_id":"1330821512","filename":"file4"},{"photo_id":"1330821444","filename":"file1"},{"photo_id":"1330821398","filename":"file0"},{"photo_id":"1330821497","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821474":["hashtag1","hashtag2"]},{"1330821513":["hashtag1","hashtag2"]},{"1330821444":["hashtag1","hashtag2"]},{"1330821497":["hashtag1","hashtag2"]},{"1330821398":["hashtag1","hashtag2"]},{"1330821512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821474, 1330821513, 1330821444, 1330821497, 1330821398, 1330821512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.62413835525513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:46:32.818036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_26_10362.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_35_9392.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_45_10410.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_55_9370.jpg', '/home/pi/Desktop/images/23012025/12/44/image_23012025_12_45_05_10433.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_16_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_26_10362.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_35_9392.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_45_10410.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_44_55_9370.jpg
/home/pi/Desktop/images/23012025/12/44/image_23012025_12_45_05_10433.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_16_10403.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":["1330821588","1330821654","1330821626","1330821634","1330821658","1330821601"],"photo_ids_order":["1330821588","1330821601","1330821626","1330821634","1330821654","1330821658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c43b9656430e35d8f390d79fa1436da.jpg","text":"TemporaryFile(/tmp/multipartBody2819826623762055048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632853717,"filename":"image_23012025_12_44_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae6b396b1346e0d1a1e9c383019d0797.jpg","text":"TemporaryFile(/tmp/multipartBody3216574419557423678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632853717,"filename":"image_23012025_12_45_05_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a4f346840be3dc02ebff7ab720e360e.jpg","text":"TemporaryFile(/tmp/multipartBody2738763540541142500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632853717,"filename":"image_23012025_12_44_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba13e5db529b63e11e98fdcb0aa56a66.jpg","text":"TemporaryFile(/tmp/multipartBody5513215975584491083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632853717,"filename":"image_23012025_12_44_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/096fb24bf7fe100ce2b32c3cb4302de7.jpg","text":"TemporaryFile(/tmp/multipartBody1733264631962932269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632853717,"filename":"image_23012025_12_45_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb6f32b6e1fe2e2e98b833e9dde5e028.jpg","text":"TemporaryFile(/tmp/multipartBody6267405598477785878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632853717,"filename":"image_23012025_12_44_35_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821626","file1":"1330821601","file0":"1330821588","file4":"1330821654","file5":"1330821658","file3":"1330821634"},"map_files_photo_id_array":[{"photo_id":"1330821658","filename":"file5"},{"photo_id":"1330821626","filename":"file2"},{"photo_id":"1330821654","filename":"file4"},{"photo_id":"1330821601","filename":"file1"},{"photo_id":"1330821588","filename":"file0"},{"photo_id":"1330821634","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821588":["hashtag1","hashtag2"]},{"1330821654":["hashtag1","hashtag2"]},{"1330821626":["hashtag1","hashtag2"]},{"1330821634":["hashtag1","hashtag2"]},{"1330821658":["hashtag1","hashtag2"]},{"1330821601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821588, 1330821654, 1330821626, 1330821634, 1330821658, 1330821601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.008465051651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:47:33.037211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_25_9335.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_35_10414.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_46_10327.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_55_9355.jpg', '/home/pi/Desktop/images/23012025/12/45/image_23012025_12_46_05_10372.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_15_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_25_9335.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_35_10414.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_46_10327.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_45_55_9355.jpg
/home/pi/Desktop/images/23012025/12/45/image_23012025_12_46_05_10372.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_15_9341.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":["1330821687","1330821672","1330821692","1330821677","1330821682","1330821691"],"photo_ids_order":["1330821672","1330821677","1330821682","1330821687","1330821691","1330821692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34ec2ce2addf4eaeb0380afa503342b6.jpg","text":"TemporaryFile(/tmp/multipartBody1516461272979392290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632913978,"filename":"image_23012025_12_45_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fa0c996aedfb6123e84218f739dd2280.jpg","text":"TemporaryFile(/tmp/multipartBody8213386038807948028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632913978,"filename":"image_23012025_12_45_25_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d84d9d414abc755e01adb66cd3fd842d.jpg","text":"TemporaryFile(/tmp/multipartBody8614459273613071147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632913978,"filename":"image_23012025_12_46_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53289cc54757c8f169939c1986e1ad20.jpg","text":"TemporaryFile(/tmp/multipartBody4855993330912405551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632913978,"filename":"image_23012025_12_45_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97355fcf812642555cec25e895ab2d99.jpg","text":"TemporaryFile(/tmp/multipartBody2510264153646276803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632913978,"filename":"image_23012025_12_45_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/009c0a08fbdd6795c8087e2d41e7925f.jpg","text":"TemporaryFile(/tmp/multipartBody3663443756788305585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632913978,"filename":"image_23012025_12_46_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821682","file1":"1330821677","file0":"1330821672","file4":"1330821691","file5":"1330821692","file3":"1330821687"},"map_files_photo_id_array":[{"photo_id":"1330821692","filename":"file5"},{"photo_id":"1330821682","filename":"file2"},{"photo_id":"1330821691","filename":"file4"},{"photo_id":"1330821677","filename":"file1"},{"photo_id":"1330821672","filename":"file0"},{"photo_id":"1330821687","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821687":["hashtag1","hashtag2"]},{"1330821672":["hashtag1","hashtag2"]},{"1330821692":["hashtag1","hashtag2"]},{"1330821677":["hashtag1","hashtag2"]},{"1330821682":["hashtag1","hashtag2"]},{"1330821691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821687, 1330821672, 1330821692, 1330821677, 1330821682, 1330821691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.042956590652466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:48:32.255979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_25_10425.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_35_10312.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_45_9328.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_55_10467.jpg', '/home/pi/Desktop/images/23012025/12/46/image_23012025_12_47_06_10335.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_15_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_25_10425.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_35_10312.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_45_9328.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_46_55_10467.jpg
/home/pi/Desktop/images/23012025/12/46/image_23012025_12_47_06_10335.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_15_9329.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":["1330821720","1330821725","1330821733","1330821715","1330821709","1330821730"],"photo_ids_order":["1330821709","1330821715","1330821720","1330821725","1330821730","1330821733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e6b24b772147edc869d7ea8500a49df.jpg","text":"TemporaryFile(/tmp/multipartBody7525324513219323029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632973173,"filename":"image_23012025_12_46_45_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5baee55a811e91826c99037b0306f566.jpg","text":"TemporaryFile(/tmp/multipartBody5923842729352264826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632973173,"filename":"image_23012025_12_46_55_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/622e3a9744bdb9ab9a0a6c6f28a848a2.jpg","text":"TemporaryFile(/tmp/multipartBody5132892030352277693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632973173,"filename":"image_23012025_12_47_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3121c1f00ff5b236d6399703086e2c2c.jpg","text":"TemporaryFile(/tmp/multipartBody680429540630793184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632973173,"filename":"image_23012025_12_46_35_10312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bae9fc44073999c7d7f2152ccaf048bf.jpg","text":"TemporaryFile(/tmp/multipartBody5577499240820295573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632973173,"filename":"image_23012025_12_46_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfa28a5f1fb7a2ac5a3d19c146c0f177.jpg","text":"TemporaryFile(/tmp/multipartBody7852708347854934865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737632973173,"filename":"image_23012025_12_47_06_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821720","file1":"1330821715","file0":"1330821709","file4":"1330821730","file5":"1330821733","file3":"1330821725"},"map_files_photo_id_array":[{"photo_id":"1330821733","filename":"file5"},{"photo_id":"1330821720","filename":"file2"},{"photo_id":"1330821730","filename":"file4"},{"photo_id":"1330821715","filename":"file1"},{"photo_id":"1330821709","filename":"file0"},{"photo_id":"1330821725","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821720":["hashtag1","hashtag2"]},{"1330821725":["hashtag1","hashtag2"]},{"1330821733":["hashtag1","hashtag2"]},{"1330821715":["hashtag1","hashtag2"]},{"1330821709":["hashtag1","hashtag2"]},{"1330821730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821720, 1330821725, 1330821733, 1330821715, 1330821709, 1330821730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.89478302001953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:49:32.489052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_25_10355.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_36_10408.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_45_9448.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_55_10405.jpg', '/home/pi/Desktop/images/23012025/12/47/image_23012025_12_48_05_9347.jpg', '/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_15_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_25_10355.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_36_10408.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_45_9448.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_47_55_10405.jpg
/home/pi/Desktop/images/23012025/12/47/image_23012025_12_48_05_9347.jpg
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_15_10354.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":["1330821753","1330821807","1330821776","1330821814","1330821757","1330821811"],"photo_ids_order":["1330821753","1330821757","1330821776","1330821807","1330821811","1330821814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a3f66e40967acdc88e362265fe9aa5f.jpg","text":"TemporaryFile(/tmp/multipartBody631596734346325064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633033399,"filename":"image_23012025_12_47_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d8e1164b907b29a21f04efe8cddb2e1.jpg","text":"TemporaryFile(/tmp/multipartBody4194073029345677744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633033399,"filename":"image_23012025_12_47_55_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5a9de25859c7d4d5a11f5746e03ceb2.jpg","text":"TemporaryFile(/tmp/multipartBody6529938294290902101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633033399,"filename":"image_23012025_12_47_45_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78611a1fc993e5f5ad6d5d82e3a18058.jpg","text":"TemporaryFile(/tmp/multipartBody5169460569787801747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633033399,"filename":"image_23012025_12_48_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/101862b449a005b11f5d50db982f27ee.jpg","text":"TemporaryFile(/tmp/multipartBody3609206892708269750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633033399,"filename":"image_23012025_12_47_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f98da8a3c4c38ca012158b407ac64ef7.jpg","text":"TemporaryFile(/tmp/multipartBody7685453050087372613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633033399,"filename":"image_23012025_12_48_05_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330821776","file1":"1330821757","file0":"1330821753","file4":"1330821811","file5":"1330821814","file3":"1330821807"},"map_files_photo_id_array":[{"photo_id":"1330821814","filename":"file5"},{"photo_id":"1330821776","filename":"file2"},{"photo_id":"1330821811","filename":"file4"},{"photo_id":"1330821757","filename":"file1"},{"photo_id":"1330821753","filename":"file0"},{"photo_id":"1330821807","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330821753":["hashtag1","hashtag2"]},{"1330821807":["hashtag1","hashtag2"]},{"1330821776":["hashtag1","hashtag2"]},{"1330821814":["hashtag1","hashtag2"]},{"1330821757":["hashtag1","hashtag2"]},{"1330821811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330821753, 1330821807, 1330821776, 1330821814, 1330821757, 1330821811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.024526834487915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:50:32.605427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_35_9396.jpg', '/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_45_10352.jpg', '/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_55_9354.jpg', '/home/pi/Desktop/images/23012025/12/48/image_23012025_12_49_05_10361.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_15_10343.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_25_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_35_9396.jpg
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_45_10352.jpg
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_48_55_9354.jpg
/home/pi/Desktop/images/23012025/12/48/image_23012025_12_49_05_10361.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_15_10343.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_25_9336.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":["1330822005","1330822100","1330821911","1330822171","1330822207","1330822182"],"photo_ids_order":["1330821911","1330822005","1330822100","1330822171","1330822182","1330822207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44aa28410552fc46702797bdca6befe2.jpg","text":"TemporaryFile(/tmp/multipartBody2169034166774526795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633093511,"filename":"image_23012025_12_48_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23dc5ef2f5b8c31711ed119d3e3dace0.jpg","text":"TemporaryFile(/tmp/multipartBody601178851450556666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633093511,"filename":"image_23012025_12_48_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78412d9251e6ef911b65f46977d19055.jpg","text":"TemporaryFile(/tmp/multipartBody1498411922119366368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633093511,"filename":"image_23012025_12_48_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83c185c0552c8e22427d97cb2af214a5.jpg","text":"TemporaryFile(/tmp/multipartBody3669649918522214148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633093511,"filename":"image_23012025_12_49_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9b5b0df5d14438c7282226a3af81633.jpg","text":"TemporaryFile(/tmp/multipartBody958645013593269760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633093511,"filename":"image_23012025_12_49_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d709d205ab8c4e592f62b87a9a2d34b.jpg","text":"TemporaryFile(/tmp/multipartBody7431667645070775144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633093511,"filename":"image_23012025_12_49_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822100","file1":"1330822005","file0":"1330821911","file4":"1330822182","file5":"1330822207","file3":"1330822171"},"map_files_photo_id_array":[{"photo_id":"1330822207","filename":"file5"},{"photo_id":"1330822100","filename":"file2"},{"photo_id":"1330822182","filename":"file4"},{"photo_id":"1330822005","filename":"file1"},{"photo_id":"1330821911","filename":"file0"},{"photo_id":"1330822171","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822005":["hashtag1","hashtag2"]},{"1330822100":["hashtag1","hashtag2"]},{"1330821911":["hashtag1","hashtag2"]},{"1330822171":["hashtag1","hashtag2"]},{"1330822207":["hashtag1","hashtag2"]},{"1330822182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822005, 1330822100, 1330821911, 1330822171, 1330822207, 1330822182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.73183560371399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:51:32.895128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_35_10340.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_45_10341.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_55_9359.jpg', '/home/pi/Desktop/images/23012025/12/49/image_23012025_12_50_05_10408.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_16_10342.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_25_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_35_10340.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_45_10341.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_49_55_9359.jpg
/home/pi/Desktop/images/23012025/12/49/image_23012025_12_50_05_10408.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_16_10342.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_25_9365.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":["1330822268","1330822307","1330822372","1330822303","1330822299","1330822353"],"photo_ids_order":["1330822268","1330822299","1330822303","1330822307","1330822353","1330822372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8be140aca26c33df562da08ef38ca018.jpg","text":"TemporaryFile(/tmp/multipartBody3051913739313565098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633153809,"filename":"image_23012025_12_49_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1569daca7752fdcb2c1e9c0a3aa3432e.jpg","text":"TemporaryFile(/tmp/multipartBody987846759557791118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633153809,"filename":"image_23012025_12_50_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/beb625c66cb5d8beebe0d471a3c39f72.jpg","text":"TemporaryFile(/tmp/multipartBody544375849188433059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633153809,"filename":"image_23012025_12_50_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a979b685aa5e3cfd79f27ce7684e4d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6360994023234341159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633153809,"filename":"image_23012025_12_49_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7383349f4715f53626e6b48ce2af700.jpg","text":"TemporaryFile(/tmp/multipartBody7855767189303827889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633153809,"filename":"image_23012025_12_49_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/959e0caabed6cd9577ee46c252abbe1a.jpg","text":"TemporaryFile(/tmp/multipartBody6466304545698753273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633153809,"filename":"image_23012025_12_50_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822303","file1":"1330822299","file0":"1330822268","file4":"1330822353","file5":"1330822372","file3":"1330822307"},"map_files_photo_id_array":[{"photo_id":"1330822372","filename":"file5"},{"photo_id":"1330822303","filename":"file2"},{"photo_id":"1330822353","filename":"file4"},{"photo_id":"1330822299","filename":"file1"},{"photo_id":"1330822268","filename":"file0"},{"photo_id":"1330822307","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822268":["hashtag1","hashtag2"]},{"1330822307":["hashtag1","hashtag2"]},{"1330822372":["hashtag1","hashtag2"]},{"1330822303":["hashtag1","hashtag2"]},{"1330822299":["hashtag1","hashtag2"]},{"1330822353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822268, 1330822307, 1330822372, 1330822303, 1330822299, 1330822353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.04021596908569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:52:32.163573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_35_10329.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_46_10355.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_55_9340.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_51_05_10384.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_15_9384.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_25_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_35_10329.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_46_10355.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_55_9340.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_51_05_10384.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_15_9384.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_25_10439.jpg
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: 0.520270586013794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 12:52:42.221740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_35_10329.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_46_10355.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_55_9340.jpg', '/home/pi/Desktop/images/23012025/12/50/image_23012025_12_51_05_10384.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_15_9384.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_25_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_35_10329.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_46_10355.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_50_55_9340.jpg
/home/pi/Desktop/images/23012025/12/50/image_23012025_12_51_05_10384.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_15_9384.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_25_10439.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":["1330822448","1330822442","1330822451","1330822453","1330822432","1330822438"],"photo_ids_order":["1330822432","1330822438","1330822442","1330822448","1330822451","1330822453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f44c60b7803b0384a6a8c5667ee1ecfe.jpg","text":"TemporaryFile(/tmp/multipartBody4354154538774054304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633223153,"filename":"image_23012025_12_51_05_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60e0bc54a0787c6af08597e0bd1275f8.jpg","text":"TemporaryFile(/tmp/multipartBody6125363133677009513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633223153,"filename":"image_23012025_12_50_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dac8f10e002f13635d958c2808089a6.jpg","text":"TemporaryFile(/tmp/multipartBody2354904230946898087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633223153,"filename":"image_23012025_12_51_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33de510b75ab03ffc3d3c9f87f21ce1b.jpg","text":"TemporaryFile(/tmp/multipartBody8710932501336948954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633223153,"filename":"image_23012025_12_51_25_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac528daf0d57ae7e9428add74fb84b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1548343594835449509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633223153,"filename":"image_23012025_12_50_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb644b78448ed9d48610fe41f3073dfd.jpg","text":"TemporaryFile(/tmp/multipartBody3322367371019490267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633223153,"filename":"image_23012025_12_50_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822442","file1":"1330822438","file0":"1330822432","file4":"1330822451","file5":"1330822453","file3":"1330822448"},"map_files_photo_id_array":[{"photo_id":"1330822453","filename":"file5"},{"photo_id":"1330822442","filename":"file2"},{"photo_id":"1330822451","filename":"file4"},{"photo_id":"1330822438","filename":"file1"},{"photo_id":"1330822432","filename":"file0"},{"photo_id":"1330822448","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822448":["hashtag1","hashtag2"]},{"1330822442":["hashtag1","hashtag2"]},{"1330822451":["hashtag1","hashtag2"]},{"1330822453":["hashtag1","hashtag2"]},{"1330822432":["hashtag1","hashtag2"]},{"1330822438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822448, 1330822442, 1330822451, 1330822453, 1330822432, 1330822438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.94839358329773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:53:32.322317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_35_10340.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_45_9322.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_55_10431.jpg', '/home/pi/Desktop/images/23012025/12/51/image_23012025_12_52_06_10363.jpg', '/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_15_9322.jpg', '/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_25_10476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_35_10340.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_45_9322.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_51_55_10431.jpg
/home/pi/Desktop/images/23012025/12/51/image_23012025_12_52_06_10363.jpg
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_15_9322.jpg
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_25_10476.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":["1330822481","1330822475","1330822471","1330822480","1330822479","1330822467"],"photo_ids_order":["1330822467","1330822471","1330822475","1330822479","1330822480","1330822481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab6dc1d8fb3b001fbb39b1c7ef415235.jpg","text":"TemporaryFile(/tmp/multipartBody5953381037125107178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633273226,"filename":"image_23012025_12_52_25_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b4bfca874ec7fecc6aa219a77f3c515.jpg","text":"TemporaryFile(/tmp/multipartBody6580370354652460043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633273226,"filename":"image_23012025_12_51_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3e9f7e5027486d4ae059c2999a8da86.jpg","text":"TemporaryFile(/tmp/multipartBody6412813967797066024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633273226,"filename":"image_23012025_12_51_45_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e89c2edd5ddd5ea2e459bb3184015bca.jpg","text":"TemporaryFile(/tmp/multipartBody701133136647210954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633273226,"filename":"image_23012025_12_52_15_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1711452076cda45a54a7538d55908466.jpg","text":"TemporaryFile(/tmp/multipartBody8305524928126616412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633273226,"filename":"image_23012025_12_52_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8db91463693580961765e9b274758d31.jpg","text":"TemporaryFile(/tmp/multipartBody5101538950157330759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633273226,"filename":"image_23012025_12_51_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822475","file1":"1330822471","file0":"1330822467","file4":"1330822480","file5":"1330822481","file3":"1330822479"},"map_files_photo_id_array":[{"photo_id":"1330822481","filename":"file5"},{"photo_id":"1330822475","filename":"file2"},{"photo_id":"1330822480","filename":"file4"},{"photo_id":"1330822471","filename":"file1"},{"photo_id":"1330822467","filename":"file0"},{"photo_id":"1330822479","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822481":["hashtag1","hashtag2"]},{"1330822475":["hashtag1","hashtag2"]},{"1330822471":["hashtag1","hashtag2"]},{"1330822480":["hashtag1","hashtag2"]},{"1330822479":["hashtag1","hashtag2"]},{"1330822467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822481, 1330822475, 1330822471, 1330822480, 1330822479, 1330822467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.854923486709595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:54:32.506855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_35_9325.jpg', '/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_45_10435.jpg', '/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_56_10347.jpg', '/home/pi/Desktop/images/23012025/12/52/image_23012025_12_53_05_9364.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_15_10383.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_25_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_35_9325.jpg
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_45_10435.jpg
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_52_56_10347.jpg
/home/pi/Desktop/images/23012025/12/52/image_23012025_12_53_05_9364.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_15_10383.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_25_9416.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":["1330822499","1330822502","1330822495","1330822510","1330822504","1330822507"],"photo_ids_order":["1330822495","1330822499","1330822502","1330822504","1330822507","1330822510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82c63637b91bf1f49c4f0fce482f751d.jpg","text":"TemporaryFile(/tmp/multipartBody609527915480333814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633333418,"filename":"image_23012025_12_52_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70fce1b2828d70588a823172024b002b.jpg","text":"TemporaryFile(/tmp/multipartBody6046913007685208476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633333418,"filename":"image_23012025_12_52_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb9cab5a3ee911d41d7032414ed12931.jpg","text":"TemporaryFile(/tmp/multipartBody2902261284457521306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633333418,"filename":"image_23012025_12_52_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce649bc9e7e9ee874df0b9107af2b30c.jpg","text":"TemporaryFile(/tmp/multipartBody4550792797300495689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633333418,"filename":"image_23012025_12_53_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e09e80f16d874bf91d1522e037e3b7f.jpg","text":"TemporaryFile(/tmp/multipartBody4179379743284242679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633333418,"filename":"image_23012025_12_53_05_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d22150131e26671ff7af4c6697f2478a.jpg","text":"TemporaryFile(/tmp/multipartBody740552443102442054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633333418,"filename":"image_23012025_12_53_15_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822502","file1":"1330822499","file0":"1330822495","file4":"1330822507","file5":"1330822510","file3":"1330822504"},"map_files_photo_id_array":[{"photo_id":"1330822510","filename":"file5"},{"photo_id":"1330822502","filename":"file2"},{"photo_id":"1330822507","filename":"file4"},{"photo_id":"1330822499","filename":"file1"},{"photo_id":"1330822495","filename":"file0"},{"photo_id":"1330822504","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822499":["hashtag1","hashtag2"]},{"1330822502":["hashtag1","hashtag2"]},{"1330822495":["hashtag1","hashtag2"]},{"1330822510":["hashtag1","hashtag2"]},{"1330822504":["hashtag1","hashtag2"]},{"1330822507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822499, 1330822502, 1330822495, 1330822510, 1330822504, 1330822507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.913044929504395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:55:32.747210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_35_10483.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_45_10337.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_55_9348.jpg', '/home/pi/Desktop/images/23012025/12/53/image_23012025_12_54_05_10410.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_16_10337.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_25_9492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_35_10483.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_45_10337.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_53_55_9348.jpg
/home/pi/Desktop/images/23012025/12/53/image_23012025_12_54_05_10410.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_16_10337.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_25_9492.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":["1330822608","1330822602","1330822576","1330822540","1330822587","1330822563"],"photo_ids_order":["1330822540","1330822563","1330822576","1330822587","1330822602","1330822608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/512fb5ca7c7911f22553b4ebae7c88c8.jpg","text":"TemporaryFile(/tmp/multipartBody4223129751228929182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633393658,"filename":"image_23012025_12_54_25_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6a162821f8d072b19bfa7d95b8cc96e.jpg","text":"TemporaryFile(/tmp/multipartBody5510014809025611647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633393658,"filename":"image_23012025_12_54_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70fc5a399443ece2e4dc6ffe03eea6e6.jpg","text":"TemporaryFile(/tmp/multipartBody5290195001299595754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633393658,"filename":"image_23012025_12_53_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/016c44960a50c04e4180454e82ae64fd.jpg","text":"TemporaryFile(/tmp/multipartBody5815342673049215602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633393658,"filename":"image_23012025_12_53_35_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/833a7a18482650c8c546596fd5474bae.jpg","text":"TemporaryFile(/tmp/multipartBody2097197133974992981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633393658,"filename":"image_23012025_12_54_05_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/003afc22ae7663074e85b054f348d06c.jpg","text":"TemporaryFile(/tmp/multipartBody7820492873047650843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633393658,"filename":"image_23012025_12_53_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822576","file1":"1330822563","file0":"1330822540","file4":"1330822602","file5":"1330822608","file3":"1330822587"},"map_files_photo_id_array":[{"photo_id":"1330822608","filename":"file5"},{"photo_id":"1330822576","filename":"file2"},{"photo_id":"1330822602","filename":"file4"},{"photo_id":"1330822563","filename":"file1"},{"photo_id":"1330822540","filename":"file0"},{"photo_id":"1330822587","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822608":["hashtag1","hashtag2"]},{"1330822602":["hashtag1","hashtag2"]},{"1330822576":["hashtag1","hashtag2"]},{"1330822540":["hashtag1","hashtag2"]},{"1330822587":["hashtag1","hashtag2"]},{"1330822563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822608, 1330822602, 1330822576, 1330822540, 1330822587, 1330822563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.66209268569946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:56:33.110137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_35_10344.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_45_9379.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_55_10356.jpg', '/home/pi/Desktop/images/23012025/12/54/image_23012025_12_55_05_10325.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_15_9320.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_25_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_35_10344.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_45_9379.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_54_55_10356.jpg
/home/pi/Desktop/images/23012025/12/54/image_23012025_12_55_05_10325.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_15_9320.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_25_10350.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":["1330822679","1330822673","1330822667","1330822655","1330822645","1330822677"],"photo_ids_order":["1330822645","1330822655","1330822667","1330822673","1330822677","1330822679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b61540c3f1e4d45c4671a18a50949b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8664766989885858581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633454015,"filename":"image_23012025_12_55_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fce0bcddfb50477d50915895f633883c.jpg","text":"TemporaryFile(/tmp/multipartBody8340131959734927818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633454015,"filename":"image_23012025_12_55_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d01ca5cfdd0a180365db3750c8d85b7.jpg","text":"TemporaryFile(/tmp/multipartBody7757209166404544447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633454015,"filename":"image_23012025_12_54_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c100799228391f9accbb25d94ca7c2d6.jpg","text":"TemporaryFile(/tmp/multipartBody8854557221860720060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633454015,"filename":"image_23012025_12_54_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/850623f72dd88791c4a65b7450876369.jpg","text":"TemporaryFile(/tmp/multipartBody2194770057522758900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633454015,"filename":"image_23012025_12_54_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd1ad4ec8143239c629fa06d72578e4b.jpg","text":"TemporaryFile(/tmp/multipartBody8485172777474516661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633454015,"filename":"image_23012025_12_55_15_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822667","file1":"1330822655","file0":"1330822645","file4":"1330822677","file5":"1330822679","file3":"1330822673"},"map_files_photo_id_array":[{"photo_id":"1330822679","filename":"file5"},{"photo_id":"1330822667","filename":"file2"},{"photo_id":"1330822677","filename":"file4"},{"photo_id":"1330822655","filename":"file1"},{"photo_id":"1330822645","filename":"file0"},{"photo_id":"1330822673","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822679":["hashtag1","hashtag2"]},{"1330822673":["hashtag1","hashtag2"]},{"1330822667":["hashtag1","hashtag2"]},{"1330822655":["hashtag1","hashtag2"]},{"1330822645":["hashtag1","hashtag2"]},{"1330822677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822679, 1330822673, 1330822667, 1330822655, 1330822645, 1330822677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97586131095886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 12:57:32.401414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_35_10342.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_45_9333.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_55_10431.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_56_06_10329.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_15_9344.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_25_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_35_10342.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_45_9333.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_55_10431.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_56_06_10329.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_15_9344.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_25_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 12:59:03.672770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_35_10342.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_45_9333.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_55_10431.jpg', '/home/pi/Desktop/images/23012025/12/55/image_23012025_12_56_06_10329.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_15_9344.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_25_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_35_10342.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_45_9333.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_55_55_10431.jpg
/home/pi/Desktop/images/23012025/12/55/image_23012025_12_56_06_10329.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_15_9344.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_25_10373.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":["1330822812","1330822799","1330822819","1330822828","1330822824","1330822803"],"photo_ids_order":["1330822799","1330822803","1330822812","1330822819","1330822824","1330822828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e42fa7ee1364de5ae47bdaf4818a331e.jpg","text":"TemporaryFile(/tmp/multipartBody7851138452433318465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633606149,"filename":"image_23012025_12_55_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0736e848e72e7940565dc778c60926ff.jpg","text":"TemporaryFile(/tmp/multipartBody3136776758241601616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633606149,"filename":"image_23012025_12_55_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/baebf409ac11aeecc991e701cefae50b.jpg","text":"TemporaryFile(/tmp/multipartBody351538525802303104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633606149,"filename":"image_23012025_12_56_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f33fcfbb8abba1b7abdce98e6e978fde.jpg","text":"TemporaryFile(/tmp/multipartBody4462021344466553079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633606149,"filename":"image_23012025_12_56_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b160ea293644ecce89053cbb48e338bf.jpg","text":"TemporaryFile(/tmp/multipartBody2536675416890856856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633606149,"filename":"image_23012025_12_56_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00515a7f35f12bb64dfacd2542c974d5.jpg","text":"TemporaryFile(/tmp/multipartBody5745464403630033929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633606149,"filename":"image_23012025_12_55_45_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822812","file1":"1330822803","file0":"1330822799","file4":"1330822824","file5":"1330822828","file3":"1330822819"},"map_files_photo_id_array":[{"photo_id":"1330822828","filename":"file5"},{"photo_id":"1330822812","filename":"file2"},{"photo_id":"1330822824","filename":"file4"},{"photo_id":"1330822803","filename":"file1"},{"photo_id":"1330822799","filename":"file0"},{"photo_id":"1330822819","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822812":["hashtag1","hashtag2"]},{"1330822799":["hashtag1","hashtag2"]},{"1330822819":["hashtag1","hashtag2"]},{"1330822828":["hashtag1","hashtag2"]},{"1330822824":["hashtag1","hashtag2"]},{"1330822803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822812, 1330822799, 1330822819, 1330822828, 1330822824, 1330822803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.692097425460815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 13:00:03.757324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_35_9354.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_45_10444.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_55_10361.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_57_05_9330.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_15_10340.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_25_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_35_9354.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_45_10444.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_55_10361.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_57_05_9330.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_15_10340.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_25_10354.jpg
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: 0.5519442558288574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:00:32.954840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_35_9354.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_45_10444.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_55_10361.jpg', '/home/pi/Desktop/images/23012025/12/56/image_23012025_12_57_05_9330.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_15_10340.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_25_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_35_9354.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_45_10444.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_56_55_10361.jpg
/home/pi/Desktop/images/23012025/12/56/image_23012025_12_57_05_9330.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_15_10340.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_25_10354.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":["1330822911","1330822921","1330822924","1330822896","1330822887","1330822863"],"photo_ids_order":["1330822863","1330822887","1330822896","1330822911","1330822921","1330822924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af2cb58e7031e10e22281479fa17f590.jpg","text":"TemporaryFile(/tmp/multipartBody3819252830374836779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633693859,"filename":"image_23012025_12_57_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c67d3442fdeec9a7c1019b828c524497.jpg","text":"TemporaryFile(/tmp/multipartBody3297710116054100868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633693859,"filename":"image_23012025_12_57_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2aa876e079452fb6e9f814b60ddcf7a.jpg","text":"TemporaryFile(/tmp/multipartBody8090299991573433769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633693859,"filename":"image_23012025_12_57_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/499f1193a9102c051b3f87b6f52cc48e.jpg","text":"TemporaryFile(/tmp/multipartBody4761028444388802614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633693859,"filename":"image_23012025_12_56_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/979e889d39cfec4c26dd73e10845a692.jpg","text":"TemporaryFile(/tmp/multipartBody216692681920254711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633693859,"filename":"image_23012025_12_56_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e296a2e84c4bea0f1fd0bf385eaf382a.jpg","text":"TemporaryFile(/tmp/multipartBody2239758122246751461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633693859,"filename":"image_23012025_12_56_35_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330822896","file1":"1330822887","file0":"1330822863","file4":"1330822921","file5":"1330822924","file3":"1330822911"},"map_files_photo_id_array":[{"photo_id":"1330822924","filename":"file5"},{"photo_id":"1330822896","filename":"file2"},{"photo_id":"1330822921","filename":"file4"},{"photo_id":"1330822887","filename":"file1"},{"photo_id":"1330822863","filename":"file0"},{"photo_id":"1330822911","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330822911":["hashtag1","hashtag2"]},{"1330822921":["hashtag1","hashtag2"]},{"1330822924":["hashtag1","hashtag2"]},{"1330822896":["hashtag1","hashtag2"]},{"1330822887":["hashtag1","hashtag2"]},{"1330822863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330822911, 1330822921, 1330822924, 1330822896, 1330822887, 1330822863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2993426322937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:01:33.116540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_35_9366.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_45_10427.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_55_9350.jpg', '/home/pi/Desktop/images/23012025/12/57/image_23012025_12_58_05_10433.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_15_10398.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_25_9523.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_35_9366.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_45_10427.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_57_55_9350.jpg
/home/pi/Desktop/images/23012025/12/57/image_23012025_12_58_05_10433.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_15_10398.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_25_9523.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":["1330823092","1330823077","1330823044","1330823094","1330823100","1330823087"],"photo_ids_order":["1330823044","1330823077","1330823087","1330823092","1330823094","1330823100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6526e658a2abb1a6b97a92a153e8932.jpg","text":"TemporaryFile(/tmp/multipartBody5145225599821343166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633754073,"filename":"image_23012025_12_58_05_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2e5aa956dcb7447fd528574c3127049.jpg","text":"TemporaryFile(/tmp/multipartBody7138081758755269335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633754073,"filename":"image_23012025_12_57_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d9388d69d3e83463c8784527b85cd63.jpg","text":"TemporaryFile(/tmp/multipartBody8460778237539112298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633754073,"filename":"image_23012025_12_57_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/707a761a61e4be9f6ac6b8793d5b1e69.jpg","text":"TemporaryFile(/tmp/multipartBody6456440217645354926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633754073,"filename":"image_23012025_12_58_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2874367c6db1cfd059b4012f14e625ff.jpg","text":"TemporaryFile(/tmp/multipartBody9145912851081165489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633754073,"filename":"image_23012025_12_58_25_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36a0017a79c8b37f0efbddf2e9811743.jpg","text":"TemporaryFile(/tmp/multipartBody2261020199828561576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633754073,"filename":"image_23012025_12_57_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823087","file1":"1330823077","file0":"1330823044","file4":"1330823094","file5":"1330823100","file3":"1330823092"},"map_files_photo_id_array":[{"photo_id":"1330823100","filename":"file5"},{"photo_id":"1330823087","filename":"file2"},{"photo_id":"1330823094","filename":"file4"},{"photo_id":"1330823077","filename":"file1"},{"photo_id":"1330823044","filename":"file0"},{"photo_id":"1330823092","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823092":["hashtag1","hashtag2"]},{"1330823077":["hashtag1","hashtag2"]},{"1330823044":["hashtag1","hashtag2"]},{"1330823094":["hashtag1","hashtag2"]},{"1330823100":["hashtag1","hashtag2"]},{"1330823087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823092, 1330823077, 1330823044, 1330823094, 1330823100, 1330823087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6761999130249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:02:32.363605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_35_10351.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_45_9318.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_55_10492.jpg', '/home/pi/Desktop/images/23012025/12/58/image_23012025_12_59_06_10346.jpg', '/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_15_9324.jpg', '/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_25_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_35_10351.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_45_9318.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_58_55_10492.jpg
/home/pi/Desktop/images/23012025/12/58/image_23012025_12_59_06_10346.jpg
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_15_9324.jpg
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_25_10421.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":["1330823135","1330823134","1330823128","1330823131","1330823125","1330823136"],"photo_ids_order":["1330823125","1330823128","1330823131","1330823134","1330823135","1330823136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/942497509f6a344841e43839a9b3f16d.jpg","text":"TemporaryFile(/tmp/multipartBody1502928354367724354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633813285,"filename":"image_23012025_12_59_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53dac3d1bbba685955abf21d02ca1ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4120662791773324367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633813285,"filename":"image_23012025_12_59_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2454fcc29b65cba61df2eff691b531e3.jpg","text":"TemporaryFile(/tmp/multipartBody3529547049114150713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633813285,"filename":"image_23012025_12_58_45_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6877942345f13f5f83af5c71514236b.jpg","text":"TemporaryFile(/tmp/multipartBody150070964982297528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633813285,"filename":"image_23012025_12_58_55_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61f1a57a666bd5ef0a9eb9ed900640b9.jpg","text":"TemporaryFile(/tmp/multipartBody1751256962728491119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633813285,"filename":"image_23012025_12_58_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f99616be02536131d84c9f9bfaf5a65.jpg","text":"TemporaryFile(/tmp/multipartBody4008884491751855169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633813285,"filename":"image_23012025_12_59_25_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823131","file1":"1330823128","file0":"1330823125","file4":"1330823135","file5":"1330823136","file3":"1330823134"},"map_files_photo_id_array":[{"photo_id":"1330823136","filename":"file5"},{"photo_id":"1330823131","filename":"file2"},{"photo_id":"1330823135","filename":"file4"},{"photo_id":"1330823128","filename":"file1"},{"photo_id":"1330823125","filename":"file0"},{"photo_id":"1330823134","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823135":["hashtag1","hashtag2"]},{"1330823134":["hashtag1","hashtag2"]},{"1330823128":["hashtag1","hashtag2"]},{"1330823131":["hashtag1","hashtag2"]},{"1330823125":["hashtag1","hashtag2"]},{"1330823136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823135, 1330823134, 1330823128, 1330823131, 1330823125, 1330823136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.911704540252686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:03:32.516185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_36_10339.jpg', '/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_45_9333.jpg', '/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_55_10401.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_15_10072.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_25_10417.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_36_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_36_10339.jpg
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_45_9333.jpg
/home/pi/Desktop/images/23012025/12/59/image_23012025_12_59_55_10401.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_15_10072.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_25_10417.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_36_10324.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":["1330823162","1330823165","1330823170","1330823181","1330823175","1330823178"],"photo_ids_order":["1330823162","1330823165","1330823170","1330823175","1330823178","1330823181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/526cda9c3935deb00ac568363b8f6214.jpg","text":"TemporaryFile(/tmp/multipartBody3865602521293296003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633873423,"filename":"image_23012025_12_59_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8c91671b5027feb1c031827554a686a.jpg","text":"TemporaryFile(/tmp/multipartBody4948064250034976520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633873423,"filename":"image_23012025_12_59_45_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9922e0a73c41042623c1363a87ec52f8.jpg","text":"TemporaryFile(/tmp/multipartBody911338932562264279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633873423,"filename":"image_23012025_12_59_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4617be4a144795e3837aa3f6e0cd60d.jpg","text":"TemporaryFile(/tmp/multipartBody8633377221235701386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633873423,"filename":"image_23012025_13_01_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b53500f32b693004bbfaa68b91d3a545.jpg","text":"TemporaryFile(/tmp/multipartBody3592976566143138844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633873423,"filename":"image_23012025_13_01_15_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33daa9101baf1fcd2849d157fd34757c.jpg","text":"TemporaryFile(/tmp/multipartBody31247514397530796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633873423,"filename":"image_23012025_13_01_25_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823170","file1":"1330823165","file0":"1330823162","file4":"1330823178","file5":"1330823181","file3":"1330823175"},"map_files_photo_id_array":[{"photo_id":"1330823181","filename":"file5"},{"photo_id":"1330823170","filename":"file2"},{"photo_id":"1330823178","filename":"file4"},{"photo_id":"1330823165","filename":"file1"},{"photo_id":"1330823162","filename":"file0"},{"photo_id":"1330823175","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823162":["hashtag1","hashtag2"]},{"1330823165":["hashtag1","hashtag2"]},{"1330823170":["hashtag1","hashtag2"]},{"1330823181":["hashtag1","hashtag2"]},{"1330823175":["hashtag1","hashtag2"]},{"1330823178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823162, 1330823165, 1330823170, 1330823181, 1330823175, 1330823178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08053135871887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:04:32.539097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_45_9435.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_55_10351.jpg', '/home/pi/Desktop/images/23012025/13/01/image_23012025_13_02_05_9419.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_15_10408.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_26_10355.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_35_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_45_9435.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_01_55_10351.jpg
/home/pi/Desktop/images/23012025/13/01/image_23012025_13_02_05_9419.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_15_10408.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_26_10355.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_35_9381.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":["1330823210","1330823204","1330823213","1330823200","1330823196","1330823208"],"photo_ids_order":["1330823196","1330823200","1330823204","1330823208","1330823210","1330823213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a66cf316e3c409e2c5ae65bdcb40b73.jpg","text":"TemporaryFile(/tmp/multipartBody6911120177112194217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633933436,"filename":"image_23012025_13_02_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ffbde7aef4aed26d6cb0f59faaa3646.jpg","text":"TemporaryFile(/tmp/multipartBody7938116574743507432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633933436,"filename":"image_23012025_13_02_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d3ddc2238ca7571c682c201c947df2b.jpg","text":"TemporaryFile(/tmp/multipartBody4339484567846399413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633933436,"filename":"image_23012025_13_02_35_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14b2fc7efbb1ae44735f3734d4bba4c4.jpg","text":"TemporaryFile(/tmp/multipartBody5314914511661837222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633933436,"filename":"image_23012025_13_01_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/176166e03693bfb6bc9b084bcaed44fd.jpg","text":"TemporaryFile(/tmp/multipartBody2465441167038420242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633933436,"filename":"image_23012025_13_01_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d10e8679af82eab79d9b231234e09218.jpg","text":"TemporaryFile(/tmp/multipartBody6249608778094039226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633933436,"filename":"image_23012025_13_02_15_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823204","file1":"1330823200","file0":"1330823196","file4":"1330823210","file5":"1330823213","file3":"1330823208"},"map_files_photo_id_array":[{"photo_id":"1330823213","filename":"file5"},{"photo_id":"1330823204","filename":"file2"},{"photo_id":"1330823210","filename":"file4"},{"photo_id":"1330823200","filename":"file1"},{"photo_id":"1330823196","filename":"file0"},{"photo_id":"1330823208","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823210":["hashtag1","hashtag2"]},{"1330823204":["hashtag1","hashtag2"]},{"1330823213":["hashtag1","hashtag2"]},{"1330823200":["hashtag1","hashtag2"]},{"1330823196":["hashtag1","hashtag2"]},{"1330823208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823210, 1330823204, 1330823213, 1330823200, 1330823196, 1330823208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1403648853302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:05:32.722061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_45_10419.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_56_10380.jpg', '/home/pi/Desktop/images/23012025/13/02/image_23012025_13_03_05_9440.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_16_10331.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_25_9332.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_35_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_45_10419.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_02_56_10380.jpg
/home/pi/Desktop/images/23012025/13/02/image_23012025_13_03_05_9440.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_16_10331.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_25_9332.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_35_10393.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":["1330823255","1330823246","1330823242","1330823239","1330823250","1330823253"],"photo_ids_order":["1330823239","1330823242","1330823246","1330823250","1330823253","1330823255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6efde027a1318266e697aee4ac1e40d0.jpg","text":"TemporaryFile(/tmp/multipartBody2086743650752320443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993626,"filename":"image_23012025_13_03_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ac253da07d484faba8cf751c8e7b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8603901830672201205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993626,"filename":"image_23012025_13_03_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65e63129c34f06428aa7e85ae079b1b6.jpg","text":"TemporaryFile(/tmp/multipartBody4281044759046159318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993626,"filename":"image_23012025_13_02_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ce898b6202accfb61c9341c9f56e89c.jpg","text":"TemporaryFile(/tmp/multipartBody6893476055047063162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993626,"filename":"image_23012025_13_02_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7bad195546e98c33f325c35dbdfd13e.jpg","text":"TemporaryFile(/tmp/multipartBody3163906271859147015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993626,"filename":"image_23012025_13_03_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/960da89206dbaf27516d3bb4fee242f2.jpg","text":"TemporaryFile(/tmp/multipartBody7831019473341344925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737633993626,"filename":"image_23012025_13_03_25_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823246","file1":"1330823242","file0":"1330823239","file4":"1330823253","file5":"1330823255","file3":"1330823250"},"map_files_photo_id_array":[{"photo_id":"1330823255","filename":"file5"},{"photo_id":"1330823246","filename":"file2"},{"photo_id":"1330823253","filename":"file4"},{"photo_id":"1330823242","filename":"file1"},{"photo_id":"1330823239","filename":"file0"},{"photo_id":"1330823250","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823255":["hashtag1","hashtag2"]},{"1330823246":["hashtag1","hashtag2"]},{"1330823242":["hashtag1","hashtag2"]},{"1330823239":["hashtag1","hashtag2"]},{"1330823250":["hashtag1","hashtag2"]},{"1330823253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823255, 1330823246, 1330823242, 1330823239, 1330823250, 1330823253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.422860622406006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:06:33.011511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_46_10343.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_55_9456.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_04_05_10325.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_16_10332.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_25_9454.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_36_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_46_10343.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_55_9456.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_04_05_10325.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_16_10332.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_25_9454.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_36_10327.jpg
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: 0.5098679065704346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 13:06:43.041380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_46_10343.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_55_9456.jpg', '/home/pi/Desktop/images/23012025/13/03/image_23012025_13_04_05_10325.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_16_10332.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_25_9454.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_36_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_46_10343.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_03_55_9456.jpg
/home/pi/Desktop/images/23012025/13/03/image_23012025_13_04_05_10325.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_16_10332.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_25_9454.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_36_10327.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":["1330823303","1330823281","1330823300","1330823287","1330823291","1330823294"],"photo_ids_order":["1330823281","1330823287","1330823291","1330823294","1330823300","1330823303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b1729b3a733b7f7daf66795e7552a21.jpg","text":"TemporaryFile(/tmp/multipartBody6057023287181278839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634063942,"filename":"image_23012025_13_04_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f55992c764c6d2498b67f9168faf1f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5608729123114465136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634063942,"filename":"image_23012025_13_03_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b5d749ffc580b5375cd023d3d989590.jpg","text":"TemporaryFile(/tmp/multipartBody2533274563912817191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634063942,"filename":"image_23012025_13_04_25_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac73778f3d040cceb476e166d24b2b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3011229612664957224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634063942,"filename":"image_23012025_13_03_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95c9b60db9507a79e052be68e761eecc.jpg","text":"TemporaryFile(/tmp/multipartBody1888720601830935469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634063942,"filename":"image_23012025_13_04_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d223990714463a573be6533c676a479c.jpg","text":"TemporaryFile(/tmp/multipartBody3411668104599248162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634063942,"filename":"image_23012025_13_04_16_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823291","file1":"1330823287","file0":"1330823281","file4":"1330823300","file5":"1330823303","file3":"1330823294"},"map_files_photo_id_array":[{"photo_id":"1330823303","filename":"file5"},{"photo_id":"1330823291","filename":"file2"},{"photo_id":"1330823300","filename":"file4"},{"photo_id":"1330823287","filename":"file1"},{"photo_id":"1330823281","filename":"file0"},{"photo_id":"1330823294","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823303":["hashtag1","hashtag2"]},{"1330823281":["hashtag1","hashtag2"]},{"1330823300":["hashtag1","hashtag2"]},{"1330823287":["hashtag1","hashtag2"]},{"1330823291":["hashtag1","hashtag2"]},{"1330823294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823303, 1330823281, 1330823300, 1330823287, 1330823291, 1330823294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30734920501709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:07:32.266547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_45_9448.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_55_10361.jpg', '/home/pi/Desktop/images/23012025/13/04/image_23012025_13_05_06_10411.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_15_9415.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_26_10339.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_35_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_45_9448.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_04_55_10361.jpg
/home/pi/Desktop/images/23012025/13/04/image_23012025_13_05_06_10411.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_15_9415.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_26_10339.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_35_9327.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":["1330823315","1330823339","1330823365","1330823335","1330823343","1330823319"],"photo_ids_order":["1330823315","1330823319","1330823335","1330823339","1330823343","1330823365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60dc36826bb3ed0ece533418eb749b98.jpg","text":"TemporaryFile(/tmp/multipartBody906008907793496329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113163,"filename":"image_23012025_13_04_45_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac923ab6627d5b6b073c4a5fc7de1a01.jpg","text":"TemporaryFile(/tmp/multipartBody3988669418724403847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113163,"filename":"image_23012025_13_05_15_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37111f0e67420cf843c33be43a67e952.jpg","text":"TemporaryFile(/tmp/multipartBody13770121464655213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113163,"filename":"image_23012025_13_05_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ab0c24ab63ed5eb3be852ea4a8d6268.jpg","text":"TemporaryFile(/tmp/multipartBody7404587826503861057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113163,"filename":"image_23012025_13_05_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d753f2e84e93b7ede260a69620dae369.jpg","text":"TemporaryFile(/tmp/multipartBody4747587861158739636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113163,"filename":"image_23012025_13_05_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee457dd79e6983bf443b60acb3e3ae69.jpg","text":"TemporaryFile(/tmp/multipartBody7394566323127028563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634113163,"filename":"image_23012025_13_04_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823335","file1":"1330823319","file0":"1330823315","file4":"1330823343","file5":"1330823365","file3":"1330823339"},"map_files_photo_id_array":[{"photo_id":"1330823365","filename":"file5"},{"photo_id":"1330823335","filename":"file2"},{"photo_id":"1330823343","filename":"file4"},{"photo_id":"1330823319","filename":"file1"},{"photo_id":"1330823315","filename":"file0"},{"photo_id":"1330823339","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823315":["hashtag1","hashtag2"]},{"1330823339":["hashtag1","hashtag2"]},{"1330823365":["hashtag1","hashtag2"]},{"1330823335":["hashtag1","hashtag2"]},{"1330823343":["hashtag1","hashtag2"]},{"1330823319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823315, 1330823339, 1330823365, 1330823335, 1330823343, 1330823319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81405305862427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:08:32.371763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_45_10398.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_56_10381.jpg', '/home/pi/Desktop/images/23012025/13/05/image_23012025_13_06_05_9367.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_15_10345.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_26_10368.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_35_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_45_10398.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_05_56_10381.jpg
/home/pi/Desktop/images/23012025/13/05/image_23012025_13_06_05_9367.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_15_10345.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_26_10368.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_35_9399.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":["1330823402","1330823405","1330823380","1330823398","1330823385","1330823393"],"photo_ids_order":["1330823380","1330823385","1330823393","1330823398","1330823402","1330823405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30fb286fc97fe5552faa6ac27a12118a.jpg","text":"TemporaryFile(/tmp/multipartBody5265464624444399269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634173278,"filename":"image_23012025_13_06_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a83376410adf8b286ee2bcf15705417.jpg","text":"TemporaryFile(/tmp/multipartBody7900224831251898619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634173278,"filename":"image_23012025_13_06_35_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/482daf9591c2827da6e3e3a5d56a8027.jpg","text":"TemporaryFile(/tmp/multipartBody287948715216848812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634173278,"filename":"image_23012025_13_05_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b6fb31092049b2d05f7997db9cd2f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6738173197480122449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634173278,"filename":"image_23012025_13_06_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2451d3dd2276cf025a17fa6309dabd2.jpg","text":"TemporaryFile(/tmp/multipartBody1382584038346014535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634173278,"filename":"image_23012025_13_05_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/445996f22bd72c568efac160cf9d3a10.jpg","text":"TemporaryFile(/tmp/multipartBody6437937871017681254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634173278,"filename":"image_23012025_13_06_05_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823393","file1":"1330823385","file0":"1330823380","file4":"1330823402","file5":"1330823405","file3":"1330823398"},"map_files_photo_id_array":[{"photo_id":"1330823405","filename":"file5"},{"photo_id":"1330823393","filename":"file2"},{"photo_id":"1330823402","filename":"file4"},{"photo_id":"1330823385","filename":"file1"},{"photo_id":"1330823380","filename":"file0"},{"photo_id":"1330823398","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823402":["hashtag1","hashtag2"]},{"1330823405":["hashtag1","hashtag2"]},{"1330823380":["hashtag1","hashtag2"]},{"1330823398":["hashtag1","hashtag2"]},{"1330823385":["hashtag1","hashtag2"]},{"1330823393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823402, 1330823405, 1330823380, 1330823398, 1330823385, 1330823393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.276816844940186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:09:32.592773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_45_10321.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_55_9416.jpg', '/home/pi/Desktop/images/23012025/13/06/image_23012025_13_07_05_10332.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_16_10325.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_25_9351.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_35_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_45_10321.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_06_55_9416.jpg
/home/pi/Desktop/images/23012025/13/06/image_23012025_13_07_05_10332.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_16_10325.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_25_9351.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_35_10364.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":["1330823447","1330823444","1330823449","1330823428","1330823439","1330823433"],"photo_ids_order":["1330823428","1330823433","1330823439","1330823444","1330823447","1330823449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79b4564225f348c01618f1a75b06c6d4.jpg","text":"TemporaryFile(/tmp/multipartBody8875974564454874886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634233499,"filename":"image_23012025_13_07_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/720960f793c94d4829dd94c9c40af2c1.jpg","text":"TemporaryFile(/tmp/multipartBody348756962459897263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634233499,"filename":"image_23012025_13_07_16_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e5adb113a305cdd174fe3452d0dbeb9.jpg","text":"TemporaryFile(/tmp/multipartBody1698464101473981903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634233499,"filename":"image_23012025_13_07_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfe614907aa06d8128d334ffbe476436.jpg","text":"TemporaryFile(/tmp/multipartBody6872976665773358971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634233499,"filename":"image_23012025_13_06_45_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85e30b25fd7dd3b9f73dd744190364b1.jpg","text":"TemporaryFile(/tmp/multipartBody4682370685422464343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634233499,"filename":"image_23012025_13_07_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0754fbb94c039448a9c51b45f71d253e.jpg","text":"TemporaryFile(/tmp/multipartBody4002556336070609649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634233499,"filename":"image_23012025_13_06_55_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330823439","file1":"1330823433","file0":"1330823428","file4":"1330823447","file5":"1330823449","file3":"1330823444"},"map_files_photo_id_array":[{"photo_id":"1330823449","filename":"file5"},{"photo_id":"1330823439","filename":"file2"},{"photo_id":"1330823447","filename":"file4"},{"photo_id":"1330823433","filename":"file1"},{"photo_id":"1330823428","filename":"file0"},{"photo_id":"1330823444","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330823447":["hashtag1","hashtag2"]},{"1330823444":["hashtag1","hashtag2"]},{"1330823449":["hashtag1","hashtag2"]},{"1330823428":["hashtag1","hashtag2"]},{"1330823439":["hashtag1","hashtag2"]},{"1330823433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330823447, 1330823444, 1330823449, 1330823428, 1330823439, 1330823433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69319176673889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:10:32.790428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_46_10332.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_55_9355.jpg', '/home/pi/Desktop/images/23012025/13/07/image_23012025_13_08_05_10388.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_16_10322.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_25_9477.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_46_10332.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_07_55_9355.jpg
/home/pi/Desktop/images/23012025/13/07/image_23012025_13_08_05_10388.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_16_10322.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_25_9477.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_35_10352.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":["1330824436","1330824424","1330824390","1330824393","1330824429","1330824417"],"photo_ids_order":["1330824390","1330824393","1330824417","1330824424","1330824429","1330824436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/261666f45d2f62215b6cf88ab20e145c.jpg","text":"TemporaryFile(/tmp/multipartBody6481176877079402797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634293828,"filename":"image_23012025_13_08_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06469fc2533ad2192d37e063c0fe068d.jpg","text":"TemporaryFile(/tmp/multipartBody4342758219586108013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634293828,"filename":"image_23012025_13_08_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/822f8a33d84056470686833572f59bde.jpg","text":"TemporaryFile(/tmp/multipartBody8769050063326618742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634293828,"filename":"image_23012025_13_07_46_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38c095b6859607924cbf26304876098d.jpg","text":"TemporaryFile(/tmp/multipartBody164430935957175217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634293828,"filename":"image_23012025_13_07_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6b5a096ecc22e7e8a08b697d6a72140.jpg","text":"TemporaryFile(/tmp/multipartBody1116241344745444693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634293828,"filename":"image_23012025_13_08_25_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac4ecf012b86fdefa7ac6e6c8e3e73d0.jpg","text":"TemporaryFile(/tmp/multipartBody7958237678388001943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634293828,"filename":"image_23012025_13_08_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330824417","file1":"1330824393","file0":"1330824390","file4":"1330824429","file5":"1330824436","file3":"1330824424"},"map_files_photo_id_array":[{"photo_id":"1330824436","filename":"file5"},{"photo_id":"1330824417","filename":"file2"},{"photo_id":"1330824429","filename":"file4"},{"photo_id":"1330824393","filename":"file1"},{"photo_id":"1330824390","filename":"file0"},{"photo_id":"1330824424","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330824436":["hashtag1","hashtag2"]},{"1330824424":["hashtag1","hashtag2"]},{"1330824390":["hashtag1","hashtag2"]},{"1330824393":["hashtag1","hashtag2"]},{"1330824429":["hashtag1","hashtag2"]},{"1330824417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330824436, 1330824424, 1330824390, 1330824393, 1330824429, 1330824417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4052951335907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:11:33.001125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_46_10341.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_55_9355.jpg', '/home/pi/Desktop/images/23012025/13/08/image_23012025_13_09_06_10387.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_15_9377.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_25_10442.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_46_10341.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_08_55_9355.jpg
/home/pi/Desktop/images/23012025/13/08/image_23012025_13_09_06_10387.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_15_9377.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_25_10442.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_36_10346.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":["1330824508","1330824486","1330824491","1330824494","1330824683","1330824512"],"photo_ids_order":["1330824486","1330824491","1330824494","1330824508","1330824512","1330824683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/538c8fe355fa72dd877449c93f41cfa4.jpg","text":"TemporaryFile(/tmp/multipartBody7174769495259819238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634353929,"filename":"image_23012025_13_09_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e15fc78044d2c03bc4dc9d2f14b91ea.jpg","text":"TemporaryFile(/tmp/multipartBody1092687549077921459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634353929,"filename":"image_23012025_13_08_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3944de4045cd0a1f0db53d34419fc04.jpg","text":"TemporaryFile(/tmp/multipartBody614968590433394079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634353929,"filename":"image_23012025_13_08_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77c1eff53b3d4db6470bf10c0c8e4a42.jpg","text":"TemporaryFile(/tmp/multipartBody6625535301715295222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634353929,"filename":"image_23012025_13_09_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d447d488f1ff4bb1f16d4b218e9f9c4.jpg","text":"TemporaryFile(/tmp/multipartBody7853508411451767114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634353929,"filename":"image_23012025_13_09_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc31b94427a740b73630449d4c8bde80.jpg","text":"TemporaryFile(/tmp/multipartBody1550347824080471729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634353929,"filename":"image_23012025_13_09_25_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330824494","file1":"1330824491","file0":"1330824486","file4":"1330824512","file5":"1330824683","file3":"1330824508"},"map_files_photo_id_array":[{"photo_id":"1330824683","filename":"file5"},{"photo_id":"1330824494","filename":"file2"},{"photo_id":"1330824512","filename":"file4"},{"photo_id":"1330824491","filename":"file1"},{"photo_id":"1330824486","filename":"file0"},{"photo_id":"1330824508","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330824508":["hashtag1","hashtag2"]},{"1330824486":["hashtag1","hashtag2"]},{"1330824491":["hashtag1","hashtag2"]},{"1330824494":["hashtag1","hashtag2"]},{"1330824683":["hashtag1","hashtag2"]},{"1330824512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330824508, 1330824486, 1330824491, 1330824494, 1330824683, 1330824512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84856939315796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:12:32.253333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_45_9357.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_55_10369.jpg', '/home/pi/Desktop/images/23012025/13/09/image_23012025_13_10_06_10332.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_15_9350.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_25_10368.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_36_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_45_9357.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_09_55_10369.jpg
/home/pi/Desktop/images/23012025/13/09/image_23012025_13_10_06_10332.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_15_9350.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_25_10368.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_36_10345.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":["1330825177","1330825156","1330825194","1330825086","1330825200","1330825199"],"photo_ids_order":["1330825086","1330825156","1330825177","1330825194","1330825199","1330825200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e2bfb4bce59d1017e35e31ef8fd4714.jpg","text":"TemporaryFile(/tmp/multipartBody6168369802774670204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413161,"filename":"image_23012025_13_10_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dce44167eaa1c12d667ce94dd571f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody8440537125310391797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413161,"filename":"image_23012025_13_09_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ea96e5becbd1304f10b0bf41b179d4e.jpg","text":"TemporaryFile(/tmp/multipartBody5154646071228818985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413161,"filename":"image_23012025_13_10_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f21b2280b0d880625b8ef060f3bf03ad.jpg","text":"TemporaryFile(/tmp/multipartBody7638529059321451473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413161,"filename":"image_23012025_13_09_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24dd147530a73f0571c103ce8c10967a.jpg","text":"TemporaryFile(/tmp/multipartBody1708761193363971643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413161,"filename":"image_23012025_13_10_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eb25260e5aaad4ec692543792356752.jpg","text":"TemporaryFile(/tmp/multipartBody2317436545081952572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634413161,"filename":"image_23012025_13_10_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825177","file1":"1330825156","file0":"1330825086","file4":"1330825199","file5":"1330825200","file3":"1330825194"},"map_files_photo_id_array":[{"photo_id":"1330825200","filename":"file5"},{"photo_id":"1330825177","filename":"file2"},{"photo_id":"1330825199","filename":"file4"},{"photo_id":"1330825156","filename":"file1"},{"photo_id":"1330825086","filename":"file0"},{"photo_id":"1330825194","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825177":["hashtag1","hashtag2"]},{"1330825156":["hashtag1","hashtag2"]},{"1330825194":["hashtag1","hashtag2"]},{"1330825086":["hashtag1","hashtag2"]},{"1330825200":["hashtag1","hashtag2"]},{"1330825199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825177, 1330825156, 1330825194, 1330825086, 1330825200, 1330825199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87464499473572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:13:32.437914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_45_9351.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_56_10358.jpg', '/home/pi/Desktop/images/23012025/13/10/image_23012025_13_11_05_9317.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_15_10408.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_26_10411.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_35_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_45_9351.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_10_56_10358.jpg
/home/pi/Desktop/images/23012025/13/10/image_23012025_13_11_05_9317.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_15_10408.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_26_10411.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_35_9428.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":["1330825260","1330825254","1330825268","1330825265","1330825244","1330825229"],"photo_ids_order":["1330825229","1330825244","1330825254","1330825260","1330825265","1330825268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43431fe7f68bd4ddc882b7d359192e93.jpg","text":"TemporaryFile(/tmp/multipartBody601786484446526252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473366,"filename":"image_23012025_13_11_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0411ca09cfcc4f9f64336780ef5fcacf.jpg","text":"TemporaryFile(/tmp/multipartBody7238761475365536491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473366,"filename":"image_23012025_13_11_05_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/660c64f86801c28b64b713cf5ffdc235.jpg","text":"TemporaryFile(/tmp/multipartBody2410178308620671324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473366,"filename":"image_23012025_13_11_35_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dff0b31c2b6da94b4ac203f71b91229.jpg","text":"TemporaryFile(/tmp/multipartBody6912688170810196840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473366,"filename":"image_23012025_13_11_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9a1252758e87076638cc7677a9d6a07.jpg","text":"TemporaryFile(/tmp/multipartBody8674449459616858378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473366,"filename":"image_23012025_13_10_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a34aa322b53f1dc89e8f7587325388c3.jpg","text":"TemporaryFile(/tmp/multipartBody7384395953703445558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634473366,"filename":"image_23012025_13_10_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825254","file1":"1330825244","file0":"1330825229","file4":"1330825265","file5":"1330825268","file3":"1330825260"},"map_files_photo_id_array":[{"photo_id":"1330825268","filename":"file5"},{"photo_id":"1330825254","filename":"file2"},{"photo_id":"1330825265","filename":"file4"},{"photo_id":"1330825244","filename":"file1"},{"photo_id":"1330825229","filename":"file0"},{"photo_id":"1330825260","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825260":["hashtag1","hashtag2"]},{"1330825254":["hashtag1","hashtag2"]},{"1330825268":["hashtag1","hashtag2"]},{"1330825265":["hashtag1","hashtag2"]},{"1330825244":["hashtag1","hashtag2"]},{"1330825229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825260, 1330825254, 1330825268, 1330825265, 1330825244, 1330825229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12277960777283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:14:32.668166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_45_10324.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_56_10416.jpg', '/home/pi/Desktop/images/23012025/13/11/image_23012025_13_12_05_9412.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_16_10354.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_25_9433.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_35_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_45_10324.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_11_56_10416.jpg
/home/pi/Desktop/images/23012025/13/11/image_23012025_13_12_05_9412.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_16_10354.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_25_9433.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_35_10344.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":["1330825420","1330825342","1330825417","1330825389","1330825299","1330825400"],"photo_ids_order":["1330825299","1330825342","1330825389","1330825400","1330825417","1330825420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e425ae479eec46471892cd4b58b36851.jpg","text":"TemporaryFile(/tmp/multipartBody3800077332980355440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533577,"filename":"image_23012025_13_12_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c4a02568d5d7fe14dffb803b8137a58.jpg","text":"TemporaryFile(/tmp/multipartBody3918280665969640871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533577,"filename":"image_23012025_13_11_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ad07f22a73096af17849c93ad9a3937.jpg","text":"TemporaryFile(/tmp/multipartBody6407805800771894122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533577,"filename":"image_23012025_13_12_25_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/849431861e6a629eebe810de11c3a2b0.jpg","text":"TemporaryFile(/tmp/multipartBody8017933759902513058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533577,"filename":"image_23012025_13_12_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f55eec2148c4bc55a73eca931eb6e328.jpg","text":"TemporaryFile(/tmp/multipartBody6923625717679804256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533577,"filename":"image_23012025_13_11_45_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8f633ed644f81220b9bee4436acf429.jpg","text":"TemporaryFile(/tmp/multipartBody7943744164355584575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634533577,"filename":"image_23012025_13_12_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825389","file1":"1330825342","file0":"1330825299","file4":"1330825417","file5":"1330825420","file3":"1330825400"},"map_files_photo_id_array":[{"photo_id":"1330825420","filename":"file5"},{"photo_id":"1330825389","filename":"file2"},{"photo_id":"1330825417","filename":"file4"},{"photo_id":"1330825342","filename":"file1"},{"photo_id":"1330825299","filename":"file0"},{"photo_id":"1330825400","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825420":["hashtag1","hashtag2"]},{"1330825342":["hashtag1","hashtag2"]},{"1330825417":["hashtag1","hashtag2"]},{"1330825389":["hashtag1","hashtag2"]},{"1330825299":["hashtag1","hashtag2"]},{"1330825400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825420, 1330825342, 1330825417, 1330825389, 1330825299, 1330825400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02191948890686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:15:32.927361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_46_10354.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_55_9347.jpg', '/home/pi/Desktop/images/23012025/13/12/image_23012025_13_13_05_10333.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_16_10358.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_25_9342.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_36_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_46_10354.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_12_55_9347.jpg
/home/pi/Desktop/images/23012025/13/12/image_23012025_13_13_05_10333.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_16_10358.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_25_9342.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_36_10394.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":["1330825468","1330825456","1330825461","1330825464","1330825446","1330825450"],"photo_ids_order":["1330825446","1330825450","1330825456","1330825461","1330825464","1330825468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b161cd2e73d831786076cd32aab3c04.jpg","text":"TemporaryFile(/tmp/multipartBody4467371786602686957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634593824,"filename":"image_23012025_13_13_36_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e696e29ea7d438954853b64eb6f72e5.jpg","text":"TemporaryFile(/tmp/multipartBody496179961770206670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634593824,"filename":"image_23012025_13_13_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24526cd911ed3d4587008fe13aeb9cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3381057586118383934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634593824,"filename":"image_23012025_13_13_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc7e21360a3c494b9440aa2ab4b988fb.jpg","text":"TemporaryFile(/tmp/multipartBody1725181228154817983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634593824,"filename":"image_23012025_13_13_25_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b2808989995ce0c768971ebec25c683.jpg","text":"TemporaryFile(/tmp/multipartBody2278733034995918521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634593824,"filename":"image_23012025_13_12_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1c88d3fcf20481ab74fdc55c4ab6131.jpg","text":"TemporaryFile(/tmp/multipartBody1906806456722005716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634593824,"filename":"image_23012025_13_12_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825456","file1":"1330825450","file0":"1330825446","file4":"1330825464","file5":"1330825468","file3":"1330825461"},"map_files_photo_id_array":[{"photo_id":"1330825468","filename":"file5"},{"photo_id":"1330825456","filename":"file2"},{"photo_id":"1330825464","filename":"file4"},{"photo_id":"1330825450","filename":"file1"},{"photo_id":"1330825446","filename":"file0"},{"photo_id":"1330825461","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825468":["hashtag1","hashtag2"]},{"1330825456":["hashtag1","hashtag2"]},{"1330825461":["hashtag1","hashtag2"]},{"1330825464":["hashtag1","hashtag2"]},{"1330825446":["hashtag1","hashtag2"]},{"1330825450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825468, 1330825456, 1330825461, 1330825464, 1330825446, 1330825450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.276843786239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:16:33.081978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_45_9466.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_55_10359.jpg', '/home/pi/Desktop/images/23012025/13/13/image_23012025_13_14_06_10341.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_15_9385.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_25_10360.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_36_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_45_9466.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_13_55_10359.jpg
/home/pi/Desktop/images/23012025/13/13/image_23012025_13_14_06_10341.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_15_9385.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_25_10360.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_36_10358.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":["1330825560","1330825554","1330825490","1330825565","1330825561","1330825558"],"photo_ids_order":["1330825490","1330825554","1330825558","1330825560","1330825561","1330825565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/276dfd051b861ecc075fa25ad29b5b28.jpg","text":"TemporaryFile(/tmp/multipartBody2102392434081898436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634654042,"filename":"image_23012025_13_14_15_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4ff1a930df372a60dc992448ecb4fce.jpg","text":"TemporaryFile(/tmp/multipartBody1844521921433313294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634654042,"filename":"image_23012025_13_13_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9b5819579617a15920be23856eb83c7.jpg","text":"TemporaryFile(/tmp/multipartBody4308584377596476973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634654042,"filename":"image_23012025_13_13_45_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/116bdab83caa72e8906c939141306f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5596164543920069428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634654042,"filename":"image_23012025_13_14_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c62f80904e7615319de251330aac5b8e.jpg","text":"TemporaryFile(/tmp/multipartBody857200786383146418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634654042,"filename":"image_23012025_13_14_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46db2e4f51cc1132fb9adb929d8bb866.jpg","text":"TemporaryFile(/tmp/multipartBody1502375235100961150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634654042,"filename":"image_23012025_13_14_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825558","file1":"1330825554","file0":"1330825490","file4":"1330825561","file5":"1330825565","file3":"1330825560"},"map_files_photo_id_array":[{"photo_id":"1330825565","filename":"file5"},{"photo_id":"1330825558","filename":"file2"},{"photo_id":"1330825561","filename":"file4"},{"photo_id":"1330825554","filename":"file1"},{"photo_id":"1330825490","filename":"file0"},{"photo_id":"1330825560","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825560":["hashtag1","hashtag2"]},{"1330825554":["hashtag1","hashtag2"]},{"1330825490":["hashtag1","hashtag2"]},{"1330825565":["hashtag1","hashtag2"]},{"1330825561":["hashtag1","hashtag2"]},{"1330825558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825560, 1330825554, 1330825490, 1330825565, 1330825561, 1330825558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.894535303115845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:17:32.362648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_45_9350.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_56_10368.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_15_05_9362.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_15_10343.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_26_10357.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_35_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_45_9350.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_56_10368.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_15_05_9362.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_15_10343.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_26_10357.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_35_9327.jpg
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: 0.5084803104400635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 13:17:42.427308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_45_9350.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_56_10368.jpg', '/home/pi/Desktop/images/23012025/13/14/image_23012025_13_15_05_9362.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_15_10343.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_26_10357.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_35_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_45_9350.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_14_56_10368.jpg
/home/pi/Desktop/images/23012025/13/14/image_23012025_13_15_05_9362.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_15_10343.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_26_10357.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_35_9327.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":["1330825672","1330825666","1330825662","1330825640","1330825669","1330825678"],"photo_ids_order":["1330825640","1330825662","1330825666","1330825669","1330825672","1330825678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58f08ef0973cfd4a6247423b9f6a438a.jpg","text":"TemporaryFile(/tmp/multipartBody1508929888206734285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634723350,"filename":"image_23012025_13_15_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3279f095becdd71bfecb0a42d2a98f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4952249515113724976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634723350,"filename":"image_23012025_13_15_05_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/915d536ba191d8815e5e343be6443dea.jpg","text":"TemporaryFile(/tmp/multipartBody7013141382878561579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634723350,"filename":"image_23012025_13_14_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/981d265fd98ff6e5392e76e436a91a77.jpg","text":"TemporaryFile(/tmp/multipartBody1858080012052299818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634723350,"filename":"image_23012025_13_14_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9344e8088657097f23fd0f2457ac90d5.jpg","text":"TemporaryFile(/tmp/multipartBody7674933365158572352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634723350,"filename":"image_23012025_13_15_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06f43a3bbed2a561f1c094bdca6c530b.jpg","text":"TemporaryFile(/tmp/multipartBody2628584064813431139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634723350,"filename":"image_23012025_13_15_35_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825666","file1":"1330825662","file0":"1330825640","file4":"1330825672","file5":"1330825678","file3":"1330825669"},"map_files_photo_id_array":[{"photo_id":"1330825678","filename":"file5"},{"photo_id":"1330825666","filename":"file2"},{"photo_id":"1330825672","filename":"file4"},{"photo_id":"1330825662","filename":"file1"},{"photo_id":"1330825640","filename":"file0"},{"photo_id":"1330825669","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825672":["hashtag1","hashtag2"]},{"1330825666":["hashtag1","hashtag2"]},{"1330825662":["hashtag1","hashtag2"]},{"1330825640":["hashtag1","hashtag2"]},{"1330825669":["hashtag1","hashtag2"]},{"1330825678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825672, 1330825666, 1330825662, 1330825640, 1330825669, 1330825678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.210283517837524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:18:32.540737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_45_10281.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_56_10414.jpg', '/home/pi/Desktop/images/23012025/13/15/image_23012025_13_16_05_9367.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_15_10333.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_26_10341.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_35_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_45_10281.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_15_56_10414.jpg
/home/pi/Desktop/images/23012025/13/15/image_23012025_13_16_05_9367.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_15_10333.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_26_10341.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_35_9453.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":["1330825759","1330825735","1330825788","1330825740","1330825707","1330825795"],"photo_ids_order":["1330825707","1330825735","1330825740","1330825759","1330825788","1330825795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f524b861bc86c4a843a597e8102c818e.jpg","text":"TemporaryFile(/tmp/multipartBody1023359020847425114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634773463,"filename":"image_23012025_13_16_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63f5bf81cbcdfbe178b4aefb5b617fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3723055521728168403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634773463,"filename":"image_23012025_13_15_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6647372dafede5d7c5ffe11be07b700d.jpg","text":"TemporaryFile(/tmp/multipartBody3267049633555113410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634773463,"filename":"image_23012025_13_16_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/923893082a1b6400ae429e4be5f87485.jpg","text":"TemporaryFile(/tmp/multipartBody6700623836633840183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634773463,"filename":"image_23012025_13_16_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a6b22de09efc4810129444132cd3353.jpg","text":"TemporaryFile(/tmp/multipartBody1451219591614874125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634773463,"filename":"image_23012025_13_15_45_10281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9743c6ac3e38cea1856bd341d6671b7.jpg","text":"TemporaryFile(/tmp/multipartBody2273816393411309957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634773463,"filename":"image_23012025_13_16_35_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825740","file1":"1330825735","file0":"1330825707","file4":"1330825788","file5":"1330825795","file3":"1330825759"},"map_files_photo_id_array":[{"photo_id":"1330825795","filename":"file5"},{"photo_id":"1330825740","filename":"file2"},{"photo_id":"1330825788","filename":"file4"},{"photo_id":"1330825735","filename":"file1"},{"photo_id":"1330825707","filename":"file0"},{"photo_id":"1330825759","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825759":["hashtag1","hashtag2"]},{"1330825735":["hashtag1","hashtag2"]},{"1330825788":["hashtag1","hashtag2"]},{"1330825740":["hashtag1","hashtag2"]},{"1330825707":["hashtag1","hashtag2"]},{"1330825795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825759, 1330825735, 1330825788, 1330825740, 1330825707, 1330825795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.779961585998535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:19:32.704092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_45_10339.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_56_10349.jpg', '/home/pi/Desktop/images/23012025/13/16/image_23012025_13_17_05_9330.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_15_10361.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_26_10370.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_35_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_45_10339.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_16_56_10349.jpg
/home/pi/Desktop/images/23012025/13/16/image_23012025_13_17_05_9330.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_15_10361.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_26_10370.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_35_9339.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":["1330825858","1330825852","1330825869","1330825865","1330825847","1330825873"],"photo_ids_order":["1330825847","1330825852","1330825858","1330825865","1330825869","1330825873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6a89d759640784e9610f9866f8a421c.jpg","text":"TemporaryFile(/tmp/multipartBody9117986119963427442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634833616,"filename":"image_23012025_13_17_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c92db60d19d53d3d3e47dbc6a4ff446.jpg","text":"TemporaryFile(/tmp/multipartBody7820570035613104124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634833616,"filename":"image_23012025_13_16_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f5ec8d9428df4121c15f14f81de8795.jpg","text":"TemporaryFile(/tmp/multipartBody3569607096334791667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634833616,"filename":"image_23012025_13_17_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc7e579ecfef4eba978fb095ae85e9c8.jpg","text":"TemporaryFile(/tmp/multipartBody7916825045001419485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634833616,"filename":"image_23012025_13_17_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac0ce95b90ddb6dff88536bd1da5dd89.jpg","text":"TemporaryFile(/tmp/multipartBody7443649149266451352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634833616,"filename":"image_23012025_13_16_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d211789132f07171a5ba5d321a0d2bbe.jpg","text":"TemporaryFile(/tmp/multipartBody473794047838849316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634833616,"filename":"image_23012025_13_17_35_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330825858","file1":"1330825852","file0":"1330825847","file4":"1330825869","file5":"1330825873","file3":"1330825865"},"map_files_photo_id_array":[{"photo_id":"1330825873","filename":"file5"},{"photo_id":"1330825858","filename":"file2"},{"photo_id":"1330825869","filename":"file4"},{"photo_id":"1330825852","filename":"file1"},{"photo_id":"1330825847","filename":"file0"},{"photo_id":"1330825865","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330825858":["hashtag1","hashtag2"]},{"1330825852":["hashtag1","hashtag2"]},{"1330825869":["hashtag1","hashtag2"]},{"1330825865":["hashtag1","hashtag2"]},{"1330825847":["hashtag1","hashtag2"]},{"1330825873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330825858, 1330825852, 1330825869, 1330825865, 1330825847, 1330825873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8173451423645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:20:32.875793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_46_10323.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_55_9355.jpg', '/home/pi/Desktop/images/23012025/13/17/image_23012025_13_18_05_10355.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_16_10332.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_25_9362.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_35_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_46_10323.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_17_55_9355.jpg
/home/pi/Desktop/images/23012025/13/17/image_23012025_13_18_05_10355.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_16_10332.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_25_9362.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_35_10426.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":["1330826016","1330826075","1330826036","1330826024","1330826029","1330826050"],"photo_ids_order":["1330826016","1330826024","1330826029","1330826036","1330826050","1330826075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5109f73d65f427f999030c08367a127.jpg","text":"TemporaryFile(/tmp/multipartBody2119550067834049799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634893782,"filename":"image_23012025_13_17_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e38564569439b0b4b64eab62246a3846.jpg","text":"TemporaryFile(/tmp/multipartBody6513099422346435857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634893782,"filename":"image_23012025_13_18_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4afa27d27a9a846f62c9c5c945aee89f.jpg","text":"TemporaryFile(/tmp/multipartBody779860849669466706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634893782,"filename":"image_23012025_13_18_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba2f0b53c53af5bf100c4812028a5590.jpg","text":"TemporaryFile(/tmp/multipartBody7412222604683485184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634893782,"filename":"image_23012025_13_17_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/132ca7afc7ddf47bf60454fbdaafd9bf.jpg","text":"TemporaryFile(/tmp/multipartBody8771711540717390599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634893782,"filename":"image_23012025_13_18_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8f47f11f48768f568660187c67b3458.jpg","text":"TemporaryFile(/tmp/multipartBody595633111027924315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634893782,"filename":"image_23012025_13_18_25_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330826029","file1":"1330826024","file0":"1330826016","file4":"1330826050","file5":"1330826075","file3":"1330826036"},"map_files_photo_id_array":[{"photo_id":"1330826075","filename":"file5"},{"photo_id":"1330826029","filename":"file2"},{"photo_id":"1330826050","filename":"file4"},{"photo_id":"1330826024","filename":"file1"},{"photo_id":"1330826016","filename":"file0"},{"photo_id":"1330826036","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330826016":["hashtag1","hashtag2"]},{"1330826075":["hashtag1","hashtag2"]},{"1330826036":["hashtag1","hashtag2"]},{"1330826024":["hashtag1","hashtag2"]},{"1330826029":["hashtag1","hashtag2"]},{"1330826050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330826016, 1330826075, 1330826036, 1330826024, 1330826029, 1330826050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.336336612701416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:21:33.031522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_46_10337.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_55_9401.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_19_05_10345.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_16_10331.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_25_9351.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_36_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_46_10337.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_55_9401.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_19_05_10345.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_16_10331.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_25_9351.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_36_10401.jpg
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: 0.5030624866485596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 13:21:43.086004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_46_10337.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_55_9401.jpg', '/home/pi/Desktop/images/23012025/13/18/image_23012025_13_19_05_10345.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_16_10331.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_25_9351.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_36_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_46_10337.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_18_55_9401.jpg
/home/pi/Desktop/images/23012025/13/18/image_23012025_13_19_05_10345.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_16_10331.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_25_9351.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_36_10401.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":["1330826241","1330826247","1330826334","1330826414","1330826251","1330826200"],"photo_ids_order":["1330826200","1330826241","1330826247","1330826251","1330826334","1330826414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a387b6aa6fdf30fda82b012acf032073.jpg","text":"TemporaryFile(/tmp/multipartBody2676678385650385715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964032,"filename":"image_23012025_13_18_55_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a14552c87231cdec5edbba30610f6a76.jpg","text":"TemporaryFile(/tmp/multipartBody303258415318362392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964032,"filename":"image_23012025_13_19_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30df95962b3a53f92eb0ead850d479d0.jpg","text":"TemporaryFile(/tmp/multipartBody3650019677415806172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964032,"filename":"image_23012025_13_19_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/617618eeac44a99ca5d169a8e7a47108.jpg","text":"TemporaryFile(/tmp/multipartBody803777522846270842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964032,"filename":"image_23012025_13_19_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4eec61d09ddb3d8ba0763b32f8963d73.jpg","text":"TemporaryFile(/tmp/multipartBody8255761265104131890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964032,"filename":"image_23012025_13_19_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/818c6800bb098d3f7ed9cde7458152b4.jpg","text":"TemporaryFile(/tmp/multipartBody446717159115349338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737634964032,"filename":"image_23012025_13_18_46_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330826247","file1":"1330826241","file0":"1330826200","file4":"1330826334","file5":"1330826414","file3":"1330826251"},"map_files_photo_id_array":[{"photo_id":"1330826414","filename":"file5"},{"photo_id":"1330826247","filename":"file2"},{"photo_id":"1330826334","filename":"file4"},{"photo_id":"1330826241","filename":"file1"},{"photo_id":"1330826200","filename":"file0"},{"photo_id":"1330826251","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330826241":["hashtag1","hashtag2"]},{"1330826247":["hashtag1","hashtag2"]},{"1330826334":["hashtag1","hashtag2"]},{"1330826414":["hashtag1","hashtag2"]},{"1330826251":["hashtag1","hashtag2"]},{"1330826200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330826241, 1330826247, 1330826334, 1330826414, 1330826251, 1330826200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.40572786331177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:22:32.310472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_46_10324.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_55_9349.jpg', '/home/pi/Desktop/images/23012025/13/19/image_23012025_13_20_06_10362.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_15_9373.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_25_10386.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_36_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_46_10324.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_19_55_9349.jpg
/home/pi/Desktop/images/23012025/13/19/image_23012025_13_20_06_10362.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_15_9373.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_25_10386.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_36_10376.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":["1330826868","1330827269","1330827002","1330827274","1330827256","1330827183"],"photo_ids_order":["1330826868","1330827002","1330827183","1330827256","1330827269","1330827274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/921207e12aecf24a603a76795646e76b.jpg","text":"TemporaryFile(/tmp/multipartBody8690660195609396769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635013224,"filename":"image_23012025_13_19_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d12dac3f03504f1df29ccd4e92e232b1.jpg","text":"TemporaryFile(/tmp/multipartBody3536164551210557168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635013224,"filename":"image_23012025_13_20_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca93ed5383c0da0d42387716ce153f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3840924961343095726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635013224,"filename":"image_23012025_13_19_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5304fc9cdf76c36efabe5877bb4a9a45.jpg","text":"TemporaryFile(/tmp/multipartBody488908465407596819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635013224,"filename":"image_23012025_13_20_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/421e6e1163ae86f55fb64ea4ab32fb40.jpg","text":"TemporaryFile(/tmp/multipartBody2402748194434216177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635013224,"filename":"image_23012025_13_20_15_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebd4b0c50f1523ebdded58d6df43f41d.jpg","text":"TemporaryFile(/tmp/multipartBody5832762371527402716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635013224,"filename":"image_23012025_13_20_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330827183","file1":"1330827002","file0":"1330826868","file4":"1330827269","file5":"1330827274","file3":"1330827256"},"map_files_photo_id_array":[{"photo_id":"1330827274","filename":"file5"},{"photo_id":"1330827183","filename":"file2"},{"photo_id":"1330827269","filename":"file4"},{"photo_id":"1330827002","filename":"file1"},{"photo_id":"1330826868","filename":"file0"},{"photo_id":"1330827256","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330826868":["hashtag1","hashtag2"]},{"1330827269":["hashtag1","hashtag2"]},{"1330827002":["hashtag1","hashtag2"]},{"1330827274":["hashtag1","hashtag2"]},{"1330827256":["hashtag1","hashtag2"]},{"1330827183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330826868, 1330827269, 1330827002, 1330827274, 1330827256, 1330827183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.96688961982727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:23:32.341013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_45_9384.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_55_10420.jpg', '/home/pi/Desktop/images/23012025/13/20/image_23012025_13_21_06_10339.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_15_9335.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_26_10369.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_35_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_45_9384.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_20_55_10420.jpg
/home/pi/Desktop/images/23012025/13/20/image_23012025_13_21_06_10339.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_15_9335.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_26_10369.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_35_9328.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":["1330827339","1330827350","1330827397","1330827399","1330827393","1330827345"],"photo_ids_order":["1330827339","1330827345","1330827350","1330827393","1330827397","1330827399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2263e2e7ded23a9b06427751de40c17.jpg","text":"TemporaryFile(/tmp/multipartBody4056663261385782600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073232,"filename":"image_23012025_13_20_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fe5ea97316764d958137266cb1a7b90.jpg","text":"TemporaryFile(/tmp/multipartBody5664233255686695266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073232,"filename":"image_23012025_13_21_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1d61b0907c38255ebf681cb08767114.jpg","text":"TemporaryFile(/tmp/multipartBody7192837931365759405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073232,"filename":"image_23012025_13_21_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/585c7cbaa2d3845555796a14caa5bb45.jpg","text":"TemporaryFile(/tmp/multipartBody4207145730507961917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073232,"filename":"image_23012025_13_21_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2567f0dd9721b7e3e6fd2e4f926bbd37.jpg","text":"TemporaryFile(/tmp/multipartBody8500321197028527517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073232,"filename":"image_23012025_13_21_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1ed90622d512f19164ed24cc05b171b.jpg","text":"TemporaryFile(/tmp/multipartBody3053082716882711708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635073232,"filename":"image_23012025_13_20_55_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330827350","file1":"1330827345","file0":"1330827339","file4":"1330827397","file5":"1330827399","file3":"1330827393"},"map_files_photo_id_array":[{"photo_id":"1330827399","filename":"file5"},{"photo_id":"1330827350","filename":"file2"},{"photo_id":"1330827397","filename":"file4"},{"photo_id":"1330827345","filename":"file1"},{"photo_id":"1330827339","filename":"file0"},{"photo_id":"1330827393","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330827339":["hashtag1","hashtag2"]},{"1330827350":["hashtag1","hashtag2"]},{"1330827397":["hashtag1","hashtag2"]},{"1330827399":["hashtag1","hashtag2"]},{"1330827393":["hashtag1","hashtag2"]},{"1330827345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330827339, 1330827350, 1330827397, 1330827399, 1330827393, 1330827345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60938024520874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:24:32.548406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_45_10416.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_56_10351.jpg', '/home/pi/Desktop/images/23012025/13/21/image_23012025_13_22_05_9386.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_15_10353.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_26_10342.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_35_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_45_10416.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_21_56_10351.jpg
/home/pi/Desktop/images/23012025/13/21/image_23012025_13_22_05_9386.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_15_10353.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_26_10342.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_35_9393.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":["1330827843","1330827851","1330827788","1330827848","1330827923","1330827919"],"photo_ids_order":["1330827788","1330827843","1330827848","1330827851","1330827919","1330827923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed3bfbe60966948ed2043124b5910eb6.jpg","text":"TemporaryFile(/tmp/multipartBody502462544546831729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133503,"filename":"image_23012025_13_21_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6aae051fbd19c0b978a25c2cfdcdfd46.jpg","text":"TemporaryFile(/tmp/multipartBody7700589629376012739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133503,"filename":"image_23012025_13_22_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73b57b16fe27d13f435bc2928b909bdb.jpg","text":"TemporaryFile(/tmp/multipartBody9212372951011681214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133503,"filename":"image_23012025_13_21_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30a7accaa04e7ed51c97e079b0b001a5.jpg","text":"TemporaryFile(/tmp/multipartBody6592868221164209712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133503,"filename":"image_23012025_13_22_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46c1727986449884d423b75d34980525.jpg","text":"TemporaryFile(/tmp/multipartBody1378869819695345698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133503,"filename":"image_23012025_13_22_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8830ab2ce7f9f78a32923b65a3afdcfc.jpg","text":"TemporaryFile(/tmp/multipartBody3020717103976045830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635133503,"filename":"image_23012025_13_22_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330827848","file1":"1330827843","file0":"1330827788","file4":"1330827919","file5":"1330827923","file3":"1330827851"},"map_files_photo_id_array":[{"photo_id":"1330827923","filename":"file5"},{"photo_id":"1330827848","filename":"file2"},{"photo_id":"1330827919","filename":"file4"},{"photo_id":"1330827843","filename":"file1"},{"photo_id":"1330827788","filename":"file0"},{"photo_id":"1330827851","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330827843":["hashtag1","hashtag2"]},{"1330827851":["hashtag1","hashtag2"]},{"1330827788":["hashtag1","hashtag2"]},{"1330827848":["hashtag1","hashtag2"]},{"1330827923":["hashtag1","hashtag2"]},{"1330827919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330827843, 1330827851, 1330827788, 1330827848, 1330827923, 1330827919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.42946815490723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:25:32.770539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_45_10348.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_56_10361.jpg', '/home/pi/Desktop/images/23012025/13/22/image_23012025_13_23_05_9355.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_16_10324.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_26_10351.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_35_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_45_10348.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_22_56_10361.jpg
/home/pi/Desktop/images/23012025/13/22/image_23012025_13_23_05_9355.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_16_10324.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_26_10351.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_35_9328.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":["1330828064","1330828022","1330828059","1330828035","1330828029","1330828017"],"photo_ids_order":["1330828017","1330828022","1330828029","1330828035","1330828059","1330828064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e2868e687709ce252f417765c7e3cd4.jpg","text":"TemporaryFile(/tmp/multipartBody2472649940552218646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193678,"filename":"image_23012025_13_23_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57219967c1bb0a9c3f2be7cd7e770fda.jpg","text":"TemporaryFile(/tmp/multipartBody2455788035681883912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193678,"filename":"image_23012025_13_22_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/695f0ed75947687ea16a361a77d3f498.jpg","text":"TemporaryFile(/tmp/multipartBody8411586224087250328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193678,"filename":"image_23012025_13_23_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fe5b492a28f4da1b8e4c56e028186d7.jpg","text":"TemporaryFile(/tmp/multipartBody8479943139255955947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193678,"filename":"image_23012025_13_23_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f607a00e22801a2154a4c469166129eb.jpg","text":"TemporaryFile(/tmp/multipartBody1667561659487706703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193678,"filename":"image_23012025_13_23_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c1bdebb7e3a13148fde406064553029.jpg","text":"TemporaryFile(/tmp/multipartBody1866582424875827898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635193678,"filename":"image_23012025_13_22_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828029","file1":"1330828022","file0":"1330828017","file4":"1330828059","file5":"1330828064","file3":"1330828035"},"map_files_photo_id_array":[{"photo_id":"1330828064","filename":"file5"},{"photo_id":"1330828029","filename":"file2"},{"photo_id":"1330828059","filename":"file4"},{"photo_id":"1330828022","filename":"file1"},{"photo_id":"1330828017","filename":"file0"},{"photo_id":"1330828035","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828064":["hashtag1","hashtag2"]},{"1330828022":["hashtag1","hashtag2"]},{"1330828059":["hashtag1","hashtag2"]},{"1330828035":["hashtag1","hashtag2"]},{"1330828029":["hashtag1","hashtag2"]},{"1330828017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828064, 1330828022, 1330828059, 1330828035, 1330828029, 1330828017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.006781578063965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:26:32.850850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_46_10368.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_55_9329.jpg', '/home/pi/Desktop/images/23012025/13/23/image_23012025_13_24_05_10373.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_16_10348.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_25_9491.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_35_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_46_10368.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_23_55_9329.jpg
/home/pi/Desktop/images/23012025/13/23/image_23012025_13_24_05_10373.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_16_10348.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_25_9491.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_35_10325.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":["1330828125","1330828136","1330828145","1330828130","1330828120","1330828140"],"photo_ids_order":["1330828120","1330828125","1330828130","1330828136","1330828140","1330828145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/135a5470d9592c21653e3fdc3df4ff47.jpg","text":"TemporaryFile(/tmp/multipartBody7683635453276654430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635253752,"filename":"image_23012025_13_23_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3ac6f81a3290b1c7e817866549c98e7.jpg","text":"TemporaryFile(/tmp/multipartBody1880117175787257488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635253752,"filename":"image_23012025_13_24_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cedfcf4be0b4ab46404ba9d96e21d4ed.jpg","text":"TemporaryFile(/tmp/multipartBody6276828041521616043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635253752,"filename":"image_23012025_13_24_35_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/456caddd801b126e25e3ccf99e6f72c2.jpg","text":"TemporaryFile(/tmp/multipartBody7581156087037723013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635253752,"filename":"image_23012025_13_24_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/378da66faf48d7816d65a8f07630d915.jpg","text":"TemporaryFile(/tmp/multipartBody692325777924405603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635253752,"filename":"image_23012025_13_23_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/069306630464aee3e43e384724115c09.jpg","text":"TemporaryFile(/tmp/multipartBody8013069747902889359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635253752,"filename":"image_23012025_13_24_25_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828130","file1":"1330828125","file0":"1330828120","file4":"1330828140","file5":"1330828145","file3":"1330828136"},"map_files_photo_id_array":[{"photo_id":"1330828145","filename":"file5"},{"photo_id":"1330828130","filename":"file2"},{"photo_id":"1330828140","filename":"file4"},{"photo_id":"1330828125","filename":"file1"},{"photo_id":"1330828120","filename":"file0"},{"photo_id":"1330828136","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828125":["hashtag1","hashtag2"]},{"1330828136":["hashtag1","hashtag2"]},{"1330828145":["hashtag1","hashtag2"]},{"1330828130":["hashtag1","hashtag2"]},{"1330828120":["hashtag1","hashtag2"]},{"1330828140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828125, 1330828136, 1330828145, 1330828130, 1330828120, 1330828140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91123700141907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:27:33.097328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_46_10375.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_55_9406.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_25_06_10342.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_15_9323.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_25_10411.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_36_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_46_10375.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_55_9406.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_25_06_10342.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_15_9323.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_25_10411.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_36_10330.jpg
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: 0.5199668407440186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 13:27:43.140883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_46_10375.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_55_9406.jpg', '/home/pi/Desktop/images/23012025/13/24/image_23012025_13_25_06_10342.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_15_9323.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_25_10411.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_36_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_46_10375.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_24_55_9406.jpg
/home/pi/Desktop/images/23012025/13/24/image_23012025_13_25_06_10342.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_15_9323.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_25_10411.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_36_10330.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":["1330828448","1330828277","1330828520","1330828331","1330828516","1330828266"],"photo_ids_order":["1330828266","1330828277","1330828331","1330828448","1330828516","1330828520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fabbb75c716c265b3c073365d02f1836.jpg","text":"TemporaryFile(/tmp/multipartBody2112216434710782183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635324140,"filename":"image_23012025_13_25_15_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76b1e1d3eb2a926d3d56a0c57e9ac704.jpg","text":"TemporaryFile(/tmp/multipartBody4815998808368449950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635324140,"filename":"image_23012025_13_24_55_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cca0017236e6780fbcbd7ec26130476a.jpg","text":"TemporaryFile(/tmp/multipartBody2058202256077276693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635324140,"filename":"image_23012025_13_25_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5801df3224d9b65fa411f6984cdbbe37.jpg","text":"TemporaryFile(/tmp/multipartBody5165654286406547921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635324140,"filename":"image_23012025_13_25_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23366f982d2f1af71131253358e002a1.jpg","text":"TemporaryFile(/tmp/multipartBody952897931848855790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635324140,"filename":"image_23012025_13_25_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8321ddb6362bd25cadaa40e3c766f840.jpg","text":"TemporaryFile(/tmp/multipartBody4175807031583420951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635324140,"filename":"image_23012025_13_24_46_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828331","file1":"1330828277","file0":"1330828266","file4":"1330828516","file5":"1330828520","file3":"1330828448"},"map_files_photo_id_array":[{"photo_id":"1330828520","filename":"file5"},{"photo_id":"1330828331","filename":"file2"},{"photo_id":"1330828516","filename":"file4"},{"photo_id":"1330828277","filename":"file1"},{"photo_id":"1330828266","filename":"file0"},{"photo_id":"1330828448","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828448":["hashtag1","hashtag2"]},{"1330828277":["hashtag1","hashtag2"]},{"1330828520":["hashtag1","hashtag2"]},{"1330828331":["hashtag1","hashtag2"]},{"1330828516":["hashtag1","hashtag2"]},{"1330828266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828448, 1330828277, 1330828520, 1330828331, 1330828516, 1330828266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.754971742630005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:28:32.301670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_45_9402.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_55_10349.jpg', '/home/pi/Desktop/images/23012025/13/25/image_23012025_13_26_06_10361.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_15_9412.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_25_10351.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_36_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_45_9402.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_25_55_10349.jpg
/home/pi/Desktop/images/23012025/13/25/image_23012025_13_26_06_10361.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_15_9412.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_25_10351.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_36_10346.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":["1330828556","1330828544","1330828570","1330828564","1330828537","1330828551"],"photo_ids_order":["1330828537","1330828544","1330828551","1330828556","1330828564","1330828570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1401f466c502b2f539bf329d67b35133.jpg","text":"TemporaryFile(/tmp/multipartBody907319034677980385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373198,"filename":"image_23012025_13_26_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc66a35e7714f80d91d6cb69a638350a.jpg","text":"TemporaryFile(/tmp/multipartBody6906219218891798019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373198,"filename":"image_23012025_13_25_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4618762ec4fe4abc4a10c76f0aa1e5b.jpg","text":"TemporaryFile(/tmp/multipartBody4976542140223546505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373198,"filename":"image_23012025_13_26_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93c64d0f04ad80aa3a5add0e1fc3b865.jpg","text":"TemporaryFile(/tmp/multipartBody2693507689494665953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373198,"filename":"image_23012025_13_26_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56f16ee88269edbd50cb7a65e6810ca6.jpg","text":"TemporaryFile(/tmp/multipartBody6258641882785593882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373198,"filename":"image_23012025_13_25_45_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eeac824862e7dfd4fbb268a18fc84db.jpg","text":"TemporaryFile(/tmp/multipartBody4961972180868864000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635373198,"filename":"image_23012025_13_26_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828551","file1":"1330828544","file0":"1330828537","file4":"1330828564","file5":"1330828570","file3":"1330828556"},"map_files_photo_id_array":[{"photo_id":"1330828570","filename":"file5"},{"photo_id":"1330828551","filename":"file2"},{"photo_id":"1330828564","filename":"file4"},{"photo_id":"1330828544","filename":"file1"},{"photo_id":"1330828537","filename":"file0"},{"photo_id":"1330828556","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828556":["hashtag1","hashtag2"]},{"1330828544":["hashtag1","hashtag2"]},{"1330828570":["hashtag1","hashtag2"]},{"1330828564":["hashtag1","hashtag2"]},{"1330828537":["hashtag1","hashtag2"]},{"1330828551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828556, 1330828544, 1330828570, 1330828564, 1330828537, 1330828551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.206088066101074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:29:32.611068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_45_9414.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_56_10354.jpg', '/home/pi/Desktop/images/23012025/13/26/image_23012025_13_27_05_9375.jpg', '/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_15_10388.jpg', '/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_26_10362.jpg', '/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_35_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_45_9414.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_26_56_10354.jpg
/home/pi/Desktop/images/23012025/13/26/image_23012025_13_27_05_9375.jpg
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_15_10388.jpg
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_26_10362.jpg
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_35_9379.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":["1330828631","1330828628","1330828616","1330828625","1330828633","1330828621"],"photo_ids_order":["1330828616","1330828621","1330828625","1330828628","1330828631","1330828633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/793c341c48dbb7d951bee01cf4dc9aae.jpg","text":"TemporaryFile(/tmp/multipartBody793739572925781643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635433529,"filename":"image_23012025_13_27_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54fc7f88d693827aac5e3cc9b23c5854.jpg","text":"TemporaryFile(/tmp/multipartBody3357439786744979320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635433529,"filename":"image_23012025_13_27_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9619455e8882172f69a2685d448692dc.jpg","text":"TemporaryFile(/tmp/multipartBody744002411874639882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635433529,"filename":"image_23012025_13_26_45_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a43a9e65532b13b282b925ace26682a0.jpg","text":"TemporaryFile(/tmp/multipartBody2790241519096037459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635433529,"filename":"image_23012025_13_27_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9948d576bfefb151aed0d6d81063b99b.jpg","text":"TemporaryFile(/tmp/multipartBody7982498035800894707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635433529,"filename":"image_23012025_13_27_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1db702ee3811c1ff5a2b2486dec2a186.jpg","text":"TemporaryFile(/tmp/multipartBody357482809756189890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635433529,"filename":"image_23012025_13_26_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828625","file1":"1330828621","file0":"1330828616","file4":"1330828631","file5":"1330828633","file3":"1330828628"},"map_files_photo_id_array":[{"photo_id":"1330828633","filename":"file5"},{"photo_id":"1330828625","filename":"file2"},{"photo_id":"1330828631","filename":"file4"},{"photo_id":"1330828621","filename":"file1"},{"photo_id":"1330828616","filename":"file0"},{"photo_id":"1330828628","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828631":["hashtag1","hashtag2"]},{"1330828628":["hashtag1","hashtag2"]},{"1330828616":["hashtag1","hashtag2"]},{"1330828625":["hashtag1","hashtag2"]},{"1330828633":["hashtag1","hashtag2"]},{"1330828621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828631, 1330828628, 1330828616, 1330828625, 1330828633, 1330828621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23177456855774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:30:32.647685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_45_10336.jpg', '/home/pi/Desktop/images/23012025/13/27/image_23012025_13_28_05_10341.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_16_10347.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_25_9373.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_35_10389.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_46_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_27_45_10336.jpg
/home/pi/Desktop/images/23012025/13/27/image_23012025_13_28_05_10341.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_16_10347.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_25_9373.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_35_10389.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_46_10329.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":["1330828670","1330828667","1330828655","1330828660","1330828674","1330828668"],"photo_ids_order":["1330828655","1330828660","1330828667","1330828668","1330828670","1330828674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/802f31df1a57b8deeea326dbb4988fca.jpg","text":"TemporaryFile(/tmp/multipartBody444889897763513677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635493555,"filename":"image_23012025_13_28_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7bdcc9ce75a50fe853a0262aac8d92e6.jpg","text":"TemporaryFile(/tmp/multipartBody3541357373108798023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635493555,"filename":"image_23012025_13_28_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fc1077e5e1a88a6693244910310a52f.jpg","text":"TemporaryFile(/tmp/multipartBody4608192272858152941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635493555,"filename":"image_23012025_13_27_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21ae81a2477e135fffa278c0dad44166.jpg","text":"TemporaryFile(/tmp/multipartBody8648998229668229509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635493555,"filename":"image_23012025_13_28_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b7db676216ce7265b167b90c8b6bd62.jpg","text":"TemporaryFile(/tmp/multipartBody6277966514655854235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635493555,"filename":"image_23012025_13_28_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4950ce019fc9f243949c84a53242ca32.jpg","text":"TemporaryFile(/tmp/multipartBody637187794557439620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635493555,"filename":"image_23012025_13_28_25_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828667","file1":"1330828660","file0":"1330828655","file4":"1330828670","file5":"1330828674","file3":"1330828668"},"map_files_photo_id_array":[{"photo_id":"1330828674","filename":"file5"},{"photo_id":"1330828667","filename":"file2"},{"photo_id":"1330828670","filename":"file4"},{"photo_id":"1330828660","filename":"file1"},{"photo_id":"1330828655","filename":"file0"},{"photo_id":"1330828668","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828670":["hashtag1","hashtag2"]},{"1330828667":["hashtag1","hashtag2"]},{"1330828655":["hashtag1","hashtag2"]},{"1330828660":["hashtag1","hashtag2"]},{"1330828674":["hashtag1","hashtag2"]},{"1330828668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828670, 1330828667, 1330828655, 1330828660, 1330828674, 1330828668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.74802875518799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:31:32.854630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_55_9389.jpg', '/home/pi/Desktop/images/23012025/13/28/image_23012025_13_29_05_10392.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_16_10335.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_25_9345.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_35_10336.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_46_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_28_55_9389.jpg
/home/pi/Desktop/images/23012025/13/28/image_23012025_13_29_05_10392.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_16_10335.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_25_9345.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_35_10336.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_46_10375.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":["1330828691","1330828699","1330828718","1330828722","1330828704","1330828694"],"photo_ids_order":["1330828691","1330828694","1330828699","1330828704","1330828718","1330828722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e72061be3ada202573b089efc7c4aa05.jpg","text":"TemporaryFile(/tmp/multipartBody7578725560412227927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635553776,"filename":"image_23012025_13_28_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b91418bf89aaa7c411aecff330c9975.jpg","text":"TemporaryFile(/tmp/multipartBody3586248687424661605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635553776,"filename":"image_23012025_13_29_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2431eb319587de30a4858f3b8109539e.jpg","text":"TemporaryFile(/tmp/multipartBody7983134027934155387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635553776,"filename":"image_23012025_13_29_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/309868139a39202841384eec645b7d74.jpg","text":"TemporaryFile(/tmp/multipartBody5308412939731956883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635553776,"filename":"image_23012025_13_29_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e186799453a8adb2e0fe72b1ab1b903.jpg","text":"TemporaryFile(/tmp/multipartBody6700424269044259980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635553776,"filename":"image_23012025_13_29_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3353c3866e802acac587d57964f0562f.jpg","text":"TemporaryFile(/tmp/multipartBody8630701194870983844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635553776,"filename":"image_23012025_13_29_05_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828699","file1":"1330828694","file0":"1330828691","file4":"1330828718","file5":"1330828722","file3":"1330828704"},"map_files_photo_id_array":[{"photo_id":"1330828722","filename":"file5"},{"photo_id":"1330828699","filename":"file2"},{"photo_id":"1330828718","filename":"file4"},{"photo_id":"1330828694","filename":"file1"},{"photo_id":"1330828691","filename":"file0"},{"photo_id":"1330828704","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828691":["hashtag1","hashtag2"]},{"1330828699":["hashtag1","hashtag2"]},{"1330828718":["hashtag1","hashtag2"]},{"1330828722":["hashtag1","hashtag2"]},{"1330828704":["hashtag1","hashtag2"]},{"1330828694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828691, 1330828699, 1330828718, 1330828722, 1330828704, 1330828694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73207068443298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:32:32.201636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_55_9416.jpg', '/home/pi/Desktop/images/23012025/13/29/image_23012025_13_30_06_10353.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_15_9324.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_25_10411.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_36_10333.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_45_9652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_29_55_9416.jpg
/home/pi/Desktop/images/23012025/13/29/image_23012025_13_30_06_10353.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_15_9324.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_25_10411.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_36_10333.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_45_9652.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":["1330828937","1330828855","1330828828","1330828953","1330828941","1330828818"],"photo_ids_order":["1330828818","1330828828","1330828855","1330828937","1330828941","1330828953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9f2f19cd0a9eb607b39435223a1a1a1.jpg","text":"TemporaryFile(/tmp/multipartBody4738800803224645956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613103,"filename":"image_23012025_13_30_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f92514262654411072906770f2792be.jpg","text":"TemporaryFile(/tmp/multipartBody2393925656849441368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613103,"filename":"image_23012025_13_30_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bbebfd5e62544522317711995ac2da4.jpg","text":"TemporaryFile(/tmp/multipartBody1720694381736178662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613103,"filename":"image_23012025_13_30_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ede9fbf9aac091942c2820b180c253b7.jpg","text":"TemporaryFile(/tmp/multipartBody4435091202031891073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613103,"filename":"image_23012025_13_30_45_9652.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b1e01d2383b0a6cddc1ec608dc9c461.jpg","text":"TemporaryFile(/tmp/multipartBody684276679665958993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613103,"filename":"image_23012025_13_30_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edcbaca3032ee8e5a893dd72e1b6dca6.jpg","text":"TemporaryFile(/tmp/multipartBody1178862108106917853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635613103,"filename":"image_23012025_13_29_55_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330828855","file1":"1330828828","file0":"1330828818","file4":"1330828941","file5":"1330828953","file3":"1330828937"},"map_files_photo_id_array":[{"photo_id":"1330828953","filename":"file5"},{"photo_id":"1330828855","filename":"file2"},{"photo_id":"1330828941","filename":"file4"},{"photo_id":"1330828828","filename":"file1"},{"photo_id":"1330828818","filename":"file0"},{"photo_id":"1330828937","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330828937":["hashtag1","hashtag2"]},{"1330828855":["hashtag1","hashtag2"]},{"1330828828":["hashtag1","hashtag2"]},{"1330828953":["hashtag1","hashtag2"]},{"1330828941":["hashtag1","hashtag2"]},{"1330828818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330828937, 1330828855, 1330828828, 1330828953, 1330828941, 1330828818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.58462476730347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:33:32.440698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_56_10413.jpg', '/home/pi/Desktop/images/23012025/13/30/image_23012025_13_31_05_9346.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_15_10333.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_26_10350.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_35_9319.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_45_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_30_56_10413.jpg
/home/pi/Desktop/images/23012025/13/30/image_23012025_13_31_05_9346.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_15_10333.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_26_10350.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_35_9319.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_45_10331.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":["1330829042","1330829037","1330829052","1330829046","1330829031","1330829049"],"photo_ids_order":["1330829031","1330829037","1330829042","1330829046","1330829049","1330829052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/420c85abb490da4a3ed2978dd2c97d0a.jpg","text":"TemporaryFile(/tmp/multipartBody4884515572987340127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673329,"filename":"image_23012025_13_31_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92b5e4a85c13f021fe54216142bd02fa.jpg","text":"TemporaryFile(/tmp/multipartBody3998734412828527759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673329,"filename":"image_23012025_13_31_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9317a7be62986ff379d20331500672a.jpg","text":"TemporaryFile(/tmp/multipartBody5872222998092388678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673329,"filename":"image_23012025_13_31_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/803f0986426a69279286e923e96d371d.jpg","text":"TemporaryFile(/tmp/multipartBody8068478965381760105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673329,"filename":"image_23012025_13_31_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b5c837e3ddc8fac2b7474ced27f2b0c.jpg","text":"TemporaryFile(/tmp/multipartBody192921593771744862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673329,"filename":"image_23012025_13_30_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bda0354c4d80c6d53f81e3ee8b46e30a.jpg","text":"TemporaryFile(/tmp/multipartBody5655195674025695394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635673329,"filename":"image_23012025_13_31_35_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330829042","file1":"1330829037","file0":"1330829031","file4":"1330829049","file5":"1330829052","file3":"1330829046"},"map_files_photo_id_array":[{"photo_id":"1330829052","filename":"file5"},{"photo_id":"1330829042","filename":"file2"},{"photo_id":"1330829049","filename":"file4"},{"photo_id":"1330829037","filename":"file1"},{"photo_id":"1330829031","filename":"file0"},{"photo_id":"1330829046","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330829042":["hashtag1","hashtag2"]},{"1330829037":["hashtag1","hashtag2"]},{"1330829052":["hashtag1","hashtag2"]},{"1330829046":["hashtag1","hashtag2"]},{"1330829031":["hashtag1","hashtag2"]},{"1330829049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330829042, 1330829037, 1330829052, 1330829046, 1330829031, 1330829049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.431851387023926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:34:32.550677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_56_10405.jpg', '/home/pi/Desktop/images/23012025/13/31/image_23012025_13_32_05_9455.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_16_10336.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_25_9475.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_35_10350.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_46_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_31_56_10405.jpg
/home/pi/Desktop/images/23012025/13/31/image_23012025_13_32_05_9455.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_16_10336.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_25_9475.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_35_10350.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_46_10419.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":["1330829092","1330829071","1330829074","1330829088","1330829079","1330829084"],"photo_ids_order":["1330829071","1330829074","1330829079","1330829084","1330829088","1330829092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e03fd9f5076ab8eca5090c74f7ef8f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4006644528890342424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733450,"filename":"image_23012025_13_32_46_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/511f99b144974356822b74ab6d61da3b.jpg","text":"TemporaryFile(/tmp/multipartBody1876588723301865269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733450,"filename":"image_23012025_13_31_56_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23d05bf7fc2e8572a485f8008fd5aa3b.jpg","text":"TemporaryFile(/tmp/multipartBody5235102876694341739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733450,"filename":"image_23012025_13_32_05_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a063264a4e6dbb3fea736d48e1cb878b.jpg","text":"TemporaryFile(/tmp/multipartBody4341759030938267794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733450,"filename":"image_23012025_13_32_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7c001c00ac90a39f7150ecd5ea3feda.jpg","text":"TemporaryFile(/tmp/multipartBody3479545861163183733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733450,"filename":"image_23012025_13_32_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1efa56f89a78366f809a6ebb8effa98.jpg","text":"TemporaryFile(/tmp/multipartBody9048502906860330316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635733450,"filename":"image_23012025_13_32_25_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330829079","file1":"1330829074","file0":"1330829071","file4":"1330829088","file5":"1330829092","file3":"1330829084"},"map_files_photo_id_array":[{"photo_id":"1330829092","filename":"file5"},{"photo_id":"1330829079","filename":"file2"},{"photo_id":"1330829088","filename":"file4"},{"photo_id":"1330829074","filename":"file1"},{"photo_id":"1330829071","filename":"file0"},{"photo_id":"1330829084","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330829092":["hashtag1","hashtag2"]},{"1330829071":["hashtag1","hashtag2"]},{"1330829074":["hashtag1","hashtag2"]},{"1330829088":["hashtag1","hashtag2"]},{"1330829079":["hashtag1","hashtag2"]},{"1330829084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330829092, 1330829071, 1330829074, 1330829088, 1330829079, 1330829084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7710337638855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:35:32.722834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_55_9397.jpg', '/home/pi/Desktop/images/23012025/13/32/image_23012025_13_33_06_10346.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_15_9441.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_25_10408.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_36_10356.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_45_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_32_55_9397.jpg
/home/pi/Desktop/images/23012025/13/32/image_23012025_13_33_06_10346.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_15_9441.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_25_10408.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_36_10356.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_45_9410.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":["1330829126","1330829114","1330829128","1330829122","1330829130","1330829118"],"photo_ids_order":["1330829114","1330829118","1330829122","1330829126","1330829128","1330829130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/428dd5de19026149d57a045a49e49e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2840542670830389470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793641,"filename":"image_23012025_13_33_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90252b9d7e227db1f62cd02a62ebc291.jpg","text":"TemporaryFile(/tmp/multipartBody2155868380313751257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793641,"filename":"image_23012025_13_32_55_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0cf43e1f1a70be64f7a4033b0c53065.jpg","text":"TemporaryFile(/tmp/multipartBody6398828087396555949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793641,"filename":"image_23012025_13_33_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae8cc80cde9a1972f0a0a1a65a76e067.jpg","text":"TemporaryFile(/tmp/multipartBody2164517473196304379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793641,"filename":"image_23012025_13_33_15_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1caddc2535ea7eb7dc2d2179d9b5a15b.jpg","text":"TemporaryFile(/tmp/multipartBody6258841254144912873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793641,"filename":"image_23012025_13_33_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b94b850d3828dd20201b9e6eddeafa0.jpg","text":"TemporaryFile(/tmp/multipartBody8652814358246857356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635793641,"filename":"image_23012025_13_33_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330829122","file1":"1330829118","file0":"1330829114","file4":"1330829128","file5":"1330829130","file3":"1330829126"},"map_files_photo_id_array":[{"photo_id":"1330829130","filename":"file5"},{"photo_id":"1330829122","filename":"file2"},{"photo_id":"1330829128","filename":"file4"},{"photo_id":"1330829118","filename":"file1"},{"photo_id":"1330829114","filename":"file0"},{"photo_id":"1330829126","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330829126":["hashtag1","hashtag2"]},{"1330829114":["hashtag1","hashtag2"]},{"1330829128":["hashtag1","hashtag2"]},{"1330829122":["hashtag1","hashtag2"]},{"1330829130":["hashtag1","hashtag2"]},{"1330829118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330829126, 1330829114, 1330829128, 1330829122, 1330829130, 1330829118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35056686401367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:36:32.898579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_56_10359.jpg', '/home/pi/Desktop/images/23012025/13/33/image_23012025_13_34_05_9468.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_15_10352.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_26_10381.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_35_9342.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_46_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_33_56_10359.jpg
/home/pi/Desktop/images/23012025/13/33/image_23012025_13_34_05_9468.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_15_10352.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_26_10381.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_35_9342.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_46_10386.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":["1330829234","1330829251","1330829271","1330829193","1330829198","1330829264"],"photo_ids_order":["1330829193","1330829198","1330829234","1330829251","1330829264","1330829271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/198bcb00eebd924d29468c5f40376ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1124763046284096234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635853794,"filename":"image_23012025_13_34_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a442dd8c832f9a3ca7db6847decd9323.jpg","text":"TemporaryFile(/tmp/multipartBody2428601631597749672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635853794,"filename":"image_23012025_13_34_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae8e776ddbe96d735043161595384d99.jpg","text":"TemporaryFile(/tmp/multipartBody775309496240121624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635853794,"filename":"image_23012025_13_34_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d1326fb887bd7eda91fdfbad484fb56.jpg","text":"TemporaryFile(/tmp/multipartBody7777285646619835383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635853794,"filename":"image_23012025_13_33_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38ee06eabb64151eaf79b3ba6f9cf984.jpg","text":"TemporaryFile(/tmp/multipartBody3286352086417335403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635853794,"filename":"image_23012025_13_34_05_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b60c3ed1885810b17810ebaecc99f8a.jpg","text":"TemporaryFile(/tmp/multipartBody5850897212807820030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635853794,"filename":"image_23012025_13_34_35_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330829234","file1":"1330829198","file0":"1330829193","file4":"1330829264","file5":"1330829271","file3":"1330829251"},"map_files_photo_id_array":[{"photo_id":"1330829271","filename":"file5"},{"photo_id":"1330829234","filename":"file2"},{"photo_id":"1330829264","filename":"file4"},{"photo_id":"1330829198","filename":"file1"},{"photo_id":"1330829193","filename":"file0"},{"photo_id":"1330829251","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330829234":["hashtag1","hashtag2"]},{"1330829251":["hashtag1","hashtag2"]},{"1330829271":["hashtag1","hashtag2"]},{"1330829193":["hashtag1","hashtag2"]},{"1330829198":["hashtag1","hashtag2"]},{"1330829264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330829234, 1330829251, 1330829271, 1330829193, 1330829198, 1330829264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.917553663253784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:37:33.074965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_55_9350.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_35_05_10353.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_16_10340.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_25_9338.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_35_10425.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_55_9350.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_35_05_10353.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_16_10340.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_25_9338.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_35_10425.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_46_10338.jpg
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: 0.5239319801330566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 13:37:43.058903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_55_9350.jpg', '/home/pi/Desktop/images/23012025/13/34/image_23012025_13_35_05_10353.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_16_10340.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_25_9338.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_35_10425.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_46_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_34_55_9350.jpg
/home/pi/Desktop/images/23012025/13/34/image_23012025_13_35_05_10353.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_16_10340.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_25_9338.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_35_10425.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_46_10338.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":["1330829896","1330829830","1330829728","1330829652","1330829901","1330829891"],"photo_ids_order":["1330829652","1330829728","1330829830","1330829891","1330829896","1330829901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4229d9fe2934b7046a9393f3b4812a6.jpg","text":"TemporaryFile(/tmp/multipartBody7249219323162580986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635924075,"filename":"image_23012025_13_35_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edf0c5bd8761d08a056f2bfdfa1aecf9.jpg","text":"TemporaryFile(/tmp/multipartBody734070240670618525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635924075,"filename":"image_23012025_13_35_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20cbf426b7a19984cc42728d0b892a1a.jpg","text":"TemporaryFile(/tmp/multipartBody2710793532237057353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635924075,"filename":"image_23012025_13_35_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22bd05646f0906ca3f8041ffd1ecb4d3.jpg","text":"TemporaryFile(/tmp/multipartBody1007212154257839846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635924075,"filename":"image_23012025_13_34_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb19208bbf96713affe287b3cb63679e.jpg","text":"TemporaryFile(/tmp/multipartBody836055697445273179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635924075,"filename":"image_23012025_13_35_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/638a7fec41b23d04a44aaf7e74688a28.jpg","text":"TemporaryFile(/tmp/multipartBody4548707268632679460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635924075,"filename":"image_23012025_13_35_25_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330829830","file1":"1330829728","file0":"1330829652","file4":"1330829896","file5":"1330829901","file3":"1330829891"},"map_files_photo_id_array":[{"photo_id":"1330829901","filename":"file5"},{"photo_id":"1330829830","filename":"file2"},{"photo_id":"1330829896","filename":"file4"},{"photo_id":"1330829728","filename":"file1"},{"photo_id":"1330829652","filename":"file0"},{"photo_id":"1330829891","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330829896":["hashtag1","hashtag2"]},{"1330829830":["hashtag1","hashtag2"]},{"1330829728":["hashtag1","hashtag2"]},{"1330829652":["hashtag1","hashtag2"]},{"1330829901":["hashtag1","hashtag2"]},{"1330829891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330829896, 1330829830, 1330829728, 1330829652, 1330829901, 1330829891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82175874710083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:38:32.186165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_55_9419.jpg', '/home/pi/Desktop/images/23012025/13/35/image_23012025_13_36_05_10333.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_16_10340.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_25_9384.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_35_10337.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_45_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_35_55_9419.jpg
/home/pi/Desktop/images/23012025/13/35/image_23012025_13_36_05_10333.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_16_10340.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_25_9384.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_35_10337.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_45_9414.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":["1330830005","1330830008","1330829997","1330829988","1330829973","1330830010"],"photo_ids_order":["1330829973","1330829988","1330829997","1330830005","1330830008","1330830010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a13e60f3f5ebd505e3001003b7b83316.jpg","text":"TemporaryFile(/tmp/multipartBody3759348144908437749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635973076,"filename":"image_23012025_13_36_25_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54b15aebb9f8d2f07b4b75b9c5fcd046.jpg","text":"TemporaryFile(/tmp/multipartBody5358958079891966684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635973076,"filename":"image_23012025_13_36_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f925dad4bf5ae1f9d1f44d0430c80d97.jpg","text":"TemporaryFile(/tmp/multipartBody6258164964157509907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635973076,"filename":"image_23012025_13_36_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fc1893c697fe5c725a30f3d9ce7ea27.jpg","text":"TemporaryFile(/tmp/multipartBody1884141281223256812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635973076,"filename":"image_23012025_13_36_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26cf8199bddc10d68e784f4f1fc01366.jpg","text":"TemporaryFile(/tmp/multipartBody381491956516050492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635973076,"filename":"image_23012025_13_35_55_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39cd103102766b10faf10c914ec7fd3e.jpg","text":"TemporaryFile(/tmp/multipartBody792239777204634305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737635973076,"filename":"image_23012025_13_36_45_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330829997","file1":"1330829988","file0":"1330829973","file4":"1330830008","file5":"1330830010","file3":"1330830005"},"map_files_photo_id_array":[{"photo_id":"1330830010","filename":"file5"},{"photo_id":"1330829997","filename":"file2"},{"photo_id":"1330830008","filename":"file4"},{"photo_id":"1330829988","filename":"file1"},{"photo_id":"1330829973","filename":"file0"},{"photo_id":"1330830005","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330830005":["hashtag1","hashtag2"]},{"1330830008":["hashtag1","hashtag2"]},{"1330829997":["hashtag1","hashtag2"]},{"1330829988":["hashtag1","hashtag2"]},{"1330829973":["hashtag1","hashtag2"]},{"1330830010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330830005, 1330830008, 1330829997, 1330829988, 1330829973, 1330830010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.0276894569397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:39:32.403383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_55_10421.jpg', '/home/pi/Desktop/images/23012025/13/36/image_23012025_13_37_06_10344.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_15_9388.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_25_10342.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_36_10438.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_45_9470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_36_55_10421.jpg
/home/pi/Desktop/images/23012025/13/36/image_23012025_13_37_06_10344.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_15_9388.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_25_10342.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_36_10438.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_45_9470.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":["1330830137","1330830169","1330830157","1330830133","1330830072","1330830153"],"photo_ids_order":["1330830072","1330830133","1330830137","1330830153","1330830157","1330830169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bd6a1bd521a5255d3c93cce0d059ce5.jpg","text":"TemporaryFile(/tmp/multipartBody5672911083680026814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636033309,"filename":"image_23012025_13_37_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efa3578afae499c452b7eef159d2e6de.jpg","text":"TemporaryFile(/tmp/multipartBody3159851733197846620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636033309,"filename":"image_23012025_13_37_45_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0710e9d768a2221c2bae6f149020909.jpg","text":"TemporaryFile(/tmp/multipartBody7870337513112581857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636033309,"filename":"image_23012025_13_37_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc24f8ac78c9bd12298984026b1b71d9.jpg","text":"TemporaryFile(/tmp/multipartBody708024561369339271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636033309,"filename":"image_23012025_13_37_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf8bc7e848b5f5da1a3e34893a8b76f0.jpg","text":"TemporaryFile(/tmp/multipartBody2406014625628091064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636033309,"filename":"image_23012025_13_36_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d460bf070cf93e31419f703d25873ec.jpg","text":"TemporaryFile(/tmp/multipartBody906602132925725647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636033309,"filename":"image_23012025_13_37_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330830137","file1":"1330830133","file0":"1330830072","file4":"1330830157","file5":"1330830169","file3":"1330830153"},"map_files_photo_id_array":[{"photo_id":"1330830169","filename":"file5"},{"photo_id":"1330830137","filename":"file2"},{"photo_id":"1330830157","filename":"file4"},{"photo_id":"1330830133","filename":"file1"},{"photo_id":"1330830072","filename":"file0"},{"photo_id":"1330830153","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330830137":["hashtag1","hashtag2"]},{"1330830169":["hashtag1","hashtag2"]},{"1330830157":["hashtag1","hashtag2"]},{"1330830133":["hashtag1","hashtag2"]},{"1330830072":["hashtag1","hashtag2"]},{"1330830153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330830137, 1330830169, 1330830157, 1330830133, 1330830072, 1330830153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.01909399032593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:40:35.051846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_56_10344.jpg', '/home/pi/Desktop/images/23012025/13/37/image_23012025_13_38_05_9393.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_15_10344.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_26_10363.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_35_9334.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_37_56_10344.jpg
/home/pi/Desktop/images/23012025/13/37/image_23012025_13_38_05_9393.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_15_10344.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_26_10363.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_35_9334.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_45_10342.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":["1330830230","1330830203","1330830199","1330830208","1330830246","1330830243"],"photo_ids_order":["1330830199","1330830203","1330830208","1330830230","1330830243","1330830246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab93dd35eb617e47a965cad5dd0dd459.jpg","text":"TemporaryFile(/tmp/multipartBody1517159560996527903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636096103,"filename":"image_23012025_13_38_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea1834d84909ec4a981bb8e6f783a584.jpg","text":"TemporaryFile(/tmp/multipartBody2731413150168452931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636096103,"filename":"image_23012025_13_38_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15d1c2f0cd7a6b30249d48fb9de5d924.jpg","text":"TemporaryFile(/tmp/multipartBody2161035072823029731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636096103,"filename":"image_23012025_13_37_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b424454a44958b8984b027cd13fbf37e.jpg","text":"TemporaryFile(/tmp/multipartBody3235520439048393267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636096103,"filename":"image_23012025_13_38_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b77c66ed79f9f2a1a487ca3ef15e890.jpg","text":"TemporaryFile(/tmp/multipartBody711725863331109579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636096103,"filename":"image_23012025_13_38_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfe613bfbb5e2a907184a93e04e8ea80.jpg","text":"TemporaryFile(/tmp/multipartBody6275815932170408692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636096103,"filename":"image_23012025_13_38_35_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330830208","file1":"1330830203","file0":"1330830199","file4":"1330830243","file5":"1330830246","file3":"1330830230"},"map_files_photo_id_array":[{"photo_id":"1330830246","filename":"file5"},{"photo_id":"1330830208","filename":"file2"},{"photo_id":"1330830243","filename":"file4"},{"photo_id":"1330830203","filename":"file1"},{"photo_id":"1330830199","filename":"file0"},{"photo_id":"1330830230","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330830230":["hashtag1","hashtag2"]},{"1330830203":["hashtag1","hashtag2"]},{"1330830199":["hashtag1","hashtag2"]},{"1330830208":["hashtag1","hashtag2"]},{"1330830246":["hashtag1","hashtag2"]},{"1330830243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330830230, 1330830203, 1330830199, 1330830208, 1330830246, 1330830243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5311758518219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:41:32.565526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_56_10417.jpg', '/home/pi/Desktop/images/23012025/13/38/image_23012025_13_39_05_9457.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_16_10336.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_25_9434.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_35_10324.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_46_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_38_56_10417.jpg
/home/pi/Desktop/images/23012025/13/38/image_23012025_13_39_05_9457.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_16_10336.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_25_9434.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_35_10324.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_46_10329.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":["1330830304","1330830291","1330830342","1330830300","1330830339","1330830318"],"photo_ids_order":["1330830291","1330830300","1330830304","1330830318","1330830339","1330830342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9a89df758f283f9df5a300bc3222679.jpg","text":"TemporaryFile(/tmp/multipartBody2359380209205292058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636153458,"filename":"image_23012025_13_39_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e362b320c7aa7ad59e99ce8f7dbe306d.jpg","text":"TemporaryFile(/tmp/multipartBody8883758544579891002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636153458,"filename":"image_23012025_13_38_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b2ad5d050bb190cd9b5046fbd870610.jpg","text":"TemporaryFile(/tmp/multipartBody3674465369933312463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636153458,"filename":"image_23012025_13_39_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fdafac420c1c873767a43d967347618.jpg","text":"TemporaryFile(/tmp/multipartBody3387815406740398989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636153458,"filename":"image_23012025_13_39_05_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3d7e552416dffecf2a8f9d36075c0fb.jpg","text":"TemporaryFile(/tmp/multipartBody2411239106568210277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636153458,"filename":"image_23012025_13_39_35_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cab88615bbc78c3831fc8d6840a3e153.jpg","text":"TemporaryFile(/tmp/multipartBody3496338737788906298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636153458,"filename":"image_23012025_13_39_25_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330830304","file1":"1330830300","file0":"1330830291","file4":"1330830339","file5":"1330830342","file3":"1330830318"},"map_files_photo_id_array":[{"photo_id":"1330830342","filename":"file5"},{"photo_id":"1330830304","filename":"file2"},{"photo_id":"1330830339","filename":"file4"},{"photo_id":"1330830300","filename":"file1"},{"photo_id":"1330830291","filename":"file0"},{"photo_id":"1330830318","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330830304":["hashtag1","hashtag2"]},{"1330830291":["hashtag1","hashtag2"]},{"1330830342":["hashtag1","hashtag2"]},{"1330830300":["hashtag1","hashtag2"]},{"1330830339":["hashtag1","hashtag2"]},{"1330830318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330830304, 1330830291, 1330830342, 1330830300, 1330830339, 1330830318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.310277223587036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:42:32.686262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_55_9376.jpg', '/home/pi/Desktop/images/23012025/13/39/image_23012025_13_40_05_10352.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_16_10380.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_25_9416.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_36_10342.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_45_9594.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_39_55_9376.jpg
/home/pi/Desktop/images/23012025/13/39/image_23012025_13_40_05_10352.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_16_10380.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_25_9416.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_36_10342.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_45_9594.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":["1330831657","1330831522","1330831330","1330831191","1330831008","1330831157"],"photo_ids_order":["1330831008","1330831157","1330831191","1330831330","1330831522","1330831657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc3972d3e4225072a977f37d13b5b12a.jpg","text":"TemporaryFile(/tmp/multipartBody1598452241382174041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636213581,"filename":"image_23012025_13_40_45_9594.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f92501dea1a4a9cba0ff7d61bbe3935.jpg","text":"TemporaryFile(/tmp/multipartBody5204350641363670003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636213581,"filename":"image_23012025_13_40_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fd3a4170369da66b3be909fd5c82286.jpg","text":"TemporaryFile(/tmp/multipartBody4148763025364042239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636213581,"filename":"image_23012025_13_40_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0849355710394ba2e97f979f475a967b.jpg","text":"TemporaryFile(/tmp/multipartBody5433516229226307236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636213581,"filename":"image_23012025_13_40_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6d593fd85817a5bf737a380ce03fe90.jpg","text":"TemporaryFile(/tmp/multipartBody2526908126629412846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636213581,"filename":"image_23012025_13_39_55_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46464b2dd05d84591de6407423cfbbd4.jpg","text":"TemporaryFile(/tmp/multipartBody7170858089635907876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636213581,"filename":"image_23012025_13_40_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330831191","file1":"1330831157","file0":"1330831008","file4":"1330831522","file5":"1330831657","file3":"1330831330"},"map_files_photo_id_array":[{"photo_id":"1330831657","filename":"file5"},{"photo_id":"1330831191","filename":"file2"},{"photo_id":"1330831522","filename":"file4"},{"photo_id":"1330831157","filename":"file1"},{"photo_id":"1330831008","filename":"file0"},{"photo_id":"1330831330","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330831657":["hashtag1","hashtag2"]},{"1330831522":["hashtag1","hashtag2"]},{"1330831330":["hashtag1","hashtag2"]},{"1330831191":["hashtag1","hashtag2"]},{"1330831008":["hashtag1","hashtag2"]},{"1330831157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330831657, 1330831522, 1330831330, 1330831191, 1330831008, 1330831157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.487159967422485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:43:32.742318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_56_10357.jpg', '/home/pi/Desktop/images/23012025/13/40/image_23012025_13_41_05_9337.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_15_10406.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_26_10337.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_35_9402.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_40_56_10357.jpg
/home/pi/Desktop/images/23012025/13/40/image_23012025_13_41_05_9337.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_15_10406.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_26_10337.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_35_9402.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_45_10349.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":["1330831717","1330831797","1330831773","1330831743","1330831731","1330831769"],"photo_ids_order":["1330831717","1330831731","1330831743","1330831769","1330831773","1330831797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43939168818c83ee748d6615e7e44d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7327674226173267816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636273639,"filename":"image_23012025_13_40_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fe125878f29daa84e27a02240f2c9fa.jpg","text":"TemporaryFile(/tmp/multipartBody6571823388317299118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636273639,"filename":"image_23012025_13_41_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdf33f45b2583eebd2a4927765a1a5eb.jpg","text":"TemporaryFile(/tmp/multipartBody4226588774516344996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636273639,"filename":"image_23012025_13_41_35_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16f623d82747808a2166df70c32a9b2c.jpg","text":"TemporaryFile(/tmp/multipartBody3198712984834279367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636273639,"filename":"image_23012025_13_41_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ae0dd0e23939c6a2a993729be6d722e.jpg","text":"TemporaryFile(/tmp/multipartBody6677183514512957879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636273639,"filename":"image_23012025_13_41_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c931e59102d05e3ad1756f04c581e78b.jpg","text":"TemporaryFile(/tmp/multipartBody5529715496927991369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636273639,"filename":"image_23012025_13_41_26_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330831743","file1":"1330831731","file0":"1330831717","file4":"1330831773","file5":"1330831797","file3":"1330831769"},"map_files_photo_id_array":[{"photo_id":"1330831797","filename":"file5"},{"photo_id":"1330831743","filename":"file2"},{"photo_id":"1330831773","filename":"file4"},{"photo_id":"1330831731","filename":"file1"},{"photo_id":"1330831717","filename":"file0"},{"photo_id":"1330831769","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330831717":["hashtag1","hashtag2"]},{"1330831797":["hashtag1","hashtag2"]},{"1330831773":["hashtag1","hashtag2"]},{"1330831743":["hashtag1","hashtag2"]},{"1330831731":["hashtag1","hashtag2"]},{"1330831769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330831717, 1330831797, 1330831773, 1330831743, 1330831731, 1330831769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74283194541931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:44:32.864944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_55_9560.jpg', '/home/pi/Desktop/images/23012025/13/41/image_23012025_13_42_05_10382.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_16_10340.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_26_10023.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_35_9398.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_45_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_41_55_9560.jpg
/home/pi/Desktop/images/23012025/13/41/image_23012025_13_42_05_10382.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_16_10340.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_26_10023.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_35_9398.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_45_10336.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":["1330832032","1330832215","1330832198","1330832138","1330832219","1330832204"],"photo_ids_order":["1330832032","1330832138","1330832198","1330832204","1330832215","1330832219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/685a652d0a7f695b9b891e28572d3030.jpg","text":"TemporaryFile(/tmp/multipartBody5535608348248149417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636333763,"filename":"image_23012025_13_41_55_9560.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60186c44b662482d572ae39008e2766d.jpg","text":"TemporaryFile(/tmp/multipartBody2481808960767485258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636333763,"filename":"image_23012025_13_42_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c39bd1db66399b2824db0c63bac75641.jpg","text":"TemporaryFile(/tmp/multipartBody5716009162955912168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636333763,"filename":"image_23012025_13_42_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4aa3f81214a512130b46304978d4d23.jpg","text":"TemporaryFile(/tmp/multipartBody6106819139072846539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636333763,"filename":"image_23012025_13_42_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9821d8e7141d9e2aa6901efc51e4bc9.jpg","text":"TemporaryFile(/tmp/multipartBody636810054321599129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636333763,"filename":"image_23012025_13_42_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49401f106d8c5a3ba08ed18b6128d825.jpg","text":"TemporaryFile(/tmp/multipartBody258950637428897356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636333763,"filename":"image_23012025_13_42_26_10023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330832198","file1":"1330832138","file0":"1330832032","file4":"1330832215","file5":"1330832219","file3":"1330832204"},"map_files_photo_id_array":[{"photo_id":"1330832219","filename":"file5"},{"photo_id":"1330832198","filename":"file2"},{"photo_id":"1330832215","filename":"file4"},{"photo_id":"1330832138","filename":"file1"},{"photo_id":"1330832032","filename":"file0"},{"photo_id":"1330832204","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330832032":["hashtag1","hashtag2"]},{"1330832215":["hashtag1","hashtag2"]},{"1330832198":["hashtag1","hashtag2"]},{"1330832138":["hashtag1","hashtag2"]},{"1330832219":["hashtag1","hashtag2"]},{"1330832204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330832032, 1330832215, 1330832198, 1330832138, 1330832219, 1330832204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.62887120246887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:45:32.269144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_56_10365.jpg', '/home/pi/Desktop/images/23012025/13/42/image_23012025_13_43_05_9491.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_16_10465.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_25_9357.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_35_10318.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_42_56_10365.jpg
/home/pi/Desktop/images/23012025/13/42/image_23012025_13_43_05_9491.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_16_10465.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_25_9357.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_35_10318.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_46_10341.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":["1330832431","1330832577","1330832416","1330832574","1330832543","1330832441"],"photo_ids_order":["1330832416","1330832431","1330832441","1330832543","1330832574","1330832577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4d13d1eb2429782ab5c793ca4207351.jpg","text":"TemporaryFile(/tmp/multipartBody2543961875653311082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636393154,"filename":"image_23012025_13_43_05_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df0f07ae822040929e13be69de143b28.jpg","text":"TemporaryFile(/tmp/multipartBody5063633575017391560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636393154,"filename":"image_23012025_13_43_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e46e0dc6e33c945d758727350fe0b92b.jpg","text":"TemporaryFile(/tmp/multipartBody5168268378914985454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636393154,"filename":"image_23012025_13_42_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a2ab42a7cda031e64d93d55acc2c748.jpg","text":"TemporaryFile(/tmp/multipartBody3599744688796639488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636393154,"filename":"image_23012025_13_43_35_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/188147bb8c290a5b77fe24f4a43d2879.jpg","text":"TemporaryFile(/tmp/multipartBody3941696050882534680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636393154,"filename":"image_23012025_13_43_25_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd4b032fd4493b84676b5ca275a487d9.jpg","text":"TemporaryFile(/tmp/multipartBody4651440993760511321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636393154,"filename":"image_23012025_13_43_16_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330832441","file1":"1330832431","file0":"1330832416","file4":"1330832574","file5":"1330832577","file3":"1330832543"},"map_files_photo_id_array":[{"photo_id":"1330832577","filename":"file5"},{"photo_id":"1330832441","filename":"file2"},{"photo_id":"1330832574","filename":"file4"},{"photo_id":"1330832431","filename":"file1"},{"photo_id":"1330832416","filename":"file0"},{"photo_id":"1330832543","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330832431":["hashtag1","hashtag2"]},{"1330832577":["hashtag1","hashtag2"]},{"1330832416":["hashtag1","hashtag2"]},{"1330832574":["hashtag1","hashtag2"]},{"1330832543":["hashtag1","hashtag2"]},{"1330832441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330832431, 1330832577, 1330832416, 1330832574, 1330832543, 1330832441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21091675758362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:46:32.484937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_55_9343.jpg', '/home/pi/Desktop/images/23012025/13/43/image_23012025_13_44_05_10334.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_16_10323.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_25_9411.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_36_10340.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_43_55_9343.jpg
/home/pi/Desktop/images/23012025/13/43/image_23012025_13_44_05_10334.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_16_10323.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_25_9411.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_36_10340.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_46_10355.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":["1330832770","1330832773","1330832752","1330832761","1330832756","1330832765"],"photo_ids_order":["1330832752","1330832756","1330832761","1330832765","1330832770","1330832773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80be831b48c4469a7e280e6ed00d69ee.jpg","text":"TemporaryFile(/tmp/multipartBody4083035074760470459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636453380,"filename":"image_23012025_13_44_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35bdb2e723071ce05092e8c6593714ef.jpg","text":"TemporaryFile(/tmp/multipartBody9120528070522216940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636453380,"filename":"image_23012025_13_44_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b351f92b7ce8167a40dcf3807c14a2e2.jpg","text":"TemporaryFile(/tmp/multipartBody6480668342882367289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636453380,"filename":"image_23012025_13_43_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/515230fe85d6019ebd54d63ed889e24b.jpg","text":"TemporaryFile(/tmp/multipartBody4793629239667255611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636453380,"filename":"image_23012025_13_44_16_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4023ad9b308c5a54e514559fc56c8687.jpg","text":"TemporaryFile(/tmp/multipartBody5409101758005416802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636453380,"filename":"image_23012025_13_44_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/738a141489dd7127a59da852b07d6e13.jpg","text":"TemporaryFile(/tmp/multipartBody3463200313593334854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636453380,"filename":"image_23012025_13_44_25_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330832761","file1":"1330832756","file0":"1330832752","file4":"1330832770","file5":"1330832773","file3":"1330832765"},"map_files_photo_id_array":[{"photo_id":"1330832773","filename":"file5"},{"photo_id":"1330832761","filename":"file2"},{"photo_id":"1330832770","filename":"file4"},{"photo_id":"1330832756","filename":"file1"},{"photo_id":"1330832752","filename":"file0"},{"photo_id":"1330832765","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330832770":["hashtag1","hashtag2"]},{"1330832773":["hashtag1","hashtag2"]},{"1330832752":["hashtag1","hashtag2"]},{"1330832761":["hashtag1","hashtag2"]},{"1330832756":["hashtag1","hashtag2"]},{"1330832765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330832770, 1330832773, 1330832752, 1330832761, 1330832756, 1330832765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.57036375999451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:47:32.749512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_55_9409.jpg', '/home/pi/Desktop/images/23012025/13/44/image_23012025_13_45_06_10378.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_15_9427.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_25_10360.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_36_10343.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_44_55_9409.jpg
/home/pi/Desktop/images/23012025/13/44/image_23012025_13_45_06_10378.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_15_9427.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_25_10360.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_36_10343.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_45_9356.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":["1330832857","1330832874","1330832812","1330832784","1330832897","1330832831"],"photo_ids_order":["1330832784","1330832812","1330832831","1330832857","1330832874","1330832897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/094955f487cb86e84de65f0e076502c4.jpg","text":"TemporaryFile(/tmp/multipartBody2152864700713446895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636513651,"filename":"image_23012025_13_45_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f4974492f5df1fb440bc822f1d09323.jpg","text":"TemporaryFile(/tmp/multipartBody5596300399949973650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636513651,"filename":"image_23012025_13_45_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d1dbd01b5952e1f7cb15a18233bccdf.jpg","text":"TemporaryFile(/tmp/multipartBody4137352707318706173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636513651,"filename":"image_23012025_13_45_06_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44a70dddfdf442647f3f5de23dedf358.jpg","text":"TemporaryFile(/tmp/multipartBody5445400491931812241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636513651,"filename":"image_23012025_13_44_55_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5df175789e7e822d865a99facf0da97f.jpg","text":"TemporaryFile(/tmp/multipartBody8528495435217152945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636513651,"filename":"image_23012025_13_45_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c229a51636c686cf367028d483ccc95.jpg","text":"TemporaryFile(/tmp/multipartBody743648758962080315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636513651,"filename":"image_23012025_13_45_15_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330832831","file1":"1330832812","file0":"1330832784","file4":"1330832874","file5":"1330832897","file3":"1330832857"},"map_files_photo_id_array":[{"photo_id":"1330832897","filename":"file5"},{"photo_id":"1330832831","filename":"file2"},{"photo_id":"1330832874","filename":"file4"},{"photo_id":"1330832812","filename":"file1"},{"photo_id":"1330832784","filename":"file0"},{"photo_id":"1330832857","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330832857":["hashtag1","hashtag2"]},{"1330832874":["hashtag1","hashtag2"]},{"1330832812":["hashtag1","hashtag2"]},{"1330832784":["hashtag1","hashtag2"]},{"1330832897":["hashtag1","hashtag2"]},{"1330832831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330832857, 1330832874, 1330832812, 1330832784, 1330832897, 1330832831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14514970779419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:48:32.899467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_55_10345.jpg', '/home/pi/Desktop/images/23012025/13/45/image_23012025_13_46_06_10330.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_15_9319.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_25_10337.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_36_10360.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_45_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_45_55_10345.jpg
/home/pi/Desktop/images/23012025/13/45/image_23012025_13_46_06_10330.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_15_9319.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_25_10337.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_36_10360.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_45_9421.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":["1330832965","1330832961","1330832949","1330832958","1330832954","1330832945"],"photo_ids_order":["1330832945","1330832949","1330832954","1330832958","1330832961","1330832965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d2547d9357e05600fe5e2ea8d1c9adf.jpg","text":"TemporaryFile(/tmp/multipartBody2379164258227948903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636573791,"filename":"image_23012025_13_46_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0636aff70f4ad65c72efb3e00be6a2f.jpg","text":"TemporaryFile(/tmp/multipartBody7540534261733480811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636573791,"filename":"image_23012025_13_46_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69fb7ff76e1d321ff6072e23f135b270.jpg","text":"TemporaryFile(/tmp/multipartBody3164930761934866446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636573791,"filename":"image_23012025_13_46_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b891ea3645a2c77d31e692d1a3d298d9.jpg","text":"TemporaryFile(/tmp/multipartBody9022351779204558624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636573791,"filename":"image_23012025_13_46_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fbe36f5654b706aa71e5b637f73a59e.jpg","text":"TemporaryFile(/tmp/multipartBody3879497692606442312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636573791,"filename":"image_23012025_13_46_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb64e611cef932158acd8a458ed63a27.jpg","text":"TemporaryFile(/tmp/multipartBody2850684280929313086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636573791,"filename":"image_23012025_13_45_55_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330832954","file1":"1330832949","file0":"1330832945","file4":"1330832961","file5":"1330832965","file3":"1330832958"},"map_files_photo_id_array":[{"photo_id":"1330832965","filename":"file5"},{"photo_id":"1330832954","filename":"file2"},{"photo_id":"1330832961","filename":"file4"},{"photo_id":"1330832949","filename":"file1"},{"photo_id":"1330832945","filename":"file0"},{"photo_id":"1330832958","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330832965":["hashtag1","hashtag2"]},{"1330832961":["hashtag1","hashtag2"]},{"1330832949":["hashtag1","hashtag2"]},{"1330832958":["hashtag1","hashtag2"]},{"1330832954":["hashtag1","hashtag2"]},{"1330832945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330832965, 1330832961, 1330832949, 1330832958, 1330832954, 1330832945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10669231414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:49:33.173510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_56_10346.jpg', '/home/pi/Desktop/images/23012025/13/46/image_23012025_13_47_05_9405.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_15_10449.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_26_10337.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_35_9454.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_46_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_46_56_10346.jpg
/home/pi/Desktop/images/23012025/13/46/image_23012025_13_47_05_9405.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_15_10449.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_26_10337.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_35_9454.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_46_10340.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":["1330833022","1330833004","1330832994","1330833009","1330832999","1330833011"],"photo_ids_order":["1330832994","1330832999","1330833004","1330833009","1330833011","1330833022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3456cba7702d04714b862ed78d937f92.jpg","text":"TemporaryFile(/tmp/multipartBody3600896377828971089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636634150,"filename":"image_23012025_13_47_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67044b4832370bcb37efe746efea491a.jpg","text":"TemporaryFile(/tmp/multipartBody495385237973269383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636634150,"filename":"image_23012025_13_47_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/433b54145db57db3524356a3ee9d95e9.jpg","text":"TemporaryFile(/tmp/multipartBody3454355767964299451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636634150,"filename":"image_23012025_13_46_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7759900bbf92cde0677c4c4ab289b0d9.jpg","text":"TemporaryFile(/tmp/multipartBody51616914382595335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636634150,"filename":"image_23012025_13_47_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87b9538c24b6231e811306987ef1690a.jpg","text":"TemporaryFile(/tmp/multipartBody8869204082125745082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636634150,"filename":"image_23012025_13_47_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de1d34ab825848c71657bb71ac4f108e.jpg","text":"TemporaryFile(/tmp/multipartBody4770265869702873291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636634150,"filename":"image_23012025_13_47_35_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833004","file1":"1330832999","file0":"1330832994","file4":"1330833011","file5":"1330833022","file3":"1330833009"},"map_files_photo_id_array":[{"photo_id":"1330833022","filename":"file5"},{"photo_id":"1330833004","filename":"file2"},{"photo_id":"1330833011","filename":"file4"},{"photo_id":"1330832999","filename":"file1"},{"photo_id":"1330832994","filename":"file0"},{"photo_id":"1330833009","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833022":["hashtag1","hashtag2"]},{"1330833004":["hashtag1","hashtag2"]},{"1330832994":["hashtag1","hashtag2"]},{"1330833009":["hashtag1","hashtag2"]},{"1330832999":["hashtag1","hashtag2"]},{"1330833011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833022, 1330833004, 1330832994, 1330833009, 1330832999, 1330833011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22707438468933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:50:32.269588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_55_9352.jpg', '/home/pi/Desktop/images/23012025/13/47/image_23012025_13_48_05_10358.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_16_10351.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_25_9506.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_36_10469.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_45_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_47_55_9352.jpg
/home/pi/Desktop/images/23012025/13/47/image_23012025_13_48_05_10358.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_16_10351.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_25_9506.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_36_10469.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_45_9423.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":["1330833139","1330833147","1330833144","1330833149","1330833134","1330833079"],"photo_ids_order":["1330833079","1330833134","1330833139","1330833144","1330833147","1330833149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac8e74829da9ca317b91595d56bfdeb0.jpg","text":"TemporaryFile(/tmp/multipartBody8146381890386785814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693178,"filename":"image_23012025_13_48_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c37a24883e693d638eeceea68880dc66.jpg","text":"TemporaryFile(/tmp/multipartBody1226454890817213270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693178,"filename":"image_23012025_13_48_36_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95d85cf86fc9d94ee77e7a8ebd5e0ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5027956267717966179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693178,"filename":"image_23012025_13_48_25_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9af712722f99f2459f0e73ee41d679dd.jpg","text":"TemporaryFile(/tmp/multipartBody8075876097132675915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693178,"filename":"image_23012025_13_48_45_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/937786d0531f411cf3f5d01ebdaff89f.jpg","text":"TemporaryFile(/tmp/multipartBody4262274691219543663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693178,"filename":"image_23012025_13_48_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afb38a61a6fec4f323c64f0d1bb4cc6f.jpg","text":"TemporaryFile(/tmp/multipartBody374657596569614135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636693178,"filename":"image_23012025_13_47_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833139","file1":"1330833134","file0":"1330833079","file4":"1330833147","file5":"1330833149","file3":"1330833144"},"map_files_photo_id_array":[{"photo_id":"1330833149","filename":"file5"},{"photo_id":"1330833139","filename":"file2"},{"photo_id":"1330833147","filename":"file4"},{"photo_id":"1330833134","filename":"file1"},{"photo_id":"1330833079","filename":"file0"},{"photo_id":"1330833144","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833139":["hashtag1","hashtag2"]},{"1330833147":["hashtag1","hashtag2"]},{"1330833144":["hashtag1","hashtag2"]},{"1330833149":["hashtag1","hashtag2"]},{"1330833134":["hashtag1","hashtag2"]},{"1330833079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833139, 1330833147, 1330833144, 1330833149, 1330833134, 1330833079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.855868101119995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:51:32.558248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_55_10371.jpg', '/home/pi/Desktop/images/23012025/13/48/image_23012025_13_49_06_10332.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_15_9430.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_26_10370.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_35_9351.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_45_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_48_55_10371.jpg
/home/pi/Desktop/images/23012025/13/48/image_23012025_13_49_06_10332.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_15_9430.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_26_10370.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_35_9351.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_45_10413.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":["1330833339","1330833348","1330833356","1330833359","1330833352","1330833355"],"photo_ids_order":["1330833339","1330833348","1330833352","1330833355","1330833356","1330833359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eeaa6ca71c8a4884c2c0f2da0d1c0925.jpg","text":"TemporaryFile(/tmp/multipartBody589440772443106945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636753458,"filename":"image_23012025_13_48_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e43999c4d234b0a86133926b61548f1.jpg","text":"TemporaryFile(/tmp/multipartBody1884230755689948793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636753458,"filename":"image_23012025_13_49_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0864d73b89542c1e23d471dd57b2be3.jpg","text":"TemporaryFile(/tmp/multipartBody8299410065762641550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636753458,"filename":"image_23012025_13_49_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/645f2bb551ee13140bd906669ecbdd8b.jpg","text":"TemporaryFile(/tmp/multipartBody2267516519186604592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636753458,"filename":"image_23012025_13_49_45_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca2d87a3ea3815e61ca666b3147c6835.jpg","text":"TemporaryFile(/tmp/multipartBody2490616673321390031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636753458,"filename":"image_23012025_13_49_15_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/193b63428515b40ef14503cd9151690a.jpg","text":"TemporaryFile(/tmp/multipartBody8881422200974248786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636753458,"filename":"image_23012025_13_49_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833352","file1":"1330833348","file0":"1330833339","file4":"1330833356","file5":"1330833359","file3":"1330833355"},"map_files_photo_id_array":[{"photo_id":"1330833359","filename":"file5"},{"photo_id":"1330833352","filename":"file2"},{"photo_id":"1330833356","filename":"file4"},{"photo_id":"1330833348","filename":"file1"},{"photo_id":"1330833339","filename":"file0"},{"photo_id":"1330833355","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833339":["hashtag1","hashtag2"]},{"1330833348":["hashtag1","hashtag2"]},{"1330833356":["hashtag1","hashtag2"]},{"1330833359":["hashtag1","hashtag2"]},{"1330833352":["hashtag1","hashtag2"]},{"1330833355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833339, 1330833348, 1330833356, 1330833359, 1330833352, 1330833355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.02011847496033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:52:32.759382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_56_10352.jpg', '/home/pi/Desktop/images/23012025/13/49/image_23012025_13_50_05_9418.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_15_10329.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_26_10339.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_35_9405.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_49_56_10352.jpg
/home/pi/Desktop/images/23012025/13/49/image_23012025_13_50_05_9418.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_15_10329.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_26_10339.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_35_9405.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_45_10334.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":["1330833403","1330833409","1330833438","1330833441","1330833440","1330833433"],"photo_ids_order":["1330833403","1330833409","1330833433","1330833438","1330833440","1330833441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/858603b5c044e00d05e0cbbf897f90e3.jpg","text":"TemporaryFile(/tmp/multipartBody6649866594734679230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636813674,"filename":"image_23012025_13_49_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d2e3509035858570412de789a78c34a.jpg","text":"TemporaryFile(/tmp/multipartBody2326032159614689288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636813674,"filename":"image_23012025_13_50_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97eed7c465cc8b658e37143604e0584b.jpg","text":"TemporaryFile(/tmp/multipartBody287498363901812121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636813674,"filename":"image_23012025_13_50_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ae5e70afd2d02c4211032c61d683afd.jpg","text":"TemporaryFile(/tmp/multipartBody2628710503556412800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636813674,"filename":"image_23012025_13_50_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b9b8355b3d2c6a56bcbc4bb0705d31a.jpg","text":"TemporaryFile(/tmp/multipartBody3274438797422911570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636813674,"filename":"image_23012025_13_50_35_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7a6a04b9fc1548ac7d4f306423e0f40.jpg","text":"TemporaryFile(/tmp/multipartBody8442774078832301214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636813674,"filename":"image_23012025_13_50_15_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833433","file1":"1330833409","file0":"1330833403","file4":"1330833440","file5":"1330833441","file3":"1330833438"},"map_files_photo_id_array":[{"photo_id":"1330833441","filename":"file5"},{"photo_id":"1330833433","filename":"file2"},{"photo_id":"1330833440","filename":"file4"},{"photo_id":"1330833409","filename":"file1"},{"photo_id":"1330833403","filename":"file0"},{"photo_id":"1330833438","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833403":["hashtag1","hashtag2"]},{"1330833409":["hashtag1","hashtag2"]},{"1330833438":["hashtag1","hashtag2"]},{"1330833441":["hashtag1","hashtag2"]},{"1330833440":["hashtag1","hashtag2"]},{"1330833433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833403, 1330833409, 1330833438, 1330833441, 1330833440, 1330833433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.362895250320435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:53:32.942956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_56_10337.jpg', '/home/pi/Desktop/images/23012025/13/50/image_23012025_13_51_05_9410.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_16_10411.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_25_9404.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_35_10370.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_46_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_50_56_10337.jpg
/home/pi/Desktop/images/23012025/13/50/image_23012025_13_51_05_9410.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_16_10411.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_25_9404.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_35_10370.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_46_10407.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":["1330833585","1330833579","1330833570","1330833589","1330833592","1330833574"],"photo_ids_order":["1330833570","1330833574","1330833579","1330833585","1330833589","1330833592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38fed1fa9f28ae57d3fba9952589db1a.jpg","text":"TemporaryFile(/tmp/multipartBody2663067088607273485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636873850,"filename":"image_23012025_13_51_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef5d2d547a8ce933e30721265debd2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3408127540467044547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636873850,"filename":"image_23012025_13_51_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/469facc7652c78bb7cb174b31d71ff7b.jpg","text":"TemporaryFile(/tmp/multipartBody1588168926591439536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636873850,"filename":"image_23012025_13_50_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2fa386989bcbc6e11150ed4a1eed6d5.jpg","text":"TemporaryFile(/tmp/multipartBody2000017691499283006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636873850,"filename":"image_23012025_13_51_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcccc3858587aefd79e0b6f58050830b.jpg","text":"TemporaryFile(/tmp/multipartBody6971493176135986827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636873850,"filename":"image_23012025_13_51_46_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58ec4872b5c6604dd29ac120e6ba2cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3828931755866159903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636873850,"filename":"image_23012025_13_51_05_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833579","file1":"1330833574","file0":"1330833570","file4":"1330833589","file5":"1330833592","file3":"1330833585"},"map_files_photo_id_array":[{"photo_id":"1330833592","filename":"file5"},{"photo_id":"1330833579","filename":"file2"},{"photo_id":"1330833589","filename":"file4"},{"photo_id":"1330833574","filename":"file1"},{"photo_id":"1330833570","filename":"file0"},{"photo_id":"1330833585","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833585":["hashtag1","hashtag2"]},{"1330833579":["hashtag1","hashtag2"]},{"1330833570":["hashtag1","hashtag2"]},{"1330833589":["hashtag1","hashtag2"]},{"1330833592":["hashtag1","hashtag2"]},{"1330833574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833585, 1330833579, 1330833570, 1330833589, 1330833592, 1330833574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.344210147857666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:54:32.165107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_55_9344.jpg', '/home/pi/Desktop/images/23012025/13/51/image_23012025_13_52_06_10344.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_16_10327.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_25_9442.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_36_10339.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_45_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_51_55_9344.jpg
/home/pi/Desktop/images/23012025/13/51/image_23012025_13_52_06_10344.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_16_10327.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_25_9442.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_36_10339.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_45_9460.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":["1330833628","1330833621","1330833635","1330833638","1330833632","1330833625"],"photo_ids_order":["1330833621","1330833625","1330833628","1330833632","1330833635","1330833638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21e37d3139d972a7ad6382836ae4bbb3.jpg","text":"TemporaryFile(/tmp/multipartBody8337437179900361651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636933076,"filename":"image_23012025_13_52_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32fa3d8254d08e2ae9854f49ab60a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody7731487550051024965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636933076,"filename":"image_23012025_13_51_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3d220c699c1e30f9262f2cd16ac9168.jpg","text":"TemporaryFile(/tmp/multipartBody450524776365483469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636933076,"filename":"image_23012025_13_52_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85bf56a8b19268720ec60e8897c278ea.jpg","text":"TemporaryFile(/tmp/multipartBody2988523593310942178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636933076,"filename":"image_23012025_13_52_45_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/797ddca7c385be996fc9d1d3673a73dd.jpg","text":"TemporaryFile(/tmp/multipartBody1368338142320661032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636933076,"filename":"image_23012025_13_52_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b31f115f82fbe00c99dd981e09676815.jpg","text":"TemporaryFile(/tmp/multipartBody8655141357442401016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636933076,"filename":"image_23012025_13_52_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833628","file1":"1330833625","file0":"1330833621","file4":"1330833635","file5":"1330833638","file3":"1330833632"},"map_files_photo_id_array":[{"photo_id":"1330833638","filename":"file5"},{"photo_id":"1330833628","filename":"file2"},{"photo_id":"1330833635","filename":"file4"},{"photo_id":"1330833625","filename":"file1"},{"photo_id":"1330833621","filename":"file0"},{"photo_id":"1330833632","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833628":["hashtag1","hashtag2"]},{"1330833621":["hashtag1","hashtag2"]},{"1330833635":["hashtag1","hashtag2"]},{"1330833638":["hashtag1","hashtag2"]},{"1330833632":["hashtag1","hashtag2"]},{"1330833625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833628, 1330833621, 1330833635, 1330833638, 1330833632, 1330833625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73906135559082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:55:32.484337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_55_10340.jpg', '/home/pi/Desktop/images/23012025/13/52/image_23012025_13_53_06_10339.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_15_9361.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_26_10447.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_35_9335.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_45_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_52_55_10340.jpg
/home/pi/Desktop/images/23012025/13/52/image_23012025_13_53_06_10339.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_15_9361.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_26_10447.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_35_9335.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_45_10415.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":["1330833687","1330833669","1330833677","1330833671","1330833674","1330833682"],"photo_ids_order":["1330833669","1330833671","1330833674","1330833677","1330833682","1330833687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/690d80e042744cce578d7338586128d3.jpg","text":"TemporaryFile(/tmp/multipartBody4815439579228972643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636993388,"filename":"image_23012025_13_53_45_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a18d6c8b9395799075135a45b038f648.jpg","text":"TemporaryFile(/tmp/multipartBody8123782906053942529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636993388,"filename":"image_23012025_13_52_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68860adefc83e472cae55ec8b0d522ca.jpg","text":"TemporaryFile(/tmp/multipartBody4909031953301864597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636993388,"filename":"image_23012025_13_53_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bb92bbfb82559b342f767f8d1e63832.jpg","text":"TemporaryFile(/tmp/multipartBody5439378740787586098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636993388,"filename":"image_23012025_13_53_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a3b11734f95d4669fd7fc56ed4d12ea.jpg","text":"TemporaryFile(/tmp/multipartBody2684238111597372977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636993388,"filename":"image_23012025_13_53_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/681120cb283667cd2cc88bcf098146bd.jpg","text":"TemporaryFile(/tmp/multipartBody8990329652108181311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737636993388,"filename":"image_23012025_13_53_35_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833674","file1":"1330833671","file0":"1330833669","file4":"1330833682","file5":"1330833687","file3":"1330833677"},"map_files_photo_id_array":[{"photo_id":"1330833687","filename":"file5"},{"photo_id":"1330833674","filename":"file2"},{"photo_id":"1330833682","filename":"file4"},{"photo_id":"1330833671","filename":"file1"},{"photo_id":"1330833669","filename":"file0"},{"photo_id":"1330833677","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833687":["hashtag1","hashtag2"]},{"1330833669":["hashtag1","hashtag2"]},{"1330833677":["hashtag1","hashtag2"]},{"1330833671":["hashtag1","hashtag2"]},{"1330833674":["hashtag1","hashtag2"]},{"1330833682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833687, 1330833669, 1330833677, 1330833671, 1330833674, 1330833682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61443209648132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:56:32.660233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_56_10363.jpg', '/home/pi/Desktop/images/23012025/13/53/image_23012025_13_54_05_9445.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_15_10313.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_26_10358.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_35_9427.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_53_56_10363.jpg
/home/pi/Desktop/images/23012025/13/53/image_23012025_13_54_05_9445.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_15_10313.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_26_10358.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_35_9427.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_46_10346.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":["1330833727","1330833736","1330833721","1330833734","1330833716","1330833731"],"photo_ids_order":["1330833716","1330833721","1330833727","1330833731","1330833734","1330833736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ddcdcdf71eccd39dc8f4ac282e463ba.jpg","text":"TemporaryFile(/tmp/multipartBody6862361583817061202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053543,"filename":"image_23012025_13_54_15_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a80cb8bb10b92608e616d06ccf58b9f.jpg","text":"TemporaryFile(/tmp/multipartBody711912162613398639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053543,"filename":"image_23012025_13_54_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdcf843b70ea5eba4b9de556b0528b1a.jpg","text":"TemporaryFile(/tmp/multipartBody333720178667141909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053543,"filename":"image_23012025_13_54_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f539801cde4ca1c3d1e79aa344a4ae6e.jpg","text":"TemporaryFile(/tmp/multipartBody5862524085432656985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053543,"filename":"image_23012025_13_54_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10b44b15b50c56dd5fe3629872c6f504.jpg","text":"TemporaryFile(/tmp/multipartBody5542666059651462624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053543,"filename":"image_23012025_13_53_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5f7418143d332cf5ea6cf5856c998e6.jpg","text":"TemporaryFile(/tmp/multipartBody9052270250485666720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637053543,"filename":"image_23012025_13_54_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833727","file1":"1330833721","file0":"1330833716","file4":"1330833734","file5":"1330833736","file3":"1330833731"},"map_files_photo_id_array":[{"photo_id":"1330833736","filename":"file5"},{"photo_id":"1330833727","filename":"file2"},{"photo_id":"1330833734","filename":"file4"},{"photo_id":"1330833721","filename":"file1"},{"photo_id":"1330833716","filename":"file0"},{"photo_id":"1330833731","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833727":["hashtag1","hashtag2"]},{"1330833736":["hashtag1","hashtag2"]},{"1330833721":["hashtag1","hashtag2"]},{"1330833734":["hashtag1","hashtag2"]},{"1330833716":["hashtag1","hashtag2"]},{"1330833731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833727, 1330833736, 1330833721, 1330833734, 1330833716, 1330833731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3777437210083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 13:57:32.838526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_55_9406.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_55_05_10333.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_16_10415.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_25_9354.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_35_10329.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_46_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_55_9406.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_55_05_10333.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_16_10415.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_25_9354.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_35_10329.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_46_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 13:59:03.337040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_55_9406.jpg', '/home/pi/Desktop/images/23012025/13/54/image_23012025_13_55_05_10333.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_16_10415.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_25_9354.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_35_10329.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_46_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_54_55_9406.jpg
/home/pi/Desktop/images/23012025/13/54/image_23012025_13_55_05_10333.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_16_10415.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_25_9354.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_35_10329.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_46_10321.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":["1330833832","1330833817","1330833789","1330833797","1330833827","1330833806"],"photo_ids_order":["1330833789","1330833797","1330833806","1330833817","1330833827","1330833832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40d1b4a8feed4d945342eb9bfb05d2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3461791626252438241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637204314,"filename":"image_23012025_13_55_46_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a599a2c18f93b39b2438c22b395e8e61.jpg","text":"TemporaryFile(/tmp/multipartBody8590013945647869898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637204314,"filename":"image_23012025_13_55_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90f73f547aa2b2c9bb61efab4d2ca8a9.jpg","text":"TemporaryFile(/tmp/multipartBody9209611126228343042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637204314,"filename":"image_23012025_13_54_55_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d69319daecf166f85f053777de4d5beb.jpg","text":"TemporaryFile(/tmp/multipartBody8593360448275126713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637204314,"filename":"image_23012025_13_55_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92418791f0e8987570e1adf71e44d77e.jpg","text":"TemporaryFile(/tmp/multipartBody5426161195663749829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637204314,"filename":"image_23012025_13_55_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af96d97d2fa3e701977ff8bb2564debf.jpg","text":"TemporaryFile(/tmp/multipartBody171196759618367380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637204314,"filename":"image_23012025_13_55_16_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833806","file1":"1330833797","file0":"1330833789","file4":"1330833827","file5":"1330833832","file3":"1330833817"},"map_files_photo_id_array":[{"photo_id":"1330833832","filename":"file5"},{"photo_id":"1330833806","filename":"file2"},{"photo_id":"1330833827","filename":"file4"},{"photo_id":"1330833797","filename":"file1"},{"photo_id":"1330833789","filename":"file0"},{"photo_id":"1330833817","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833832":["hashtag1","hashtag2"]},{"1330833817":["hashtag1","hashtag2"]},{"1330833789":["hashtag1","hashtag2"]},{"1330833797":["hashtag1","hashtag2"]},{"1330833827":["hashtag1","hashtag2"]},{"1330833806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833832, 1330833817, 1330833789, 1330833797, 1330833827, 1330833806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.351174116134644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 13:59:52.084873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_45_10361.jpg', '/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_55_10457.jpg', '/home/pi/Desktop/images/20012025/08/33/image_20012025_08_33_24_9346.jpg', '/home/pi/Desktop/images/20012025/08/33/image_20012025_08_33_35_10897.jpg', '/home/pi/Desktop/images/20012025/08/33/image_20012025_08_33_55_10342.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_14_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_45_10361.jpg
/home/pi/Desktop/images/20012025/08/32/image_20012025_08_32_55_10457.jpg
/home/pi/Desktop/images/20012025/08/33/image_20012025_08_33_24_9346.jpg
/home/pi/Desktop/images/20012025/08/33/image_20012025_08_33_35_10897.jpg
/home/pi/Desktop/images/20012025/08/33/image_20012025_08_33_55_10342.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_14_10344.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":["1330833847","1330833864","1330833860","1330833854","1330833868","1330833850"],"photo_ids_order":["1330833847","1330833850","1330833854","1330833860","1330833864","1330833868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bca58cd626b3d4a7beadf24c5c3ba147.jpg","text":"TemporaryFile(/tmp/multipartBody9123316346013702734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637254388,"filename":"image_20012025_08_32_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/378b451259d43f86f11d40fa7d4c8757.jpg","text":"TemporaryFile(/tmp/multipartBody6159614382679487529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637254388,"filename":"image_20012025_08_33_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b3bf2df2d8a0d161cd54956e8fa6256.jpg","text":"TemporaryFile(/tmp/multipartBody9074799369368511004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637254388,"filename":"image_20012025_08_33_35_10897.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2582ad3209070751feeb3669e29e756d.jpg","text":"TemporaryFile(/tmp/multipartBody2032467976868088741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637254388,"filename":"image_20012025_08_33_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17adcf635130ece5aeb97049062581ac.jpg","text":"TemporaryFile(/tmp/multipartBody8200777409132989154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637254388,"filename":"image_20012025_08_34_14_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6dd417fb5a7ef2bbbfd706c8fae5298.jpg","text":"TemporaryFile(/tmp/multipartBody8160890415611543718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637254388,"filename":"image_20012025_08_32_55_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833854","file1":"1330833850","file0":"1330833847","file4":"1330833864","file5":"1330833868","file3":"1330833860"},"map_files_photo_id_array":[{"photo_id":"1330833868","filename":"file5"},{"photo_id":"1330833854","filename":"file2"},{"photo_id":"1330833864","filename":"file4"},{"photo_id":"1330833850","filename":"file1"},{"photo_id":"1330833847","filename":"file0"},{"photo_id":"1330833860","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330833847":["hashtag1","hashtag2"]},{"1330833864":["hashtag1","hashtag2"]},{"1330833860":["hashtag1","hashtag2"]},{"1330833854":["hashtag1","hashtag2"]},{"1330833868":["hashtag1","hashtag2"]},{"1330833850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330833847, 1330833864, 1330833860, 1330833854, 1330833868, 1330833850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.069873332977295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:00:42.478459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_55_9350.jpg', '/home/pi/Desktop/images/23012025/13/55/image_23012025_13_56_05_10387.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_16_10338.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_25_9356.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_35_10320.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_45_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_55_55_9350.jpg
/home/pi/Desktop/images/23012025/13/55/image_23012025_13_56_05_10387.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_16_10338.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_25_9356.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_35_10320.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_45_9390.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":["1330833901","1330833903","1330833912","1330833896","1330833908","1330833905"],"photo_ids_order":["1330833896","1330833901","1330833903","1330833905","1330833908","1330833912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2175a2833970c61a8b49f1e0b0df2326.jpg","text":"TemporaryFile(/tmp/multipartBody1634127640280317309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637303375,"filename":"image_23012025_13_56_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7950ff870479e1c8b9449c83403415e9.jpg","text":"TemporaryFile(/tmp/multipartBody2845984375614238042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637303375,"filename":"image_23012025_13_56_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1a14ea7a5a07592484faa12c306e97f.jpg","text":"TemporaryFile(/tmp/multipartBody6054087942088882376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637303375,"filename":"image_23012025_13_56_45_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc882de01e078eae011e31428b552943.jpg","text":"TemporaryFile(/tmp/multipartBody5521152383594425400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637303375,"filename":"image_23012025_13_55_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be89bf0387cb35945810c3c8f16323d2.jpg","text":"TemporaryFile(/tmp/multipartBody2160936298689123498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637303375,"filename":"image_23012025_13_56_35_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de5cd14d57b3959dacc4830ded3fc0c4.jpg","text":"TemporaryFile(/tmp/multipartBody1746668936433692863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637303375,"filename":"image_23012025_13_56_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833903","file1":"1330833901","file0":"1330833896","file4":"1330833908","file5":"1330833912","file3":"1330833905"},"map_files_photo_id_array":[{"photo_id":"1330833912","filename":"file5"},{"photo_id":"1330833903","filename":"file2"},{"photo_id":"1330833908","filename":"file4"},{"photo_id":"1330833901","filename":"file1"},{"photo_id":"1330833896","filename":"file0"},{"photo_id":"1330833905","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833901":["hashtag1","hashtag2"]},{"1330833903":["hashtag1","hashtag2"]},{"1330833912":["hashtag1","hashtag2"]},{"1330833896":["hashtag1","hashtag2"]},{"1330833908":["hashtag1","hashtag2"]},{"1330833905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833901, 1330833903, 1330833912, 1330833896, 1330833908, 1330833905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44165349006653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:01:32.499458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_55_10422.jpg', '/home/pi/Desktop/images/23012025/13/56/image_23012025_13_57_06_10447.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_15_9411.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_26_10354.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_35_9332.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_45_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_56_55_10422.jpg
/home/pi/Desktop/images/23012025/13/56/image_23012025_13_57_06_10447.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_15_9411.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_26_10354.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_35_9332.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_45_10439.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":["1330833952","1330833946","1330833948","1330833936","1330833950","1330833941"],"photo_ids_order":["1330833936","1330833941","1330833946","1330833948","1330833950","1330833952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8305793388dae9682fba97be3c09488b.jpg","text":"TemporaryFile(/tmp/multipartBody3886767399597480593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637353391,"filename":"image_23012025_13_57_45_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c252a3972b52d9ff6191aa3b37fe2ba.jpg","text":"TemporaryFile(/tmp/multipartBody5157128924389678541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637353391,"filename":"image_23012025_13_57_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1013e9a1352f61cef1a17a8cebd6d334.jpg","text":"TemporaryFile(/tmp/multipartBody6093050243307296938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637353391,"filename":"image_23012025_13_57_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de3ee0fb11d35f33e45aa9fd4ffa48c8.jpg","text":"TemporaryFile(/tmp/multipartBody3262561626723053265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637353391,"filename":"image_23012025_13_56_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02963f316ca5d20baa336008abd9a6a8.jpg","text":"TemporaryFile(/tmp/multipartBody3153669256896613725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637353391,"filename":"image_23012025_13_57_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ca759760ced6f64c99a318e6bf2a846.jpg","text":"TemporaryFile(/tmp/multipartBody902592303909885762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637353391,"filename":"image_23012025_13_57_06_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833946","file1":"1330833941","file0":"1330833936","file4":"1330833950","file5":"1330833952","file3":"1330833948"},"map_files_photo_id_array":[{"photo_id":"1330833952","filename":"file5"},{"photo_id":"1330833946","filename":"file2"},{"photo_id":"1330833950","filename":"file4"},{"photo_id":"1330833941","filename":"file1"},{"photo_id":"1330833936","filename":"file0"},{"photo_id":"1330833948","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330833952":["hashtag1","hashtag2"]},{"1330833946":["hashtag1","hashtag2"]},{"1330833948":["hashtag1","hashtag2"]},{"1330833936":["hashtag1","hashtag2"]},{"1330833950":["hashtag1","hashtag2"]},{"1330833941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330833952, 1330833946, 1330833948, 1330833936, 1330833950, 1330833941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55283975601196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:02:32.672043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_56_10337.jpg', '/home/pi/Desktop/images/23012025/13/57/image_23012025_13_58_05_9387.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_15_10341.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_26_10372.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_35_9397.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_45_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_57_56_10337.jpg
/home/pi/Desktop/images/23012025/13/57/image_23012025_13_58_05_9387.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_15_10341.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_26_10372.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_35_9397.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_45_10328.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":["1330834000","1330833990","1330833978","1330833983","1330833994","1330834003"],"photo_ids_order":["1330833978","1330833983","1330833990","1330833994","1330834000","1330834003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d861710619adeeafd4b73d2544ea946.jpg","text":"TemporaryFile(/tmp/multipartBody8378516475016352937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637413567,"filename":"image_23012025_13_58_35_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba59750a1d572a1bddd31b29a20726c5.jpg","text":"TemporaryFile(/tmp/multipartBody7419094491035348054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637413567,"filename":"image_23012025_13_58_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/080defaf72892374cb6bf0bbce1e7d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3423910613678364224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637413567,"filename":"image_23012025_13_57_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5283e15089362e77f83edb3f8c73829a.jpg","text":"TemporaryFile(/tmp/multipartBody7284701426951237303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637413567,"filename":"image_23012025_13_58_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60ba3bb37ab072d3bd2c7ecf7b712ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6373642815400652866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637413567,"filename":"image_23012025_13_58_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dac9e9192390c72f6bc34b75fece54b.jpg","text":"TemporaryFile(/tmp/multipartBody4854073117389522954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637413567,"filename":"image_23012025_13_58_45_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330833990","file1":"1330833983","file0":"1330833978","file4":"1330834000","file5":"1330834003","file3":"1330833994"},"map_files_photo_id_array":[{"photo_id":"1330834003","filename":"file5"},{"photo_id":"1330833990","filename":"file2"},{"photo_id":"1330834000","filename":"file4"},{"photo_id":"1330833983","filename":"file1"},{"photo_id":"1330833978","filename":"file0"},{"photo_id":"1330833994","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834000":["hashtag1","hashtag2"]},{"1330833990":["hashtag1","hashtag2"]},{"1330833978":["hashtag1","hashtag2"]},{"1330833983":["hashtag1","hashtag2"]},{"1330833994":["hashtag1","hashtag2"]},{"1330834003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834000, 1330833990, 1330833978, 1330833983, 1330833994, 1330834003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.125519037246704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:03:32.855123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_56_10357.jpg', '/home/pi/Desktop/images/23012025/13/58/image_23012025_13_59_05_9333.jpg', '/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_16_10355.jpg', '/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_26_10349.jpg', '/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_35_9353.jpg', '/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_58_56_10357.jpg
/home/pi/Desktop/images/23012025/13/58/image_23012025_13_59_05_9333.jpg
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_16_10355.jpg
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_26_10349.jpg
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_35_9353.jpg
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_46_10366.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":["1330834050","1330834029","1330834043","1330834048","1330834036","1330834024"],"photo_ids_order":["1330834024","1330834029","1330834036","1330834043","1330834048","1330834050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d48f3d82e95cba2d93a45fca1a1fd81.jpg","text":"TemporaryFile(/tmp/multipartBody3723559236049223845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473769,"filename":"image_23012025_13_59_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e9e15e5000f13eb95a69d94c375067d.jpg","text":"TemporaryFile(/tmp/multipartBody8815060328046078737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473769,"filename":"image_23012025_13_59_05_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0edc934266785ab2428db49e31f88250.jpg","text":"TemporaryFile(/tmp/multipartBody8705025444814571428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473769,"filename":"image_23012025_13_59_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ead538254e70bc03894a9c0eda296d56.jpg","text":"TemporaryFile(/tmp/multipartBody7914972852261249516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473769,"filename":"image_23012025_13_59_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6126d7a96f357aa80c2d34ec44cd54ad.jpg","text":"TemporaryFile(/tmp/multipartBody1582790747855572287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473769,"filename":"image_23012025_13_59_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1e865b7e79fe116a3ac3dbd4a76249d.jpg","text":"TemporaryFile(/tmp/multipartBody4910964178918090949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637473769,"filename":"image_23012025_13_58_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834036","file1":"1330834029","file0":"1330834024","file4":"1330834048","file5":"1330834050","file3":"1330834043"},"map_files_photo_id_array":[{"photo_id":"1330834050","filename":"file5"},{"photo_id":"1330834036","filename":"file2"},{"photo_id":"1330834048","filename":"file4"},{"photo_id":"1330834029","filename":"file1"},{"photo_id":"1330834024","filename":"file0"},{"photo_id":"1330834043","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834050":["hashtag1","hashtag2"]},{"1330834029":["hashtag1","hashtag2"]},{"1330834043":["hashtag1","hashtag2"]},{"1330834048":["hashtag1","hashtag2"]},{"1330834036":["hashtag1","hashtag2"]},{"1330834024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834050, 1330834029, 1330834043, 1330834048, 1330834036, 1330834024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.202624559402466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:04:32.994285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_55_9338.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_14_10075.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_24_10392.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_35_10355.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_44_9434.jpg', '/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_55_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/13/59/image_23012025_13_59_55_9338.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_14_10075.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_24_10392.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_35_10355.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_44_9434.jpg
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_01_55_10364.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":["1330834108","1330834077","1330834092","1330834099","1330834084","1330834105"],"photo_ids_order":["1330834077","1330834084","1330834092","1330834099","1330834105","1330834108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1e10d4a85f6308b56f1e407385d808e.jpg","text":"TemporaryFile(/tmp/multipartBody2466488211252020040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533892,"filename":"image_23012025_14_01_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/466f33ebc4b6a6d9864d27f10bd7d1e4.jpg","text":"TemporaryFile(/tmp/multipartBody1811270090336967090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533892,"filename":"image_23012025_13_59_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ebb30fc082752bf79a731e55073da16.jpg","text":"TemporaryFile(/tmp/multipartBody8057844332554618799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533892,"filename":"image_23012025_14_01_24_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/081532b93eeb65096478142d96f4d59e.jpg","text":"TemporaryFile(/tmp/multipartBody408925401876118739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533892,"filename":"image_23012025_14_01_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72e09a5fc27a234c6f3043c400686704.jpg","text":"TemporaryFile(/tmp/multipartBody4362262765966751674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533892,"filename":"image_23012025_14_01_14_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b66aa5fbade46c436525575fca64396.jpg","text":"TemporaryFile(/tmp/multipartBody6645849699442850065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637533892,"filename":"image_23012025_14_01_44_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834092","file1":"1330834084","file0":"1330834077","file4":"1330834105","file5":"1330834108","file3":"1330834099"},"map_files_photo_id_array":[{"photo_id":"1330834108","filename":"file5"},{"photo_id":"1330834092","filename":"file2"},{"photo_id":"1330834105","filename":"file4"},{"photo_id":"1330834084","filename":"file1"},{"photo_id":"1330834077","filename":"file0"},{"photo_id":"1330834099","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834108":["hashtag1","hashtag2"]},{"1330834077":["hashtag1","hashtag2"]},{"1330834092":["hashtag1","hashtag2"]},{"1330834099":["hashtag1","hashtag2"]},{"1330834084":["hashtag1","hashtag2"]},{"1330834105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834108, 1330834077, 1330834092, 1330834099, 1330834084, 1330834105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7686607837677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:05:32.397959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/01/image_23012025_14_02_04_9435.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_14_10355.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_25_10334.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_34_9454.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_45_10325.jpg', '/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_55_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/01/image_23012025_14_02_04_9435.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_14_10355.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_25_10334.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_34_9454.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_45_10325.jpg
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_02_55_10350.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":["1330834122","1330834145","1330834147","1330834141","1330834135","1330834129"],"photo_ids_order":["1330834122","1330834129","1330834135","1330834141","1330834145","1330834147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e02aee622c38f81a76123edc1edc144.jpg","text":"TemporaryFile(/tmp/multipartBody5446980438829829677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637593325,"filename":"image_23012025_14_02_04_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6b519a8e25cfc8f24aef1cca4f5c77b.jpg","text":"TemporaryFile(/tmp/multipartBody5765230912490192708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637593325,"filename":"image_23012025_14_02_45_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee0209315e3df48b652e93ed182b8d42.jpg","text":"TemporaryFile(/tmp/multipartBody5166582629516331563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637593325,"filename":"image_23012025_14_02_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7233c0b5c7e62faf489a9873db319889.jpg","text":"TemporaryFile(/tmp/multipartBody4731578928876182742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637593325,"filename":"image_23012025_14_02_34_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50ecc0110d92b93616ca6ce52c206bcd.jpg","text":"TemporaryFile(/tmp/multipartBody7489174299299310718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637593325,"filename":"image_23012025_14_02_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1a197b3edd40a14c3469c9b3e68a9f2.jpg","text":"TemporaryFile(/tmp/multipartBody9136726047818272999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637593325,"filename":"image_23012025_14_02_14_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834135","file1":"1330834129","file0":"1330834122","file4":"1330834145","file5":"1330834147","file3":"1330834141"},"map_files_photo_id_array":[{"photo_id":"1330834147","filename":"file5"},{"photo_id":"1330834135","filename":"file2"},{"photo_id":"1330834145","filename":"file4"},{"photo_id":"1330834129","filename":"file1"},{"photo_id":"1330834122","filename":"file0"},{"photo_id":"1330834141","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834122":["hashtag1","hashtag2"]},{"1330834145":["hashtag1","hashtag2"]},{"1330834147":["hashtag1","hashtag2"]},{"1330834141":["hashtag1","hashtag2"]},{"1330834135":["hashtag1","hashtag2"]},{"1330834129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834122, 1330834145, 1330834147, 1330834141, 1330834135, 1330834129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98673939704895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:06:32.503715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/02/image_23012025_14_03_04_9446.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_15_10335.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_24_9448.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_34_10350.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_45_10357.jpg', '/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_54_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/02/image_23012025_14_03_04_9446.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_15_10335.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_24_9448.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_34_10350.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_45_10357.jpg
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_03_54_9369.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":["1330834164","1330834193","1330834196","1330834181","1330834175","1330834169"],"photo_ids_order":["1330834164","1330834169","1330834175","1330834181","1330834193","1330834196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac1106646a9bceb751fdbb2af3b8e2b0.jpg","text":"TemporaryFile(/tmp/multipartBody9072348799901325901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653428,"filename":"image_23012025_14_03_04_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e72970b8e8d83a8bef893229d4e3ce2e.jpg","text":"TemporaryFile(/tmp/multipartBody5180205778459262583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653428,"filename":"image_23012025_14_03_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da17955e23144a680761ebd01ce2cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody6967787164462934858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653428,"filename":"image_23012025_14_03_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95902f59396e77a806d17020e9bc7b46.jpg","text":"TemporaryFile(/tmp/multipartBody2762801224917808440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653428,"filename":"image_23012025_14_03_34_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37d001dd269a5f9817dae6ef34f03a19.jpg","text":"TemporaryFile(/tmp/multipartBody2013529086166789342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653428,"filename":"image_23012025_14_03_24_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcbb090a1f975e39a5b5cc1e9d72aa4a.jpg","text":"TemporaryFile(/tmp/multipartBody5257121300006916289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637653428,"filename":"image_23012025_14_03_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834175","file1":"1330834169","file0":"1330834164","file4":"1330834193","file5":"1330834196","file3":"1330834181"},"map_files_photo_id_array":[{"photo_id":"1330834196","filename":"file5"},{"photo_id":"1330834175","filename":"file2"},{"photo_id":"1330834193","filename":"file4"},{"photo_id":"1330834169","filename":"file1"},{"photo_id":"1330834164","filename":"file0"},{"photo_id":"1330834181","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834164":["hashtag1","hashtag2"]},{"1330834193":["hashtag1","hashtag2"]},{"1330834196":["hashtag1","hashtag2"]},{"1330834181":["hashtag1","hashtag2"]},{"1330834175":["hashtag1","hashtag2"]},{"1330834169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834164, 1330834193, 1330834196, 1330834181, 1330834175, 1330834169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.23725414276123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:07:32.684636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/03/image_23012025_14_04_05_10352.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_15_10362.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_24_9429.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_35_10334.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_44_9423.jpg', '/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_54_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/03/image_23012025_14_04_05_10352.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_15_10362.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_24_9429.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_35_10334.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_44_9423.jpg
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_04_54_10377.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":["1330834227","1330834215","1330834209","1330834232","1330834229","1330834222"],"photo_ids_order":["1330834209","1330834215","1330834222","1330834227","1330834229","1330834232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cf1f86023023dbf2cd0468a3448303b.jpg","text":"TemporaryFile(/tmp/multipartBody3593201956565885480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637713597,"filename":"image_23012025_14_04_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/752d9c804fa801d80aee9da328f1421f.jpg","text":"TemporaryFile(/tmp/multipartBody8047611027950215088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637713597,"filename":"image_23012025_14_04_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01beeb736b66bf6977e18ed41c78d021.jpg","text":"TemporaryFile(/tmp/multipartBody4732633791906033679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637713597,"filename":"image_23012025_14_04_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a9e13fc7dd1fc662f04af7741224539.jpg","text":"TemporaryFile(/tmp/multipartBody5150240404122979550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637713597,"filename":"image_23012025_14_04_54_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f289180d9a653c2e543c12b5efc2ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8904844729699725040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637713597,"filename":"image_23012025_14_04_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d92248118608e975fd65d7699345b327.jpg","text":"TemporaryFile(/tmp/multipartBody808299829391627905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637713597,"filename":"image_23012025_14_04_24_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834222","file1":"1330834215","file0":"1330834209","file4":"1330834229","file5":"1330834232","file3":"1330834227"},"map_files_photo_id_array":[{"photo_id":"1330834232","filename":"file5"},{"photo_id":"1330834222","filename":"file2"},{"photo_id":"1330834229","filename":"file4"},{"photo_id":"1330834215","filename":"file1"},{"photo_id":"1330834209","filename":"file0"},{"photo_id":"1330834227","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834227":["hashtag1","hashtag2"]},{"1330834215":["hashtag1","hashtag2"]},{"1330834209":["hashtag1","hashtag2"]},{"1330834232":["hashtag1","hashtag2"]},{"1330834229":["hashtag1","hashtag2"]},{"1330834222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834227, 1330834215, 1330834209, 1330834232, 1330834229, 1330834222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42113542556763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:08:32.856572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/04/image_23012025_14_05_05_10354.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_14_9402.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_25_10366.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_35_10363.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_44_9341.jpg', '/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_55_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/04/image_23012025_14_05_05_10354.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_14_9402.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_25_10366.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_35_10363.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_44_9341.jpg
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_05_55_10353.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":["1330834289","1330834280","1330834274","1330834285","1330834267","1330834287"],"photo_ids_order":["1330834267","1330834274","1330834280","1330834285","1330834287","1330834289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7acc73869a771aafc95e4c76a9b6c7d1.jpg","text":"TemporaryFile(/tmp/multipartBody5691316435072506681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637773761,"filename":"image_23012025_14_05_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e67ac98cc21158f24b34dc416f9fa440.jpg","text":"TemporaryFile(/tmp/multipartBody3425720478387040674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637773761,"filename":"image_23012025_14_05_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef87557bb122a0690e9c492dfd20ca77.jpg","text":"TemporaryFile(/tmp/multipartBody6068243326354219131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637773761,"filename":"image_23012025_14_05_14_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/44b84edd48afa5f4cc2fab472608b806.jpg","text":"TemporaryFile(/tmp/multipartBody1042180616065603296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637773761,"filename":"image_23012025_14_05_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b5200219b49fa769f148a0d26446802.jpg","text":"TemporaryFile(/tmp/multipartBody2664670155062154347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637773761,"filename":"image_23012025_14_05_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a355736516f6705834b86ab6c06abf8f.jpg","text":"TemporaryFile(/tmp/multipartBody8354546519783309552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637773761,"filename":"image_23012025_14_05_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834280","file1":"1330834274","file0":"1330834267","file4":"1330834287","file5":"1330834289","file3":"1330834285"},"map_files_photo_id_array":[{"photo_id":"1330834289","filename":"file5"},{"photo_id":"1330834280","filename":"file2"},{"photo_id":"1330834287","filename":"file4"},{"photo_id":"1330834274","filename":"file1"},{"photo_id":"1330834267","filename":"file0"},{"photo_id":"1330834285","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834289":["hashtag1","hashtag2"]},{"1330834280":["hashtag1","hashtag2"]},{"1330834274":["hashtag1","hashtag2"]},{"1330834285":["hashtag1","hashtag2"]},{"1330834267":["hashtag1","hashtag2"]},{"1330834287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834289, 1330834280, 1330834274, 1330834285, 1330834267, 1330834287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39002728462219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:09:32.916943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/05/image_23012025_14_06_04_9438.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_14_10336.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_25_10350.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_34_9442.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_45_10321.jpg', '/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/05/image_23012025_14_06_04_9438.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_14_10336.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_25_10350.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_34_9442.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_45_10321.jpg
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_06_55_10351.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":["1330834328","1330834343","1330834322","1330834319","1330834339","1330834333"],"photo_ids_order":["1330834319","1330834322","1330834328","1330834333","1330834339","1330834343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c0af8b2cb6707cc25251ba18d8ca587.jpg","text":"TemporaryFile(/tmp/multipartBody2296387717274088661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637833835,"filename":"image_23012025_14_06_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b489595194c2b67b62b2a640265372fb.jpg","text":"TemporaryFile(/tmp/multipartBody8031883131297442283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637833835,"filename":"image_23012025_14_06_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcc0fb27bbead827d231eb03ac676eb8.jpg","text":"TemporaryFile(/tmp/multipartBody5761730243041364715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637833835,"filename":"image_23012025_14_06_14_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9aa157707502bfc4ee43f63258e2df0b.jpg","text":"TemporaryFile(/tmp/multipartBody8651041377584517958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637833835,"filename":"image_23012025_14_06_04_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de79e23f38dcb86fa9a621bf21eee57c.jpg","text":"TemporaryFile(/tmp/multipartBody6896643015121372243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637833835,"filename":"image_23012025_14_06_45_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f9c5c4c49c7d54b2c5cbe1d33b2e743.jpg","text":"TemporaryFile(/tmp/multipartBody5762154692374346240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637833835,"filename":"image_23012025_14_06_34_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834328","file1":"1330834322","file0":"1330834319","file4":"1330834339","file5":"1330834343","file3":"1330834333"},"map_files_photo_id_array":[{"photo_id":"1330834343","filename":"file5"},{"photo_id":"1330834328","filename":"file2"},{"photo_id":"1330834339","filename":"file4"},{"photo_id":"1330834322","filename":"file1"},{"photo_id":"1330834319","filename":"file0"},{"photo_id":"1330834333","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834328":["hashtag1","hashtag2"]},{"1330834343":["hashtag1","hashtag2"]},{"1330834322":["hashtag1","hashtag2"]},{"1330834319":["hashtag1","hashtag2"]},{"1330834339":["hashtag1","hashtag2"]},{"1330834333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834328, 1330834343, 1330834322, 1330834319, 1330834339, 1330834333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.19199085235596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:10:32.157969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/06/image_23012025_14_07_04_9439.jpg', '/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_15_10341.jpg', '/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_24_9400.jpg', '/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_34_10348.jpg', '/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_45_10316.jpg', '/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_54_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/06/image_23012025_14_07_04_9439.jpg
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_15_10341.jpg
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_24_9400.jpg
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_34_10348.jpg
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_45_10316.jpg
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_07_54_9341.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":["1330834380","1330834374","1330834368","1330834382","1330834385","1330834363"],"photo_ids_order":["1330834363","1330834368","1330834374","1330834380","1330834382","1330834385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21f9344d028f2a2947bb4e783d8318ba.jpg","text":"TemporaryFile(/tmp/multipartBody5408835280197925837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637893052,"filename":"image_23012025_14_07_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26a8703179dc4f597ab63c288c7c656c.jpg","text":"TemporaryFile(/tmp/multipartBody180299630519842660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637893052,"filename":"image_23012025_14_07_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2606b5a4bd6b4db2b18f835b72139f60.jpg","text":"TemporaryFile(/tmp/multipartBody3352639645560090004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637893052,"filename":"image_23012025_14_07_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af65e9bf856147e542c1edd54a2b3977.jpg","text":"TemporaryFile(/tmp/multipartBody2881817164446600132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637893052,"filename":"image_23012025_14_07_45_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73d9a7165efb7398ce0481c81645be26.jpg","text":"TemporaryFile(/tmp/multipartBody5155645583421831907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637893052,"filename":"image_23012025_14_07_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35fca97ff5967c0973db24b0d8e3da3c.jpg","text":"TemporaryFile(/tmp/multipartBody6710850671295118074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737637893052,"filename":"image_23012025_14_07_04_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834374","file1":"1330834368","file0":"1330834363","file4":"1330834382","file5":"1330834385","file3":"1330834380"},"map_files_photo_id_array":[{"photo_id":"1330834385","filename":"file5"},{"photo_id":"1330834374","filename":"file2"},{"photo_id":"1330834382","filename":"file4"},{"photo_id":"1330834368","filename":"file1"},{"photo_id":"1330834363","filename":"file0"},{"photo_id":"1330834380","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834380":["hashtag1","hashtag2"]},{"1330834374":["hashtag1","hashtag2"]},{"1330834368":["hashtag1","hashtag2"]},{"1330834382":["hashtag1","hashtag2"]},{"1330834385":["hashtag1","hashtag2"]},{"1330834363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834380, 1330834374, 1330834368, 1330834382, 1330834385, 1330834363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66353440284729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:11:32.287376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.807060956954956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:11:42.328214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4752333164215088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:11:52.255312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.228266954421997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:12:03.091809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8408255577087402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:12:32.508769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8339462280273438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:12:42.544994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8283054828643799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:12:52.468120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1897730827331543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:13:04.120599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9209063053131104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:13:32.665395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8379049301147461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:13:42.738334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7956717014312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:13:52.646154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8170483112335205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:14:03.392927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8734550476074219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:14:32.886853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7955529689788818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:14:42.861041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.514495849609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:14:52.864163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2046258449554443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:15:04.479654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.012162685394287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:15:33.061214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8051979541778564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:15:43.177732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8196690082550049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:15:53.047661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.164555311203003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:16:02.814704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8292796611785889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:16:32.367931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8158257007598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:16:42.299152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8289787769317627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:16:52.197092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.203829288482666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:17:03.915732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9601311683654785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:17:32.422009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8129363059997559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:17:42.485653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4825403690338135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:17:52.574134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2179811000823975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:18:03.430165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8332245349884033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:18:32.754493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.49260497093200684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:18:42.844472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8560163974761963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:18:52.757299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1861069202423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:19:04.140244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7016842365264893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:19:33.043826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8103694915771484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:19:43.053126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8238768577575684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:19:52.968319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2219529151916504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:20:02.724288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 3.001852035522461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:20:32.302942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6107022762298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:20:42.286839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7941913604736328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:20:52.214208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1561498641967773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:21:03.990377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9865322113037109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:21:32.470668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.814908504486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:21:42.489730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8261637687683105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:21:52.407421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.154256582260132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:22:03.302513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8132908344268799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:22:32.637551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8415002822875977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:22:42.785303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.794914960861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:22:52.573677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.194457769393921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:23:04.245349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0995261669158936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:23:32.759514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4688749313354492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:23:42.927474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8199787139892578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:23:52.709887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1969780921936035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:24:03.696804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8756139278411865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:24:32.986632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7678558826446533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:24:43.009079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4888339042663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:24:52.928382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1833808422088623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:25:04.401735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9442906379699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:25:33.304715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8310713768005371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:25:43.160746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7920498847961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:25:53.278778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1712090969085693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:26:03.126321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5686600208282471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:26:32.482043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.778756856918335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:26:42.572863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.47908711433410645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:26:52.454100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2016050815582275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:27:04.029084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8545794486999512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:27:32.796646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8106319904327393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:27:42.730372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7959146499633789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:27:52.676999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1814112663269043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:28:03.532844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8251321315765381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:28:32.832385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8218679428100586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:28:42.939626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8053839206695557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:28:52.826185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1767079830169678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:29:04.286858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0616455078125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:29:33.084836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.795459508895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:29:43.193819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8159365653991699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:29:53.186320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2030861377716064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:30:03.046701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8833110332489014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:30:32.443080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7950737476348877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:30:42.414354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8036243915557861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:30:52.453396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1344854831695557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:31:04.049596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6134083271026611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:31:32.677856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5088961124420166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:31:42.673429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8465197086334229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:31:52.757102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.178360939025879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:32:03.746439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5158531665802002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:32:32.968279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8072125911712646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:32:43.037001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8315215110778809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:32:52.978461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1830689907073975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:33:03.172180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.027226448059082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:33:32.342067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8004617691040039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:33:42.176300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4801065921783447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:33:52.131960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.214383602142334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:34:02.944247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8389723300933838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:34:32.379607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7832396030426025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:34:42.412971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8116741180419922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:34:52.260329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1796605587005615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:35:03.859630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9132025241851807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:35:32.499973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7999532222747803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:35:42.535401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.826636791229248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:35:52.466613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1874752044677734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:36:03.256881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8133351802825928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:36:32.610490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8261682987213135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:36:42.757159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7827062606811523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:36:52.606075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1832971572875977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:37:03.983030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8657605648040771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:37:32.765350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8007898330688477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:37:43.002011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8356988430023193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:37:52.778623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.827413558959961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:38:03.686357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8568141460418701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:38:33.031022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8084850311279297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:38:43.061126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7951061725616455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:38:53.041070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1585114002227783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:39:03.705299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8726823329925537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:39:32.261066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7892792224884033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:39:42.341556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8237400054931641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:39:52.190415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1787312030792236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:40:02.959806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8379039764404297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:40:32.498158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7969460487365723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:40:42.470763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8233425617218018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:40:52.398528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2134225368499756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:41:04.000887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5813369750976562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:41:32.600180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7721185684204102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:41:42.695920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8376185894012451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:41:52.623562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1610875129699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:42:03.476631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5701382160186768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:42:32.798628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7798466682434082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:42:42.885566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8362126350402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:42:52.802240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.179476022720337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:43:04.175551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8787093162536621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:43:33.085943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8148689270019531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:43:43.046242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8005037307739258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:43:53.093762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.156399726867676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:44:03.018628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8321933746337891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:44:32.286924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8363029956817627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:44:42.394833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8404538631439209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:44:52.309613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1621012687683105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:45:03.784744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.6215004920959473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:45:32.534922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.9702768325805664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:45:42.574580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8197195529937744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:45:52.524604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.181703805923462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:46:03.362891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.476309299468994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:46:32.694502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8126976490020752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:46:42.828802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7861959934234619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:46:52.667348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.208362340927124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:47:04.247355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9112818241119385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:47:32.885119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8073785305023193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:47:42.988625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7986776828765869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:47:52.918826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.821317434310913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:48:03.818500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8646087646484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:48:33.103507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4693927764892578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:48:43.148750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8284502029418945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:48:53.116972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2208855152130127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:49:03.699637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8999407291412354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:49:32.309139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8092973232269287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:49:42.337598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5373275279998779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:49:52.368472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.9180424213409424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:50:03.250858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8112857341766357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:50:32.539993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7891442775726318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:50:42.695179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8178811073303223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:50:52.523041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1715550422668457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:51:04.159840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.069216012954712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:51:32.686546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7938947677612305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:51:42.846978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9162943363189697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:51:52.686394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.195777654647827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:52:03.566689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5173540115356445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:52:32.864201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8242766857147217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:52:43.015429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8138940334320068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:52:52.877787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1505744457244873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:53:04.417102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9044721126556396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:53:33.089172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8316571712493896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:53:43.189645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8164327144622803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:53:53.106922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.155914068222046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:54:02.922137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8211944103240967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:54:32.309549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.816734790802002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:54:42.326378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.850062370300293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:54:52.234923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1709144115448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:55:03.779134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6882481575012207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:55:32.462367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.791179895401001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:55:42.644635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8054466247558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:55:52.545722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.216618299484253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:56:03.385120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5070841312408447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:56:32.728516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8160407543182373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:56:42.792854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.7876217365264893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:56:52.744270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.171091079711914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:57:04.078624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6602859497070312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:57:33.006127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8255696296691895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:57:43.174667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8071308135986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:57:52.988733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1769015789031982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:59:03.347697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5634775161743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 14:59:32.387607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.922121524810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 14:59:42.426564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5801377296447754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 14:59:52.263323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.222719430923462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:00:03.190164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9858832359313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:00:32.509065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.504981517791748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:00:42.548843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9349744319915771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:00:52.417666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2145204544067383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:01:04.104686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.092829942703247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:01:32.677550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5164799690246582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:01:42.760691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9251511096954346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:01:52.627246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.334354877471924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:02:03.369624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5283114910125732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:02:32.782934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8971471786499023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:02:42.967953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4999058246612549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:02:52.810257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3404533863067627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:03:04.259186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6410634517669678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:03:33.223527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6398911476135254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:03:43.265058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5483534336090088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:03:53.050324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8029255867004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:04:02.875092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5260663032531738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:04:32.292262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.46529483795166016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:04:42.305905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.48218274116516113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:04:52.209280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.842439889907837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:05:03.790496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6225621700286865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:05:32.623351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9291634559631348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:05:42.481728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.48828625679016113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:05:52.417154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.291585922241211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:06:03.336294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9066095352172852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:06:32.635966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.48449158668518066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:06:42.739247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9074039459228516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:06:52.693434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3160386085510254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:07:04.239351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.032282829284668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:07:32.885858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.509554386138916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:07:43.055450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8526191711425781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:07:52.960374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8496718406677246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:08:03.149719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.906376838684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:08:32.239274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8935949802398682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:08:42.193116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8959479331970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:08:52.089202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3642592430114746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:09:03.547959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6390900611877441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:09:32.296183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8464419841766357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:09:42.338871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4862704277038574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:09:52.266117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8794701099395752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:10:03.055938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9578003883361816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:10:32.491003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9172580242156982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:10:42.621266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.920320987701416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:10:52.457852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8674986362457275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:11:03.842058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0160868167877197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:11:32.645539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9038305282592773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:11:42.730932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5157856941223145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:11:52.739598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.398786783218384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:12:03.631541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5112426280975342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:12:32.964213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8544094562530518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:12:43.026379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9298429489135742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:12:52.944670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3289339542388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:13:03.109748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0796773433685303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:13:32.167144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8524332046508789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:13:42.291252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9157102108001709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:13:52.108126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.315180540084839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:14:02.928561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9118165969848633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:14:32.368820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5103166103363037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:14:42.350286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8691885471343994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:14:52.195651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.830613136291504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:15:03.659745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9323921203613281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:15:32.502062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8975906372070312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:15:42.465209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9040637016296387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:15:52.372421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.8273544311523438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:16:03.256909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.6894912719726562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:16:32.735959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5095169544219971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:16:42.729513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5047826766967773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:16:52.553090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.828357219696045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:17:04.157342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9894497394561768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:17:32.740477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.859323263168335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:17:42.814983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5224947929382324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:17:52.821746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8753962516784668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:18:03.662425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8934531211853027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:18:32.995607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9176070690155029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:18:43.041395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8836681842803955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:18:53.013234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8490614891052246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:19:03.677571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.971189022064209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:19:32.281024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5193219184875488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:19:42.287454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4979212284088135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:19:52.177330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2320284843444824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:20:03.080429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5164599418640137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:20:32.373466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8669137954711914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:20:42.471960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8930625915527344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:20:52.318903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8500330448150635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:21:03.918246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8077223300933838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:21:32.537226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9149501323699951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:21:42.749549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5210943222045898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:21:52.537833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2842535972595215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:22:03.349895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8990635871887207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:22:32.728433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8772242069244385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:22:42.807842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.886422872543335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:22:52.665749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.339120864868164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:23:04.275191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.075293779373169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:23:32.882761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9210803508758545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:23:42.961739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4915807247161865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:23:53.002840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.258178472518921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:24:02.816338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.675644874572754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:24:32.221090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9197771549224854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:24:42.237348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.911773681640625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:24:52.172088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.288794755935669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:25:03.509546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.678786039352417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:25:32.349223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8746402263641357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:25:42.569734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.6761114597320557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:25:52.434046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2830474376678467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:26:03.236348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9565629959106445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:26:32.595941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8771026134490967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:26:42.659779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9694874286651611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:26:52.567535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8016862869262695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:27:04.051155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9979414939880371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:27:32.787725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8666610717773438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:27:42.911392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5224425792694092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:27:52.770347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3086049556732178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:28:03.547027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9183988571166992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:28:32.997211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8588805198669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:28:43.058420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9134340286254883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:28:52.980691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.292548179626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:29:03.364603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.115187168121338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:29:32.197207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5192103385925293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:29:42.346653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5249395370483398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:29:52.161256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.308788537979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:30:02.975477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.946946382522583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:30:32.398313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5226728916168213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:30:42.475864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8905153274536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:30:52.286269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8091273307800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:31:03.702299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.065765380859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:31:32.617091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.512824535369873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:31:42.734256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9250698089599609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:31:52.481586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1970512866973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:32:03.292990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9607753753662109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:32:32.636904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8709886074066162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:32:42.792996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5073344707489014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:32:52.709513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3362669944763184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:33:04.357155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0373270511627197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:33:32.936860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8980224132537842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:33:42.971711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5075135231018066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:33:52.844491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.863046407699585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:34:03.712240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9577689170837402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:34:33.116582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.88761305809021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:34:43.118557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9087245464324951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:34:53.113080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3870694637298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:35:03.617422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6668968200683594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:35:32.499556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8770425319671631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:35:42.394962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4805335998535156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:35:52.236256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.4361116886138916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:36:03.197756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.895423412322998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:36:32.505394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.876370906829834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:36:42.530365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8491761684417725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:36:52.362729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3629415035247803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:37:03.919353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0222585201263428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:37:32.728443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8719227313995361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:37:42.655351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9044933319091797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:37:52.640608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.348508596420288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:38:03.599651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9063422679901123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:38:32.819157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4839975833892822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:38:42.919630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8763926029205322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:38:52.797023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2620363235473633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:39:04.427417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6302409172058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:39:33.011661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4827404022216797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:39:43.083754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8480896949768066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:39:53.128705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.341459035873413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:40:03.050057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9570753574371338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:40:32.347959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8899078369140625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:40:42.399960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8853342533111572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:40:52.282008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.344749689102173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:41:03.685282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.1268270015716553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:41:32.515526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9615528583526611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:41:42.564324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8667130470275879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:41:52.472394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.256287097930908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:42:03.273966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9705030918121338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:42:32.644922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8667747974395752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:42:42.751106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9281125068664551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:42:52.666023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2873449325561523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:43:04.165113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6874444484710693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:43:33.026428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9159584045410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:43:43.083425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9354352951049805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:43:52.825617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8150091171264648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:44:03.785589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5669898986816406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:44:33.068636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4787254333496094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:44:43.099855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8728337287902832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:44:53.045704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2286274433135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:45:03.633655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9209740161895752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:45:32.307369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.890784502029419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:45:42.293260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9339404106140137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:45:52.281475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.346449375152588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:46:03.292937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.7958705425262451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:46:32.595862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8617637157440186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:46:42.674475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0191054344177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:46:52.560836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3142900466918945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:47:03.846628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9964983463287354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:47:32.837278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9007527828216553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:47:42.923012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8554339408874512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:47:52.737386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.291292667388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:48:03.542034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5359828472137451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:48:32.954089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8676764965057373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:48:43.026592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8664026260375977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:48:52.955363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3136510848999023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:49:03.334418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.62095046043396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:49:32.264457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8964712619781494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:49:42.182394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.938542366027832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:49:52.124700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2331244945526123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:50:02.855944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5409407615661621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:50:32.395498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8271212577819824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:50:42.400481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9127702713012695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:50:52.340268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8702831268310547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:51:03.895478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0313313007354736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:51:32.545550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.85599684715271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:51:42.644564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9380784034729004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:51:52.530206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2498350143432617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:52:03.360131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.503833532333374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:52:32.705286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.976003885269165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:52:42.758218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8508262634277344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:52:52.644400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3956871032714844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:53:04.070646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0086650848388672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:53:32.875735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4822559356689453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:53:42.944778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9048964977264404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:53:52.887288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.316856622695923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:54:03.792564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9577329158782959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:54:33.063389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8556032180786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:54:43.132911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4899914264678955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:54:53.089512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3884103298187256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:55:03.617894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0064408779144287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:55:32.373557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5302243232727051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:55:42.336514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.48029613494873047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:55:52.218666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.344949245452881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:56:03.078139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9025201797485352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:56:32.421447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8700375556945801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:56:42.462003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9638121128082275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:56:52.397931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2027626037597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:57:03.838944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.023167371749878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:57:32.751357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0666205883026123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:57:42.824336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.7147657871246338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:57:52.510553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2404470443725586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:59:04.477241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6815521717071533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 15:59:33.111418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8992404937744141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 15:59:43.166981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8959109783172607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 15:59:53.121996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8362829685211182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:00:02.994834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9639625549316406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:00:32.337247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8814876079559326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:00:42.346097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5153779983520508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:00:52.273441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.232794761657715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:01:03.931677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.008432388305664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:01:32.480452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8979918956756592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:01:42.530651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9402103424072266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:01:52.478413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3141560554504395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:02:03.211578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5090727806091309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:02:32.651334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4842653274536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:02:42.776143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8567030429840088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:02:52.674204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2277581691741943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:03:04.130377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.061387538909912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:03:32.944590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9111578464508057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:03:43.007406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5121629238128662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:03:52.862250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3050365447998047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:04:03.743670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5438778400421143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:04:33.134819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9143075942993164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:04:43.176763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8985285758972168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:04:53.137947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.394524335861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:05:03.568574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.035295009613037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:05:32.457915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.805027961730957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:05:42.429856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8953752517700195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:05:52.316435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.856050729751587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:06:03.171455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8704919815063477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:06:32.556920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.6520743370056152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:06:42.630175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9157211780548096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:06:52.583128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.281559467315674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:07:04.269900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8707244396209717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:07:32.777087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8938074111938477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:07:42.982304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.523700475692749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:07:52.732728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3055567741394043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:08:03.593275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8682289123535156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:08:32.910119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4757568836212158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:08:43.029735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9554629325866699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:08:52.877717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3427531719207764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:09:04.154020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6683368682861328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:09:33.238991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8974978923797607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:09:43.148518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.87947678565979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:09:53.218819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2343974113464355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:10:03.025943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5518877506256104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:10:32.392377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4747612476348877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:10:42.467049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8901350498199463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:10:52.376007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2248289585113525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:11:03.899089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9977262020111084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:11:32.690361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8186593055725098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:11:42.750418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9065282344818115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:11:52.617529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8623056411743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:12:03.450659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9229731559753418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:12:32.766400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4706001281738281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:12:42.877031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4860842227935791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:12:52.796435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.268756866455078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:13:04.364773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6188726425170898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:13:33.065505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8546645641326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:13:43.100834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5305395126342773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:13:53.079865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8566107749938965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:14:02.884951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9292902946472168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:14:32.399755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.911827564239502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:14:42.367931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5068964958190918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:14:52.198223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8519306182861328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:15:03.797628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.142120599746704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:15:32.444271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.899707555770874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:15:42.509964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5585196018218994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:15:52.395513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3597891330718994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:16:03.439537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.991321325302124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:16:32.640287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8141300678253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:16:42.663011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9304401874542236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:16:52.529139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.29057240486145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:17:04.149718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.075155258178711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:17:32.753110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.882988691329956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:17:42.824416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.4563288688659668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:17:52.747213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8514349460601807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:18:03.469865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5483095645904541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:18:32.959224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8211588859558105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:18:42.977588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.47443294525146484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:18:52.905179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.29341459274292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:19:04.728088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5995581150054932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:19:33.119570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9389445781707764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:19:43.273570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9146645069122314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:19:53.230473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3353981971740723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:20:03.132186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8901474475860596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:20:32.424560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5233752727508545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:20:42.526793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.848534107208252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:20:52.334868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.927795171737671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:21:03.752315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0576756000518799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:21:32.558969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.507683277130127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:21:42.806471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9483773708343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:21:52.524425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8534963130950928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:22:03.468034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9629747867584229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:22:32.752674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8420231342315674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:22:42.763704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.946749210357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:22:52.671252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3165929317474365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:23:04.045718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6353535652160645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:23:32.872680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4817519187927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:23:42.999498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9659595489501953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:23:52.859652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8000893592834473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:24:03.662709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5292978286743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:24:33.046086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.868877649307251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:24:43.103809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8651657104492188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:24:53.083383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2738049030303955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:25:03.655217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0968878269195557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:25:32.291547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9068629741668701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:25:42.415859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9027454853057861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:25:52.255063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8763093948364258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:26:03.204427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9150161743164062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:26:32.537351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8518452644348145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:26:42.510491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.3305134773254395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:26:52.390239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.995234727859497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:27:03.826309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3373353481292725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:27:32.698391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9209811687469482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:27:42.823148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5406255722045898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:27:52.607749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8552544116973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:28:03.570740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9292616844177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:28:32.821563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4831125736236572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:28:42.886423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5035662651062012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:28:52.850822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2117319107055664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:29:04.243394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.1838955879211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:29:33.096895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5436592102050781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:29:43.114104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4886910915374756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:29:53.112004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2066080570220947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:30:02.992248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9598309993743896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:30:32.308809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8692150115966797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:30:42.350008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8752005100250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:30:52.242808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2974283695220947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:31:03.994346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9454681873321533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:31:32.496204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5241930484771729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:31:42.514433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5340166091918945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:31:52.627009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2752532958984375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:32:03.470051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9071807861328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:32:32.802057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.47635459899902344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:32:42.954669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9370615482330322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:32:52.806895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8766896724700928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:33:04.195272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.750281572341919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:33:33.046447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8897602558135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:33:43.155983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5467104911804199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:33:53.127548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2958590984344482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:34:03.061186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.373871088027954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:34:32.299171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5142309665679932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:34:42.362349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8877108097076416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:34:52.251668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.32499098777771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:35:03.831072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9740514755249023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:35:32.555599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8459475040435791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:35:42.508056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9749956130981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:35:52.486498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2690303325653076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:36:03.333197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8618693351745605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:36:32.839294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8765769004821777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:36:42.845605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8541605472564697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:36:52.717434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.269231081008911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:37:04.025548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0686819553375244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:37:32.913303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.49209070205688477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:37:42.964894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9189493656158447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:37:53.004198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8326482772827148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:38:02.717347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.064486265182495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:38:32.233228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9666645526885986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:38:42.238218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5394268035888672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:38:52.188344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8311219215393066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:39:03.712393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.926344633102417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:39:32.508045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8906381130218506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:39:42.590435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5011754035949707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:39:52.339067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2683868408203125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:40:03.270258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9500565528869629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:40:32.557501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9077839851379395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:40:42.652383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.857886791229248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:40:52.560049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.287534475326538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:41:04.016402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6135973930358887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:41:32.829076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.510793924331665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:41:43.030373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5135021209716797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:41:52.782597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8637654781341553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:42:03.584520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9712235927581787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:42:33.064855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9287195205688477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:42:43.046453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8884706497192383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:42:52.989075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.281564474105835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:43:03.372970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6288051605224609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:43:32.165642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.889275312423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:43:42.233205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9362027645111084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:43:52.136303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8550422191619873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:44:02.933850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9024534225463867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:44:32.358166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9043622016906738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:44:42.465091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9421777725219727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:44:52.267625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.235959768295288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:45:03.875815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6178803443908691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:45:32.488243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8277010917663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:45:42.562594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4731574058532715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:45:52.413185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.345393180847168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:46:03.253494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9252147674560547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:46:32.625282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.48609352111816406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:46:42.700893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4877636432647705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:46:52.631641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2404255867004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:47:04.132244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.035266399383545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:47:32.872492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9156460762023926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:47:42.927346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9109125137329102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:47:52.805160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.7962195873260498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:48:03.728320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8571443557739258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:48:33.089015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8413217067718506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:48:43.122409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8613171577453613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:48:52.942255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3378684520721436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:49:03.507027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9872522354125977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:49:32.169700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4829115867614746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:49:42.173064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5309021472930908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:49:52.097506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.33658504486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:50:03.027650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9421975612640381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:50:32.297205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.907508373260498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:50:42.359163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5667004585266113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:50:52.237072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2736520767211914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:51:03.647120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9989469051361084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:51:32.488817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9110088348388672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:51:42.491276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4888319969177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:51:52.384003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.265869617462158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:52:03.315224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5324275493621826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:52:32.638233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5073165893554688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:52:42.687073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5062103271484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:52:52.639521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2872958183288574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:53:03.993435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.651787281036377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:53:32.896529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9059927463531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:53:42.939344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4935290813446045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:53:52.887139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.291661024093628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:54:03.730078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9573993682861328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:54:33.104533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4730701446533203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:54:43.141194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5228631496429443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:54:53.085488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.802769660949707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:55:03.305344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9630415439605713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:55:32.354667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8905086517333984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:55:42.460805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0199699401855469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:55:52.232042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.328498125076294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:56:03.045058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5133111476898193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:56:32.433551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4923431873321533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:56:42.480286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.85491943359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:56:52.366884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.272824287414551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:57:03.995160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.044651985168457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:57:32.690354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9497630596160889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:57:42.672577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9254062175750732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:57:52.549702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.330148935317993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:59:03.975886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.971036434173584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 16:59:33.088633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5212035179138184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 16:59:43.092586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8938572406768799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 16:59:52.897155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.902134656906128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:00:03.820130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.019014596939087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:00:33.140141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.915508508682251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:00:43.193456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9098639488220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:00:53.084224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3184854984283447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:01:03.664444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.023322582244873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:01:32.314931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9141676425933838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:01:42.330353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9304783344268799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:01:52.268934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.304565668106079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:02:03.199957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5246522426605225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:02:32.438594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.904404878616333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:02:42.538396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8899111747741699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:02:52.465786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8582987785339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:03:03.869140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6143298149108887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:03:32.777269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.886497974395752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:03:42.728039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0974814891815186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:03:52.647852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3059651851654053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:04:03.293319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.8007652759552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:04:32.889905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8655171394348145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:04:42.886162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5199558734893799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:04:52.782814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.295968770980835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:05:03.928132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.157853126525879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:05:32.994383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5112411975860596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:05:43.072350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5545473098754883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:05:53.082339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2251038551330566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:06:02.956107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8883593082427979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:06:32.302522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8582861423492432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:06:42.315935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8580718040466309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:06:52.204896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.260934352874756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:07:03.966381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5822570323944092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:07:32.498553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.861077070236206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:07:42.461432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9718017578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:07:52.384601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2628445625305176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:08:03.415363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9051730632781982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:08:32.704229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.867558479309082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:08:42.702148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5335345268249512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:08:52.675070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3150174617767334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:09:04.322663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.5398321151733398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:09:32.913124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9061403274536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:09:42.946668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8597204685211182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:09:52.873224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.419771432876587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:10:03.822445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9655334949493408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:10:33.052673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4783496856689453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:10:43.140547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5203249454498291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:10:53.085153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.848726749420166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:11:03.707194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0054810047149658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:11:32.305655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8959908485412598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:11:42.380608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8374617099761963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:11:52.244995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.285248041152954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:12:02.991717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8917546272277832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:12:32.510454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8650627136230469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:12:42.476167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9055533409118652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:12:52.362302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2370896339416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:13:03.985340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0203893184661865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:13:32.676811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8927865028381348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:13:42.750251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5240082740783691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:13:52.603283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8435230255126953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:14:03.385884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.909407615661621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:14:32.964558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9095757007598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:14:43.072474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9293599128723145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:14:52.707317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.35245943069458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:15:04.395907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9715878963470459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:15:32.976957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.47229862213134766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:15:43.095835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5062205791473389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:15:53.008591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.7984437942504883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:16:02.860358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9185006618499756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:16:32.249019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8932137489318848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:16:42.261935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9403457641601562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:16:52.155749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.854567289352417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:17:03.396254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9158296585083008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:17:32.395688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.967064380645752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:17:42.507733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8681771755218506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:17:52.384663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3051297664642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:18:03.339518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9242696762084961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:18:32.687321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8775429725646973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:18:42.676606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.840418815612793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:18:52.576998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3109166622161865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:19:04.139970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6979556083679199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:19:32.746284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.47750091552734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:19:42.940660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5410242080688477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:19:52.767786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8901872634887695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:20:03.681707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5356512069702148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:20:34.745878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8723032474517822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:20:43.036818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.1536436080932617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:20:52.949103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8610243797302246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:21:03.286350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.675267219543457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:21:32.194445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8767178058624268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:21:42.252002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9149909019470215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:21:52.127622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.251284122467041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:22:02.853867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.926616907119751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:22:32.324064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9117741584777832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:22:42.447217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9349358081817627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:22:52.257612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.272200107574463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:23:03.663250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0055508613586426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:23:32.506415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.875648021697998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:23:42.525568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.889991044998169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:23:52.528838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2839953899383545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:24:03.333373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8791942596435547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:24:32.681851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.839080810546875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:24:42.798077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9700620174407959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:24:52.648790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.3202667236328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:25:04.036962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0313475131988525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:25:32.872787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8556296825408936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:25:42.943794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8174965381622314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:25:52.816920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2632739543914795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:26:03.756506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9094066619873047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:26:32.986042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8638062477111816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:26:43.121811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9417407512664795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:26:53.003466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8199303150177002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:27:03.734160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6270232200622559 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:27:32.238296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5222187042236328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:27:42.373004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5290794372558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:27:52.159066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.850571632385254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:28:03.020630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9462811946868896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:28:32.448636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8272974491119385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:28:42.446801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8712730407714844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:28:52.361216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.278475761413574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:29:03.957949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.6001930236816406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:29:32.639662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8342118263244629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:29:42.797920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.3451781272888184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:29:52.590013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2274765968322754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:30:03.441792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9478890895843506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:30:32.747232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8998053073883057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:30:42.809351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5200653076171875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:30:52.788420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2921879291534424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:31:04.157529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9947502613067627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:31:33.002072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8950483798980713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:31:43.104478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9017391204833984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:31:52.916384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.834676742553711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:32:03.657366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.5702638626098633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:32:33.125942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.4831573963165283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:32:43.183343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.8390085697174072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:32:53.140736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 2.2353217601776123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:33:03.547234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.0070438385009766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:33:32.317750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.901752233505249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:33:42.447591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 0.9020242691040039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:33:52.325977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 1.8261456489562988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:34:03.184443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 3.022580146789551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:34:32.720228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/07/image_23012025_14_08_04_10344.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_15_10424.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_24_9369.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_35_10337.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_45_10348.jpg
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_08_54_9357.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":["1330834437","1330834431","1330834425","1330834434","1330834428","1330834445"],"photo_ids_order":["1330834425","1330834428","1330834431","1330834434","1330834437","1330834445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00a7fa418015e395ec323fcdcb99b7b4.jpg","text":"TemporaryFile(/tmp/multipartBody8557088324569278444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650133686,"filename":"image_23012025_14_08_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/984ab3920dbc4ab00e724072d83ab781.jpg","text":"TemporaryFile(/tmp/multipartBody5826837723522462558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650133686,"filename":"image_23012025_14_08_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d399f6a705af86ee1cb505bb646a022.jpg","text":"TemporaryFile(/tmp/multipartBody788378780104419682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650133686,"filename":"image_23012025_14_08_04_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef103b546fc4496afd40587bdcdb11b5.jpg","text":"TemporaryFile(/tmp/multipartBody2480811055346566960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650133686,"filename":"image_23012025_14_08_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a718e7dcf3a0e86ff66697ea8334b210.jpg","text":"TemporaryFile(/tmp/multipartBody3719006595184512268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650133686,"filename":"image_23012025_14_08_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efc375a324f5c2e78145fa16690a172c.jpg","text":"TemporaryFile(/tmp/multipartBody1806005211905778501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650133686,"filename":"image_23012025_14_08_54_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834431","file1":"1330834428","file0":"1330834425","file4":"1330834437","file5":"1330834445","file3":"1330834434"},"map_files_photo_id_array":[{"photo_id":"1330834445","filename":"file5"},{"photo_id":"1330834431","filename":"file2"},{"photo_id":"1330834437","filename":"file4"},{"photo_id":"1330834428","filename":"file1"},{"photo_id":"1330834425","filename":"file0"},{"photo_id":"1330834434","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834437":["hashtag1","hashtag2"]},{"1330834431":["hashtag1","hashtag2"]},{"1330834425":["hashtag1","hashtag2"]},{"1330834434":["hashtag1","hashtag2"]},{"1330834428":["hashtag1","hashtag2"]},{"1330834445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834437, 1330834431, 1330834425, 1330834434, 1330834428, 1330834445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.51394295692444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:35:32.784417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/08/image_23012025_14_09_05_10356.jpg', '/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_15_10327.jpg', '/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_24_9341.jpg', '/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_35_10369.jpg', '/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_44_9381.jpg', '/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_54_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/08/image_23012025_14_09_05_10356.jpg
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_15_10327.jpg
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_24_9341.jpg
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_35_10369.jpg
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_44_9381.jpg
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_09_54_10360.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":["1330834470","1330834490","1330834478","1330834474","1330834465","1330834485"],"photo_ids_order":["1330834465","1330834470","1330834474","1330834478","1330834485","1330834490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55a03913616ad0b1ec0c5fa84a7ffe23.jpg","text":"TemporaryFile(/tmp/multipartBody4641243020998765940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650193756,"filename":"image_23012025_14_09_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2a2a83a129ecae904bc7ebe8a6b92ba.jpg","text":"TemporaryFile(/tmp/multipartBody8331418186890079616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650193756,"filename":"image_23012025_14_09_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/718d4195acc5b308f64bebe4219d55f0.jpg","text":"TemporaryFile(/tmp/multipartBody7330013388350486470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650193756,"filename":"image_23012025_14_09_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55a926bf44e6d05b8af8838fa7d95f28.jpg","text":"TemporaryFile(/tmp/multipartBody7243902242331753189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650193756,"filename":"image_23012025_14_09_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e924bf2ffda522dadd6262e11891dc07.jpg","text":"TemporaryFile(/tmp/multipartBody5790833926014293234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650193756,"filename":"image_23012025_14_09_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d69a3bca82fc06c9c025d2362e7da8e.jpg","text":"TemporaryFile(/tmp/multipartBody6659618558985981126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650193756,"filename":"image_23012025_14_09_44_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834474","file1":"1330834470","file0":"1330834465","file4":"1330834485","file5":"1330834490","file3":"1330834478"},"map_files_photo_id_array":[{"photo_id":"1330834490","filename":"file5"},{"photo_id":"1330834474","filename":"file2"},{"photo_id":"1330834485","filename":"file4"},{"photo_id":"1330834470","filename":"file1"},{"photo_id":"1330834465","filename":"file0"},{"photo_id":"1330834478","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834470":["hashtag1","hashtag2"]},{"1330834490":["hashtag1","hashtag2"]},{"1330834478":["hashtag1","hashtag2"]},{"1330834474":["hashtag1","hashtag2"]},{"1330834465":["hashtag1","hashtag2"]},{"1330834485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834470, 1330834490, 1330834478, 1330834474, 1330834465, 1330834485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.95704674720764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:36:32.957109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/09/image_23012025_14_10_05_10351.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_14_9332.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_24_10358.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_35_10345.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_44_9337.jpg', '/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_54_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/09/image_23012025_14_10_05_10351.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_14_9332.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_24_10358.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_35_10345.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_44_9337.jpg
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_10_54_10350.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":["1330834524","1330834503","1330834512","1330834520","1330834507","1330834516"],"photo_ids_order":["1330834503","1330834507","1330834512","1330834516","1330834520","1330834524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f5a8ac9f80c4aae9da8fc505b984028.jpg","text":"TemporaryFile(/tmp/multipartBody6394013653956715611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650253922,"filename":"image_23012025_14_10_54_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/665162b000485959b3eb826979f6daea.jpg","text":"TemporaryFile(/tmp/multipartBody2091460372809317402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650253922,"filename":"image_23012025_14_10_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b293a5403217bd6069a1833b65e1205.jpg","text":"TemporaryFile(/tmp/multipartBody5669872000039851167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650253922,"filename":"image_23012025_14_10_24_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/908ef0a1ebaf872cb3a47ac2296db067.jpg","text":"TemporaryFile(/tmp/multipartBody1643798000348348242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650253922,"filename":"image_23012025_14_10_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e1ad58235c6d5481458a5417ac6411e.jpg","text":"TemporaryFile(/tmp/multipartBody1963455094352252084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650253922,"filename":"image_23012025_14_10_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7f55709ef41b34de8188eaa8a6106d4.jpg","text":"TemporaryFile(/tmp/multipartBody6473651088981173183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650253922,"filename":"image_23012025_14_10_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834512","file1":"1330834507","file0":"1330834503","file4":"1330834520","file5":"1330834524","file3":"1330834516"},"map_files_photo_id_array":[{"photo_id":"1330834524","filename":"file5"},{"photo_id":"1330834512","filename":"file2"},{"photo_id":"1330834520","filename":"file4"},{"photo_id":"1330834507","filename":"file1"},{"photo_id":"1330834503","filename":"file0"},{"photo_id":"1330834516","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834524":["hashtag1","hashtag2"]},{"1330834503":["hashtag1","hashtag2"]},{"1330834512":["hashtag1","hashtag2"]},{"1330834520":["hashtag1","hashtag2"]},{"1330834507":["hashtag1","hashtag2"]},{"1330834516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834524, 1330834503, 1330834512, 1330834520, 1330834507, 1330834516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90178108215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:37:33.130207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/10/image_23012025_14_11_05_10399.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_14_9340.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_25_10355.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_35_10337.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_44_9395.jpg', '/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_55_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/10/image_23012025_14_11_05_10399.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_14_9340.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_25_10355.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_35_10337.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_44_9395.jpg
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_11_55_10334.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":["1330834572","1330834566","1330834560","1330834580","1330834577","1330834556"],"photo_ids_order":["1330834556","1330834560","1330834566","1330834572","1330834577","1330834580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/662908df671b1b36dd145e6a518cfb35.jpg","text":"TemporaryFile(/tmp/multipartBody8817353689054360556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650314093,"filename":"image_23012025_14_11_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/baf5499fca9746e6877b16e203aa4375.jpg","text":"TemporaryFile(/tmp/multipartBody6192714768285493477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650314093,"filename":"image_23012025_14_11_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73af5be8bc414168aeec44e010807358.jpg","text":"TemporaryFile(/tmp/multipartBody2746954747495509624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650314093,"filename":"image_23012025_14_11_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/660d24dc415b6b3a33c5f7947b621d15.jpg","text":"TemporaryFile(/tmp/multipartBody1112992961403071619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650314093,"filename":"image_23012025_14_11_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b7f3747448f20347288d38b0548dedd.jpg","text":"TemporaryFile(/tmp/multipartBody7117410376040067561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650314093,"filename":"image_23012025_14_11_44_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5d4e09043d6ac112acefe007a09b8a8.jpg","text":"TemporaryFile(/tmp/multipartBody6681884178602281706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650314093,"filename":"image_23012025_14_11_05_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834566","file1":"1330834560","file0":"1330834556","file4":"1330834577","file5":"1330834580","file3":"1330834572"},"map_files_photo_id_array":[{"photo_id":"1330834580","filename":"file5"},{"photo_id":"1330834566","filename":"file2"},{"photo_id":"1330834577","filename":"file4"},{"photo_id":"1330834560","filename":"file1"},{"photo_id":"1330834556","filename":"file0"},{"photo_id":"1330834572","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834572":["hashtag1","hashtag2"]},{"1330834566":["hashtag1","hashtag2"]},{"1330834560":["hashtag1","hashtag2"]},{"1330834580":["hashtag1","hashtag2"]},{"1330834577":["hashtag1","hashtag2"]},{"1330834556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834572, 1330834566, 1330834560, 1330834580, 1330834577, 1330834556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.620428800582886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:38:32.315854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/11/image_23012025_14_12_04_9382.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_14_10329.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_25_10334.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_34_9408.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_44_10329.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_55_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_12_04_9382.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_14_10329.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_25_10334.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_34_9408.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_44_10329.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_55_10352.jpg
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: 0.567096471786499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:38:42.317917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/11/image_23012025_14_12_04_9382.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_14_10329.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_25_10334.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_34_9408.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_44_10329.jpg', '/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_55_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/11/image_23012025_14_12_04_9382.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_14_10329.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_25_10334.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_34_9408.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_44_10329.jpg
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_12_55_10352.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":["1330834620","1330834626","1330834607","1330834636","1330834630","1330834615"],"photo_ids_order":["1330834607","1330834615","1330834620","1330834626","1330834630","1330834636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e36ca92c9991c43a47c3b4e0bdc9982d.jpg","text":"TemporaryFile(/tmp/multipartBody1276892210280739462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650383231,"filename":"image_23012025_14_12_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b35d20376f5d9cf42744dd8ce20a66f0.jpg","text":"TemporaryFile(/tmp/multipartBody2276082178623791965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650383231,"filename":"image_23012025_14_12_34_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9df798813fd45c5ec412e1db62702025.jpg","text":"TemporaryFile(/tmp/multipartBody5117929067830425072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650383231,"filename":"image_23012025_14_12_04_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b14a4b935e98214588a27302db96e435.jpg","text":"TemporaryFile(/tmp/multipartBody3115521135226682418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650383231,"filename":"image_23012025_14_12_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41e9f713e30eb64b3415ae6a9e0d98bf.jpg","text":"TemporaryFile(/tmp/multipartBody6237135665980953744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650383231,"filename":"image_23012025_14_12_44_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24970b318214c26037bd3e8ec690324b.jpg","text":"TemporaryFile(/tmp/multipartBody771597428947648707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650383231,"filename":"image_23012025_14_12_14_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834620","file1":"1330834615","file0":"1330834607","file4":"1330834630","file5":"1330834636","file3":"1330834626"},"map_files_photo_id_array":[{"photo_id":"1330834636","filename":"file5"},{"photo_id":"1330834620","filename":"file2"},{"photo_id":"1330834630","filename":"file4"},{"photo_id":"1330834615","filename":"file1"},{"photo_id":"1330834607","filename":"file0"},{"photo_id":"1330834626","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834620":["hashtag1","hashtag2"]},{"1330834626":["hashtag1","hashtag2"]},{"1330834607":["hashtag1","hashtag2"]},{"1330834636":["hashtag1","hashtag2"]},{"1330834630":["hashtag1","hashtag2"]},{"1330834615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834620, 1330834626, 1330834607, 1330834636, 1330834630, 1330834615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38892912864685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:39:32.488302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/12/image_23012025_14_13_04_9403.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_15_10445.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_24_9477.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_34_10333.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_45_10340.jpg', '/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_54_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/12/image_23012025_14_13_04_9403.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_15_10445.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_24_9477.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_34_10333.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_45_10340.jpg
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_13_54_9328.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":["1330834665","1330834655","1330834672","1330834669","1330834660","1330834651"],"photo_ids_order":["1330834651","1330834655","1330834660","1330834665","1330834669","1330834672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6758300aa9caf1c15fdef855c5e6d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4853616684773405272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650433443,"filename":"image_23012025_14_13_34_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/865a07629b5803d5a30f4f3d0e3dc2ea.jpg","text":"TemporaryFile(/tmp/multipartBody7502983863227588919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650433443,"filename":"image_23012025_14_13_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a45f6fd987d6bef6cac838657307681.jpg","text":"TemporaryFile(/tmp/multipartBody4354390988735748489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650433443,"filename":"image_23012025_14_13_54_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb0d9439232e247269140468856291d8.jpg","text":"TemporaryFile(/tmp/multipartBody834532856897321716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650433443,"filename":"image_23012025_14_13_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b205e362e1ca69c840d54d7ca2d4bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody2860587922992109963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650433443,"filename":"image_23012025_14_13_24_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e58e5fcbcfd2d1a61943d557015caa52.jpg","text":"TemporaryFile(/tmp/multipartBody9015124040825251536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650433443,"filename":"image_23012025_14_13_04_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834660","file1":"1330834655","file0":"1330834651","file4":"1330834669","file5":"1330834672","file3":"1330834665"},"map_files_photo_id_array":[{"photo_id":"1330834672","filename":"file5"},{"photo_id":"1330834660","filename":"file2"},{"photo_id":"1330834669","filename":"file4"},{"photo_id":"1330834655","filename":"file1"},{"photo_id":"1330834651","filename":"file0"},{"photo_id":"1330834665","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834665":["hashtag1","hashtag2"]},{"1330834655":["hashtag1","hashtag2"]},{"1330834672":["hashtag1","hashtag2"]},{"1330834669":["hashtag1","hashtag2"]},{"1330834660":["hashtag1","hashtag2"]},{"1330834651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834665, 1330834655, 1330834672, 1330834669, 1330834660, 1330834651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95836162567139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:40:32.687053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/13/image_23012025_14_14_04_10334.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_15_10355.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_24_9359.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_34_10337.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_45_10394.jpg', '/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_54_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/13/image_23012025_14_14_04_10334.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_15_10355.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_24_9359.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_34_10337.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_45_10394.jpg
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_14_54_9334.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":["1330834752","1330834746","1330834740","1330834781","1330834760","1330834735"],"photo_ids_order":["1330834735","1330834740","1330834746","1330834752","1330834760","1330834781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba98e00435e50b219d9c5e136d7e8dd4.jpg","text":"TemporaryFile(/tmp/multipartBody5005823072557487380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650493669,"filename":"image_23012025_14_14_34_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebbdc5c2ef7d66617703d1e7f3fb69ff.jpg","text":"TemporaryFile(/tmp/multipartBody1528019560706673993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650493669,"filename":"image_23012025_14_14_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d506010412a38bc95906bba4be894fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8075229546766345482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650493669,"filename":"image_23012025_14_14_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdbcc2bca784ce3b974646985803443b.jpg","text":"TemporaryFile(/tmp/multipartBody7512160539605082680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650493669,"filename":"image_23012025_14_14_54_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fa46ed931563cdd69a142d2f269ce38.jpg","text":"TemporaryFile(/tmp/multipartBody5456413194298053889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650493669,"filename":"image_23012025_14_14_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee6873424721dc798cf6413211d70857.jpg","text":"TemporaryFile(/tmp/multipartBody1608806901492337470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650493669,"filename":"image_23012025_14_14_04_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834746","file1":"1330834740","file0":"1330834735","file4":"1330834760","file5":"1330834781","file3":"1330834752"},"map_files_photo_id_array":[{"photo_id":"1330834781","filename":"file5"},{"photo_id":"1330834746","filename":"file2"},{"photo_id":"1330834760","filename":"file4"},{"photo_id":"1330834740","filename":"file1"},{"photo_id":"1330834735","filename":"file0"},{"photo_id":"1330834752","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834752":["hashtag1","hashtag2"]},{"1330834746":["hashtag1","hashtag2"]},{"1330834740":["hashtag1","hashtag2"]},{"1330834781":["hashtag1","hashtag2"]},{"1330834760":["hashtag1","hashtag2"]},{"1330834735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834752, 1330834746, 1330834740, 1330834781, 1330834760, 1330834735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.569005489349365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:41:32.922209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/14/image_23012025_14_15_05_10334.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_15_10355.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_24_9418.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_35_10349.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_44_9396.jpg', '/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_54_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/14/image_23012025_14_15_05_10334.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_15_10355.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_24_9418.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_35_10349.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_44_9396.jpg
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_15_54_10365.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":["1330834899","1330834908","1330834892","1330834865","1330834879","1330834903"],"photo_ids_order":["1330834865","1330834879","1330834892","1330834899","1330834903","1330834908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afdd33a39222bcf2cd5f1a7df03b673e.jpg","text":"TemporaryFile(/tmp/multipartBody1505430575757264723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650553886,"filename":"image_23012025_14_15_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f45783686355fcc8664bfaa4238b0c45.jpg","text":"TemporaryFile(/tmp/multipartBody8468586522036142445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650553886,"filename":"image_23012025_14_15_54_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95dd1e657d074aaea7dfdb805166d609.jpg","text":"TemporaryFile(/tmp/multipartBody1886252282766220784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650553886,"filename":"image_23012025_14_15_24_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66bea4074781c35ede7ad605a2ea2aa4.jpg","text":"TemporaryFile(/tmp/multipartBody6014485703645722413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650553886,"filename":"image_23012025_14_15_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecbaf516d25cd3a3f2174039bdbd4951.jpg","text":"TemporaryFile(/tmp/multipartBody2805541680017685293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650553886,"filename":"image_23012025_14_15_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebeba4ba45add8c443f6d48973ecd424.jpg","text":"TemporaryFile(/tmp/multipartBody3899139755896923353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650553886,"filename":"image_23012025_14_15_44_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834892","file1":"1330834879","file0":"1330834865","file4":"1330834903","file5":"1330834908","file3":"1330834899"},"map_files_photo_id_array":[{"photo_id":"1330834908","filename":"file5"},{"photo_id":"1330834892","filename":"file2"},{"photo_id":"1330834903","filename":"file4"},{"photo_id":"1330834879","filename":"file1"},{"photo_id":"1330834865","filename":"file0"},{"photo_id":"1330834899","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834899":["hashtag1","hashtag2"]},{"1330834908":["hashtag1","hashtag2"]},{"1330834892":["hashtag1","hashtag2"]},{"1330834865":["hashtag1","hashtag2"]},{"1330834879":["hashtag1","hashtag2"]},{"1330834903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834899, 1330834908, 1330834892, 1330834865, 1330834879, 1330834903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83590531349182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:42:32.166975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/15/image_23012025_14_16_05_10342.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_14_9394.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_25_10340.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_35_10343.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_44_9322.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_55_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_16_05_10342.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_14_9394.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_25_10340.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_35_10343.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_44_9322.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_55_10372.jpg
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: 0.5753788948059082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:42:42.206386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/15/image_23012025_14_16_05_10342.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_14_9394.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_25_10340.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_35_10343.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_44_9322.jpg', '/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_55_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/15/image_23012025_14_16_05_10342.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_14_9394.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_25_10340.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_35_10343.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_44_9322.jpg
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_16_55_10372.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":["1330834965","1330834985","1330834996","1330834981","1330834990","1330834974"],"photo_ids_order":["1330834965","1330834974","1330834981","1330834985","1330834990","1330834996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eef0bf545a612a29568b6f273f2d4252.jpg","text":"TemporaryFile(/tmp/multipartBody4228762770228378469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650623131,"filename":"image_23012025_14_16_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07e4240d485e876486e2b9bcccbd43d9.jpg","text":"TemporaryFile(/tmp/multipartBody1333624376682592815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650623131,"filename":"image_23012025_14_16_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d0d133955dc4d0aa0506bb6200e7ade.jpg","text":"TemporaryFile(/tmp/multipartBody473674173421705014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650623131,"filename":"image_23012025_14_16_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/302bd4c8b9c8e649b3d385fcf6c1a5fe.jpg","text":"TemporaryFile(/tmp/multipartBody4817092358759920525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650623131,"filename":"image_23012025_14_16_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e36fad189c9c89402a13f0b4cffc1040.jpg","text":"TemporaryFile(/tmp/multipartBody2160416501908298630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650623131,"filename":"image_23012025_14_16_44_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2aeeb0d0a6f1bb0a8b40e9c0f51d000e.jpg","text":"TemporaryFile(/tmp/multipartBody6498463988253400488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650623131,"filename":"image_23012025_14_16_14_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330834981","file1":"1330834974","file0":"1330834965","file4":"1330834990","file5":"1330834996","file3":"1330834985"},"map_files_photo_id_array":[{"photo_id":"1330834996","filename":"file5"},{"photo_id":"1330834981","filename":"file2"},{"photo_id":"1330834990","filename":"file4"},{"photo_id":"1330834974","filename":"file1"},{"photo_id":"1330834965","filename":"file0"},{"photo_id":"1330834985","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330834965":["hashtag1","hashtag2"]},{"1330834985":["hashtag1","hashtag2"]},{"1330834996":["hashtag1","hashtag2"]},{"1330834981":["hashtag1","hashtag2"]},{"1330834990":["hashtag1","hashtag2"]},{"1330834974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330834965, 1330834985, 1330834996, 1330834981, 1330834990, 1330834974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.649194955825806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:43:32.321492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/16/image_23012025_14_17_05_10334.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_14_9333.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_25_10339.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_35_10348.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_44_9391.jpg', '/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_55_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/16/image_23012025_14_17_05_10334.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_14_9333.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_25_10339.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_35_10348.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_44_9391.jpg
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_17_55_10343.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":["1330835052","1330835021","1330835045","1330835033","1330835026","1330835017"],"photo_ids_order":["1330835017","1330835021","1330835026","1330835033","1330835045","1330835052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c52e59e8dc67ec07773b87e91a7f89e.jpg","text":"TemporaryFile(/tmp/multipartBody8319794565161788076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650673296,"filename":"image_23012025_14_17_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10031c484bf2c476609f8f94554d50cd.jpg","text":"TemporaryFile(/tmp/multipartBody7129841259308804295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650673296,"filename":"image_23012025_14_17_14_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f98ee7da0bf17d7807957f9b3e99f81.jpg","text":"TemporaryFile(/tmp/multipartBody1999037944250534656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650673296,"filename":"image_23012025_14_17_44_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30ba79f9e6e422b95558d87cb4cc8e46.jpg","text":"TemporaryFile(/tmp/multipartBody598281479444923101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650673296,"filename":"image_23012025_14_17_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b2ae1d1a86e27ecdd0110e7aa71ae76.jpg","text":"TemporaryFile(/tmp/multipartBody7107188689800325335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650673296,"filename":"image_23012025_14_17_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c9a2171fa788a4a37dca7078d58f15b.jpg","text":"TemporaryFile(/tmp/multipartBody6368743092231339049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650673296,"filename":"image_23012025_14_17_05_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330835026","file1":"1330835021","file0":"1330835017","file4":"1330835045","file5":"1330835052","file3":"1330835033"},"map_files_photo_id_array":[{"photo_id":"1330835052","filename":"file5"},{"photo_id":"1330835026","filename":"file2"},{"photo_id":"1330835045","filename":"file4"},{"photo_id":"1330835021","filename":"file1"},{"photo_id":"1330835017","filename":"file0"},{"photo_id":"1330835033","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330835052":["hashtag1","hashtag2"]},{"1330835021":["hashtag1","hashtag2"]},{"1330835045":["hashtag1","hashtag2"]},{"1330835033":["hashtag1","hashtag2"]},{"1330835026":["hashtag1","hashtag2"]},{"1330835017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330835052, 1330835021, 1330835045, 1330835033, 1330835026, 1330835017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08996033668518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:44:32.510645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/17/image_23012025_14_18_04_9375.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_14_10343.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_25_10355.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_34_9447.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_44_10331.jpg', '/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_55_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/17/image_23012025_14_18_04_9375.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_14_10343.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_25_10355.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_34_9447.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_44_10331.jpg
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_18_55_10325.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":["1330835145","1330835148","1330835214","1330835198","1330835188","1330835178"],"photo_ids_order":["1330835145","1330835148","1330835178","1330835188","1330835198","1330835214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e5cfa48c44731908d016a472f9243bd.jpg","text":"TemporaryFile(/tmp/multipartBody5383246726172765734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650733464,"filename":"image_23012025_14_18_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f123ab687a2d00a37133ec23e337f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4310046037124974038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650733464,"filename":"image_23012025_14_18_14_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39229c8b25efee079bde5241afb3733b.jpg","text":"TemporaryFile(/tmp/multipartBody6240719743018911997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650733464,"filename":"image_23012025_14_18_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b605ccab5aa2a815be8ef99996a693bd.jpg","text":"TemporaryFile(/tmp/multipartBody3993324406403105258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650733464,"filename":"image_23012025_14_18_44_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a2eb3f829904ae37ee95c4d9faef07c.jpg","text":"TemporaryFile(/tmp/multipartBody4863832407796591141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650733464,"filename":"image_23012025_14_18_34_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fac322897791f8cdcec3c2c964d7d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody9094608179602117221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650733464,"filename":"image_23012025_14_18_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330835178","file1":"1330835148","file0":"1330835145","file4":"1330835198","file5":"1330835214","file3":"1330835188"},"map_files_photo_id_array":[{"photo_id":"1330835214","filename":"file5"},{"photo_id":"1330835178","filename":"file2"},{"photo_id":"1330835198","filename":"file4"},{"photo_id":"1330835148","filename":"file1"},{"photo_id":"1330835145","filename":"file0"},{"photo_id":"1330835188","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330835145":["hashtag1","hashtag2"]},{"1330835148":["hashtag1","hashtag2"]},{"1330835214":["hashtag1","hashtag2"]},{"1330835198":["hashtag1","hashtag2"]},{"1330835188":["hashtag1","hashtag2"]},{"1330835178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330835145, 1330835148, 1330835214, 1330835198, 1330835188, 1330835178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94652462005615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:45:32.685076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/18/image_23012025_14_19_04_9333.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_15_10428.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_25_10356.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_34_9345.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_45_10418.jpg', '/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_54_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/18/image_23012025_14_19_04_9333.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_15_10428.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_25_10356.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_34_9345.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_45_10418.jpg
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_19_54_9361.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":["1330835495","1330835341","1330835464","1330835347","1330835332","1330835463"],"photo_ids_order":["1330835332","1330835341","1330835347","1330835463","1330835464","1330835495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f636b140df6b4beeef5601e62d1f77a.jpg","text":"TemporaryFile(/tmp/multipartBody8742821467509445017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650793645,"filename":"image_23012025_14_19_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d1b4c7237760951d666cd59652559e6.jpg","text":"TemporaryFile(/tmp/multipartBody3177998408107856911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650793645,"filename":"image_23012025_14_19_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3279346b56cb6c69c237eb29b35739e5.jpg","text":"TemporaryFile(/tmp/multipartBody141932613927843864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650793645,"filename":"image_23012025_14_19_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52cd7bcca085c0f85b66c6e1954a1dde.jpg","text":"TemporaryFile(/tmp/multipartBody7152292123060003716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650793645,"filename":"image_23012025_14_19_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68bf853e3d0189fd919e85ae272bb851.jpg","text":"TemporaryFile(/tmp/multipartBody1358776152915703325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650793645,"filename":"image_23012025_14_19_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56357d53830c8975cc19759963a2056c.jpg","text":"TemporaryFile(/tmp/multipartBody9023524942235788540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650793645,"filename":"image_23012025_14_19_34_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330835347","file1":"1330835341","file0":"1330835332","file4":"1330835464","file5":"1330835495","file3":"1330835463"},"map_files_photo_id_array":[{"photo_id":"1330835495","filename":"file5"},{"photo_id":"1330835347","filename":"file2"},{"photo_id":"1330835464","filename":"file4"},{"photo_id":"1330835341","filename":"file1"},{"photo_id":"1330835332","filename":"file0"},{"photo_id":"1330835463","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330835495":["hashtag1","hashtag2"]},{"1330835341":["hashtag1","hashtag2"]},{"1330835464":["hashtag1","hashtag2"]},{"1330835347":["hashtag1","hashtag2"]},{"1330835332":["hashtag1","hashtag2"]},{"1330835463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330835495, 1330835341, 1330835464, 1330835347, 1330835332, 1330835463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51475524902344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:46:32.921058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/19/image_23012025_14_20_04_10347.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_15_10364.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_24_9419.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_35_10346.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_45_10353.jpg', '/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_54_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/19/image_23012025_14_20_04_10347.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_15_10364.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_24_9419.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_35_10346.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_45_10353.jpg
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_20_54_9398.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":["1330835604","1330835600","1330835650","1330835653","1330835638","1330835626"],"photo_ids_order":["1330835600","1330835604","1330835626","1330835638","1330835650","1330835653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fee33ed58f6cb841f8070ca53b5a927.jpg","text":"TemporaryFile(/tmp/multipartBody5577602653505501214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650853876,"filename":"image_23012025_14_20_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6921bd7770737f8baac867da4e329832.jpg","text":"TemporaryFile(/tmp/multipartBody2423881842343740480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650853876,"filename":"image_23012025_14_20_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b61021e26c2a140ab490be366daafc8.jpg","text":"TemporaryFile(/tmp/multipartBody3168446645357800161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650853876,"filename":"image_23012025_14_20_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4762eb751db7eded4e86343cd4e63ef9.jpg","text":"TemporaryFile(/tmp/multipartBody5781168992906847081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650853876,"filename":"image_23012025_14_20_54_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b21d0992e75682e269124636bb10e153.jpg","text":"TemporaryFile(/tmp/multipartBody589679653608192510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650853876,"filename":"image_23012025_14_20_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76ca113586ba77b418d7c0f41f63924d.jpg","text":"TemporaryFile(/tmp/multipartBody8849472018533233362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650853876,"filename":"image_23012025_14_20_24_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330835626","file1":"1330835604","file0":"1330835600","file4":"1330835650","file5":"1330835653","file3":"1330835638"},"map_files_photo_id_array":[{"photo_id":"1330835653","filename":"file5"},{"photo_id":"1330835626","filename":"file2"},{"photo_id":"1330835650","filename":"file4"},{"photo_id":"1330835604","filename":"file1"},{"photo_id":"1330835600","filename":"file0"},{"photo_id":"1330835638","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330835604":["hashtag1","hashtag2"]},{"1330835600":["hashtag1","hashtag2"]},{"1330835650":["hashtag1","hashtag2"]},{"1330835653":["hashtag1","hashtag2"]},{"1330835638":["hashtag1","hashtag2"]},{"1330835626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330835604, 1330835600, 1330835650, 1330835653, 1330835638, 1330835626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.458967447280884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:47:33.019840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/20/image_23012025_14_21_05_10404.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_14_9439.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_25_10409.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_35_10341.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_44_9327.jpg', '/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_55_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/20/image_23012025_14_21_05_10404.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_14_9439.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_25_10409.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_35_10341.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_44_9327.jpg
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_21_55_10325.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":["1330835687","1330835738","1330835680","1330835734","1330835694","1330835730"],"photo_ids_order":["1330835680","1330835687","1330835694","1330835730","1330835734","1330835738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bf8f9905ee8423e345330ba1267eb6d.jpg","text":"TemporaryFile(/tmp/multipartBody649401144348028273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650914043,"filename":"image_23012025_14_21_14_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aae5ab710581a616001e5f1acaada7f3.jpg","text":"TemporaryFile(/tmp/multipartBody7434204517377064527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650914043,"filename":"image_23012025_14_21_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1d2c547ca67fdc2f621578bf4f1790a.jpg","text":"TemporaryFile(/tmp/multipartBody3651003138691563358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650914043,"filename":"image_23012025_14_21_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab5730f86639cdd8a00ae40a778cdcb4.jpg","text":"TemporaryFile(/tmp/multipartBody3913859468350367755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650914043,"filename":"image_23012025_14_21_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f26052cdf077a4674f7d423e39d3701.jpg","text":"TemporaryFile(/tmp/multipartBody9138343558886674032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650914043,"filename":"image_23012025_14_21_25_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e92cd3e5a70f5fd93f6916ced615421.jpg","text":"TemporaryFile(/tmp/multipartBody3058242156735932207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650914043,"filename":"image_23012025_14_21_35_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330835694","file1":"1330835687","file0":"1330835680","file4":"1330835734","file5":"1330835738","file3":"1330835730"},"map_files_photo_id_array":[{"photo_id":"1330835738","filename":"file5"},{"photo_id":"1330835694","filename":"file2"},{"photo_id":"1330835734","filename":"file4"},{"photo_id":"1330835687","filename":"file1"},{"photo_id":"1330835680","filename":"file0"},{"photo_id":"1330835730","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330835687":["hashtag1","hashtag2"]},{"1330835738":["hashtag1","hashtag2"]},{"1330835680":["hashtag1","hashtag2"]},{"1330835734":["hashtag1","hashtag2"]},{"1330835694":["hashtag1","hashtag2"]},{"1330835730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330835687, 1330835738, 1330835680, 1330835734, 1330835694, 1330835730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93360614776611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:48:32.373591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/21/image_23012025_14_22_05_10375.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_14_9370.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_25_10413.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_34_9387.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_44_10402.jpg', '/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_55_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/21/image_23012025_14_22_05_10375.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_14_9370.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_25_10413.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_34_9387.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_44_10402.jpg
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_22_55_10332.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":["1330835802","1330835813","1330835807","1330835782","1330835779","1330835817"],"photo_ids_order":["1330835779","1330835782","1330835802","1330835807","1330835813","1330835817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/151702c66624d55ffc2ae7993b629ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1784024614505383826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650973363,"filename":"image_23012025_14_22_25_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46b14852f86d784cbe4738a3194966b7.jpg","text":"TemporaryFile(/tmp/multipartBody773243245302268597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650973363,"filename":"image_23012025_14_22_44_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58903108a145498585bf87189e2e5246.jpg","text":"TemporaryFile(/tmp/multipartBody3605714212040947291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650973363,"filename":"image_23012025_14_22_34_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/973df7b5fd9a413117043e200b0cdab3.jpg","text":"TemporaryFile(/tmp/multipartBody4084342038116253749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650973363,"filename":"image_23012025_14_22_14_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3fd8766aa05593c54e3e30987fe19a3.jpg","text":"TemporaryFile(/tmp/multipartBody8884816950541548562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650973363,"filename":"image_23012025_14_22_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95733f77f365fed4325f21ab4e163081.jpg","text":"TemporaryFile(/tmp/multipartBody8483455571948358722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737650973363,"filename":"image_23012025_14_22_55_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330835802","file1":"1330835782","file0":"1330835779","file4":"1330835813","file5":"1330835817","file3":"1330835807"},"map_files_photo_id_array":[{"photo_id":"1330835817","filename":"file5"},{"photo_id":"1330835802","filename":"file2"},{"photo_id":"1330835813","filename":"file4"},{"photo_id":"1330835782","filename":"file1"},{"photo_id":"1330835779","filename":"file0"},{"photo_id":"1330835807","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330835802":["hashtag1","hashtag2"]},{"1330835813":["hashtag1","hashtag2"]},{"1330835807":["hashtag1","hashtag2"]},{"1330835782":["hashtag1","hashtag2"]},{"1330835779":["hashtag1","hashtag2"]},{"1330835817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330835802, 1330835813, 1330835807, 1330835782, 1330835779, 1330835817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66620111465454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:49:32.420267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/22/image_23012025_14_23_04_9323.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_14_10347.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_25_10352.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_34_9333.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_45_10328.jpg', '/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_55_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/22/image_23012025_14_23_04_9323.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_14_10347.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_25_10352.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_34_9333.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_45_10328.jpg
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_23_55_10350.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":["1330835960","1330835974","1330835971","1330835950","1330835953","1330835967"],"photo_ids_order":["1330835950","1330835953","1330835960","1330835967","1330835971","1330835974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69110662e55d84511849f987030909fb.jpg","text":"TemporaryFile(/tmp/multipartBody3308772380006628186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651033387,"filename":"image_23012025_14_23_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d67a76d10fe9bb2a98efc7c0cffa9281.jpg","text":"TemporaryFile(/tmp/multipartBody4635668912921700769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651033387,"filename":"image_23012025_14_23_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15725d0a69c76c81f2c11adc36c941b7.jpg","text":"TemporaryFile(/tmp/multipartBody6048249752642825310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651033387,"filename":"image_23012025_14_23_45_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5aa82e9d2ebc4d2703265700a21d0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4059581658533158407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651033387,"filename":"image_23012025_14_23_04_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f97def33025d7c906ad33b78efc4b29.jpg","text":"TemporaryFile(/tmp/multipartBody1137211424745505601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651033387,"filename":"image_23012025_14_23_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb193e66fb2f4104b0cbc39d38d1c8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6207901899093388783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651033387,"filename":"image_23012025_14_23_34_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330835960","file1":"1330835953","file0":"1330835950","file4":"1330835971","file5":"1330835974","file3":"1330835967"},"map_files_photo_id_array":[{"photo_id":"1330835974","filename":"file5"},{"photo_id":"1330835960","filename":"file2"},{"photo_id":"1330835971","filename":"file4"},{"photo_id":"1330835953","filename":"file1"},{"photo_id":"1330835950","filename":"file0"},{"photo_id":"1330835967","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330835960":["hashtag1","hashtag2"]},{"1330835974":["hashtag1","hashtag2"]},{"1330835971":["hashtag1","hashtag2"]},{"1330835950":["hashtag1","hashtag2"]},{"1330835953":["hashtag1","hashtag2"]},{"1330835967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330835960, 1330835974, 1330835971, 1330835950, 1330835953, 1330835967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44769334793091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:50:32.739500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/23/image_23012025_14_24_04_9438.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_15_10343.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_24_9429.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_34_10401.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_45_10445.jpg', '/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_54_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/23/image_23012025_14_24_04_9438.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_15_10343.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_24_9429.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_34_10401.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_45_10445.jpg
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_24_54_9384.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":["1330836077","1330836050","1330836073","1330836070","1330836016","1330836030"],"photo_ids_order":["1330836016","1330836030","1330836050","1330836070","1330836073","1330836077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7420ee90d7e0ef594c64a5ce7b45683.jpg","text":"TemporaryFile(/tmp/multipartBody3680392458190335882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651093712,"filename":"image_23012025_14_24_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2810e2514680909dd1affde4e6d700ad.jpg","text":"TemporaryFile(/tmp/multipartBody5385498800647063216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651093712,"filename":"image_23012025_14_24_24_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1ed518b17e34e9deb05df8e09b2b318.jpg","text":"TemporaryFile(/tmp/multipartBody240302626601391649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651093712,"filename":"image_23012025_14_24_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/839c7c81629e565a4fb6158b1d03b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody423817662904811488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651093712,"filename":"image_23012025_14_24_34_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcdeca295ee0a0a5883a5ea3ba84ac11.jpg","text":"TemporaryFile(/tmp/multipartBody2075799641995256604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651093712,"filename":"image_23012025_14_24_04_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e82b303d3190c458d9f0a739d600620.jpg","text":"TemporaryFile(/tmp/multipartBody4351689094242853835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651093712,"filename":"image_23012025_14_24_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836050","file1":"1330836030","file0":"1330836016","file4":"1330836073","file5":"1330836077","file3":"1330836070"},"map_files_photo_id_array":[{"photo_id":"1330836077","filename":"file5"},{"photo_id":"1330836050","filename":"file2"},{"photo_id":"1330836073","filename":"file4"},{"photo_id":"1330836030","filename":"file1"},{"photo_id":"1330836016","filename":"file0"},{"photo_id":"1330836070","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836077":["hashtag1","hashtag2"]},{"1330836050":["hashtag1","hashtag2"]},{"1330836073":["hashtag1","hashtag2"]},{"1330836070":["hashtag1","hashtag2"]},{"1330836016":["hashtag1","hashtag2"]},{"1330836030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836077, 1330836050, 1330836073, 1330836070, 1330836016, 1330836030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01329231262207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:51:32.743946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/24/image_23012025_14_25_05_10402.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_14_9444.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_25_10355.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_35_10407.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_44_9385.jpg', '/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_55_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/24/image_23012025_14_25_05_10402.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_14_9444.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_25_10355.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_35_10407.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_44_9385.jpg
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_25_55_10412.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":["1330836143","1330836113","1330836148","1330836151","1330836129","1330836117"],"photo_ids_order":["1330836113","1330836117","1330836129","1330836143","1330836148","1330836151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf110f6d450c3e95c1356975dc54039b.jpg","text":"TemporaryFile(/tmp/multipartBody3505462588764989825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651153740,"filename":"image_23012025_14_25_35_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d1428eb3acea28ea39ec387d737a822.jpg","text":"TemporaryFile(/tmp/multipartBody6073796417506754115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651153740,"filename":"image_23012025_14_25_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86050f9792cbac5a4fd47000a6e8ec23.jpg","text":"TemporaryFile(/tmp/multipartBody575814625928175573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651153740,"filename":"image_23012025_14_25_44_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee32bdea1858d2ed139e83af87772161.jpg","text":"TemporaryFile(/tmp/multipartBody5160082417925977274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651153740,"filename":"image_23012025_14_25_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/978c8f0445eb3e77d7a96bb3596c5ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8455104522464058349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651153740,"filename":"image_23012025_14_25_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc2e8c16dd749dc5219fed9113a801a9.jpg","text":"TemporaryFile(/tmp/multipartBody7835080387175803814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651153740,"filename":"image_23012025_14_25_14_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836129","file1":"1330836117","file0":"1330836113","file4":"1330836148","file5":"1330836151","file3":"1330836143"},"map_files_photo_id_array":[{"photo_id":"1330836151","filename":"file5"},{"photo_id":"1330836129","filename":"file2"},{"photo_id":"1330836148","filename":"file4"},{"photo_id":"1330836117","filename":"file1"},{"photo_id":"1330836113","filename":"file0"},{"photo_id":"1330836143","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836143":["hashtag1","hashtag2"]},{"1330836113":["hashtag1","hashtag2"]},{"1330836148":["hashtag1","hashtag2"]},{"1330836151":["hashtag1","hashtag2"]},{"1330836129":["hashtag1","hashtag2"]},{"1330836117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836143, 1330836113, 1330836148, 1330836151, 1330836129, 1330836117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65124988555908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:52:32.962134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/25/image_23012025_14_26_04_9426.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_15_10362.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_25_10394.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_34_9398.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_45_10333.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_54_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_26_04_9426.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_15_10362.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_25_10394.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_34_9398.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_45_10333.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_54_9390.jpg
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: 0.580439567565918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:52:42.996364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/25/image_23012025_14_26_04_9426.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_15_10362.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_25_10394.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_34_9398.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_45_10333.jpg', '/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_54_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/25/image_23012025_14_26_04_9426.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_15_10362.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_25_10394.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_34_9398.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_45_10333.jpg
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_26_54_9390.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":["1330836256","1330836264","1330836231","1330836249","1330836243","1330836237"],"photo_ids_order":["1330836231","1330836237","1330836243","1330836249","1330836256","1330836264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce53f973b361912662ce80f8a34ef8c3.jpg","text":"TemporaryFile(/tmp/multipartBody16626865584477572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651223898,"filename":"image_23012025_14_26_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17483558ff22933b5523b2a2d3aacdc8.jpg","text":"TemporaryFile(/tmp/multipartBody4941236818513643143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651223898,"filename":"image_23012025_14_26_54_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e36996fe4e23471a9c499e39cc4f3e2.jpg","text":"TemporaryFile(/tmp/multipartBody4046156663438148341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651223898,"filename":"image_23012025_14_26_04_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b39b3723bd7202d55debbf2db6f13e8f.jpg","text":"TemporaryFile(/tmp/multipartBody1551232669829603655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651223898,"filename":"image_23012025_14_26_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac0c0c44388899b81c9f152d1a672d86.jpg","text":"TemporaryFile(/tmp/multipartBody9092120779980500922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651223898,"filename":"image_23012025_14_26_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6e5618ee41952ccae02b47045e37e08.jpg","text":"TemporaryFile(/tmp/multipartBody2974370154269343034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651223898,"filename":"image_23012025_14_26_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836243","file1":"1330836237","file0":"1330836231","file4":"1330836256","file5":"1330836264","file3":"1330836249"},"map_files_photo_id_array":[{"photo_id":"1330836264","filename":"file5"},{"photo_id":"1330836243","filename":"file2"},{"photo_id":"1330836256","filename":"file4"},{"photo_id":"1330836237","filename":"file1"},{"photo_id":"1330836231","filename":"file0"},{"photo_id":"1330836249","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836256":["hashtag1","hashtag2"]},{"1330836264":["hashtag1","hashtag2"]},{"1330836231":["hashtag1","hashtag2"]},{"1330836249":["hashtag1","hashtag2"]},{"1330836243":["hashtag1","hashtag2"]},{"1330836237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836256, 1330836264, 1330836231, 1330836249, 1330836243, 1330836237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87724828720093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:53:33.041577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/26/image_23012025_14_27_04_10330.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_15_10367.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_24_9470.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_35_10351.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_45_10460.jpg', '/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_54_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/26/image_23012025_14_27_04_10330.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_15_10367.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_24_9470.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_35_10351.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_45_10460.jpg
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_27_54_9338.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":["1330836305","1330836298","1330836302","1330836292","1330836307","1330836287"],"photo_ids_order":["1330836287","1330836292","1330836298","1330836302","1330836305","1330836307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/823e11919d9e884a062f4f336160f794.jpg","text":"TemporaryFile(/tmp/multipartBody5266051407209919852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651274010,"filename":"image_23012025_14_27_45_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ac2b540d83c61faae2db7fb2f509097.jpg","text":"TemporaryFile(/tmp/multipartBody4017986113388873378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651274010,"filename":"image_23012025_14_27_24_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f578baa9c6a4ed58d246bc3b7f860618.jpg","text":"TemporaryFile(/tmp/multipartBody5931736075400469547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651274010,"filename":"image_23012025_14_27_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dea71eeef1072e96be10041b8e84b7a.jpg","text":"TemporaryFile(/tmp/multipartBody6851604394017001083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651274010,"filename":"image_23012025_14_27_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86974e3fca2c1f7147e3ddd651828fbe.jpg","text":"TemporaryFile(/tmp/multipartBody2753342957625849392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651274010,"filename":"image_23012025_14_27_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a5dc706899f72f8ce3b82207f47f60b.jpg","text":"TemporaryFile(/tmp/multipartBody1643570834850839212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651274010,"filename":"image_23012025_14_27_04_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836298","file1":"1330836292","file0":"1330836287","file4":"1330836305","file5":"1330836307","file3":"1330836302"},"map_files_photo_id_array":[{"photo_id":"1330836307","filename":"file5"},{"photo_id":"1330836298","filename":"file2"},{"photo_id":"1330836305","filename":"file4"},{"photo_id":"1330836292","filename":"file1"},{"photo_id":"1330836287","filename":"file0"},{"photo_id":"1330836302","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836305":["hashtag1","hashtag2"]},{"1330836298":["hashtag1","hashtag2"]},{"1330836302":["hashtag1","hashtag2"]},{"1330836292":["hashtag1","hashtag2"]},{"1330836307":["hashtag1","hashtag2"]},{"1330836287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836305, 1330836298, 1330836302, 1330836292, 1330836307, 1330836287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43292427062988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:54:32.221329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/27/image_23012025_14_28_05_10331.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_14_9407.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_24_10357.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_35_10352.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_44_9351.jpg', '/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_55_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/27/image_23012025_14_28_05_10331.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_14_9407.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_24_10357.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_35_10352.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_44_9351.jpg
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_28_55_10373.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":["1330836359","1330836381","1330836345","1330836348","1330836398","1330836392"],"photo_ids_order":["1330836345","1330836348","1330836359","1330836381","1330836392","1330836398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58aeadaad65c866c42f9f249a86c2ea2.jpg","text":"TemporaryFile(/tmp/multipartBody5697440284811878885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651333187,"filename":"image_23012025_14_28_24_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ece56bfa7a673ba39d96eafe2111d795.jpg","text":"TemporaryFile(/tmp/multipartBody7670009267833878167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651333187,"filename":"image_23012025_14_28_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afccd253cc19cc356c2da20b64cda021.jpg","text":"TemporaryFile(/tmp/multipartBody1577764468838484371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651333187,"filename":"image_23012025_14_28_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adfd0c48de227f584cfc380b8f0e2708.jpg","text":"TemporaryFile(/tmp/multipartBody4767514209554719990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651333187,"filename":"image_23012025_14_28_14_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d6af59b18a4295b852d3a68792c5428.jpg","text":"TemporaryFile(/tmp/multipartBody7863098149108534295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651333187,"filename":"image_23012025_14_28_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b26526daf4ef0fdc85c7748466f26499.jpg","text":"TemporaryFile(/tmp/multipartBody6052358028946804737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651333187,"filename":"image_23012025_14_28_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836359","file1":"1330836348","file0":"1330836345","file4":"1330836392","file5":"1330836398","file3":"1330836381"},"map_files_photo_id_array":[{"photo_id":"1330836398","filename":"file5"},{"photo_id":"1330836359","filename":"file2"},{"photo_id":"1330836392","filename":"file4"},{"photo_id":"1330836348","filename":"file1"},{"photo_id":"1330836345","filename":"file0"},{"photo_id":"1330836381","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836359":["hashtag1","hashtag2"]},{"1330836381":["hashtag1","hashtag2"]},{"1330836345":["hashtag1","hashtag2"]},{"1330836348":["hashtag1","hashtag2"]},{"1330836398":["hashtag1","hashtag2"]},{"1330836392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836359, 1330836381, 1330836345, 1330836348, 1330836398, 1330836392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25911045074463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:55:32.434753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/28/image_23012025_14_29_05_10398.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_14_9340.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_25_10355.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_34_9402.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_44_10350.jpg', '/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_55_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/28/image_23012025_14_29_05_10398.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_14_9340.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_25_10355.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_34_9402.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_44_10350.jpg
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_29_55_10346.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":["1330836452","1330836446","1330836462","1330836456","1330836438","1330836441"],"photo_ids_order":["1330836438","1330836441","1330836446","1330836452","1330836456","1330836462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90b3d847066046a3de66cddae2ebdd15.jpg","text":"TemporaryFile(/tmp/multipartBody1135896917779855241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651393396,"filename":"image_23012025_14_29_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/212794b4736efd722b11e5f24de3b72d.jpg","text":"TemporaryFile(/tmp/multipartBody7482345441913080718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651393396,"filename":"image_23012025_14_29_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/298e9f75892aeef8c441d1cec19a06ca.jpg","text":"TemporaryFile(/tmp/multipartBody6496784434665074341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651393396,"filename":"image_23012025_14_29_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55df967b851e12f538e760d8fccf4db4.jpg","text":"TemporaryFile(/tmp/multipartBody5968541760144923872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651393396,"filename":"image_23012025_14_29_44_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5076483d3f17d6dd5413a5855b98396.jpg","text":"TemporaryFile(/tmp/multipartBody5315239431899319306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651393396,"filename":"image_23012025_14_29_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2ae3ffb32a8d80f2ed303538abdb447.jpg","text":"TemporaryFile(/tmp/multipartBody3488371970244665796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651393396,"filename":"image_23012025_14_29_14_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836446","file1":"1330836441","file0":"1330836438","file4":"1330836456","file5":"1330836462","file3":"1330836452"},"map_files_photo_id_array":[{"photo_id":"1330836462","filename":"file5"},{"photo_id":"1330836446","filename":"file2"},{"photo_id":"1330836456","filename":"file4"},{"photo_id":"1330836441","filename":"file1"},{"photo_id":"1330836438","filename":"file0"},{"photo_id":"1330836452","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836452":["hashtag1","hashtag2"]},{"1330836446":["hashtag1","hashtag2"]},{"1330836462":["hashtag1","hashtag2"]},{"1330836456":["hashtag1","hashtag2"]},{"1330836438":["hashtag1","hashtag2"]},{"1330836441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836452, 1330836446, 1330836462, 1330836456, 1330836438, 1330836441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75455403327942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:56:32.650575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/29/image_23012025_14_30_04_9431.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_15_10365.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_25_10375.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_34_9330.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_45_10350.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_55_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_30_04_9431.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_15_10365.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_25_10375.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_34_9330.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_45_10350.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_55_10356.jpg
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: 0.5945096015930176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:56:42.614504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/29/image_23012025_14_30_04_9431.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_15_10365.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_25_10375.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_34_9330.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_45_10350.jpg', '/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_55_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/29/image_23012025_14_30_04_9431.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_15_10365.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_25_10375.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_34_9330.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_45_10350.jpg
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_30_55_10356.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":["1330836581","1330836535","1330836573","1330836540","1330836522","1330836531"],"photo_ids_order":["1330836522","1330836531","1330836535","1330836540","1330836573","1330836581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61c76d843601422097bd172c6ef7ea2f.jpg","text":"TemporaryFile(/tmp/multipartBody7112380611242290253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651463529,"filename":"image_23012025_14_30_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a2cc28b8392c5d264c2c858c72222ad.jpg","text":"TemporaryFile(/tmp/multipartBody1847767711841403921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651463529,"filename":"image_23012025_14_30_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cb8c35d6e5dd0544e94dc3b91214b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6228443994934478054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651463529,"filename":"image_23012025_14_30_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/752dd8d8665fa19f13a8a760520e9c48.jpg","text":"TemporaryFile(/tmp/multipartBody7682568539794432905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651463529,"filename":"image_23012025_14_30_34_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e210f1f96e455b50f433174bed396ef5.jpg","text":"TemporaryFile(/tmp/multipartBody260395085738790535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651463529,"filename":"image_23012025_14_30_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cebe13e48fc61d1f03a8f29ccb79d8a2.jpg","text":"TemporaryFile(/tmp/multipartBody7315702444321631800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651463529,"filename":"image_23012025_14_30_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836535","file1":"1330836531","file0":"1330836522","file4":"1330836573","file5":"1330836581","file3":"1330836540"},"map_files_photo_id_array":[{"photo_id":"1330836581","filename":"file5"},{"photo_id":"1330836535","filename":"file2"},{"photo_id":"1330836573","filename":"file4"},{"photo_id":"1330836531","filename":"file1"},{"photo_id":"1330836522","filename":"file0"},{"photo_id":"1330836540","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836581":["hashtag1","hashtag2"]},{"1330836535":["hashtag1","hashtag2"]},{"1330836573":["hashtag1","hashtag2"]},{"1330836540":["hashtag1","hashtag2"]},{"1330836522":["hashtag1","hashtag2"]},{"1330836531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836581, 1330836535, 1330836573, 1330836540, 1330836522, 1330836531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.058040380477905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 17:57:32.802987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/30/image_23012025_14_31_04_9328.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_15_10348.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_25_10346.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_34_9437.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_45_10344.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_54_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_31_04_9328.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_15_10348.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_25_10346.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_34_9437.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_45_10344.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_54_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 17:59:03.778663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/30/image_23012025_14_31_04_9328.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_15_10348.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_25_10346.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_34_9437.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_45_10344.jpg', '/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_54_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/30/image_23012025_14_31_04_9328.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_15_10348.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_25_10346.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_34_9437.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_45_10344.jpg
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_31_54_9374.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":["1330836863","1330836809","1330836874","1330836796","1330836870","1330836802"],"photo_ids_order":["1330836796","1330836802","1330836809","1330836863","1330836870","1330836874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a210f1a4cc4bb249a8e56d2d8fb5f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4733496195517834855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651604739,"filename":"image_23012025_14_31_34_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49fc8c87dfeadd75ccaf9f8dae0f5f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6820445863185837675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651604739,"filename":"image_23012025_14_31_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efdcf0dc8c4d5bffb0bcf825bbf61d27.jpg","text":"TemporaryFile(/tmp/multipartBody1842450944799577701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651604739,"filename":"image_23012025_14_31_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/253be10ec9e3dd8c1ce557ff49330477.jpg","text":"TemporaryFile(/tmp/multipartBody569692934352454719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651604739,"filename":"image_23012025_14_31_04_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/232fbe33be1b432468ba5a770524d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody6918004954513569098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651604739,"filename":"image_23012025_14_31_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c6f21baf33caf75b77d412124fe2048.jpg","text":"TemporaryFile(/tmp/multipartBody6688333236192881529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651604739,"filename":"image_23012025_14_31_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836809","file1":"1330836802","file0":"1330836796","file4":"1330836870","file5":"1330836874","file3":"1330836863"},"map_files_photo_id_array":[{"photo_id":"1330836874","filename":"file5"},{"photo_id":"1330836809","filename":"file2"},{"photo_id":"1330836870","filename":"file4"},{"photo_id":"1330836802","filename":"file1"},{"photo_id":"1330836796","filename":"file0"},{"photo_id":"1330836863","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330836863":["hashtag1","hashtag2"]},{"1330836809":["hashtag1","hashtag2"]},{"1330836874":["hashtag1","hashtag2"]},{"1330836796":["hashtag1","hashtag2"]},{"1330836870":["hashtag1","hashtag2"]},{"1330836802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330836863, 1330836809, 1330836874, 1330836796, 1330836870, 1330836802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48970985412598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 17:59:52.455089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg', '/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg', '/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_34_34_9329.jpg
/home/pi/Desktop/images/20012025/08/34/image_20012025_08_35_04_9334.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_24_9357.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_35_54_9330.jpg
/home/pi/Desktop/images/20012025/08/35/image_20012025_08_36_05_10351.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_15_10462.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":["1330836937","1330836901","1330836933","1330836942","1330836939","1330836918"],"photo_ids_order":["1330836901","1330836918","1330836933","1330836937","1330836939","1330836942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc79d094c1627d4240f981c859a5a597.jpg","text":"TemporaryFile(/tmp/multipartBody169610825708538432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651654687,"filename":"image_20012025_08_35_54_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3901fbb897b5fae736bef0cc592170ad.jpg","text":"TemporaryFile(/tmp/multipartBody2139633170122101202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651654687,"filename":"image_20012025_08_34_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/449fa23c78663d0fee595c00cb3a0cbd.jpg","text":"TemporaryFile(/tmp/multipartBody1096728753439287436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651654687,"filename":"image_20012025_08_35_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/180d18422feef98818f802ef65f1544e.jpg","text":"TemporaryFile(/tmp/multipartBody6000780805062570648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651654687,"filename":"image_20012025_08_36_15_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c86d2d966101091d4232315f2e2b538.jpg","text":"TemporaryFile(/tmp/multipartBody379219041393690452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651654687,"filename":"image_20012025_08_36_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/149127b0713f1507ba1f3d4df87a8eec.jpg","text":"TemporaryFile(/tmp/multipartBody1840412184860410216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651654687,"filename":"image_20012025_08_35_04_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836933","file1":"1330836918","file0":"1330836901","file4":"1330836939","file5":"1330836942","file3":"1330836937"},"map_files_photo_id_array":[{"photo_id":"1330836942","filename":"file5"},{"photo_id":"1330836933","filename":"file2"},{"photo_id":"1330836939","filename":"file4"},{"photo_id":"1330836918","filename":"file1"},{"photo_id":"1330836901","filename":"file0"},{"photo_id":"1330836937","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330836937":["hashtag1","hashtag2"]},{"1330836901":["hashtag1","hashtag2"]},{"1330836933":["hashtag1","hashtag2"]},{"1330836942":["hashtag1","hashtag2"]},{"1330836939":["hashtag1","hashtag2"]},{"1330836918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330836937, 1330836901, 1330836933, 1330836942, 1330836939, 1330836918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.52080965042114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:00:42.803738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/31/image_23012025_14_32_04_10329.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_15_10357.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_24_9334.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_35_10432.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_45_10346.jpg', '/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_54_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/31/image_23012025_14_32_04_10329.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_15_10357.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_24_9334.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_35_10432.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_45_10346.jpg
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_32_54_9413.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":["1330837019","1330836997","1330836991","1330836994","1330836981","1330837002"],"photo_ids_order":["1330836981","1330836991","1330836994","1330836997","1330837002","1330837019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2425e7d0b8943b3caed61718a9406a06.jpg","text":"TemporaryFile(/tmp/multipartBody8490367365132842191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651704029,"filename":"image_23012025_14_32_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be687e108d3196378768e28af0a94248.jpg","text":"TemporaryFile(/tmp/multipartBody5823724531475194149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651704029,"filename":"image_23012025_14_32_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a643f4606940f706b8cfaac80450be5.jpg","text":"TemporaryFile(/tmp/multipartBody6212619572772531465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651704029,"filename":"image_23012025_14_32_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/001584b7762124135135ec49af451881.jpg","text":"TemporaryFile(/tmp/multipartBody6190992093825734420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651704029,"filename":"image_23012025_14_32_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e62b021912f52bfea0bebbc370a8ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1025841474675184490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651704029,"filename":"image_23012025_14_32_04_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2feca06ff25ae46841a8222fa4f2eaf.jpg","text":"TemporaryFile(/tmp/multipartBody719717142614747705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651704029,"filename":"image_23012025_14_32_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330836994","file1":"1330836991","file0":"1330836981","file4":"1330837002","file5":"1330837019","file3":"1330836997"},"map_files_photo_id_array":[{"photo_id":"1330837019","filename":"file5"},{"photo_id":"1330836994","filename":"file2"},{"photo_id":"1330837002","filename":"file4"},{"photo_id":"1330836991","filename":"file1"},{"photo_id":"1330836981","filename":"file0"},{"photo_id":"1330836997","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330837019":["hashtag1","hashtag2"]},{"1330836997":["hashtag1","hashtag2"]},{"1330836991":["hashtag1","hashtag2"]},{"1330836994":["hashtag1","hashtag2"]},{"1330836981":["hashtag1","hashtag2"]},{"1330837002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330837019, 1330836997, 1330836991, 1330836994, 1330836981, 1330837002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26468014717102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:01:33.029935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/32/image_23012025_14_33_05_10344.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_14_9438.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_24_10349.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_35_10335.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_44_9340.jpg', '/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_54_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/32/image_23012025_14_33_05_10344.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_14_9438.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_24_10349.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_35_10335.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_44_9340.jpg
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_33_54_10352.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":["1330837093","1330837087","1330837108","1330837098","1330837083","1330837104"],"photo_ids_order":["1330837083","1330837087","1330837093","1330837098","1330837104","1330837108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eaf984fe4e5f009eceba9c1811dc1ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5550120105370588880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651754031,"filename":"image_23012025_14_33_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc091bd49d68df0b52e2b8cfccab38ad.jpg","text":"TemporaryFile(/tmp/multipartBody882084906573009980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651754031,"filename":"image_23012025_14_33_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db175d0af89a2c886c4d2d920cd2bb01.jpg","text":"TemporaryFile(/tmp/multipartBody5769457764033970993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651754031,"filename":"image_23012025_14_33_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88f0e625c2890c02a15d20dbd59a81c2.jpg","text":"TemporaryFile(/tmp/multipartBody3084726692180313766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651754031,"filename":"image_23012025_14_33_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2beb1f9b4db6971f0fcf036779453e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5237035512138758266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651754031,"filename":"image_23012025_14_33_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de3abf4e4eea98538e2be28cf8b62bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8250760985004081866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651754031,"filename":"image_23012025_14_33_44_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330837093","file1":"1330837087","file0":"1330837083","file4":"1330837104","file5":"1330837108","file3":"1330837098"},"map_files_photo_id_array":[{"photo_id":"1330837108","filename":"file5"},{"photo_id":"1330837093","filename":"file2"},{"photo_id":"1330837104","filename":"file4"},{"photo_id":"1330837087","filename":"file1"},{"photo_id":"1330837083","filename":"file0"},{"photo_id":"1330837098","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330837093":["hashtag1","hashtag2"]},{"1330837087":["hashtag1","hashtag2"]},{"1330837108":["hashtag1","hashtag2"]},{"1330837098":["hashtag1","hashtag2"]},{"1330837083":["hashtag1","hashtag2"]},{"1330837104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330837093, 1330837087, 1330837108, 1330837098, 1330837083, 1330837104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.418274879455566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:02:33.098408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/33/image_23012025_14_34_05_10347.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_14_9404.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_25_10396.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_34_9427.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_44_10343.jpg', '/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_55_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/33/image_23012025_14_34_05_10347.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_14_9404.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_25_10396.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_34_9427.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_44_10343.jpg
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_34_55_10357.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":["1330837663","1330837630","1330837609","1330837665","1330837661","1330837598"],"photo_ids_order":["1330837598","1330837609","1330837630","1330837661","1330837663","1330837665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf3ca7338ae183994b5d908d31bece4b.jpg","text":"TemporaryFile(/tmp/multipartBody3228739915793804370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651814057,"filename":"image_23012025_14_34_44_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b699bdca1c26fad96fd7c31ab3f27a4d.jpg","text":"TemporaryFile(/tmp/multipartBody9029299184597416409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651814057,"filename":"image_23012025_14_34_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/774787caf7872e1fa422bd7013c3ab6b.jpg","text":"TemporaryFile(/tmp/multipartBody486387619980030980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651814057,"filename":"image_23012025_14_34_14_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c506f53b4eebc1f9c8aa5f9f977af2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2812776272519762370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651814057,"filename":"image_23012025_14_34_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/010b69d4b256b7ef85ebd290fb835521.jpg","text":"TemporaryFile(/tmp/multipartBody5369018694422083989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651814057,"filename":"image_23012025_14_34_34_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c8b6f0b32e625f7ef24922775a9d594.jpg","text":"TemporaryFile(/tmp/multipartBody2264504864997195708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651814057,"filename":"image_23012025_14_34_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330837630","file1":"1330837609","file0":"1330837598","file4":"1330837663","file5":"1330837665","file3":"1330837661"},"map_files_photo_id_array":[{"photo_id":"1330837665","filename":"file5"},{"photo_id":"1330837630","filename":"file2"},{"photo_id":"1330837663","filename":"file4"},{"photo_id":"1330837609","filename":"file1"},{"photo_id":"1330837598","filename":"file0"},{"photo_id":"1330837661","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330837663":["hashtag1","hashtag2"]},{"1330837630":["hashtag1","hashtag2"]},{"1330837609":["hashtag1","hashtag2"]},{"1330837665":["hashtag1","hashtag2"]},{"1330837661":["hashtag1","hashtag2"]},{"1330837598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330837663, 1330837630, 1330837609, 1330837665, 1330837661, 1330837598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32148218154907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:03:32.413977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/34/image_23012025_14_35_04_9386.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_15_10374.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_25_10342.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_34_9450.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_45_10344.jpg', '/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_54_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/34/image_23012025_14_35_04_9386.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_15_10374.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_25_10342.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_34_9450.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_45_10344.jpg
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_35_54_9395.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":["1330837753","1330837732","1330837776","1330837714","1330837779","1330837739"],"photo_ids_order":["1330837714","1330837732","1330837739","1330837753","1330837776","1330837779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8392b86b5042b5c3939f614b899211bd.jpg","text":"TemporaryFile(/tmp/multipartBody3419487715538481666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651873412,"filename":"image_23012025_14_35_34_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4457c68855c2d46a3ec0599b1b4dfcd6.jpg","text":"TemporaryFile(/tmp/multipartBody6872595133736577447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651873412,"filename":"image_23012025_14_35_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0f578578ecf0726a4a89b3418a685e5.jpg","text":"TemporaryFile(/tmp/multipartBody4047691388170164146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651873412,"filename":"image_23012025_14_35_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b69254b0c3223783d8ed707713d6bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4975905821858554619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651873412,"filename":"image_23012025_14_35_04_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e82f1a357622877fd03da5ae0a4504a5.jpg","text":"TemporaryFile(/tmp/multipartBody4275403243064657118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651873412,"filename":"image_23012025_14_35_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c5f8aa930d174239a6ef81f35e54751.jpg","text":"TemporaryFile(/tmp/multipartBody8663287752251881906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651873412,"filename":"image_23012025_14_35_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330837739","file1":"1330837732","file0":"1330837714","file4":"1330837776","file5":"1330837779","file3":"1330837753"},"map_files_photo_id_array":[{"photo_id":"1330837779","filename":"file5"},{"photo_id":"1330837739","filename":"file2"},{"photo_id":"1330837776","filename":"file4"},{"photo_id":"1330837732","filename":"file1"},{"photo_id":"1330837714","filename":"file0"},{"photo_id":"1330837753","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330837753":["hashtag1","hashtag2"]},{"1330837732":["hashtag1","hashtag2"]},{"1330837776":["hashtag1","hashtag2"]},{"1330837714":["hashtag1","hashtag2"]},{"1330837779":["hashtag1","hashtag2"]},{"1330837739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330837753, 1330837732, 1330837776, 1330837714, 1330837779, 1330837739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41530203819275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:04:32.543740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/35/image_23012025_14_36_04_10387.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_15_10360.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_24_9406.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_35_10326.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_45_10359.jpg', '/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_54_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/35/image_23012025_14_36_04_10387.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_15_10360.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_24_9406.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_35_10326.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_45_10359.jpg
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_36_54_9337.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":["1330837870","1330837881","1330837866","1330837892","1330837886","1330837877"],"photo_ids_order":["1330837866","1330837870","1330837877","1330837881","1330837886","1330837892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66ac68a4d760ffe5bc8292a8faeecd24.jpg","text":"TemporaryFile(/tmp/multipartBody3048067686132507085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651933499,"filename":"image_23012025_14_36_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb5173b874686958d85e675721011dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5174433966232622917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651933499,"filename":"image_23012025_14_36_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/891720126731782d04fc599efe7917ad.jpg","text":"TemporaryFile(/tmp/multipartBody415486163794910768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651933499,"filename":"image_23012025_14_36_04_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7deb496390e27d3712e7698563c7607a.jpg","text":"TemporaryFile(/tmp/multipartBody5046987413671317734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651933499,"filename":"image_23012025_14_36_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ee56bbaf0d52f04d1c231f9a99e4de9.jpg","text":"TemporaryFile(/tmp/multipartBody7020114397708576906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651933499,"filename":"image_23012025_14_36_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/490a16110e773cdca43e47b8b8ed2a36.jpg","text":"TemporaryFile(/tmp/multipartBody1961891628095104740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651933499,"filename":"image_23012025_14_36_24_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330837877","file1":"1330837870","file0":"1330837866","file4":"1330837886","file5":"1330837892","file3":"1330837881"},"map_files_photo_id_array":[{"photo_id":"1330837892","filename":"file5"},{"photo_id":"1330837877","filename":"file2"},{"photo_id":"1330837886","filename":"file4"},{"photo_id":"1330837870","filename":"file1"},{"photo_id":"1330837866","filename":"file0"},{"photo_id":"1330837881","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330837870":["hashtag1","hashtag2"]},{"1330837881":["hashtag1","hashtag2"]},{"1330837866":["hashtag1","hashtag2"]},{"1330837892":["hashtag1","hashtag2"]},{"1330837886":["hashtag1","hashtag2"]},{"1330837877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330837870, 1330837881, 1330837866, 1330837892, 1330837886, 1330837877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56674122810364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:05:32.723327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/36/image_23012025_14_37_05_10335.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_15_10321.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_24_9354.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_35_10348.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_45_10329.jpg', '/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_54_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/36/image_23012025_14_37_05_10335.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_15_10321.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_24_9354.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_35_10348.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_45_10329.jpg
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_37_54_9354.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":["1330837946","1330837919","1330837936","1330837941","1330837923","1330837929"],"photo_ids_order":["1330837919","1330837923","1330837929","1330837936","1330837941","1330837946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c5969e54de23eecdff5789541dae271.jpg","text":"TemporaryFile(/tmp/multipartBody4070919615190259970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651993673,"filename":"image_23012025_14_37_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c51e95088fcb27b74eaf6e53f31085d.jpg","text":"TemporaryFile(/tmp/multipartBody1234914504948220094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651993673,"filename":"image_23012025_14_37_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/895c12697188837f72ac8b61405fe4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1191667818296490731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651993673,"filename":"image_23012025_14_37_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83dd7dc67bc9a5de6c18ae0b1139f050.jpg","text":"TemporaryFile(/tmp/multipartBody4412869436751881032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651993673,"filename":"image_23012025_14_37_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4557d8cbca374ebb5da27acb9c497b9b.jpg","text":"TemporaryFile(/tmp/multipartBody3244030773835611044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651993673,"filename":"image_23012025_14_37_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47a84814fcd30c5341ecf86d774e6a80.jpg","text":"TemporaryFile(/tmp/multipartBody6105325012528811046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737651993673,"filename":"image_23012025_14_37_24_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330837929","file1":"1330837923","file0":"1330837919","file4":"1330837941","file5":"1330837946","file3":"1330837936"},"map_files_photo_id_array":[{"photo_id":"1330837946","filename":"file5"},{"photo_id":"1330837929","filename":"file2"},{"photo_id":"1330837941","filename":"file4"},{"photo_id":"1330837923","filename":"file1"},{"photo_id":"1330837919","filename":"file0"},{"photo_id":"1330837936","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330837946":["hashtag1","hashtag2"]},{"1330837919":["hashtag1","hashtag2"]},{"1330837936":["hashtag1","hashtag2"]},{"1330837941":["hashtag1","hashtag2"]},{"1330837923":["hashtag1","hashtag2"]},{"1330837929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330837946, 1330837919, 1330837936, 1330837941, 1330837923, 1330837929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35148596763611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:06:32.870216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/37/image_23012025_14_38_05_10339.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_15_10387.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_24_9349.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_35_10324.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_44_9382.jpg', '/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_54_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/37/image_23012025_14_38_05_10339.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_15_10387.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_24_9349.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_35_10324.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_44_9382.jpg
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_38_54_10333.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":["1330838065","1330838026","1330837984","1330838008","1330837989","1330838018"],"photo_ids_order":["1330837984","1330837989","1330838008","1330838018","1330838026","1330838065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f249d5eca0418b78dd9f7b3ae26aee09.jpg","text":"TemporaryFile(/tmp/multipartBody4378112822778357291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652053914,"filename":"image_23012025_14_38_54_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c810d30800565fb7440df6fe1fb3f387.jpg","text":"TemporaryFile(/tmp/multipartBody1024876726855677504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652053914,"filename":"image_23012025_14_38_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/877982661406c1eeb2b6c83123daa1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1917306709418210619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652053914,"filename":"image_23012025_14_38_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6316d613ba387e03f2f11cf0858abbf.jpg","text":"TemporaryFile(/tmp/multipartBody4892724607407715228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652053914,"filename":"image_23012025_14_38_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a31e9a54a9d700b9c0caac1d47e019df.jpg","text":"TemporaryFile(/tmp/multipartBody2815395107539520174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652053914,"filename":"image_23012025_14_38_15_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22862f60b3ecc6b1a6165fc6dba9bc02.jpg","text":"TemporaryFile(/tmp/multipartBody3443022181875668967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652053914,"filename":"image_23012025_14_38_35_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838008","file1":"1330837989","file0":"1330837984","file4":"1330838026","file5":"1330838065","file3":"1330838018"},"map_files_photo_id_array":[{"photo_id":"1330838065","filename":"file5"},{"photo_id":"1330838008","filename":"file2"},{"photo_id":"1330838026","filename":"file4"},{"photo_id":"1330837989","filename":"file1"},{"photo_id":"1330837984","filename":"file0"},{"photo_id":"1330838018","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838065":["hashtag1","hashtag2"]},{"1330838026":["hashtag1","hashtag2"]},{"1330837984":["hashtag1","hashtag2"]},{"1330838008":["hashtag1","hashtag2"]},{"1330837989":["hashtag1","hashtag2"]},{"1330838018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838065, 1330838026, 1330837984, 1330838008, 1330837989, 1330838018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.791101694107056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:07:33.024179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/38/image_23012025_14_39_05_10322.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_14_9358.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_24_10356.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_35_10348.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_44_9450.jpg', '/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_55_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/38/image_23012025_14_39_05_10322.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_14_9358.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_24_10356.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_35_10348.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_44_9450.jpg
/home/pi/Desktop/images/23012025/14/39/image_23012025_14_39_55_10331.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":["1330838131","1330838125","1330838121","1330838129","1330838114","1330838117"],"photo_ids_order":["1330838114","1330838117","1330838121","1330838125","1330838129","1330838131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/516155b95842f2da4d2ecfb2bbe5fa68.jpg","text":"TemporaryFile(/tmp/multipartBody5102453462692162231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652114009,"filename":"image_23012025_14_39_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d15e7d4af386e3a3a218d7f2e9f3bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4648261543708787803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652114009,"filename":"image_23012025_14_39_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/045fa9afecad8d447150762fc7ba43ae.jpg","text":"TemporaryFile(/tmp/multipartBody5123244225800150948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652114009,"filename":"image_23012025_14_39_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a35bb6f67dd75764f86e0ebffda632c4.jpg","text":"TemporaryFile(/tmp/multipartBody7139686326082468385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652114009,"filename":"image_23012025_14_39_44_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1d9fdaf9bf9ea14f44b4a2430a14374.jpg","text":"TemporaryFile(/tmp/multipartBody1677397660509556412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652114009,"filename":"image_23012025_14_39_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8af2d7793b7761925675df70e1d4899e.jpg","text":"TemporaryFile(/tmp/multipartBody9111038915241151923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652114009,"filename":"image_23012025_14_39_14_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838121","file1":"1330838117","file0":"1330838114","file4":"1330838129","file5":"1330838131","file3":"1330838125"},"map_files_photo_id_array":[{"photo_id":"1330838131","filename":"file5"},{"photo_id":"1330838121","filename":"file2"},{"photo_id":"1330838129","filename":"file4"},{"photo_id":"1330838117","filename":"file1"},{"photo_id":"1330838114","filename":"file0"},{"photo_id":"1330838125","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838131":["hashtag1","hashtag2"]},{"1330838125":["hashtag1","hashtag2"]},{"1330838121":["hashtag1","hashtag2"]},{"1330838129":["hashtag1","hashtag2"]},{"1330838114":["hashtag1","hashtag2"]},{"1330838117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838131, 1330838125, 1330838121, 1330838129, 1330838114, 1330838117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.718300580978394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:08:32.363657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_14_9334.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_25_10342.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_35_10326.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_44_9394.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_55_10389.jpg', '/home/pi/Desktop/images/23012025/14/40/image_23012025_14_41_04_9508.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_14_9334.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_25_10342.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_35_10326.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_44_9394.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_40_55_10389.jpg
/home/pi/Desktop/images/23012025/14/40/image_23012025_14_41_04_9508.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":["1330838167","1330838184","1330838181","1330838175","1330838163","1330838192"],"photo_ids_order":["1330838163","1330838167","1330838175","1330838181","1330838184","1330838192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5bb21a6df536f4d26bd214318df5250.jpg","text":"TemporaryFile(/tmp/multipartBody5195685406824518037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652173339,"filename":"image_23012025_14_40_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16cba2992ac2bbe3cea2e0e017f9471d.jpg","text":"TemporaryFile(/tmp/multipartBody1627625650443276197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652173339,"filename":"image_23012025_14_40_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35190707a0556460fb185c3e2d6d6870.jpg","text":"TemporaryFile(/tmp/multipartBody2930566541413115988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652173339,"filename":"image_23012025_14_40_44_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/624f1c197aa3939cd6899cef5631f8aa.jpg","text":"TemporaryFile(/tmp/multipartBody1144406872748461835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652173339,"filename":"image_23012025_14_40_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e83e98e07edb646f52b1069960e3d81a.jpg","text":"TemporaryFile(/tmp/multipartBody1104585981271083339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652173339,"filename":"image_23012025_14_40_14_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1b0b9dbb9a59d355d157f90d28c1778.jpg","text":"TemporaryFile(/tmp/multipartBody5537329161889937721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652173339,"filename":"image_23012025_14_41_04_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838175","file1":"1330838167","file0":"1330838163","file4":"1330838184","file5":"1330838192","file3":"1330838181"},"map_files_photo_id_array":[{"photo_id":"1330838192","filename":"file5"},{"photo_id":"1330838175","filename":"file2"},{"photo_id":"1330838184","filename":"file4"},{"photo_id":"1330838167","filename":"file1"},{"photo_id":"1330838163","filename":"file0"},{"photo_id":"1330838181","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838167":["hashtag1","hashtag2"]},{"1330838184":["hashtag1","hashtag2"]},{"1330838181":["hashtag1","hashtag2"]},{"1330838175":["hashtag1","hashtag2"]},{"1330838163":["hashtag1","hashtag2"]},{"1330838192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838167, 1330838184, 1330838181, 1330838175, 1330838163, 1330838192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.249048948287964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:09:32.538292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_15_10341.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_25_10338.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_34_9414.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_45_10441.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_54_9335.jpg', '/home/pi/Desktop/images/23012025/14/41/image_23012025_14_42_04_10315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_15_10341.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_25_10338.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_34_9414.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_45_10441.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_41_54_9335.jpg
/home/pi/Desktop/images/23012025/14/41/image_23012025_14_42_04_10315.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":["1330838278","1330838265","1330838256","1330838250","1330838261","1330838246"],"photo_ids_order":["1330838246","1330838250","1330838256","1330838261","1330838265","1330838278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb957ba942379e40be220371b9dac525.jpg","text":"TemporaryFile(/tmp/multipartBody7796808730082290544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652233510,"filename":"image_23012025_14_42_04_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a028629024ded712571cdbe2c86650a8.jpg","text":"TemporaryFile(/tmp/multipartBody5149790702932007668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652233510,"filename":"image_23012025_14_41_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2f8daa23b074ffab001814fe6a77b67.jpg","text":"TemporaryFile(/tmp/multipartBody2030706598651195251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652233510,"filename":"image_23012025_14_41_34_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a8be7cdb97cb4fa669bdf8eb9e413c9.jpg","text":"TemporaryFile(/tmp/multipartBody850777736046599467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652233510,"filename":"image_23012025_14_41_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b746127df92ce1bf120374811c31ee4a.jpg","text":"TemporaryFile(/tmp/multipartBody1044472632739853420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652233510,"filename":"image_23012025_14_41_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1cae733cb060f1b6c7806c6052129ac.jpg","text":"TemporaryFile(/tmp/multipartBody4077176954392914379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652233510,"filename":"image_23012025_14_41_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838256","file1":"1330838250","file0":"1330838246","file4":"1330838265","file5":"1330838278","file3":"1330838261"},"map_files_photo_id_array":[{"photo_id":"1330838278","filename":"file5"},{"photo_id":"1330838256","filename":"file2"},{"photo_id":"1330838265","filename":"file4"},{"photo_id":"1330838250","filename":"file1"},{"photo_id":"1330838246","filename":"file0"},{"photo_id":"1330838261","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838278":["hashtag1","hashtag2"]},{"1330838265":["hashtag1","hashtag2"]},{"1330838256":["hashtag1","hashtag2"]},{"1330838250":["hashtag1","hashtag2"]},{"1330838261":["hashtag1","hashtag2"]},{"1330838246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838278, 1330838265, 1330838256, 1330838250, 1330838261, 1330838246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45164608955383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:10:32.907540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_15_10345.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_24_9390.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_34_10337.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_54_9447.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_43_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_15_10345.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_24_9390.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_34_10337.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_45_10348.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_54_9447.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_43_05_10356.jpg
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: 0.591130256652832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:10:42.870626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_15_10345.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_24_9390.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_34_10337.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_45_10348.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_54_9447.jpg', '/home/pi/Desktop/images/23012025/14/42/image_23012025_14_43_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_15_10345.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_24_9390.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_34_10337.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_45_10348.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_42_54_9447.jpg
/home/pi/Desktop/images/23012025/14/42/image_23012025_14_43_05_10356.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":["1330838512","1330838481","1330838508","1330838523","1330838517","1330838502"],"photo_ids_order":["1330838481","1330838502","1330838508","1330838512","1330838517","1330838523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6b040f4c81198dcd24475cdf196b6c1.jpg","text":"TemporaryFile(/tmp/multipartBody7139265842505012727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652303796,"filename":"image_23012025_14_42_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09e651d309fe96d53ea7ae394f0991d0.jpg","text":"TemporaryFile(/tmp/multipartBody1296132686877392078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652303796,"filename":"image_23012025_14_42_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fbf50c0aac5c00194ed3fc0a6e6bb55.jpg","text":"TemporaryFile(/tmp/multipartBody2565019435930028914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652303796,"filename":"image_23012025_14_42_34_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/854c9c557662a9579a07fab39d62addf.jpg","text":"TemporaryFile(/tmp/multipartBody4798484881402139501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652303796,"filename":"image_23012025_14_43_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6efa828bc48ea66b017f84f3f1326e6.jpg","text":"TemporaryFile(/tmp/multipartBody1280546535339533496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652303796,"filename":"image_23012025_14_42_54_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4c96321ccd51e4876eef392dad16b27.jpg","text":"TemporaryFile(/tmp/multipartBody8008095856335211290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652303796,"filename":"image_23012025_14_42_24_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838508","file1":"1330838502","file0":"1330838481","file4":"1330838517","file5":"1330838523","file3":"1330838512"},"map_files_photo_id_array":[{"photo_id":"1330838523","filename":"file5"},{"photo_id":"1330838508","filename":"file2"},{"photo_id":"1330838517","filename":"file4"},{"photo_id":"1330838502","filename":"file1"},{"photo_id":"1330838481","filename":"file0"},{"photo_id":"1330838512","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838512":["hashtag1","hashtag2"]},{"1330838481":["hashtag1","hashtag2"]},{"1330838508":["hashtag1","hashtag2"]},{"1330838523":["hashtag1","hashtag2"]},{"1330838517":["hashtag1","hashtag2"]},{"1330838502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838512, 1330838481, 1330838508, 1330838523, 1330838517, 1330838502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50329804420471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:11:32.934393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_14_9387.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_24_10350.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_35_10354.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_44_9421.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_55_10405.jpg', '/home/pi/Desktop/images/23012025/14/43/image_23012025_14_44_05_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_14_9387.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_24_10350.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_35_10354.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_44_9421.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_43_55_10405.jpg
/home/pi/Desktop/images/23012025/14/43/image_23012025_14_44_05_10326.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":["1330838626","1330838636","1330838639","1330838606","1330838599","1330838590"],"photo_ids_order":["1330838590","1330838599","1330838606","1330838626","1330838636","1330838639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/479324e833c7aa11c68305a94fabdda8.jpg","text":"TemporaryFile(/tmp/multipartBody816457546851657346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652353908,"filename":"image_23012025_14_43_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22a9fa65ef99471e0634e2f14774589e.jpg","text":"TemporaryFile(/tmp/multipartBody7415513316830077538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652353908,"filename":"image_23012025_14_43_55_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8acfd3c6b08b39e3ca38e459e1afed2.jpg","text":"TemporaryFile(/tmp/multipartBody300522491084505110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652353908,"filename":"image_23012025_14_44_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ab497fa44b38dd4ae5e13d65c2021a3.jpg","text":"TemporaryFile(/tmp/multipartBody4356498629486657170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652353908,"filename":"image_23012025_14_43_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/374b78f27a4119ded08445d1c78634eb.jpg","text":"TemporaryFile(/tmp/multipartBody8851001343296280822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652353908,"filename":"image_23012025_14_43_24_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/797415dc727f87c7ed4d8c350acc7c6f.jpg","text":"TemporaryFile(/tmp/multipartBody3195866123221149913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652353908,"filename":"image_23012025_14_43_14_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838606","file1":"1330838599","file0":"1330838590","file4":"1330838636","file5":"1330838639","file3":"1330838626"},"map_files_photo_id_array":[{"photo_id":"1330838639","filename":"file5"},{"photo_id":"1330838606","filename":"file2"},{"photo_id":"1330838636","filename":"file4"},{"photo_id":"1330838599","filename":"file1"},{"photo_id":"1330838590","filename":"file0"},{"photo_id":"1330838626","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838626":["hashtag1","hashtag2"]},{"1330838636":["hashtag1","hashtag2"]},{"1330838639":["hashtag1","hashtag2"]},{"1330838606":["hashtag1","hashtag2"]},{"1330838599":["hashtag1","hashtag2"]},{"1330838590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838626, 1330838636, 1330838639, 1330838606, 1330838599, 1330838590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45982813835144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:12:32.193505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_14_9427.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_34_9464.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_44_10353.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_55_10339.jpg', '/home/pi/Desktop/images/23012025/14/44/image_23012025_14_45_04_9340.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_15_10485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_14_9427.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_34_9464.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_44_10353.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_44_55_10339.jpg
/home/pi/Desktop/images/23012025/14/44/image_23012025_14_45_04_9340.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_15_10485.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":["1330838779","1330838759","1330838693","1330838753","1330838720","1330838744"],"photo_ids_order":["1330838693","1330838720","1330838744","1330838753","1330838759","1330838779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45856018155e0d233e25f74674d82cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7103726645903783737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652413164,"filename":"image_23012025_14_45_15_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc15e592f491a58b219e9bcb2567b6d8.jpg","text":"TemporaryFile(/tmp/multipartBody6585344721647996999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652413164,"filename":"image_23012025_14_45_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5772e5fbd4f7c9b903cc1e064ce2c360.jpg","text":"TemporaryFile(/tmp/multipartBody1590069675265587741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652413164,"filename":"image_23012025_14_44_14_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f93a6573fd3d8d6fb66d637591c5fe0.jpg","text":"TemporaryFile(/tmp/multipartBody3506581451909932330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652413164,"filename":"image_23012025_14_44_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21a699d15bad3cc987551a83866a88e8.jpg","text":"TemporaryFile(/tmp/multipartBody3045414652741618464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652413164,"filename":"image_23012025_14_44_34_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39af51bed9d370f968ffc37ad2a3698a.jpg","text":"TemporaryFile(/tmp/multipartBody2167451241956135408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652413164,"filename":"image_23012025_14_44_44_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838744","file1":"1330838720","file0":"1330838693","file4":"1330838759","file5":"1330838779","file3":"1330838753"},"map_files_photo_id_array":[{"photo_id":"1330838779","filename":"file5"},{"photo_id":"1330838744","filename":"file2"},{"photo_id":"1330838759","filename":"file4"},{"photo_id":"1330838720","filename":"file1"},{"photo_id":"1330838693","filename":"file0"},{"photo_id":"1330838753","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838779":["hashtag1","hashtag2"]},{"1330838759":["hashtag1","hashtag2"]},{"1330838693":["hashtag1","hashtag2"]},{"1330838753":["hashtag1","hashtag2"]},{"1330838720":["hashtag1","hashtag2"]},{"1330838744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838779, 1330838759, 1330838693, 1330838753, 1330838720, 1330838744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97938513755798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:13:32.375129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_24_9487.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_34_10339.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_45_10337.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_54_9535.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_46_05_10341.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_14_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_24_9487.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_34_10339.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_45_10337.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_54_9535.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_46_05_10341.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_14_9388.jpg
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: 0.5685038566589355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:13:42.394951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_24_9487.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_34_10339.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_45_10337.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_54_9535.jpg', '/home/pi/Desktop/images/23012025/14/45/image_23012025_14_46_05_10341.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_14_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_24_9487.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_34_10339.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_45_10337.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_45_54_9535.jpg
/home/pi/Desktop/images/23012025/14/45/image_23012025_14_46_05_10341.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_14_9388.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":["1330838878","1330838848","1330838902","1330838894","1330838885","1330838888"],"photo_ids_order":["1330838848","1330838878","1330838885","1330838888","1330838894","1330838902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d597af3644139c37445004437a00b0c1.jpg","text":"TemporaryFile(/tmp/multipartBody2339852829100980416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652483293,"filename":"image_23012025_14_45_34_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d20bd9f35c9b7a4f30d1e1dc0a3391b.jpg","text":"TemporaryFile(/tmp/multipartBody9217679837331882347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652483293,"filename":"image_23012025_14_45_24_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ab6ce7753feaf312977da85cf5bb44a.jpg","text":"TemporaryFile(/tmp/multipartBody2845713365515299717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652483293,"filename":"image_23012025_14_46_14_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f02d35f760fca1e829c9573e2104d38.jpg","text":"TemporaryFile(/tmp/multipartBody3602771037359857533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652483293,"filename":"image_23012025_14_46_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e68cb600331d46383fdabd7ecbf0b10e.jpg","text":"TemporaryFile(/tmp/multipartBody2196296302847417119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652483293,"filename":"image_23012025_14_45_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20a1ab80b6c2c5f2803d9362a20f41bf.jpg","text":"TemporaryFile(/tmp/multipartBody662658108943285528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652483293,"filename":"image_23012025_14_45_54_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838885","file1":"1330838878","file0":"1330838848","file4":"1330838894","file5":"1330838902","file3":"1330838888"},"map_files_photo_id_array":[{"photo_id":"1330838902","filename":"file5"},{"photo_id":"1330838885","filename":"file2"},{"photo_id":"1330838894","filename":"file4"},{"photo_id":"1330838878","filename":"file1"},{"photo_id":"1330838848","filename":"file0"},{"photo_id":"1330838888","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838878":["hashtag1","hashtag2"]},{"1330838848":["hashtag1","hashtag2"]},{"1330838902":["hashtag1","hashtag2"]},{"1330838894":["hashtag1","hashtag2"]},{"1330838885":["hashtag1","hashtag2"]},{"1330838888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838878, 1330838848, 1330838902, 1330838894, 1330838885, 1330838888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12879800796509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:14:32.631955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_24_10367.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_35_10334.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_45_9755.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_54_9511.jpg', '/home/pi/Desktop/images/23012025/14/46/image_23012025_14_47_04_10405.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_15_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_24_10367.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_35_10334.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_45_9755.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_46_54_9511.jpg
/home/pi/Desktop/images/23012025/14/46/image_23012025_14_47_04_10405.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_15_10424.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":["1330838944","1330838953","1330838985","1330838988","1330839006","1330838980"],"photo_ids_order":["1330838944","1330838953","1330838980","1330838985","1330838988","1330839006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cac7e42c2f6bbd0b0c7fcae8ab5a0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3553739639878799691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652533619,"filename":"image_23012025_14_46_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d6a0cc0c6577943b267cc61bdd5bf03.jpg","text":"TemporaryFile(/tmp/multipartBody4790997782722996694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652533619,"filename":"image_23012025_14_46_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bce1c89da09b0105c79f381cae391e30.jpg","text":"TemporaryFile(/tmp/multipartBody9141241191750752312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652533619,"filename":"image_23012025_14_46_54_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c009ee19e19621198c4bcf0a5d8e9c23.jpg","text":"TemporaryFile(/tmp/multipartBody1023829387544196032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652533619,"filename":"image_23012025_14_47_04_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c7e699bf2e48f8aca1cc32e2847f323.jpg","text":"TemporaryFile(/tmp/multipartBody2563476071898489710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652533619,"filename":"image_23012025_14_47_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55498a28e19d53b45f12bf41b37c5807.jpg","text":"TemporaryFile(/tmp/multipartBody3281612839344729729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652533619,"filename":"image_23012025_14_46_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330838980","file1":"1330838953","file0":"1330838944","file4":"1330838988","file5":"1330839006","file3":"1330838985"},"map_files_photo_id_array":[{"photo_id":"1330839006","filename":"file5"},{"photo_id":"1330838980","filename":"file2"},{"photo_id":"1330838988","filename":"file4"},{"photo_id":"1330838953","filename":"file1"},{"photo_id":"1330838944","filename":"file0"},{"photo_id":"1330838985","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330838944":["hashtag1","hashtag2"]},{"1330838953":["hashtag1","hashtag2"]},{"1330838985":["hashtag1","hashtag2"]},{"1330838988":["hashtag1","hashtag2"]},{"1330839006":["hashtag1","hashtag2"]},{"1330838980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330838944, 1330838953, 1330838985, 1330838988, 1330839006, 1330838980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13630485534668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:15:32.811216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_24_9423.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_35_10345.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_44_9381.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_54_10353.jpg', '/home/pi/Desktop/images/23012025/14/47/image_23012025_14_48_05_10338.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_14_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_24_9423.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_35_10345.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_44_9381.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_47_54_10353.jpg
/home/pi/Desktop/images/23012025/14/47/image_23012025_14_48_05_10338.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_14_9355.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":["1330839217","1330839130","1330839141","1330839134","1330839268","1330839247"],"photo_ids_order":["1330839130","1330839134","1330839141","1330839217","1330839247","1330839268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/032b53ef395a94f19b68b856d2e8e363.jpg","text":"TemporaryFile(/tmp/multipartBody3062487153471695896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652593767,"filename":"image_23012025_14_47_54_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e25e3324d9051b55d46690fcd098665.jpg","text":"TemporaryFile(/tmp/multipartBody2491808393561684690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652593767,"filename":"image_23012025_14_47_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e51f146a1d25a9b0d72fd576aab72952.jpg","text":"TemporaryFile(/tmp/multipartBody6813997670639423423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652593767,"filename":"image_23012025_14_47_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31897710bd297752e6364c8078261c42.jpg","text":"TemporaryFile(/tmp/multipartBody5388969584431865760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652593767,"filename":"image_23012025_14_47_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd8e0b80e99bfe7e9085c517fed80283.jpg","text":"TemporaryFile(/tmp/multipartBody4218663945579416344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652593767,"filename":"image_23012025_14_48_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee6dd6f7ba32c536bab637ccd7dcf78d.jpg","text":"TemporaryFile(/tmp/multipartBody3774552748659604034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652593767,"filename":"image_23012025_14_48_05_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839141","file1":"1330839134","file0":"1330839130","file4":"1330839247","file5":"1330839268","file3":"1330839217"},"map_files_photo_id_array":[{"photo_id":"1330839268","filename":"file5"},{"photo_id":"1330839141","filename":"file2"},{"photo_id":"1330839247","filename":"file4"},{"photo_id":"1330839134","filename":"file1"},{"photo_id":"1330839130","filename":"file0"},{"photo_id":"1330839217","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839217":["hashtag1","hashtag2"]},{"1330839130":["hashtag1","hashtag2"]},{"1330839141":["hashtag1","hashtag2"]},{"1330839134":["hashtag1","hashtag2"]},{"1330839268":["hashtag1","hashtag2"]},{"1330839247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839217, 1330839130, 1330839141, 1330839134, 1330839268, 1330839247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44329285621643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:16:32.982373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_25_10466.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_35_10329.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_44_9441.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_55_10328.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_49_04_9377.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_14_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_25_10466.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_35_10329.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_44_9441.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_55_10328.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_49_04_9377.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_14_10432.jpg
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: 0.5885274410247803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:16:43.090937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_25_10466.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_35_10329.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_44_9441.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_55_10328.jpg', '/home/pi/Desktop/images/23012025/14/48/image_23012025_14_49_04_9377.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_14_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_25_10466.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_35_10329.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_44_9441.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_48_55_10328.jpg
/home/pi/Desktop/images/23012025/14/48/image_23012025_14_49_04_9377.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_14_10432.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":["1330839321","1330839338","1330839332","1330839326","1330839329","1330839355"],"photo_ids_order":["1330839321","1330839326","1330839329","1330839332","1330839338","1330839355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99728c8ebc3c7a356933f29560c16313.jpg","text":"TemporaryFile(/tmp/multipartBody7192091920828019287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652663986,"filename":"image_23012025_14_48_25_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/397540fc794e99452e497dea1de276c4.jpg","text":"TemporaryFile(/tmp/multipartBody1057453624886153597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652663986,"filename":"image_23012025_14_49_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12e4fdc85f79a7d97e56039f577ba325.jpg","text":"TemporaryFile(/tmp/multipartBody4948401169759192922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652663986,"filename":"image_23012025_14_48_55_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cdc292d2ccb7d9867502ef732a91153.jpg","text":"TemporaryFile(/tmp/multipartBody3481091958774529572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652663986,"filename":"image_23012025_14_48_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98c24082c792355df918133439b21eed.jpg","text":"TemporaryFile(/tmp/multipartBody8066769258735815627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652663986,"filename":"image_23012025_14_48_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca656195dffd33ac943cfe23045f6b97.jpg","text":"TemporaryFile(/tmp/multipartBody201448205421952657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652663986,"filename":"image_23012025_14_49_14_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839329","file1":"1330839326","file0":"1330839321","file4":"1330839338","file5":"1330839355","file3":"1330839332"},"map_files_photo_id_array":[{"photo_id":"1330839355","filename":"file5"},{"photo_id":"1330839329","filename":"file2"},{"photo_id":"1330839338","filename":"file4"},{"photo_id":"1330839326","filename":"file1"},{"photo_id":"1330839321","filename":"file0"},{"photo_id":"1330839332","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839321":["hashtag1","hashtag2"]},{"1330839338":["hashtag1","hashtag2"]},{"1330839332":["hashtag1","hashtag2"]},{"1330839326":["hashtag1","hashtag2"]},{"1330839329":["hashtag1","hashtag2"]},{"1330839355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839321, 1330839338, 1330839332, 1330839326, 1330839329, 1330839355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10652208328247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:17:32.282535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_25_10343.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_34_9411.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_45_10334.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_55_10355.jpg', '/home/pi/Desktop/images/23012025/14/49/image_23012025_14_50_04_9423.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_15_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_25_10343.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_34_9411.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_45_10334.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_49_55_10355.jpg
/home/pi/Desktop/images/23012025/14/49/image_23012025_14_50_04_9423.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_15_10339.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":["1330839456","1330839471","1330839476","1330839481","1330839484","1330839487"],"photo_ids_order":["1330839456","1330839471","1330839476","1330839481","1330839484","1330839487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f5b5cea6e8e4ec11da65a7cd6bc585a.jpg","text":"TemporaryFile(/tmp/multipartBody6999618842139229209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652713237,"filename":"image_23012025_14_49_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff04218116c4731a689b1177354fa2b2.jpg","text":"TemporaryFile(/tmp/multipartBody3002944216311167557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652713237,"filename":"image_23012025_14_49_34_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e89d89009e19f21d6f0b6234e8149e33.jpg","text":"TemporaryFile(/tmp/multipartBody2481758904064104854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652713237,"filename":"image_23012025_14_49_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7404cd1a6f18bbb86bfd3c57c860d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4377706411986753981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652713237,"filename":"image_23012025_14_49_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28fa5a31b46acf21ae4c7a1f6ed6d784.jpg","text":"TemporaryFile(/tmp/multipartBody7118681809537402518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652713237,"filename":"image_23012025_14_50_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58ee46d8bd058bce6c4598a00bb15758.jpg","text":"TemporaryFile(/tmp/multipartBody5333195812241995723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652713237,"filename":"image_23012025_14_50_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839476","file1":"1330839471","file0":"1330839456","file4":"1330839484","file5":"1330839487","file3":"1330839481"},"map_files_photo_id_array":[{"photo_id":"1330839487","filename":"file5"},{"photo_id":"1330839476","filename":"file2"},{"photo_id":"1330839484","filename":"file4"},{"photo_id":"1330839471","filename":"file1"},{"photo_id":"1330839456","filename":"file0"},{"photo_id":"1330839481","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839456":["hashtag1","hashtag2"]},{"1330839471":["hashtag1","hashtag2"]},{"1330839476":["hashtag1","hashtag2"]},{"1330839481":["hashtag1","hashtag2"]},{"1330839484":["hashtag1","hashtag2"]},{"1330839487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839456, 1330839471, 1330839476, 1330839481, 1330839484, 1330839487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79228687286377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:18:32.418605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_24_9436.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_34_10339.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_45_10402.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_54_9410.jpg', '/home/pi/Desktop/images/23012025/14/50/image_23012025_14_51_05_10371.jpg', '/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_14_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_24_9436.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_34_10339.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_45_10402.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_50_54_9410.jpg
/home/pi/Desktop/images/23012025/14/50/image_23012025_14_51_05_10371.jpg
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_14_9420.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":["1330839564","1330839560","1330839571","1330839544","1330839538","1330839553"],"photo_ids_order":["1330839538","1330839544","1330839553","1330839560","1330839564","1330839571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14e626bc8c69e667cb4efb5cc0bf7635.jpg","text":"TemporaryFile(/tmp/multipartBody5576556062399256986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652773379,"filename":"image_23012025_14_51_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/207d4ca02c49b1c3c929355c2d99a166.jpg","text":"TemporaryFile(/tmp/multipartBody4610320084833836504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652773379,"filename":"image_23012025_14_50_54_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/215e26f5755ddfd8e5be8745d6ad164a.jpg","text":"TemporaryFile(/tmp/multipartBody8199797546345657396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652773379,"filename":"image_23012025_14_51_14_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/720227d0773ba204c83160bf453cc4ba.jpg","text":"TemporaryFile(/tmp/multipartBody8712944530019105436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652773379,"filename":"image_23012025_14_50_34_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0053731964b1a63ab94547f50073dfcf.jpg","text":"TemporaryFile(/tmp/multipartBody3793946937139320715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652773379,"filename":"image_23012025_14_50_24_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/755c7bfc17b39d3d278dd453a6e1bdac.jpg","text":"TemporaryFile(/tmp/multipartBody1660018500232894452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652773379,"filename":"image_23012025_14_50_45_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839553","file1":"1330839544","file0":"1330839538","file4":"1330839564","file5":"1330839571","file3":"1330839560"},"map_files_photo_id_array":[{"photo_id":"1330839571","filename":"file5"},{"photo_id":"1330839553","filename":"file2"},{"photo_id":"1330839564","filename":"file4"},{"photo_id":"1330839544","filename":"file1"},{"photo_id":"1330839538","filename":"file0"},{"photo_id":"1330839560","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839564":["hashtag1","hashtag2"]},{"1330839560":["hashtag1","hashtag2"]},{"1330839571":["hashtag1","hashtag2"]},{"1330839544":["hashtag1","hashtag2"]},{"1330839538":["hashtag1","hashtag2"]},{"1330839553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839564, 1330839560, 1330839571, 1330839544, 1330839538, 1330839553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.429941177368164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:19:32.632143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_24_10431.jpg', '/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_35_10452.jpg', '/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_44_9434.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_14_10370.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_25_10366.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_34_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_24_10431.jpg
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_35_10452.jpg
/home/pi/Desktop/images/23012025/14/51/image_23012025_14_51_44_9434.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_14_10370.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_25_10366.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_34_9449.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":["1330839607","1330839591","1330839604","1330839600","1330839595","1330839610"],"photo_ids_order":["1330839591","1330839595","1330839600","1330839604","1330839607","1330839610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0448ff9177f85ae8327a40a24a606fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3918375319574377297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652833595,"filename":"image_23012025_14_52_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12cc890f142d15b1397fe2d7dab0dabd.jpg","text":"TemporaryFile(/tmp/multipartBody4225200993961615565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652833595,"filename":"image_23012025_14_51_24_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/576cc0545deeae5a80a9285464a36b59.jpg","text":"TemporaryFile(/tmp/multipartBody802859988984095028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652833595,"filename":"image_23012025_14_52_14_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d5138c838e092d0aee99fda00707c64.jpg","text":"TemporaryFile(/tmp/multipartBody5386347409470290900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652833595,"filename":"image_23012025_14_51_44_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/102d1bb6bd5856813c5f6bcaa7beca7f.jpg","text":"TemporaryFile(/tmp/multipartBody2506973815525319006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652833595,"filename":"image_23012025_14_51_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc1a097c97ad709e0e88ab4770f65630.jpg","text":"TemporaryFile(/tmp/multipartBody2056723655667028128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652833595,"filename":"image_23012025_14_52_34_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839600","file1":"1330839595","file0":"1330839591","file4":"1330839607","file5":"1330839610","file3":"1330839604"},"map_files_photo_id_array":[{"photo_id":"1330839610","filename":"file5"},{"photo_id":"1330839600","filename":"file2"},{"photo_id":"1330839607","filename":"file4"},{"photo_id":"1330839595","filename":"file1"},{"photo_id":"1330839591","filename":"file0"},{"photo_id":"1330839604","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839607":["hashtag1","hashtag2"]},{"1330839591":["hashtag1","hashtag2"]},{"1330839604":["hashtag1","hashtag2"]},{"1330839600":["hashtag1","hashtag2"]},{"1330839595":["hashtag1","hashtag2"]},{"1330839610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839607, 1330839591, 1330839604, 1330839600, 1330839595, 1330839610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21063804626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:20:32.796677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_45_10365.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_54_9441.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_53_04_10366.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_15_10354.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_24_9364.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_35_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_45_10365.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_54_9441.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_53_04_10366.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_15_10354.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_24_9364.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_35_10388.jpg
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: 0.5746312141418457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:20:43.018449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_45_10365.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_54_9441.jpg', '/home/pi/Desktop/images/23012025/14/52/image_23012025_14_53_04_10366.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_15_10354.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_24_9364.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_35_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_45_10365.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_52_54_9441.jpg
/home/pi/Desktop/images/23012025/14/52/image_23012025_14_53_04_10366.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_15_10354.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_24_9364.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_35_10388.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":["1330839706","1330839699","1330839669","1330839725","1330839694","1330839688"],"photo_ids_order":["1330839669","1330839688","1330839694","1330839699","1330839706","1330839725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bda1606ab8cc39b6d8085da6ecdd6897.jpg","text":"TemporaryFile(/tmp/multipartBody6529314562957234566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652903926,"filename":"image_23012025_14_53_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d5da94a1f38da0ace3ce04cf0c6fa91.jpg","text":"TemporaryFile(/tmp/multipartBody4036492509912850286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652903926,"filename":"image_23012025_14_53_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/588e83830dea5a17db8062a1b0456bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1377726753626023289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652903926,"filename":"image_23012025_14_52_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ccf35d2a3b7b874657b56979ca02de9.jpg","text":"TemporaryFile(/tmp/multipartBody3846727358990543778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652903926,"filename":"image_23012025_14_53_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef8608f9e949209281d9a2f18448a916.jpg","text":"TemporaryFile(/tmp/multipartBody8793788265990092098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652903926,"filename":"image_23012025_14_53_04_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00cc55e08f7b9c4d0c3d30c1878bd3b5.jpg","text":"TemporaryFile(/tmp/multipartBody1760911406351851599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652903926,"filename":"image_23012025_14_52_54_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839694","file1":"1330839688","file0":"1330839669","file4":"1330839706","file5":"1330839725","file3":"1330839699"},"map_files_photo_id_array":[{"photo_id":"1330839725","filename":"file5"},{"photo_id":"1330839694","filename":"file2"},{"photo_id":"1330839706","filename":"file4"},{"photo_id":"1330839688","filename":"file1"},{"photo_id":"1330839669","filename":"file0"},{"photo_id":"1330839699","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839706":["hashtag1","hashtag2"]},{"1330839699":["hashtag1","hashtag2"]},{"1330839669":["hashtag1","hashtag2"]},{"1330839725":["hashtag1","hashtag2"]},{"1330839694":["hashtag1","hashtag2"]},{"1330839688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839706, 1330839699, 1330839669, 1330839725, 1330839694, 1330839688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71344804763794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:21:32.998046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_45_10350.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_54_9327.jpg', '/home/pi/Desktop/images/23012025/14/53/image_23012025_14_54_05_10358.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_15_10353.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_24_9394.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_45_10350.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_53_54_9327.jpg
/home/pi/Desktop/images/23012025/14/53/image_23012025_14_54_05_10358.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_15_10353.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_24_9394.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_35_10357.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":["1330839780","1330839744","1330839776","1330839758","1330839772","1330839748"],"photo_ids_order":["1330839744","1330839748","1330839758","1330839772","1330839776","1330839780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c86c7af00031f705a7a019f8630d4da2.jpg","text":"TemporaryFile(/tmp/multipartBody2237754548123459497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652953972,"filename":"image_23012025_14_54_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b08a2f6d0cccb6b0e3524cd5b4b4360.jpg","text":"TemporaryFile(/tmp/multipartBody5669648050241021602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652953972,"filename":"image_23012025_14_53_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cbffc868fe66c0e9c732d3ad04947d0.jpg","text":"TemporaryFile(/tmp/multipartBody4998240430207694801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652953972,"filename":"image_23012025_14_54_24_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/affe4937e614b4a5b1ce0e668cb2d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody7158555076279635752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652953972,"filename":"image_23012025_14_54_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/769092650461c3fb4999be25e5247b55.jpg","text":"TemporaryFile(/tmp/multipartBody6619188131481039191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652953972,"filename":"image_23012025_14_54_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbd80b72861373274f15c608bc6ff0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5371860326552348065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737652953972,"filename":"image_23012025_14_53_54_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839758","file1":"1330839748","file0":"1330839744","file4":"1330839776","file5":"1330839780","file3":"1330839772"},"map_files_photo_id_array":[{"photo_id":"1330839780","filename":"file5"},{"photo_id":"1330839758","filename":"file2"},{"photo_id":"1330839776","filename":"file4"},{"photo_id":"1330839748","filename":"file1"},{"photo_id":"1330839744","filename":"file0"},{"photo_id":"1330839772","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839780":["hashtag1","hashtag2"]},{"1330839744":["hashtag1","hashtag2"]},{"1330839776":["hashtag1","hashtag2"]},{"1330839758":["hashtag1","hashtag2"]},{"1330839772":["hashtag1","hashtag2"]},{"1330839748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839780, 1330839744, 1330839776, 1330839758, 1330839772, 1330839748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96116852760315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:22:33.025464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_44_9388.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_54_10355.jpg', '/home/pi/Desktop/images/23012025/14/54/image_23012025_14_55_05_10395.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_14_9338.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_25_10367.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_44_9388.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_54_54_10355.jpg
/home/pi/Desktop/images/23012025/14/54/image_23012025_14_55_05_10395.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_14_9338.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_25_10367.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_35_10354.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":["1330839849","1330839845","1330839854","1330839833","1330839827","1330839829"],"photo_ids_order":["1330839827","1330839829","1330839833","1330839845","1330839849","1330839854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60e85d6bfe9c764a81118159f34f52d3.jpg","text":"TemporaryFile(/tmp/multipartBody3789715564762818135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653013985,"filename":"image_23012025_14_55_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c1a4376d7fcaa7bfe2d8faddcce772d.jpg","text":"TemporaryFile(/tmp/multipartBody1876675120969165792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653013985,"filename":"image_23012025_14_55_14_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73bd9b4f4d976c0b83847596dd6462bb.jpg","text":"TemporaryFile(/tmp/multipartBody3891745429309426575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653013985,"filename":"image_23012025_14_55_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc4cc82cc22b73093b1b1239aeede7ff.jpg","text":"TemporaryFile(/tmp/multipartBody4785037133579166562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653013985,"filename":"image_23012025_14_55_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94940b044522472ba4ce41f77aff0bdc.jpg","text":"TemporaryFile(/tmp/multipartBody153476660494821288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653013985,"filename":"image_23012025_14_54_44_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0a1c19e784a9cd4a84a6291cc9a75dd4.jpg","text":"TemporaryFile(/tmp/multipartBody4300650678425271953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653013985,"filename":"image_23012025_14_54_54_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839833","file1":"1330839829","file0":"1330839827","file4":"1330839849","file5":"1330839854","file3":"1330839845"},"map_files_photo_id_array":[{"photo_id":"1330839854","filename":"file5"},{"photo_id":"1330839833","filename":"file2"},{"photo_id":"1330839849","filename":"file4"},{"photo_id":"1330839829","filename":"file1"},{"photo_id":"1330839827","filename":"file0"},{"photo_id":"1330839845","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839849":["hashtag1","hashtag2"]},{"1330839845":["hashtag1","hashtag2"]},{"1330839854":["hashtag1","hashtag2"]},{"1330839833":["hashtag1","hashtag2"]},{"1330839827":["hashtag1","hashtag2"]},{"1330839829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839849, 1330839845, 1330839854, 1330839833, 1330839827, 1330839829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.163580656051636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:23:32.245249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_44_9424.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_55_10349.jpg', '/home/pi/Desktop/images/23012025/14/55/image_23012025_14_56_04_9460.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_15_10449.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_25_10340.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_34_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_44_9424.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_55_55_10349.jpg
/home/pi/Desktop/images/23012025/14/55/image_23012025_14_56_04_9460.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_15_10449.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_25_10340.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_34_9353.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":["1330839907","1330839897","1330839900","1330839903","1330839893","1330839905"],"photo_ids_order":["1330839893","1330839897","1330839900","1330839903","1330839905","1330839907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c16483e0ca081de59b8d8e80e8fcbf07.jpg","text":"TemporaryFile(/tmp/multipartBody7846632465856288966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653073209,"filename":"image_23012025_14_56_34_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96e7614d528a994bddbeb4c5fd9b4284.jpg","text":"TemporaryFile(/tmp/multipartBody2219881382599318957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653073209,"filename":"image_23012025_14_55_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37b747999b4e4cade22df67088c56ba1.jpg","text":"TemporaryFile(/tmp/multipartBody8001507477672620961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653073209,"filename":"image_23012025_14_56_04_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/813b1595a29c971120a1fc44e9b39abf.jpg","text":"TemporaryFile(/tmp/multipartBody4907169258992041154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653073209,"filename":"image_23012025_14_56_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d0626d6babcf7b6bbb829a0dd197d83.jpg","text":"TemporaryFile(/tmp/multipartBody252082863671686908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653073209,"filename":"image_23012025_14_55_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c216013d4a8f44bbee23b7f530aed84.jpg","text":"TemporaryFile(/tmp/multipartBody4645448279017818958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653073209,"filename":"image_23012025_14_56_25_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839900","file1":"1330839897","file0":"1330839893","file4":"1330839905","file5":"1330839907","file3":"1330839903"},"map_files_photo_id_array":[{"photo_id":"1330839907","filename":"file5"},{"photo_id":"1330839900","filename":"file2"},{"photo_id":"1330839905","filename":"file4"},{"photo_id":"1330839897","filename":"file1"},{"photo_id":"1330839893","filename":"file0"},{"photo_id":"1330839903","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839907":["hashtag1","hashtag2"]},{"1330839897":["hashtag1","hashtag2"]},{"1330839900":["hashtag1","hashtag2"]},{"1330839903":["hashtag1","hashtag2"]},{"1330839893":["hashtag1","hashtag2"]},{"1330839905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839907, 1330839897, 1330839900, 1330839903, 1330839893, 1330839905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27200436592102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:24:32.389507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_45_10344.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_54_9464.jpg', '/home/pi/Desktop/images/23012025/14/56/image_23012025_14_57_04_10340.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_15_10343.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_24_9443.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_45_10344.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_56_54_9464.jpg
/home/pi/Desktop/images/23012025/14/56/image_23012025_14_57_04_10340.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_15_10343.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_24_9443.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_35_10349.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":["1330839969","1330839960","1330839954","1330839947","1330839964","1330839943"],"photo_ids_order":["1330839943","1330839947","1330839954","1330839960","1330839964","1330839969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7fd41808ae7e64b33b2b1e20646fe00.jpg","text":"TemporaryFile(/tmp/multipartBody4562017893990145149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653133426,"filename":"image_23012025_14_57_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a7c05effce9d044804b8f303033f4dd.jpg","text":"TemporaryFile(/tmp/multipartBody4472566125484118614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653133426,"filename":"image_23012025_14_57_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48b7096a76ff00c0e0801a61c8d75afb.jpg","text":"TemporaryFile(/tmp/multipartBody2204732173599687449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653133426,"filename":"image_23012025_14_57_04_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e7d5580111feb2d9814f073abf92ced.jpg","text":"TemporaryFile(/tmp/multipartBody7789729569911338528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653133426,"filename":"image_23012025_14_56_54_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25d7ab0d42d155f6bf90073db14e59f7.jpg","text":"TemporaryFile(/tmp/multipartBody157808257635430096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653133426,"filename":"image_23012025_14_57_24_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dce3770ded108d09c157d0c0bb820a57.jpg","text":"TemporaryFile(/tmp/multipartBody2155927606840977152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653133426,"filename":"image_23012025_14_56_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330839954","file1":"1330839947","file0":"1330839943","file4":"1330839964","file5":"1330839969","file3":"1330839960"},"map_files_photo_id_array":[{"photo_id":"1330839969","filename":"file5"},{"photo_id":"1330839954","filename":"file2"},{"photo_id":"1330839964","filename":"file4"},{"photo_id":"1330839947","filename":"file1"},{"photo_id":"1330839943","filename":"file0"},{"photo_id":"1330839960","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330839969":["hashtag1","hashtag2"]},{"1330839960":["hashtag1","hashtag2"]},{"1330839954":["hashtag1","hashtag2"]},{"1330839947":["hashtag1","hashtag2"]},{"1330839964":["hashtag1","hashtag2"]},{"1330839943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330839969, 1330839960, 1330839954, 1330839947, 1330839964, 1330839943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51384258270264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:25:32.552829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_45_10335.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_54_9419.jpg', '/home/pi/Desktop/images/23012025/14/57/image_23012025_14_58_05_10415.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_14_9450.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_25_10368.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_35_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_45_10335.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_57_54_9419.jpg
/home/pi/Desktop/images/23012025/14/57/image_23012025_14_58_05_10415.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_14_9450.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_25_10368.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_35_10383.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":["1330840045","1330840053","1330840032","1330840056","1330840055","1330840049"],"photo_ids_order":["1330840032","1330840045","1330840049","1330840053","1330840055","1330840056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8562e9a80727ad652e43628f093876c2.jpg","text":"TemporaryFile(/tmp/multipartBody7783709799304050831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653193513,"filename":"image_23012025_14_57_54_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04a3e93fd533dcdf65632b239e445efa.jpg","text":"TemporaryFile(/tmp/multipartBody6401376203304975168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653193513,"filename":"image_23012025_14_58_14_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72ce987b9620294f72a606143118a0de.jpg","text":"TemporaryFile(/tmp/multipartBody5669937963432461030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653193513,"filename":"image_23012025_14_57_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c07bedb47b634d95fa892f28196caad.jpg","text":"TemporaryFile(/tmp/multipartBody5203597420520261796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653193513,"filename":"image_23012025_14_58_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac1ee7ca3fef59bbb1383a98136e9aa4.jpg","text":"TemporaryFile(/tmp/multipartBody2463902360135342126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653193513,"filename":"image_23012025_14_58_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70fe54a9acb7f6329ba2939a7cdfc391.jpg","text":"TemporaryFile(/tmp/multipartBody1925119131705174357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653193513,"filename":"image_23012025_14_58_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330840049","file1":"1330840045","file0":"1330840032","file4":"1330840055","file5":"1330840056","file3":"1330840053"},"map_files_photo_id_array":[{"photo_id":"1330840056","filename":"file5"},{"photo_id":"1330840049","filename":"file2"},{"photo_id":"1330840055","filename":"file4"},{"photo_id":"1330840045","filename":"file1"},{"photo_id":"1330840032","filename":"file0"},{"photo_id":"1330840053","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330840045":["hashtag1","hashtag2"]},{"1330840053":["hashtag1","hashtag2"]},{"1330840032":["hashtag1","hashtag2"]},{"1330840056":["hashtag1","hashtag2"]},{"1330840055":["hashtag1","hashtag2"]},{"1330840049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330840045, 1330840053, 1330840032, 1330840056, 1330840055, 1330840049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81875395774841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:26:32.736560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_44_9405.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_55_10361.jpg', '/home/pi/Desktop/images/23012025/14/58/image_23012025_14_59_04_9420.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_14_10328.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_25_10346.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_34_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_44_9405.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_58_55_10361.jpg
/home/pi/Desktop/images/23012025/14/58/image_23012025_14_59_04_9420.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_14_10328.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_25_10346.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_34_9417.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":["1330840111","1330840091","1330840118","1330840106","1330840115","1330840100"],"photo_ids_order":["1330840091","1330840100","1330840106","1330840111","1330840115","1330840118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/498b9b6d8f290e05538741bbccfa6670.jpg","text":"TemporaryFile(/tmp/multipartBody6113431437762484376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653253714,"filename":"image_23012025_14_59_14_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/029962197109c15713aaec2b44acfbd0.jpg","text":"TemporaryFile(/tmp/multipartBody8247303657880615473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653253714,"filename":"image_23012025_14_58_44_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/400d43ceca92cf7410a65e0c2b419fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7964364245140881461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653253714,"filename":"image_23012025_14_59_34_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62cafb37fa4f6a9c4191b9c39ac67546.jpg","text":"TemporaryFile(/tmp/multipartBody5478089750225856238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653253714,"filename":"image_23012025_14_59_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b72132df65d31c82a2afe248de783db8.jpg","text":"TemporaryFile(/tmp/multipartBody5278749360069062661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653253714,"filename":"image_23012025_14_59_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c17cabd041c189fb95cdad8edbfd3a27.jpg","text":"TemporaryFile(/tmp/multipartBody6147114839916920377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653253714,"filename":"image_23012025_14_58_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330840106","file1":"1330840100","file0":"1330840091","file4":"1330840115","file5":"1330840118","file3":"1330840111"},"map_files_photo_id_array":[{"photo_id":"1330840118","filename":"file5"},{"photo_id":"1330840106","filename":"file2"},{"photo_id":"1330840115","filename":"file4"},{"photo_id":"1330840100","filename":"file1"},{"photo_id":"1330840091","filename":"file0"},{"photo_id":"1330840111","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330840111":["hashtag1","hashtag2"]},{"1330840091":["hashtag1","hashtag2"]},{"1330840118":["hashtag1","hashtag2"]},{"1330840106":["hashtag1","hashtag2"]},{"1330840115":["hashtag1","hashtag2"]},{"1330840100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330840111, 1330840091, 1330840118, 1330840106, 1330840115, 1330840100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06632399559021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:27:32.999328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_45_10346.jpg', '/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_55_10358.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_14_10073.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_25_10379.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_35_10423.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_45_10346.jpg
/home/pi/Desktop/images/23012025/14/59/image_23012025_14_59_55_10358.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_14_10073.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_25_10379.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_35_10423.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_45_9350.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":["1330840171","1330840189","1330840176","1330840193","1330840196","1330840183"],"photo_ids_order":["1330840171","1330840176","1330840183","1330840189","1330840193","1330840196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fd41a3109e358d9d8729f522700aa26.jpg","text":"TemporaryFile(/tmp/multipartBody733457624919434801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653313983,"filename":"image_23012025_14_59_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1946fad2eba226b2418b65d80b093ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4910844424359993293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653313983,"filename":"image_23012025_15_01_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41de17ff30f9a10a05399875eb1a0c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6080523885854305741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653313983,"filename":"image_23012025_14_59_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/871937713bf3d1c6bbdd4fbc5ea75674.jpg","text":"TemporaryFile(/tmp/multipartBody1796795285968049670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653313983,"filename":"image_23012025_15_01_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41f6994b0399ac4725483868e442a097.jpg","text":"TemporaryFile(/tmp/multipartBody1039002121370393494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653313983,"filename":"image_23012025_15_01_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ecfb851bc2c0d0946b34cd2564b5eec.jpg","text":"TemporaryFile(/tmp/multipartBody4980226882675992482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653313983,"filename":"image_23012025_15_01_14_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330840183","file1":"1330840176","file0":"1330840171","file4":"1330840193","file5":"1330840196","file3":"1330840189"},"map_files_photo_id_array":[{"photo_id":"1330840196","filename":"file5"},{"photo_id":"1330840183","filename":"file2"},{"photo_id":"1330840193","filename":"file4"},{"photo_id":"1330840176","filename":"file1"},{"photo_id":"1330840171","filename":"file0"},{"photo_id":"1330840189","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330840171":["hashtag1","hashtag2"]},{"1330840189":["hashtag1","hashtag2"]},{"1330840176":["hashtag1","hashtag2"]},{"1330840193":["hashtag1","hashtag2"]},{"1330840196":["hashtag1","hashtag2"]},{"1330840183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330840171, 1330840189, 1330840176, 1330840193, 1330840196, 1330840183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37970805168152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:28:32.944447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_55_10347.jpg', '/home/pi/Desktop/images/23012025/15/01/image_23012025_15_02_05_10427.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_15_9350.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_25_10416.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_34_9348.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_01_55_10347.jpg
/home/pi/Desktop/images/23012025/15/01/image_23012025_15_02_05_10427.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_15_9350.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_25_10416.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_34_9348.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_45_10341.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":["1330840260","1330840298","1330840283","1330840289","1330840301","1330840294"],"photo_ids_order":["1330840260","1330840283","1330840289","1330840294","1330840298","1330840301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/490f6776f129560a26a4f6466c63b7f3.jpg","text":"TemporaryFile(/tmp/multipartBody2083795326032203619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653373957,"filename":"image_23012025_15_01_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecc47f98e39f863e2955019910af6b6e.jpg","text":"TemporaryFile(/tmp/multipartBody2488701265066464014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653373957,"filename":"image_23012025_15_02_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/76fd6d6924222760e1719a9e28ee01ff.jpg","text":"TemporaryFile(/tmp/multipartBody2533010739738145724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653373957,"filename":"image_23012025_15_02_05_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ddb76c36a27f88b534f713cbac364cf.jpg","text":"TemporaryFile(/tmp/multipartBody4252611639794519646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653373957,"filename":"image_23012025_15_02_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3efd0d0444b809774e4fdf35147fe3d.jpg","text":"TemporaryFile(/tmp/multipartBody815120198254710383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653373957,"filename":"image_23012025_15_02_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57d7c60c7c3b5fb529de5583ee017977.jpg","text":"TemporaryFile(/tmp/multipartBody8102341882157691458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653373957,"filename":"image_23012025_15_02_25_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330840289","file1":"1330840283","file0":"1330840260","file4":"1330840298","file5":"1330840301","file3":"1330840294"},"map_files_photo_id_array":[{"photo_id":"1330840301","filename":"file5"},{"photo_id":"1330840289","filename":"file2"},{"photo_id":"1330840298","filename":"file4"},{"photo_id":"1330840283","filename":"file1"},{"photo_id":"1330840260","filename":"file0"},{"photo_id":"1330840294","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330840260":["hashtag1","hashtag2"]},{"1330840298":["hashtag1","hashtag2"]},{"1330840283":["hashtag1","hashtag2"]},{"1330840289":["hashtag1","hashtag2"]},{"1330840301":["hashtag1","hashtag2"]},{"1330840294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330840260, 1330840298, 1330840283, 1330840289, 1330840301, 1330840294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60799241065979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:29:33.099335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_55_10413.jpg', '/home/pi/Desktop/images/23012025/15/02/image_23012025_15_03_05_9357.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_15_10337.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_25_10369.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_35_9343.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_45_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_02_55_10413.jpg
/home/pi/Desktop/images/23012025/15/02/image_23012025_15_03_05_9357.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_15_10337.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_25_10369.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_35_9343.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_45_10330.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":["1330840444","1330840438","1330840441","1330840434","1330840427","1330840430"],"photo_ids_order":["1330840427","1330840430","1330840434","1330840438","1330840441","1330840444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e9d472e7f763ea71b2a22963b6f71c1.jpg","text":"TemporaryFile(/tmp/multipartBody7517361650071313902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653434075,"filename":"image_23012025_15_03_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7f6b59682566ba19a22f1e43e9c249d.jpg","text":"TemporaryFile(/tmp/multipartBody2348542261257777125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653434075,"filename":"image_23012025_15_03_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2343a63ab7be99d014208905fa8d3cfb.jpg","text":"TemporaryFile(/tmp/multipartBody366332382520673418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653434075,"filename":"image_23012025_15_03_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf01cea5f8d0475374e713fee55709b3.jpg","text":"TemporaryFile(/tmp/multipartBody1701985568951843398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653434075,"filename":"image_23012025_15_03_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3315e056217387ff0776e9639d399a9.jpg","text":"TemporaryFile(/tmp/multipartBody2697207544680616619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653434075,"filename":"image_23012025_15_02_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca91a14c514807079b3e86839bf44015.jpg","text":"TemporaryFile(/tmp/multipartBody3849599742232272293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653434075,"filename":"image_23012025_15_03_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330840434","file1":"1330840430","file0":"1330840427","file4":"1330840441","file5":"1330840444","file3":"1330840438"},"map_files_photo_id_array":[{"photo_id":"1330840444","filename":"file5"},{"photo_id":"1330840434","filename":"file2"},{"photo_id":"1330840441","filename":"file4"},{"photo_id":"1330840430","filename":"file1"},{"photo_id":"1330840427","filename":"file0"},{"photo_id":"1330840438","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330840444":["hashtag1","hashtag2"]},{"1330840438":["hashtag1","hashtag2"]},{"1330840441":["hashtag1","hashtag2"]},{"1330840434":["hashtag1","hashtag2"]},{"1330840427":["hashtag1","hashtag2"]},{"1330840430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330840444, 1330840438, 1330840441, 1330840434, 1330840427, 1330840430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88220238685608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:30:32.523528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_54_9401.jpg', '/home/pi/Desktop/images/23012025/15/03/image_23012025_15_04_05_10435.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_15_10465.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_25_9360.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_35_10535.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_44_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_03_54_9401.jpg
/home/pi/Desktop/images/23012025/15/03/image_23012025_15_04_05_10435.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_15_10465.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_25_9360.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_35_10535.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_44_9367.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":["1330840498","1330840494","1330840488","1330840506","1330840484","1330840502"],"photo_ids_order":["1330840484","1330840488","1330840494","1330840498","1330840502","1330840506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b642f7ea09071c68626ef4afe509f97.jpg","text":"TemporaryFile(/tmp/multipartBody5971634824658875846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653493491,"filename":"image_23012025_15_04_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7cb59c26a3d047f7e15c3b06af54828.jpg","text":"TemporaryFile(/tmp/multipartBody9092917372531860966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653493491,"filename":"image_23012025_15_04_15_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4400de0cd00003c5ed942f145a08d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7613140430596831758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653493491,"filename":"image_23012025_15_04_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb1a66284995b4c96b6430b2092bc0e7.jpg","text":"TemporaryFile(/tmp/multipartBody6204365355623475453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653493491,"filename":"image_23012025_15_04_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27284a6bc8a418fc9453d2b2084d07a2.jpg","text":"TemporaryFile(/tmp/multipartBody5162746296310273962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653493491,"filename":"image_23012025_15_03_54_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e892fa6bdc94a40d7179339a3ed4462.jpg","text":"TemporaryFile(/tmp/multipartBody4579916584815952508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653493491,"filename":"image_23012025_15_04_35_10535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330840494","file1":"1330840488","file0":"1330840484","file4":"1330840502","file5":"1330840506","file3":"1330840498"},"map_files_photo_id_array":[{"photo_id":"1330840506","filename":"file5"},{"photo_id":"1330840494","filename":"file2"},{"photo_id":"1330840502","filename":"file4"},{"photo_id":"1330840488","filename":"file1"},{"photo_id":"1330840484","filename":"file0"},{"photo_id":"1330840498","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330840498":["hashtag1","hashtag2"]},{"1330840494":["hashtag1","hashtag2"]},{"1330840488":["hashtag1","hashtag2"]},{"1330840506":["hashtag1","hashtag2"]},{"1330840484":["hashtag1","hashtag2"]},{"1330840502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330840498, 1330840494, 1330840488, 1330840506, 1330840484, 1330840502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.788069009780884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:31:32.747260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_55_10358.jpg', '/home/pi/Desktop/images/23012025/15/04/image_23012025_15_05_05_10387.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_15_9328.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_25_10356.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_35_10353.jpg', '/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_45_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_04_55_10358.jpg
/home/pi/Desktop/images/23012025/15/04/image_23012025_15_05_05_10387.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_15_9328.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_25_10356.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_35_10353.jpg
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_45_9327.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":["1330840939","1330840846","1330840780","1330840794","1330840854","1330840850"],"photo_ids_order":["1330840780","1330840794","1330840846","1330840850","1330840854","1330840939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fa94d26bf9bfb9464f94fed0d03b708.jpg","text":"TemporaryFile(/tmp/multipartBody4997265089959992171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653553739,"filename":"image_23012025_15_05_45_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea11d9c77fdf0f399c9d48434f3cb1e9.jpg","text":"TemporaryFile(/tmp/multipartBody3088494976949127485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653553739,"filename":"image_23012025_15_05_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aeabebbd306a046851dd0ff47b0021df.jpg","text":"TemporaryFile(/tmp/multipartBody6133574636015393094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653553739,"filename":"image_23012025_15_04_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c35827efd1f38cdabb330b51049167b.jpg","text":"TemporaryFile(/tmp/multipartBody4057860774283748963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653553739,"filename":"image_23012025_15_05_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b71fbc4e6385163e2d2d23488635aafd.jpg","text":"TemporaryFile(/tmp/multipartBody5857897341641050287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653553739,"filename":"image_23012025_15_05_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1dde5f10e2e5e3add19b63b51667b519.jpg","text":"TemporaryFile(/tmp/multipartBody3560039709597302032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653553739,"filename":"image_23012025_15_05_25_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330840846","file1":"1330840794","file0":"1330840780","file4":"1330840854","file5":"1330840939","file3":"1330840850"},"map_files_photo_id_array":[{"photo_id":"1330840939","filename":"file5"},{"photo_id":"1330840846","filename":"file2"},{"photo_id":"1330840854","filename":"file4"},{"photo_id":"1330840794","filename":"file1"},{"photo_id":"1330840780","filename":"file0"},{"photo_id":"1330840850","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330840939":["hashtag1","hashtag2"]},{"1330840846":["hashtag1","hashtag2"]},{"1330840780":["hashtag1","hashtag2"]},{"1330840794":["hashtag1","hashtag2"]},{"1330840854":["hashtag1","hashtag2"]},{"1330840850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330840939, 1330840846, 1330840780, 1330840794, 1330840854, 1330840850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70954942703247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:32:32.930086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_55_10347.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_15_10350.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_25_10414.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_34_9333.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_45_10340.jpg', '/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_55_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/05/image_23012025_15_05_55_10347.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_15_10350.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_25_10414.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_34_9333.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_45_10340.jpg
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_06_55_10397.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":["1330841020","1330841025","1330841051","1330841030","1330841056","1330841047"],"photo_ids_order":["1330841020","1330841025","1330841030","1330841047","1330841051","1330841056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a7d2a18e9aebc191573aaeb3af66c05.jpg","text":"TemporaryFile(/tmp/multipartBody1575104710347852334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653613896,"filename":"image_23012025_15_05_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/255853e268f50f444382f0a96d140645.jpg","text":"TemporaryFile(/tmp/multipartBody7356666987026830568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653613896,"filename":"image_23012025_15_06_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/69e04e8d78a55e2094552471111a29b2.jpg","text":"TemporaryFile(/tmp/multipartBody201174818100848153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653613896,"filename":"image_23012025_15_06_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61993ed4c88facc2be35b3e5df7be231.jpg","text":"TemporaryFile(/tmp/multipartBody9009342063040887175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653613896,"filename":"image_23012025_15_06_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d15d865e963adaf747eaa057ccaf032.jpg","text":"TemporaryFile(/tmp/multipartBody8278680241196384391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653613896,"filename":"image_23012025_15_06_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41ec9dfb1b6510f2bf818ce5dde3ba5a.jpg","text":"TemporaryFile(/tmp/multipartBody774366107056161867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653613896,"filename":"image_23012025_15_06_34_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841030","file1":"1330841025","file0":"1330841020","file4":"1330841051","file5":"1330841056","file3":"1330841047"},"map_files_photo_id_array":[{"photo_id":"1330841056","filename":"file5"},{"photo_id":"1330841030","filename":"file2"},{"photo_id":"1330841051","filename":"file4"},{"photo_id":"1330841025","filename":"file1"},{"photo_id":"1330841020","filename":"file0"},{"photo_id":"1330841047","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841020":["hashtag1","hashtag2"]},{"1330841025":["hashtag1","hashtag2"]},{"1330841051":["hashtag1","hashtag2"]},{"1330841030":["hashtag1","hashtag2"]},{"1330841056":["hashtag1","hashtag2"]},{"1330841047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841020, 1330841025, 1330841051, 1330841030, 1330841056, 1330841047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25296187400818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:33:33.107768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/06/image_23012025_15_07_04_9345.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_15_10335.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_25_10354.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_35_9343.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_45_10352.jpg', '/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_55_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/06/image_23012025_15_07_04_9345.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_15_10335.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_25_10354.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_35_9343.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_45_10352.jpg
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_07_55_10368.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":["1330841091","1330841104","1330841094","1330841097","1330841106","1330841102"],"photo_ids_order":["1330841091","1330841094","1330841097","1330841102","1330841104","1330841106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c03a5f195ff91382eafd4f9e62127964.jpg","text":"TemporaryFile(/tmp/multipartBody3139540655943712826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653674105,"filename":"image_23012025_15_07_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6338f50d20fa61c73371ef5e68613e29.jpg","text":"TemporaryFile(/tmp/multipartBody8319063479010441052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653674105,"filename":"image_23012025_15_07_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/044ce15e54455dc9a3a5201a167e86a0.jpg","text":"TemporaryFile(/tmp/multipartBody3567938908795059634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653674105,"filename":"image_23012025_15_07_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34c20608854f78dea2ca2ee1e60f3085.jpg","text":"TemporaryFile(/tmp/multipartBody6577049649259652725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653674105,"filename":"image_23012025_15_07_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e754d30b993715284bb6992a29e0eab7.jpg","text":"TemporaryFile(/tmp/multipartBody9025094615526850750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653674105,"filename":"image_23012025_15_07_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cd995593ae09717e46a568aee7451ce.jpg","text":"TemporaryFile(/tmp/multipartBody5416099353018151831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653674105,"filename":"image_23012025_15_07_35_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841097","file1":"1330841094","file0":"1330841091","file4":"1330841104","file5":"1330841106","file3":"1330841102"},"map_files_photo_id_array":[{"photo_id":"1330841106","filename":"file5"},{"photo_id":"1330841097","filename":"file2"},{"photo_id":"1330841104","filename":"file4"},{"photo_id":"1330841094","filename":"file1"},{"photo_id":"1330841091","filename":"file0"},{"photo_id":"1330841102","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841091":["hashtag1","hashtag2"]},{"1330841104":["hashtag1","hashtag2"]},{"1330841094":["hashtag1","hashtag2"]},{"1330841097":["hashtag1","hashtag2"]},{"1330841106":["hashtag1","hashtag2"]},{"1330841102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841091, 1330841104, 1330841094, 1330841097, 1330841106, 1330841102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97967004776001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:34:32.433450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/07/image_23012025_15_08_05_9337.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_15_10425.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_24_9349.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_35_10358.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_45_10475.jpg', '/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_55_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/07/image_23012025_15_08_05_9337.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_15_10425.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_24_9349.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_35_10358.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_45_10475.jpg
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_08_55_9352.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":["1330841184","1330841192","1330841180","1330841201","1330841207","1330841197"],"photo_ids_order":["1330841180","1330841184","1330841192","1330841197","1330841201","1330841207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1801ce713fb806999cda87e69c5b166d.jpg","text":"TemporaryFile(/tmp/multipartBody1592430386604545534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653733429,"filename":"image_23012025_15_08_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96f34e81cd5a32479676628c74544df4.jpg","text":"TemporaryFile(/tmp/multipartBody112802272588353540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653733429,"filename":"image_23012025_15_08_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b8203bdcf27222c5cc18380bdeb984e.jpg","text":"TemporaryFile(/tmp/multipartBody4609976110767194049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653733429,"filename":"image_23012025_15_08_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aec723a6589a323ce63139439baaa88b.jpg","text":"TemporaryFile(/tmp/multipartBody6851975207097229142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653733429,"filename":"image_23012025_15_08_45_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0451f2592847406fedecc56c276799dd.jpg","text":"TemporaryFile(/tmp/multipartBody6399927442489843964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653733429,"filename":"image_23012025_15_08_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/890468d124bccdcb3a91fb6416b5dc3f.jpg","text":"TemporaryFile(/tmp/multipartBody541585167856986165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653733429,"filename":"image_23012025_15_08_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841192","file1":"1330841184","file0":"1330841180","file4":"1330841201","file5":"1330841207","file3":"1330841197"},"map_files_photo_id_array":[{"photo_id":"1330841207","filename":"file5"},{"photo_id":"1330841192","filename":"file2"},{"photo_id":"1330841201","filename":"file4"},{"photo_id":"1330841184","filename":"file1"},{"photo_id":"1330841180","filename":"file0"},{"photo_id":"1330841197","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841184":["hashtag1","hashtag2"]},{"1330841192":["hashtag1","hashtag2"]},{"1330841180":["hashtag1","hashtag2"]},{"1330841201":["hashtag1","hashtag2"]},{"1330841207":["hashtag1","hashtag2"]},{"1330841197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841184, 1330841192, 1330841180, 1330841201, 1330841207, 1330841197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19617414474487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:35:32.605502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/08/image_23012025_15_09_05_10353.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_15_10359.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_25_9338.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_35_10467.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_44_9341.jpg', '/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/08/image_23012025_15_09_05_10353.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_15_10359.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_25_9338.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_35_10467.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_44_9341.jpg
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_09_55_10351.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":["1330841320","1330841316","1330841325","1330841330","1330841398","1330841402"],"photo_ids_order":["1330841316","1330841320","1330841325","1330841330","1330841398","1330841402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4d77422f3a47c46c99a0b33fe4bbf8d.jpg","text":"TemporaryFile(/tmp/multipartBody8052815765316763219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653793606,"filename":"image_23012025_15_09_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1bcf410360a8c75e505bb269616438a.jpg","text":"TemporaryFile(/tmp/multipartBody4625542863560492296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653793606,"filename":"image_23012025_15_09_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f77da4d647b13caec6e041720c2c12d5.jpg","text":"TemporaryFile(/tmp/multipartBody1963912437648609168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653793606,"filename":"image_23012025_15_09_25_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1a481a0cf30096453cc86ba50a542d9.jpg","text":"TemporaryFile(/tmp/multipartBody1491665485870940201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653793606,"filename":"image_23012025_15_09_35_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24f2b81b0932c1f6cd0574c2096a7b03.jpg","text":"TemporaryFile(/tmp/multipartBody2170229788750857953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653793606,"filename":"image_23012025_15_09_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6829e530b9c4713cb07c5c158ba0bfbc.jpg","text":"TemporaryFile(/tmp/multipartBody9167619435302664243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653793606,"filename":"image_23012025_15_09_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841325","file1":"1330841320","file0":"1330841316","file4":"1330841398","file5":"1330841402","file3":"1330841330"},"map_files_photo_id_array":[{"photo_id":"1330841402","filename":"file5"},{"photo_id":"1330841325","filename":"file2"},{"photo_id":"1330841398","filename":"file4"},{"photo_id":"1330841320","filename":"file1"},{"photo_id":"1330841316","filename":"file0"},{"photo_id":"1330841330","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841320":["hashtag1","hashtag2"]},{"1330841316":["hashtag1","hashtag2"]},{"1330841325":["hashtag1","hashtag2"]},{"1330841330":["hashtag1","hashtag2"]},{"1330841398":["hashtag1","hashtag2"]},{"1330841402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841320, 1330841316, 1330841325, 1330841330, 1330841398, 1330841402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36525321006775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:36:32.750094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/09/image_23012025_15_10_05_10352.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_14_9350.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_25_10359.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_35_10367.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_45_9318.jpg', '/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_55_10245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/09/image_23012025_15_10_05_10352.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_14_9350.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_25_10359.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_35_10367.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_45_9318.jpg
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_10_55_10245.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":["1330841431","1330841439","1330841433","1330841442","1330841447","1330841452"],"photo_ids_order":["1330841431","1330841433","1330841439","1330841442","1330841447","1330841452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e5585210a74573804cba802bfefd38a.jpg","text":"TemporaryFile(/tmp/multipartBody6868176821712117371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653853742,"filename":"image_23012025_15_10_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e90f05ef4a1539c0cc8edb8caa5a3dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4636148007730681495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653853742,"filename":"image_23012025_15_10_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35ff38f69f3af7b8f10480f6d0d02e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1329469468222357186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653853742,"filename":"image_23012025_15_10_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f08b4a227f0291aba840abee932dbaf2.jpg","text":"TemporaryFile(/tmp/multipartBody3319588581774241981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653853742,"filename":"image_23012025_15_10_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be149cc48252e37d71c0f2937288c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody3085845129261084747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653853742,"filename":"image_23012025_15_10_45_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9915c84c7dc08d94dc15a92b17bc9f09.jpg","text":"TemporaryFile(/tmp/multipartBody2955306664396976892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653853742,"filename":"image_23012025_15_10_55_10245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841439","file1":"1330841433","file0":"1330841431","file4":"1330841447","file5":"1330841452","file3":"1330841442"},"map_files_photo_id_array":[{"photo_id":"1330841452","filename":"file5"},{"photo_id":"1330841439","filename":"file2"},{"photo_id":"1330841447","filename":"file4"},{"photo_id":"1330841433","filename":"file1"},{"photo_id":"1330841431","filename":"file0"},{"photo_id":"1330841442","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841431":["hashtag1","hashtag2"]},{"1330841439":["hashtag1","hashtag2"]},{"1330841433":["hashtag1","hashtag2"]},{"1330841442":["hashtag1","hashtag2"]},{"1330841447":["hashtag1","hashtag2"]},{"1330841452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841431, 1330841439, 1330841433, 1330841442, 1330841447, 1330841452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.66662883758545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:37:33.081570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/10/image_23012025_15_11_05_10399.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_15_9343.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_25_10340.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_35_10344.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_45_9319.jpg', '/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_55_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/10/image_23012025_15_11_05_10399.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_15_9343.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_25_10340.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_35_10344.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_45_9319.jpg
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_11_55_10387.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":["1330841530","1330841538","1330841526","1330841522","1330841519","1330841534"],"photo_ids_order":["1330841519","1330841522","1330841526","1330841530","1330841534","1330841538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebb7b0b1986974e6c682436ea3790d22.jpg","text":"TemporaryFile(/tmp/multipartBody1638523734450185929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653914077,"filename":"image_23012025_15_11_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/588ed3d0781ccaf04580a7d6dd41b63b.jpg","text":"TemporaryFile(/tmp/multipartBody7842056223449100353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653914077,"filename":"image_23012025_15_11_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d568c6ad5be8aa3ef416a8a9f32b40c3.jpg","text":"TemporaryFile(/tmp/multipartBody7765219404630794883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653914077,"filename":"image_23012025_15_11_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2156083818bf0d9c621600338312f94c.jpg","text":"TemporaryFile(/tmp/multipartBody1265584487596598645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653914077,"filename":"image_23012025_15_11_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9833ed232006fde5e9032d8a81017acb.jpg","text":"TemporaryFile(/tmp/multipartBody517883439678901232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653914077,"filename":"image_23012025_15_11_05_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10040db6c71659f820f7ad51386e9c48.jpg","text":"TemporaryFile(/tmp/multipartBody469929815777559231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653914077,"filename":"image_23012025_15_11_45_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841526","file1":"1330841522","file0":"1330841519","file4":"1330841534","file5":"1330841538","file3":"1330841530"},"map_files_photo_id_array":[{"photo_id":"1330841538","filename":"file5"},{"photo_id":"1330841526","filename":"file2"},{"photo_id":"1330841534","filename":"file4"},{"photo_id":"1330841522","filename":"file1"},{"photo_id":"1330841519","filename":"file0"},{"photo_id":"1330841530","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841530":["hashtag1","hashtag2"]},{"1330841538":["hashtag1","hashtag2"]},{"1330841526":["hashtag1","hashtag2"]},{"1330841522":["hashtag1","hashtag2"]},{"1330841519":["hashtag1","hashtag2"]},{"1330841534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841530, 1330841538, 1330841526, 1330841522, 1330841519, 1330841534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75216245651245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:38:32.380209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/11/image_23012025_15_12_04_9415.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_15_10374.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_25_10453.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_34_9330.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_45_10388.jpg', '/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_55_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/11/image_23012025_15_12_04_9415.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_15_10374.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_25_10453.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_34_9330.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_45_10388.jpg
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_12_55_10413.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":["1330841589","1330841577","1330841573","1330841596","1330841584","1330841581"],"photo_ids_order":["1330841573","1330841577","1330841581","1330841584","1330841589","1330841596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75e907217c0a0d2464bf62bedfeb3877.jpg","text":"TemporaryFile(/tmp/multipartBody7793404055949788644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653973350,"filename":"image_23012025_15_12_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14ccea9983de619f5ac69b9d6c3d47a7.jpg","text":"TemporaryFile(/tmp/multipartBody2900517216099909004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653973350,"filename":"image_23012025_15_12_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ecce7f7007a11e68527eead2b4e794c.jpg","text":"TemporaryFile(/tmp/multipartBody2176216371984257948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653973350,"filename":"image_23012025_15_12_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d851436215a15bbcdb2f23103a2a86df.jpg","text":"TemporaryFile(/tmp/multipartBody2949407200192730530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653973350,"filename":"image_23012025_15_12_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fec9d136e4a12b568edfb7cb8da6a841.jpg","text":"TemporaryFile(/tmp/multipartBody2261508080422209429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653973350,"filename":"image_23012025_15_12_34_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/add815cb7be109a89a0adfbdc6987c94.jpg","text":"TemporaryFile(/tmp/multipartBody6271819764422152478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737653973350,"filename":"image_23012025_15_12_25_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841581","file1":"1330841577","file0":"1330841573","file4":"1330841589","file5":"1330841596","file3":"1330841584"},"map_files_photo_id_array":[{"photo_id":"1330841596","filename":"file5"},{"photo_id":"1330841581","filename":"file2"},{"photo_id":"1330841589","filename":"file4"},{"photo_id":"1330841577","filename":"file1"},{"photo_id":"1330841573","filename":"file0"},{"photo_id":"1330841584","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841589":["hashtag1","hashtag2"]},{"1330841577":["hashtag1","hashtag2"]},{"1330841573":["hashtag1","hashtag2"]},{"1330841596":["hashtag1","hashtag2"]},{"1330841584":["hashtag1","hashtag2"]},{"1330841581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841589, 1330841577, 1330841573, 1330841596, 1330841584, 1330841581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23913264274597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:39:32.528528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/12/image_23012025_15_13_05_9344.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_15_10468.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_25_9434.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_35_10350.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_45_10353.jpg', '/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_55_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/12/image_23012025_15_13_05_9344.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_15_10468.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_25_9434.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_35_10350.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_45_10353.jpg
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_13_55_9328.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":["1330841638","1330841685","1330841667","1330841690","1330841657","1330841632"],"photo_ids_order":["1330841632","1330841638","1330841657","1330841667","1330841685","1330841690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/513e82d40f37928034e090ea3a92fe58.jpg","text":"TemporaryFile(/tmp/multipartBody1637872602969191157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654033479,"filename":"image_23012025_15_13_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e7b623c86192efa5b67a37820ad56cd.jpg","text":"TemporaryFile(/tmp/multipartBody7738636992483333022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654033479,"filename":"image_23012025_15_13_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7925c4eee0d781de3f9e32d4f98ffaf8.jpg","text":"TemporaryFile(/tmp/multipartBody8392972993728303899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654033479,"filename":"image_23012025_15_13_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f489dd59c6f4ee0ce0eca77b3f6b85e4.jpg","text":"TemporaryFile(/tmp/multipartBody5435871583227565106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654033479,"filename":"image_23012025_15_13_55_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94607f67f6d01b75b99e4e5f1b657a5e.jpg","text":"TemporaryFile(/tmp/multipartBody119168442755006411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654033479,"filename":"image_23012025_15_13_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13d1315e3501a62581ef8d7dbff1eec5.jpg","text":"TemporaryFile(/tmp/multipartBody8633111721338849078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654033479,"filename":"image_23012025_15_13_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841657","file1":"1330841638","file0":"1330841632","file4":"1330841685","file5":"1330841690","file3":"1330841667"},"map_files_photo_id_array":[{"photo_id":"1330841690","filename":"file5"},{"photo_id":"1330841657","filename":"file2"},{"photo_id":"1330841685","filename":"file4"},{"photo_id":"1330841638","filename":"file1"},{"photo_id":"1330841632","filename":"file0"},{"photo_id":"1330841667","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841638":["hashtag1","hashtag2"]},{"1330841685":["hashtag1","hashtag2"]},{"1330841667":["hashtag1","hashtag2"]},{"1330841690":["hashtag1","hashtag2"]},{"1330841657":["hashtag1","hashtag2"]},{"1330841632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841638, 1330841685, 1330841667, 1330841690, 1330841657, 1330841632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.918238162994385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:40:32.618050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/13/image_23012025_15_14_05_10322.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_15_10401.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_25_9354.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_35_10289.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_45_10344.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_55_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_14_05_10322.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_15_10401.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_25_9354.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_35_10289.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_45_10344.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_55_9351.jpg
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: 0.5644457340240479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:40:42.723592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/13/image_23012025_15_14_05_10322.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_15_10401.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_25_9354.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_35_10289.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_45_10344.jpg', '/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_55_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/13/image_23012025_15_14_05_10322.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_15_10401.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_25_9354.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_35_10289.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_45_10344.jpg
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_14_55_9351.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":["1330841792","1330841780","1330841753","1330841816","1330841744","1330841842"],"photo_ids_order":["1330841744","1330841753","1330841780","1330841792","1330841816","1330841842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77a5e7eea288291f247fd8f551739fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3248314980211182169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654103617,"filename":"image_23012025_15_14_35_10289.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e33be88666f7e7dd760715d2c976040.jpg","text":"TemporaryFile(/tmp/multipartBody6039032085343789727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654103617,"filename":"image_23012025_15_14_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82a520f9750cbfe677c2ac9dcf3a0351.jpg","text":"TemporaryFile(/tmp/multipartBody5976401769773431838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654103617,"filename":"image_23012025_15_14_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4257c50ca599cb622810e621a463b520.jpg","text":"TemporaryFile(/tmp/multipartBody2131465911353716499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654103617,"filename":"image_23012025_15_14_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4069463872189526ad0fa53aab713b0.jpg","text":"TemporaryFile(/tmp/multipartBody1324121303798015849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654103617,"filename":"image_23012025_15_14_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8083b9dd0f7f75bb1033ce165ad73ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6652301939809508688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654103617,"filename":"image_23012025_15_14_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841780","file1":"1330841753","file0":"1330841744","file4":"1330841816","file5":"1330841842","file3":"1330841792"},"map_files_photo_id_array":[{"photo_id":"1330841842","filename":"file5"},{"photo_id":"1330841780","filename":"file2"},{"photo_id":"1330841816","filename":"file4"},{"photo_id":"1330841753","filename":"file1"},{"photo_id":"1330841744","filename":"file0"},{"photo_id":"1330841792","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841792":["hashtag1","hashtag2"]},{"1330841780":["hashtag1","hashtag2"]},{"1330841753":["hashtag1","hashtag2"]},{"1330841816":["hashtag1","hashtag2"]},{"1330841744":["hashtag1","hashtag2"]},{"1330841842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841792, 1330841780, 1330841753, 1330841816, 1330841744, 1330841842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.167458295822144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:41:32.935822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/14/image_23012025_15_15_05_10423.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_14_9351.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_25_10352.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_35_10409.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_45_9355.jpg', '/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_55_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/14/image_23012025_15_15_05_10423.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_14_9351.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_25_10352.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_35_10409.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_45_9355.jpg
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_15_55_10328.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":["1330841880","1330841856","1330841876","1330842022","1330841869","1330841863"],"photo_ids_order":["1330841856","1330841863","1330841869","1330841876","1330841880","1330842022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77a2004cb1565cee5d5c97a0fe415945.jpg","text":"TemporaryFile(/tmp/multipartBody5585916845153590361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654153918,"filename":"image_23012025_15_15_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f395bd1a52183a3db5a0828a941a339.jpg","text":"TemporaryFile(/tmp/multipartBody3269125114003310653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654153918,"filename":"image_23012025_15_15_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9c749b0d60ffab40c81a7a4d77e7286.jpg","text":"TemporaryFile(/tmp/multipartBody5374722254845690532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654153918,"filename":"image_23012025_15_15_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/912c123788927284a08145ae4a29836f.jpg","text":"TemporaryFile(/tmp/multipartBody8695377423984127823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654153918,"filename":"image_23012025_15_15_55_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68931605e0db08d68a8f3fabc11616bd.jpg","text":"TemporaryFile(/tmp/multipartBody344759649246756915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654153918,"filename":"image_23012025_15_15_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cb5a380fb45bfc9edcb3c4d1a9f1ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2720526149793309680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654153918,"filename":"image_23012025_15_15_14_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330841869","file1":"1330841863","file0":"1330841856","file4":"1330841880","file5":"1330842022","file3":"1330841876"},"map_files_photo_id_array":[{"photo_id":"1330842022","filename":"file5"},{"photo_id":"1330841869","filename":"file2"},{"photo_id":"1330841880","filename":"file4"},{"photo_id":"1330841863","filename":"file1"},{"photo_id":"1330841856","filename":"file0"},{"photo_id":"1330841876","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330841880":["hashtag1","hashtag2"]},{"1330841856":["hashtag1","hashtag2"]},{"1330841876":["hashtag1","hashtag2"]},{"1330842022":["hashtag1","hashtag2"]},{"1330841869":["hashtag1","hashtag2"]},{"1330841863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330841880, 1330841856, 1330841876, 1330842022, 1330841869, 1330841863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29256987571716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:42:33.032136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/15/image_23012025_15_16_05_10401.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_15_9308.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_25_10358.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_34_9402.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_45_10336.jpg', '/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_55_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/15/image_23012025_15_16_05_10401.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_15_9308.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_25_10358.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_34_9402.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_45_10336.jpg
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_16_55_10415.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":["1330842141","1330842135","1330842145","1330842124","1330842106","1330842115"],"photo_ids_order":["1330842106","1330842115","1330842124","1330842135","1330842141","1330842145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0a275698524e411e9129303eca5545b.jpg","text":"TemporaryFile(/tmp/multipartBody4986908456817406775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654213986,"filename":"image_23012025_15_16_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8b39cc69427c85358ac0d47633e39ef.jpg","text":"TemporaryFile(/tmp/multipartBody7015103383264135584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654213986,"filename":"image_23012025_15_16_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a01c5d530f93e9bd704680d59707195a.jpg","text":"TemporaryFile(/tmp/multipartBody4711283660737847879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654213986,"filename":"image_23012025_15_16_55_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ca225ed47a3e6515192ec5b212b44b2.jpg","text":"TemporaryFile(/tmp/multipartBody4540314856671202266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654213986,"filename":"image_23012025_15_16_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07d017292e89bbe918c0f6fdfb88ff40.jpg","text":"TemporaryFile(/tmp/multipartBody6949516919265185960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654213986,"filename":"image_23012025_15_16_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6be57a78790f83c88312dfa06648802.jpg","text":"TemporaryFile(/tmp/multipartBody2873664001427648318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654213986,"filename":"image_23012025_15_16_15_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842124","file1":"1330842115","file0":"1330842106","file4":"1330842141","file5":"1330842145","file3":"1330842135"},"map_files_photo_id_array":[{"photo_id":"1330842145","filename":"file5"},{"photo_id":"1330842124","filename":"file2"},{"photo_id":"1330842141","filename":"file4"},{"photo_id":"1330842115","filename":"file1"},{"photo_id":"1330842106","filename":"file0"},{"photo_id":"1330842135","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842141":["hashtag1","hashtag2"]},{"1330842135":["hashtag1","hashtag2"]},{"1330842145":["hashtag1","hashtag2"]},{"1330842124":["hashtag1","hashtag2"]},{"1330842106":["hashtag1","hashtag2"]},{"1330842115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842141, 1330842135, 1330842145, 1330842124, 1330842106, 1330842115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27613878250122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:43:32.289187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/16/image_23012025_15_17_04_9307.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_15_10384.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_25_10367.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_34_9315.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_45_10348.jpg', '/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/16/image_23012025_15_17_04_9307.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_15_10384.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_25_10367.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_34_9315.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_45_10348.jpg
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_17_55_10351.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":["1330842191","1330842173","1330842179","1330842184","1330842195","1330842198"],"photo_ids_order":["1330842173","1330842179","1330842184","1330842191","1330842195","1330842198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/edc2712d3204ed3dff7dfabcedc0fc07.jpg","text":"TemporaryFile(/tmp/multipartBody6154829572735561884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654273263,"filename":"image_23012025_15_17_34_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a0b929e8eadb65d6b19ea48573840ca.jpg","text":"TemporaryFile(/tmp/multipartBody248344320922752321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654273263,"filename":"image_23012025_15_17_04_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1967534b25de9a3d1f04d39a1e6aa941.jpg","text":"TemporaryFile(/tmp/multipartBody7108624493608783642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654273263,"filename":"image_23012025_15_17_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bf4a1da7eb06ae876e4b679c5637fcc.jpg","text":"TemporaryFile(/tmp/multipartBody617566298941814973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654273263,"filename":"image_23012025_15_17_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74c6638fe8d068568d5f584f3d49b6b8.jpg","text":"TemporaryFile(/tmp/multipartBody4146496333510169859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654273263,"filename":"image_23012025_15_17_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc4b238ea45efafff2b0c0a14990e920.jpg","text":"TemporaryFile(/tmp/multipartBody4866130349095578795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654273263,"filename":"image_23012025_15_17_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842184","file1":"1330842179","file0":"1330842173","file4":"1330842195","file5":"1330842198","file3":"1330842191"},"map_files_photo_id_array":[{"photo_id":"1330842198","filename":"file5"},{"photo_id":"1330842184","filename":"file2"},{"photo_id":"1330842195","filename":"file4"},{"photo_id":"1330842179","filename":"file1"},{"photo_id":"1330842173","filename":"file0"},{"photo_id":"1330842191","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842191":["hashtag1","hashtag2"]},{"1330842173":["hashtag1","hashtag2"]},{"1330842179":["hashtag1","hashtag2"]},{"1330842184":["hashtag1","hashtag2"]},{"1330842195":["hashtag1","hashtag2"]},{"1330842198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842191, 1330842173, 1330842179, 1330842184, 1330842195, 1330842198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63504767417908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:44:32.446017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/17/image_23012025_15_18_04_9337.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_15_10345.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_25_10451.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_35_9361.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_45_10443.jpg', '/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_54_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/17/image_23012025_15_18_04_9337.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_15_10345.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_25_10451.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_35_9361.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_45_10443.jpg
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_18_54_9337.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":["1330842234","1330842275","1330842239","1330842230","1330842280","1330842261"],"photo_ids_order":["1330842230","1330842234","1330842239","1330842261","1330842275","1330842280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/053045a948a4aa372f50531020d15ac4.jpg","text":"TemporaryFile(/tmp/multipartBody8301449405753681213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654333411,"filename":"image_23012025_15_18_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f37674234bbafe4dffb33a950cb6a4e6.jpg","text":"TemporaryFile(/tmp/multipartBody1659083129851429191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654333411,"filename":"image_23012025_15_18_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef3c40207f4f91236448e8b062971356.jpg","text":"TemporaryFile(/tmp/multipartBody6906413151872558970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654333411,"filename":"image_23012025_15_18_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03e469fb1cbdc2493e7678c1d63bdfa8.jpg","text":"TemporaryFile(/tmp/multipartBody2384332057579784852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654333411,"filename":"image_23012025_15_18_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8480e714e5f42070d3009d8cde93326.jpg","text":"TemporaryFile(/tmp/multipartBody2971927253448917913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654333411,"filename":"image_23012025_15_18_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4851c7b9f690502425e30db8146a0f56.jpg","text":"TemporaryFile(/tmp/multipartBody5649157040661911263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654333411,"filename":"image_23012025_15_18_35_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842239","file1":"1330842234","file0":"1330842230","file4":"1330842275","file5":"1330842280","file3":"1330842261"},"map_files_photo_id_array":[{"photo_id":"1330842280","filename":"file5"},{"photo_id":"1330842239","filename":"file2"},{"photo_id":"1330842275","filename":"file4"},{"photo_id":"1330842234","filename":"file1"},{"photo_id":"1330842230","filename":"file0"},{"photo_id":"1330842261","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842234":["hashtag1","hashtag2"]},{"1330842275":["hashtag1","hashtag2"]},{"1330842239":["hashtag1","hashtag2"]},{"1330842230":["hashtag1","hashtag2"]},{"1330842280":["hashtag1","hashtag2"]},{"1330842261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842234, 1330842275, 1330842239, 1330842230, 1330842280, 1330842261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.733046770095825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:45:32.730165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/18/image_23012025_15_19_05_10314.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_15_10429.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_24_9341.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_35_10346.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_55_9339.jpg', '/home/pi/Desktop/images/23012025/15/19/image_23012025_15_20_05_10316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/18/image_23012025_15_19_05_10314.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_15_10429.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_24_9341.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_35_10346.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_19_55_9339.jpg
/home/pi/Desktop/images/23012025/15/19/image_23012025_15_20_05_10316.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":["1330842345","1330842362","1330842359","1330842350","1330842355","1330842340"],"photo_ids_order":["1330842340","1330842345","1330842350","1330842355","1330842359","1330842362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1291897ffea568c33886cb3d13aad3e8.jpg","text":"TemporaryFile(/tmp/multipartBody1286246595151572863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654393678,"filename":"image_23012025_15_19_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20247b61eefbdda75e6d2be2faf61bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4590664531576432362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654393678,"filename":"image_23012025_15_20_05_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/393777b5bdbc84849f45a7ed7f356d24.jpg","text":"TemporaryFile(/tmp/multipartBody8665314905727826606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654393678,"filename":"image_23012025_15_19_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd35af8b23f9c612408c5c9dd296bc28.jpg","text":"TemporaryFile(/tmp/multipartBody20905155784516754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654393678,"filename":"image_23012025_15_19_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ccad154bff068eaecd3abbd12aca7a2.jpg","text":"TemporaryFile(/tmp/multipartBody6531587493622295802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654393678,"filename":"image_23012025_15_19_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/674c8141678b3aa3279f9623b6ce2b41.jpg","text":"TemporaryFile(/tmp/multipartBody6795206968376304286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654393678,"filename":"image_23012025_15_19_05_10314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842350","file1":"1330842345","file0":"1330842340","file4":"1330842359","file5":"1330842362","file3":"1330842355"},"map_files_photo_id_array":[{"photo_id":"1330842362","filename":"file5"},{"photo_id":"1330842350","filename":"file2"},{"photo_id":"1330842359","filename":"file4"},{"photo_id":"1330842345","filename":"file1"},{"photo_id":"1330842340","filename":"file0"},{"photo_id":"1330842355","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842345":["hashtag1","hashtag2"]},{"1330842362":["hashtag1","hashtag2"]},{"1330842359":["hashtag1","hashtag2"]},{"1330842350":["hashtag1","hashtag2"]},{"1330842355":["hashtag1","hashtag2"]},{"1330842340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842345, 1330842362, 1330842359, 1330842350, 1330842355, 1330842340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87051558494568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:46:32.919775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_15_10345.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_25_9330.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_35_10438.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_44_9338.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_55_10439.jpg', '/home/pi/Desktop/images/23012025/15/20/image_23012025_15_21_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_15_10345.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_25_9330.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_35_10438.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_44_9338.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_20_55_10439.jpg
/home/pi/Desktop/images/23012025/15/20/image_23012025_15_21_05_10349.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":["1330842423","1330842411","1330842420","1330842408","1330842415","1330842406"],"photo_ids_order":["1330842406","1330842408","1330842411","1330842415","1330842420","1330842423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d048d0b5e3924e86afdbce978e2fbc5a.jpg","text":"TemporaryFile(/tmp/multipartBody6993682340913294675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654453866,"filename":"image_23012025_15_21_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03780660f20e21e9e7b3129ad241fa3f.jpg","text":"TemporaryFile(/tmp/multipartBody8143252919305165864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654453866,"filename":"image_23012025_15_20_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4c91b47c4b63442a309c26b416220c3.jpg","text":"TemporaryFile(/tmp/multipartBody2800685675508614611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654453866,"filename":"image_23012025_15_20_55_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/347e05a6cbab003d2b934bb95b47068e.jpg","text":"TemporaryFile(/tmp/multipartBody48425421454933290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654453866,"filename":"image_23012025_15_20_25_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1b71c54a1b9cc3d5d4f6201cb5365e7.jpg","text":"TemporaryFile(/tmp/multipartBody5713458165004674609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654453866,"filename":"image_23012025_15_20_44_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee9207ecdac554b9c23f057edf2d3ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3888012811562282040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654453866,"filename":"image_23012025_15_20_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842411","file1":"1330842408","file0":"1330842406","file4":"1330842420","file5":"1330842423","file3":"1330842415"},"map_files_photo_id_array":[{"photo_id":"1330842423","filename":"file5"},{"photo_id":"1330842411","filename":"file2"},{"photo_id":"1330842420","filename":"file4"},{"photo_id":"1330842408","filename":"file1"},{"photo_id":"1330842406","filename":"file0"},{"photo_id":"1330842415","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842423":["hashtag1","hashtag2"]},{"1330842411":["hashtag1","hashtag2"]},{"1330842420":["hashtag1","hashtag2"]},{"1330842408":["hashtag1","hashtag2"]},{"1330842415":["hashtag1","hashtag2"]},{"1330842406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842423, 1330842411, 1330842420, 1330842408, 1330842415, 1330842406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12781357765198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:47:33.098005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_14_9328.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_25_10354.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_35_10353.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_45_9387.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_55_10495.jpg', '/home/pi/Desktop/images/23012025/15/21/image_23012025_15_22_04_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_14_9328.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_25_10354.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_35_10353.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_45_9387.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_21_55_10495.jpg
/home/pi/Desktop/images/23012025/15/21/image_23012025_15_22_04_9343.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":["1330842491","1330842521","1330842503","1330842512","1330842523","1330842517"],"photo_ids_order":["1330842491","1330842503","1330842512","1330842517","1330842521","1330842523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6ad890832111095b53f310f363c3abb.jpg","text":"TemporaryFile(/tmp/multipartBody4297770545859376933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654514309,"filename":"image_23012025_15_21_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1127eac883a3baf2a2cf574a1b9d0d42.jpg","text":"TemporaryFile(/tmp/multipartBody3920879918372948475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654514309,"filename":"image_23012025_15_21_55_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecb4675df6aff5a75480c49e76c2b03b.jpg","text":"TemporaryFile(/tmp/multipartBody677490862674185814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654514309,"filename":"image_23012025_15_21_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/794b70cb69c414a21e542909ae7e9061.jpg","text":"TemporaryFile(/tmp/multipartBody7015606769809472094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654514309,"filename":"image_23012025_15_21_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84a16699289feec7c8a0eeda90d969ff.jpg","text":"TemporaryFile(/tmp/multipartBody1958200000037400581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654514309,"filename":"image_23012025_15_22_04_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d625bf39521b4dbfca70b2a5093dd046.jpg","text":"TemporaryFile(/tmp/multipartBody6015895703653471456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654514309,"filename":"image_23012025_15_21_45_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842512","file1":"1330842503","file0":"1330842491","file4":"1330842521","file5":"1330842523","file3":"1330842517"},"map_files_photo_id_array":[{"photo_id":"1330842523","filename":"file5"},{"photo_id":"1330842512","filename":"file2"},{"photo_id":"1330842521","filename":"file4"},{"photo_id":"1330842503","filename":"file1"},{"photo_id":"1330842491","filename":"file0"},{"photo_id":"1330842517","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842491":["hashtag1","hashtag2"]},{"1330842521":["hashtag1","hashtag2"]},{"1330842503":["hashtag1","hashtag2"]},{"1330842512":["hashtag1","hashtag2"]},{"1330842523":["hashtag1","hashtag2"]},{"1330842517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842491, 1330842521, 1330842503, 1330842512, 1330842523, 1330842517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35865044593811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:48:32.396382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_15_10357.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_34_9331.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_45_10342.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_55_10351.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_23_04_9338.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_15_10357.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_34_9331.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_45_10342.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_55_10351.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_23_04_9338.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_15_10349.jpg
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: 0.57846999168396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:48:42.416836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_15_10357.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_34_9331.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_45_10342.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_55_10351.jpg', '/home/pi/Desktop/images/23012025/15/22/image_23012025_15_23_04_9338.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_15_10357.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_34_9331.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_45_10342.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_22_55_10351.jpg
/home/pi/Desktop/images/23012025/15/22/image_23012025_15_23_04_9338.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_15_10349.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":["1330842576","1330842563","1330842568","1330842715","1330842709","1330842573"],"photo_ids_order":["1330842563","1330842568","1330842573","1330842576","1330842709","1330842715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b14bd0a53cfe69f0a12e3c7aee3a10a.jpg","text":"TemporaryFile(/tmp/multipartBody1646668449299602009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654583321,"filename":"image_23012025_15_22_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e2b08f144337e1e2a84af3d66a50851.jpg","text":"TemporaryFile(/tmp/multipartBody4873568973228658300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654583321,"filename":"image_23012025_15_22_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3da74108d28e02998ab46535d58449b1.jpg","text":"TemporaryFile(/tmp/multipartBody7894997450302064252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654583321,"filename":"image_23012025_15_22_34_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05e0532a68db72f33ca741d2a78d778b.jpg","text":"TemporaryFile(/tmp/multipartBody3345688345467520803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654583321,"filename":"image_23012025_15_23_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78c0ddf0c49957a477ad22a5f23dbb6c.jpg","text":"TemporaryFile(/tmp/multipartBody3634651672383275961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654583321,"filename":"image_23012025_15_23_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fe8e3e37152320063f54e98310ae6f7.jpg","text":"TemporaryFile(/tmp/multipartBody1222709961256124548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654583321,"filename":"image_23012025_15_22_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842573","file1":"1330842568","file0":"1330842563","file4":"1330842709","file5":"1330842715","file3":"1330842576"},"map_files_photo_id_array":[{"photo_id":"1330842715","filename":"file5"},{"photo_id":"1330842573","filename":"file2"},{"photo_id":"1330842709","filename":"file4"},{"photo_id":"1330842568","filename":"file1"},{"photo_id":"1330842563","filename":"file0"},{"photo_id":"1330842576","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842576":["hashtag1","hashtag2"]},{"1330842563":["hashtag1","hashtag2"]},{"1330842568":["hashtag1","hashtag2"]},{"1330842715":["hashtag1","hashtag2"]},{"1330842709":["hashtag1","hashtag2"]},{"1330842573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842576, 1330842563, 1330842568, 1330842715, 1330842709, 1330842573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17591094970703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:49:32.597051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_25_10368.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_35_9337.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_45_10328.jpg', '/home/pi/Desktop/images/23012025/15/23/image_23012025_15_24_05_9353.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_15_10405.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_24_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_25_10368.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_35_9337.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_23_45_10328.jpg
/home/pi/Desktop/images/23012025/15/23/image_23012025_15_24_05_9353.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_15_10405.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_24_9335.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":["1330842774","1330842741","1330842749","1330842736","1330842802","1330842759"],"photo_ids_order":["1330842736","1330842741","1330842749","1330842759","1330842774","1330842802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1f1dd64695356732e92c359965da38b.jpg","text":"TemporaryFile(/tmp/multipartBody7938693664939276520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654633581,"filename":"image_23012025_15_24_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63298dee759ef33b8a534fd533fa3b49.jpg","text":"TemporaryFile(/tmp/multipartBody5974397423720308977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654633581,"filename":"image_23012025_15_23_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f23aa35b383aaea59ff1f0bc29b3aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5644097408419794139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654633581,"filename":"image_23012025_15_23_45_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/773482208245355807dbfd2736d80a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3794389225951796973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654633581,"filename":"image_23012025_15_23_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50343e1eece776c4b43e755c77af28c9.jpg","text":"TemporaryFile(/tmp/multipartBody3246538209413994732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654633581,"filename":"image_23012025_15_24_24_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80f142a8bad17fd9f8529efa906cc4f9.jpg","text":"TemporaryFile(/tmp/multipartBody295356569439430023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654633581,"filename":"image_23012025_15_24_05_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842749","file1":"1330842741","file0":"1330842736","file4":"1330842774","file5":"1330842802","file3":"1330842759"},"map_files_photo_id_array":[{"photo_id":"1330842802","filename":"file5"},{"photo_id":"1330842749","filename":"file2"},{"photo_id":"1330842774","filename":"file4"},{"photo_id":"1330842741","filename":"file1"},{"photo_id":"1330842736","filename":"file0"},{"photo_id":"1330842759","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842774":["hashtag1","hashtag2"]},{"1330842741":["hashtag1","hashtag2"]},{"1330842749":["hashtag1","hashtag2"]},{"1330842736":["hashtag1","hashtag2"]},{"1330842802":["hashtag1","hashtag2"]},{"1330842759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842774, 1330842741, 1330842749, 1330842736, 1330842802, 1330842759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.963109493255615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:50:32.801032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_35_10350.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_45_10419.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_55_9445.jpg', '/home/pi/Desktop/images/23012025/15/24/image_23012025_15_25_05_10316.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_14_9406.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_25_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_35_10350.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_45_10419.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_24_55_9445.jpg
/home/pi/Desktop/images/23012025/15/24/image_23012025_15_25_05_10316.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_14_9406.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_25_10377.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":["1330842888","1330842878","1330842898","1330842871","1330842925","1330842981"],"photo_ids_order":["1330842871","1330842878","1330842888","1330842898","1330842925","1330842981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d1cb7886fbd6b993e28e49e5e3502be.jpg","text":"TemporaryFile(/tmp/multipartBody810978810305513461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654693767,"filename":"image_23012025_15_24_55_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2c1a88f1da539d50c37ce0c4a577e1a.jpg","text":"TemporaryFile(/tmp/multipartBody7524219594216967898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654693767,"filename":"image_23012025_15_24_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a06830a78045f6ab7c8bf57dde79ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6093602175581145999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654693767,"filename":"image_23012025_15_25_05_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0c91063a53b5c1073c7d3ef979c28d3.jpg","text":"TemporaryFile(/tmp/multipartBody4501966300294445890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654693767,"filename":"image_23012025_15_24_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fed0205a4647cff55cd2c4337ee6a864.jpg","text":"TemporaryFile(/tmp/multipartBody5574644928278318076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654693767,"filename":"image_23012025_15_25_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c0527ec8151f653a3b14f212195f7da.jpg","text":"TemporaryFile(/tmp/multipartBody8801164924095607167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654693767,"filename":"image_23012025_15_25_25_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330842888","file1":"1330842878","file0":"1330842871","file4":"1330842925","file5":"1330842981","file3":"1330842898"},"map_files_photo_id_array":[{"photo_id":"1330842981","filename":"file5"},{"photo_id":"1330842888","filename":"file2"},{"photo_id":"1330842925","filename":"file4"},{"photo_id":"1330842878","filename":"file1"},{"photo_id":"1330842871","filename":"file0"},{"photo_id":"1330842898","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330842888":["hashtag1","hashtag2"]},{"1330842878":["hashtag1","hashtag2"]},{"1330842898":["hashtag1","hashtag2"]},{"1330842871":["hashtag1","hashtag2"]},{"1330842925":["hashtag1","hashtag2"]},{"1330842981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330842888, 1330842878, 1330842898, 1330842871, 1330842925, 1330842981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22090816497803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:51:32.926587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_35_10562.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_45_9345.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_55_10393.jpg', '/home/pi/Desktop/images/23012025/15/25/image_23012025_15_26_04_9445.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_15_10434.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_24_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_35_10562.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_45_9345.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_25_55_10393.jpg
/home/pi/Desktop/images/23012025/15/25/image_23012025_15_26_04_9445.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_15_10434.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_24_9416.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":["1330843178","1330843203","1330843157","1330843213","1330843219","1330843170"],"photo_ids_order":["1330843157","1330843170","1330843178","1330843203","1330843213","1330843219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10a09bb59523a0f0a1ac9fbd1f8d14f5.jpg","text":"TemporaryFile(/tmp/multipartBody5464850678083101878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654753885,"filename":"image_23012025_15_25_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a86d8dddde96fe9cae7a841283bea055.jpg","text":"TemporaryFile(/tmp/multipartBody3163068510304414792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654753885,"filename":"image_23012025_15_26_04_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfb1c97e64c2186ae0feeabb338108b2.jpg","text":"TemporaryFile(/tmp/multipartBody501328279290634716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654753885,"filename":"image_23012025_15_25_35_10562.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca62e1a438d0a1aca21b55096bcbfe27.jpg","text":"TemporaryFile(/tmp/multipartBody7923922197619687279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654753885,"filename":"image_23012025_15_26_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b1b8ee60d09e4562852ef5ca0e82d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2846639090199276826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654753885,"filename":"image_23012025_15_26_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9d9669245a74ea373976c38bcb7940a.jpg","text":"TemporaryFile(/tmp/multipartBody2421593786243846927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654753885,"filename":"image_23012025_15_25_45_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330843178","file1":"1330843170","file0":"1330843157","file4":"1330843213","file5":"1330843219","file3":"1330843203"},"map_files_photo_id_array":[{"photo_id":"1330843219","filename":"file5"},{"photo_id":"1330843178","filename":"file2"},{"photo_id":"1330843213","filename":"file4"},{"photo_id":"1330843170","filename":"file1"},{"photo_id":"1330843157","filename":"file0"},{"photo_id":"1330843203","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330843178":["hashtag1","hashtag2"]},{"1330843203":["hashtag1","hashtag2"]},{"1330843157":["hashtag1","hashtag2"]},{"1330843213":["hashtag1","hashtag2"]},{"1330843219":["hashtag1","hashtag2"]},{"1330843170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330843178, 1330843203, 1330843157, 1330843213, 1330843219, 1330843170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.486786127090454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:52:32.380230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_35_10332.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_45_10420.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_54_9337.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_27_05_10327.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_15_10355.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_24_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_35_10332.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_45_10420.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_54_9337.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_27_05_10327.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_15_10355.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_24_9337.jpg
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: 0.5643312931060791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:52:42.281596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_35_10332.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_45_10420.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_54_9337.jpg', '/home/pi/Desktop/images/23012025/15/26/image_23012025_15_27_05_10327.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_15_10355.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_24_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_35_10332.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_45_10420.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_26_54_9337.jpg
/home/pi/Desktop/images/23012025/15/26/image_23012025_15_27_05_10327.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_15_10355.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_24_9337.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":["1330843431","1330843265","1330843258","1330843252","1330843758","1330843566"],"photo_ids_order":["1330843252","1330843258","1330843265","1330843431","1330843566","1330843758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f74755a9e35d92ed0023f293c323ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7012307981746779731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654823176,"filename":"image_23012025_15_27_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e80918225ac6c4b27ce884017af906d6.jpg","text":"TemporaryFile(/tmp/multipartBody6469552347442209706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654823176,"filename":"image_23012025_15_26_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3f67ff9b77e8850b9fb74285aa090e2.jpg","text":"TemporaryFile(/tmp/multipartBody8716430538500906989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654823176,"filename":"image_23012025_15_26_45_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b8df06594666bd3eb0a3bdec421e959.jpg","text":"TemporaryFile(/tmp/multipartBody3104956818585087763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654823176,"filename":"image_23012025_15_26_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32f052575d099e196f8aea0480ef85bf.jpg","text":"TemporaryFile(/tmp/multipartBody8359643316574287252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654823176,"filename":"image_23012025_15_27_24_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c098da61617592be43cc1a7e1988feb.jpg","text":"TemporaryFile(/tmp/multipartBody7444278788240171092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654823176,"filename":"image_23012025_15_27_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330843265","file1":"1330843258","file0":"1330843252","file4":"1330843566","file5":"1330843758","file3":"1330843431"},"map_files_photo_id_array":[{"photo_id":"1330843758","filename":"file5"},{"photo_id":"1330843265","filename":"file2"},{"photo_id":"1330843566","filename":"file4"},{"photo_id":"1330843258","filename":"file1"},{"photo_id":"1330843252","filename":"file0"},{"photo_id":"1330843431","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330843431":["hashtag1","hashtag2"]},{"1330843265":["hashtag1","hashtag2"]},{"1330843258":["hashtag1","hashtag2"]},{"1330843252":["hashtag1","hashtag2"]},{"1330843758":["hashtag1","hashtag2"]},{"1330843566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330843431, 1330843265, 1330843258, 1330843252, 1330843758, 1330843566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93542718887329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:53:32.466569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_35_10433.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_45_10442.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_55_9330.jpg', '/home/pi/Desktop/images/23012025/15/27/image_23012025_15_28_05_10468.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_14_9359.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_25_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_35_10433.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_45_10442.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_27_55_9330.jpg
/home/pi/Desktop/images/23012025/15/27/image_23012025_15_28_05_10468.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_14_9359.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_25_10364.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":["1330844441","1330844410","1330844320","1330844448","1330844393","1330844453"],"photo_ids_order":["1330844320","1330844393","1330844410","1330844441","1330844448","1330844453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4180bc89def1fdbb21254a1c18db32d4.jpg","text":"TemporaryFile(/tmp/multipartBody5831403340773104433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654873409,"filename":"image_23012025_15_28_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a867f6d41e3f696300225d8674d514e8.jpg","text":"TemporaryFile(/tmp/multipartBody2388676995133772952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654873409,"filename":"image_23012025_15_27_55_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/815b5fdc3336ecd8bf07f0cbe8f87d9b.jpg","text":"TemporaryFile(/tmp/multipartBody514161923887540232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654873409,"filename":"image_23012025_15_27_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d612a0242f3590c914ad76e69db4408.jpg","text":"TemporaryFile(/tmp/multipartBody482083384650510599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654873409,"filename":"image_23012025_15_28_14_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e3820f79a8ebc6516ccd4cd0c0e76b5.jpg","text":"TemporaryFile(/tmp/multipartBody6833098013642515101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654873409,"filename":"image_23012025_15_27_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46e5a774902f878af23b9fe161a231d1.jpg","text":"TemporaryFile(/tmp/multipartBody5904690544106931026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654873409,"filename":"image_23012025_15_28_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330844410","file1":"1330844393","file0":"1330844320","file4":"1330844448","file5":"1330844453","file3":"1330844441"},"map_files_photo_id_array":[{"photo_id":"1330844453","filename":"file5"},{"photo_id":"1330844410","filename":"file2"},{"photo_id":"1330844448","filename":"file4"},{"photo_id":"1330844393","filename":"file1"},{"photo_id":"1330844320","filename":"file0"},{"photo_id":"1330844441","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330844441":["hashtag1","hashtag2"]},{"1330844410":["hashtag1","hashtag2"]},{"1330844320":["hashtag1","hashtag2"]},{"1330844448":["hashtag1","hashtag2"]},{"1330844393":["hashtag1","hashtag2"]},{"1330844453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330844441, 1330844410, 1330844320, 1330844448, 1330844393, 1330844453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.95857095718384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:54:32.624274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_35_10409.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_45_9421.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_55_10520.jpg', '/home/pi/Desktop/images/23012025/15/28/image_23012025_15_29_04_9332.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_15_10514.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_24_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_35_10409.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_45_9421.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_28_55_10520.jpg
/home/pi/Desktop/images/23012025/15/28/image_23012025_15_29_04_9332.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_15_10514.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_24_9351.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":["1330844555","1330844540","1330844580","1330844512","1330844547","1330844514"],"photo_ids_order":["1330844512","1330844514","1330844540","1330844547","1330844555","1330844580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7407eeb5fa3304dce831e0e56784d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6918268729938792263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654933579,"filename":"image_23012025_15_29_15_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4795ca2965563e01c52c77dce56b2fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3223973873673070471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654933579,"filename":"image_23012025_15_28_55_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0ce3d3f7f3817e37466ba88ca960948.jpg","text":"TemporaryFile(/tmp/multipartBody7772869196264008352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654933579,"filename":"image_23012025_15_29_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a517c057357fb648e7fa2b317f27106.jpg","text":"TemporaryFile(/tmp/multipartBody2492562043571999085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654933579,"filename":"image_23012025_15_28_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0b3d6746ac1238a789d5066f3dde822.jpg","text":"TemporaryFile(/tmp/multipartBody4393357326601463015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654933579,"filename":"image_23012025_15_29_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf0faf0853ff41ebc371064c9dd2dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody4920109405059037812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654933579,"filename":"image_23012025_15_28_45_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330844540","file1":"1330844514","file0":"1330844512","file4":"1330844555","file5":"1330844580","file3":"1330844547"},"map_files_photo_id_array":[{"photo_id":"1330844580","filename":"file5"},{"photo_id":"1330844540","filename":"file2"},{"photo_id":"1330844555","filename":"file4"},{"photo_id":"1330844514","filename":"file1"},{"photo_id":"1330844512","filename":"file0"},{"photo_id":"1330844547","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330844555":["hashtag1","hashtag2"]},{"1330844540":["hashtag1","hashtag2"]},{"1330844580":["hashtag1","hashtag2"]},{"1330844512":["hashtag1","hashtag2"]},{"1330844547":["hashtag1","hashtag2"]},{"1330844514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330844555, 1330844540, 1330844580, 1330844512, 1330844547, 1330844514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02610421180725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:55:33.003280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_35_10331.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_45_10445.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_54_9348.jpg', '/home/pi/Desktop/images/23012025/15/29/image_23012025_15_30_05_10363.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_15_10366.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_25_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_35_10331.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_45_10445.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_29_54_9348.jpg
/home/pi/Desktop/images/23012025/15/29/image_23012025_15_30_05_10363.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_15_10366.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_25_9356.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":["1330845002","1330845067","1330845106","1330845096","1330844970","1330845086"],"photo_ids_order":["1330844970","1330845002","1330845067","1330845086","1330845096","1330845106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/622c2e04770d746b15452afe08093bc4.jpg","text":"TemporaryFile(/tmp/multipartBody2354953640956392173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654993968,"filename":"image_23012025_15_29_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8779cc2dc53c42195facee20c636572e.jpg","text":"TemporaryFile(/tmp/multipartBody2388952123738048804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654993968,"filename":"image_23012025_15_29_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aae238ea8792901196afa990b03d3438.jpg","text":"TemporaryFile(/tmp/multipartBody3471466509244359501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654993968,"filename":"image_23012025_15_30_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2862c441615fdfefb643643e787c9df.jpg","text":"TemporaryFile(/tmp/multipartBody3982709839190820931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654993968,"filename":"image_23012025_15_30_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/422f93a3269028c1607fd85801140df6.jpg","text":"TemporaryFile(/tmp/multipartBody8335531271951581185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654993968,"filename":"image_23012025_15_29_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c1610390e638698f60ec5d76977bbb6.jpg","text":"TemporaryFile(/tmp/multipartBody4357257352836263717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737654993968,"filename":"image_23012025_15_30_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330845067","file1":"1330845002","file0":"1330844970","file4":"1330845096","file5":"1330845106","file3":"1330845086"},"map_files_photo_id_array":[{"photo_id":"1330845106","filename":"file5"},{"photo_id":"1330845067","filename":"file2"},{"photo_id":"1330845096","filename":"file4"},{"photo_id":"1330845002","filename":"file1"},{"photo_id":"1330844970","filename":"file0"},{"photo_id":"1330845086","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330845002":["hashtag1","hashtag2"]},{"1330845067":["hashtag1","hashtag2"]},{"1330845106":["hashtag1","hashtag2"]},{"1330845096":["hashtag1","hashtag2"]},{"1330844970":["hashtag1","hashtag2"]},{"1330845086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330845002, 1330845067, 1330845106, 1330845096, 1330844970, 1330845086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.51600241661072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:56:33.260669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_35_10454.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_44_9348.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_55_10344.jpg', '/home/pi/Desktop/images/23012025/15/30/image_23012025_15_31_05_10355.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_14_9340.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_25_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_35_10454.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_44_9348.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_30_55_10344.jpg
/home/pi/Desktop/images/23012025/15/30/image_23012025_15_31_05_10355.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_14_9340.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_25_10360.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":["1330845445","1330845220","1330845383","1330845315","1330845236","1330845245"],"photo_ids_order":["1330845220","1330845236","1330845245","1330845315","1330845383","1330845445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68e02c7b1126db0a6fdcf614a0ddbae6.jpg","text":"TemporaryFile(/tmp/multipartBody3587907660407949350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655054212,"filename":"image_23012025_15_31_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfad9378957319ddd1946836767d0d52.jpg","text":"TemporaryFile(/tmp/multipartBody8787799581496073067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655054212,"filename":"image_23012025_15_30_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fd00aa3a82e28ea2920a6efcdffd0a5.jpg","text":"TemporaryFile(/tmp/multipartBody422652750655006650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655054212,"filename":"image_23012025_15_31_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f74658c4ff044ebb40ba2a9ed60ca916.jpg","text":"TemporaryFile(/tmp/multipartBody8466437866870956367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655054212,"filename":"image_23012025_15_31_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5403cd5f8b1437605d97c63beeb6685b.jpg","text":"TemporaryFile(/tmp/multipartBody3109493687001585204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655054212,"filename":"image_23012025_15_30_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82e339bc74cd7ab4d5618c4aa0a8b761.jpg","text":"TemporaryFile(/tmp/multipartBody2247490641159914256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655054212,"filename":"image_23012025_15_30_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330845245","file1":"1330845236","file0":"1330845220","file4":"1330845383","file5":"1330845445","file3":"1330845315"},"map_files_photo_id_array":[{"photo_id":"1330845445","filename":"file5"},{"photo_id":"1330845245","filename":"file2"},{"photo_id":"1330845383","filename":"file4"},{"photo_id":"1330845236","filename":"file1"},{"photo_id":"1330845220","filename":"file0"},{"photo_id":"1330845315","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330845445":["hashtag1","hashtag2"]},{"1330845220":["hashtag1","hashtag2"]},{"1330845383":["hashtag1","hashtag2"]},{"1330845315":["hashtag1","hashtag2"]},{"1330845236":["hashtag1","hashtag2"]},{"1330845245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330845445, 1330845220, 1330845383, 1330845315, 1330845236, 1330845245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91432285308838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 18:57:32.399598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_35_10398.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_45_9397.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_55_10357.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_32_04_9387.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_15_10366.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_25_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_35_10398.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_45_9397.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_55_10357.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_32_04_9387.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_15_10366.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_25_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 18:59:04.115313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_35_10398.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_45_9397.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_55_10357.jpg', '/home/pi/Desktop/images/23012025/15/31/image_23012025_15_32_04_9387.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_15_10366.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_25_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_35_10398.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_45_9397.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_31_55_10357.jpg
/home/pi/Desktop/images/23012025/15/31/image_23012025_15_32_04_9387.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_15_10366.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_25_10473.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":["1330845898","1330845885","1330845918","1330845893","1330845935","1330845905"],"photo_ids_order":["1330845885","1330845893","1330845898","1330845905","1330845918","1330845935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a8f824b13a6240d4ee2fca4d71f6a67.jpg","text":"TemporaryFile(/tmp/multipartBody4251944306691172863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655206439,"filename":"image_23012025_15_31_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a994ca33e83dc161fade11a9c1b3c66b.jpg","text":"TemporaryFile(/tmp/multipartBody7118263336679659196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655206439,"filename":"image_23012025_15_31_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f4bfbec8aec5d4ab9f4a66a7573369b.jpg","text":"TemporaryFile(/tmp/multipartBody5924239822021540062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655206439,"filename":"image_23012025_15_32_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00ec244337685618bb666ffce2acb77b.jpg","text":"TemporaryFile(/tmp/multipartBody4039734861390787190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655206439,"filename":"image_23012025_15_31_45_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16ec82f03651ee48f1e9deec0f307d63.jpg","text":"TemporaryFile(/tmp/multipartBody8750119608318208039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655206439,"filename":"image_23012025_15_32_25_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/971d59192504d6223201c671a77ee278.jpg","text":"TemporaryFile(/tmp/multipartBody3622811542703969846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655206439,"filename":"image_23012025_15_32_04_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330845898","file1":"1330845893","file0":"1330845885","file4":"1330845918","file5":"1330845935","file3":"1330845905"},"map_files_photo_id_array":[{"photo_id":"1330845935","filename":"file5"},{"photo_id":"1330845898","filename":"file2"},{"photo_id":"1330845918","filename":"file4"},{"photo_id":"1330845893","filename":"file1"},{"photo_id":"1330845885","filename":"file0"},{"photo_id":"1330845905","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330845898":["hashtag1","hashtag2"]},{"1330845885":["hashtag1","hashtag2"]},{"1330845918":["hashtag1","hashtag2"]},{"1330845893":["hashtag1","hashtag2"]},{"1330845935":["hashtag1","hashtag2"]},{"1330845905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330845898, 1330845885, 1330845918, 1330845893, 1330845935, 1330845905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60521984100342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 18:59:53.055320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_24_9336.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_35_10349.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_45_10311.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_54_9336.jpg', '/home/pi/Desktop/images/20012025/08/36/image_20012025_08_37_05_10481.jpg', '/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_14_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_24_9336.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_35_10349.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_45_10311.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_36_54_9336.jpg
/home/pi/Desktop/images/20012025/08/36/image_20012025_08_37_05_10481.jpg
/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_14_9340.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":["1330846000","1330845993","1330845996","1330845981","1330845978","1330845986"],"photo_ids_order":["1330845978","1330845981","1330845986","1330845993","1330845996","1330846000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34f658f3a95421d18dfe0cf21766c208.jpg","text":"TemporaryFile(/tmp/multipartBody390521788599714427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655255378,"filename":"image_20012025_08_37_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94a4c26a7382884466eef23be64b83ac.jpg","text":"TemporaryFile(/tmp/multipartBody5414751919008657008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655255378,"filename":"image_20012025_08_36_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/151c7e477c84e00ac80a913f815faeb5.jpg","text":"TemporaryFile(/tmp/multipartBody5766275168960969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655255378,"filename":"image_20012025_08_37_05_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0461495629a2a7821cb915cb5c8af3d.jpg","text":"TemporaryFile(/tmp/multipartBody8825893600349269917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655255378,"filename":"image_20012025_08_36_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b30730614a6b4a7db75db145e84ffc0.jpg","text":"TemporaryFile(/tmp/multipartBody6920981409840179349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655255378,"filename":"image_20012025_08_36_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/383bcd955939d08a620c082ec524a965.jpg","text":"TemporaryFile(/tmp/multipartBody2580543045585961419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655255378,"filename":"image_20012025_08_36_45_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330845986","file1":"1330845981","file0":"1330845978","file4":"1330845996","file5":"1330846000","file3":"1330845993"},"map_files_photo_id_array":[{"photo_id":"1330846000","filename":"file5"},{"photo_id":"1330845986","filename":"file2"},{"photo_id":"1330845996","filename":"file4"},{"photo_id":"1330845981","filename":"file1"},{"photo_id":"1330845978","filename":"file0"},{"photo_id":"1330845993","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330846000":["hashtag1","hashtag2"]},{"1330845993":["hashtag1","hashtag2"]},{"1330845996":["hashtag1","hashtag2"]},{"1330845981":["hashtag1","hashtag2"]},{"1330845978":["hashtag1","hashtag2"]},{"1330845986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330846000, 1330845993, 1330845996, 1330845981, 1330845978, 1330845986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31349754333496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:00:42.429695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_34_9324.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_45_10340.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_55_10357.jpg', '/home/pi/Desktop/images/23012025/15/32/image_23012025_15_33_05_9340.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_15_10333.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_25_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_34_9324.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_45_10340.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_32_55_10357.jpg
/home/pi/Desktop/images/23012025/15/32/image_23012025_15_33_05_9340.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_15_10333.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_25_10358.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":["1330846033","1330846042","1330846030","1330846032","1330846020","1330846037"],"photo_ids_order":["1330846020","1330846030","1330846032","1330846033","1330846037","1330846042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc16046a59ca5eb33d09c2e7cca5bde5.jpg","text":"TemporaryFile(/tmp/multipartBody1694131744738035006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655303441,"filename":"image_23012025_15_33_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f74c96c3ba48b18f518971c69d0f4be1.jpg","text":"TemporaryFile(/tmp/multipartBody3594453084999819549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655303441,"filename":"image_23012025_15_33_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0526b1d397a273cf8aa2b3774323f1e6.jpg","text":"TemporaryFile(/tmp/multipartBody7683348773004922568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655303441,"filename":"image_23012025_15_32_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91fc4f13d179fe61e8c26929d45ad84b.jpg","text":"TemporaryFile(/tmp/multipartBody1432111685557346207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655303441,"filename":"image_23012025_15_32_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f815f09e45042b21dd377ea3794b5557.jpg","text":"TemporaryFile(/tmp/multipartBody5613470172334453339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655303441,"filename":"image_23012025_15_32_34_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e4234d950d977ca56c613c10332abff.jpg","text":"TemporaryFile(/tmp/multipartBody8490464390286284859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655303441,"filename":"image_23012025_15_33_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330846032","file1":"1330846030","file0":"1330846020","file4":"1330846037","file5":"1330846042","file3":"1330846033"},"map_files_photo_id_array":[{"photo_id":"1330846042","filename":"file5"},{"photo_id":"1330846032","filename":"file2"},{"photo_id":"1330846037","filename":"file4"},{"photo_id":"1330846030","filename":"file1"},{"photo_id":"1330846020","filename":"file0"},{"photo_id":"1330846033","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330846033":["hashtag1","hashtag2"]},{"1330846042":["hashtag1","hashtag2"]},{"1330846030":["hashtag1","hashtag2"]},{"1330846032":["hashtag1","hashtag2"]},{"1330846020":["hashtag1","hashtag2"]},{"1330846037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330846033, 1330846042, 1330846030, 1330846032, 1330846020, 1330846037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29989004135132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:01:32.535752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_35_9338.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_45_10504.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_54_9397.jpg', '/home/pi/Desktop/images/23012025/15/33/image_23012025_15_34_05_10335.jpg', '/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_15_10359.jpg', '/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_25_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_35_9338.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_45_10504.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_33_54_9397.jpg
/home/pi/Desktop/images/23012025/15/33/image_23012025_15_34_05_10335.jpg
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_15_10359.jpg
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_25_9424.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":["1330846072","1330846079","1330846088","1330846061","1330846064","1330846084"],"photo_ids_order":["1330846061","1330846064","1330846072","1330846079","1330846084","1330846088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8fd9d010e8dc9edcceb49252810f2d8.jpg","text":"TemporaryFile(/tmp/multipartBody1362460082469560622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655353485,"filename":"image_23012025_15_33_54_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3da3c0eac2894f1398469c729d353d37.jpg","text":"TemporaryFile(/tmp/multipartBody8294560444310141361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655353485,"filename":"image_23012025_15_34_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ed844b629f800a039cfe11657035978.jpg","text":"TemporaryFile(/tmp/multipartBody1085610238126346399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655353485,"filename":"image_23012025_15_34_25_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c3a831744399f527f514c543d88b5a5.jpg","text":"TemporaryFile(/tmp/multipartBody4203914871141933130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655353485,"filename":"image_23012025_15_33_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/096993dd1d7ec2e0832c56a00f82bc74.jpg","text":"TemporaryFile(/tmp/multipartBody8987643856863381452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655353485,"filename":"image_23012025_15_33_45_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a47333d44f10ebd9b30338241684e9db.jpg","text":"TemporaryFile(/tmp/multipartBody8520456746307618698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655353485,"filename":"image_23012025_15_34_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330846072","file1":"1330846064","file0":"1330846061","file4":"1330846084","file5":"1330846088","file3":"1330846079"},"map_files_photo_id_array":[{"photo_id":"1330846088","filename":"file5"},{"photo_id":"1330846072","filename":"file2"},{"photo_id":"1330846084","filename":"file4"},{"photo_id":"1330846064","filename":"file1"},{"photo_id":"1330846061","filename":"file0"},{"photo_id":"1330846079","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330846072":["hashtag1","hashtag2"]},{"1330846079":["hashtag1","hashtag2"]},{"1330846088":["hashtag1","hashtag2"]},{"1330846061":["hashtag1","hashtag2"]},{"1330846064":["hashtag1","hashtag2"]},{"1330846084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330846072, 1330846079, 1330846088, 1330846061, 1330846064, 1330846084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98430633544922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:02:32.644240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_44_9402.jpg', '/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_55_10378.jpg', '/home/pi/Desktop/images/23012025/15/34/image_23012025_15_35_05_10385.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_15_9333.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_25_10496.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_34_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_44_9402.jpg
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_34_55_10378.jpg
/home/pi/Desktop/images/23012025/15/34/image_23012025_15_35_05_10385.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_15_9333.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_25_10496.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_34_9346.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":["1330846194","1330846173","1330846197","1330846199","1330846166","1330846189"],"photo_ids_order":["1330846166","1330846173","1330846189","1330846194","1330846197","1330846199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7ab4081339c9f85376f1cb03a201016.jpg","text":"TemporaryFile(/tmp/multipartBody5007004439252986021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655413612,"filename":"image_23012025_15_35_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f293c7ac76024bb8db6ec95647f3967.jpg","text":"TemporaryFile(/tmp/multipartBody2015499238678022501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655413612,"filename":"image_23012025_15_34_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1ae349eeda957faef95f530fb438a42.jpg","text":"TemporaryFile(/tmp/multipartBody5976139688762071971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655413612,"filename":"image_23012025_15_35_25_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c15132d243745e718997f3f025a71657.jpg","text":"TemporaryFile(/tmp/multipartBody1478449206495821684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655413612,"filename":"image_23012025_15_35_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0ef047b56c7a024ad717be32282eea9.jpg","text":"TemporaryFile(/tmp/multipartBody1345076569658803218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655413612,"filename":"image_23012025_15_34_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e79d83120a9f3a5c2598a736208866a4.jpg","text":"TemporaryFile(/tmp/multipartBody9210885662416871573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655413612,"filename":"image_23012025_15_35_05_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330846189","file1":"1330846173","file0":"1330846166","file4":"1330846197","file5":"1330846199","file3":"1330846194"},"map_files_photo_id_array":[{"photo_id":"1330846199","filename":"file5"},{"photo_id":"1330846189","filename":"file2"},{"photo_id":"1330846197","filename":"file4"},{"photo_id":"1330846173","filename":"file1"},{"photo_id":"1330846166","filename":"file0"},{"photo_id":"1330846194","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330846194":["hashtag1","hashtag2"]},{"1330846173":["hashtag1","hashtag2"]},{"1330846197":["hashtag1","hashtag2"]},{"1330846199":["hashtag1","hashtag2"]},{"1330846166":["hashtag1","hashtag2"]},{"1330846189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330846194, 1330846173, 1330846197, 1330846199, 1330846166, 1330846189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20748567581177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:03:32.766971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_45_10324.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_55_10460.jpg', '/home/pi/Desktop/images/23012025/15/35/image_23012025_15_36_04_9333.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_15_10419.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_24_9383.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_35_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_45_10324.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_35_55_10460.jpg
/home/pi/Desktop/images/23012025/15/35/image_23012025_15_36_04_9333.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_15_10419.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_24_9383.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_35_10335.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":["1330846267","1330846281","1330846271","1330846259","1330846250","1330846274"],"photo_ids_order":["1330846250","1330846259","1330846267","1330846271","1330846274","1330846281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/754e44f826b8cce9481904e07c100b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5294628849496803809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655473748,"filename":"image_23012025_15_36_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/895a3a46d5c958345f68acf2a18151e1.jpg","text":"TemporaryFile(/tmp/multipartBody825229215448158659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655473748,"filename":"image_23012025_15_36_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/136f83ee8b2445c2d90b1904a3cef0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5427538641924351980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655473748,"filename":"image_23012025_15_36_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3afb81e963a557746f3369e31f591a48.jpg","text":"TemporaryFile(/tmp/multipartBody472688659452782041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655473748,"filename":"image_23012025_15_35_55_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d8214cfa5a9a4ca7304bfe71d4257d7.jpg","text":"TemporaryFile(/tmp/multipartBody5426104681782656297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655473748,"filename":"image_23012025_15_35_45_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf89a68d4d6419083e8f3a23a6c3c8f5.jpg","text":"TemporaryFile(/tmp/multipartBody2966856437666614646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655473748,"filename":"image_23012025_15_36_24_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330846267","file1":"1330846259","file0":"1330846250","file4":"1330846274","file5":"1330846281","file3":"1330846271"},"map_files_photo_id_array":[{"photo_id":"1330846281","filename":"file5"},{"photo_id":"1330846267","filename":"file2"},{"photo_id":"1330846274","filename":"file4"},{"photo_id":"1330846259","filename":"file1"},{"photo_id":"1330846250","filename":"file0"},{"photo_id":"1330846271","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330846267":["hashtag1","hashtag2"]},{"1330846281":["hashtag1","hashtag2"]},{"1330846271":["hashtag1","hashtag2"]},{"1330846259":["hashtag1","hashtag2"]},{"1330846250":["hashtag1","hashtag2"]},{"1330846274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330846267, 1330846281, 1330846271, 1330846259, 1330846250, 1330846274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04004192352295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:04:32.916223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_45_10408.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_54_9339.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_37_05_10332.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_15_10444.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_25_9360.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_35_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_45_10408.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_54_9339.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_37_05_10332.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_15_10444.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_25_9360.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_35_10341.jpg
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: 0.5837123394012451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:04:42.975592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_45_10408.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_54_9339.jpg', '/home/pi/Desktop/images/23012025/15/36/image_23012025_15_37_05_10332.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_15_10444.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_25_9360.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_35_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_45_10408.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_36_54_9339.jpg
/home/pi/Desktop/images/23012025/15/36/image_23012025_15_37_05_10332.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_15_10444.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_25_9360.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_35_10341.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":["1330846377","1330846410","1330846404","1330846394","1330846415","1330846399"],"photo_ids_order":["1330846377","1330846394","1330846399","1330846404","1330846410","1330846415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61f8ed373dc9ff107d32479b5397fd5c.jpg","text":"TemporaryFile(/tmp/multipartBody4761629518484318521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655543871,"filename":"image_23012025_15_36_45_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7242ebb4845408c5ffadbf65305e9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4088949060290542673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655543871,"filename":"image_23012025_15_37_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0490c21eb8d0f3cbeebd44ac4f4f1836.jpg","text":"TemporaryFile(/tmp/multipartBody3132233451434795527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655543871,"filename":"image_23012025_15_37_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f21686b0ebbeeb58f95cf6a330af3da.jpg","text":"TemporaryFile(/tmp/multipartBody3218914775175960142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655543871,"filename":"image_23012025_15_36_54_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bd7eacb68d2eeebe6fec64f17454298.jpg","text":"TemporaryFile(/tmp/multipartBody2077274290360791325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655543871,"filename":"image_23012025_15_37_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77cbbefb697e5b48ea863a261d8fa1c5.jpg","text":"TemporaryFile(/tmp/multipartBody1346763890022473434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655543871,"filename":"image_23012025_15_37_05_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330846399","file1":"1330846394","file0":"1330846377","file4":"1330846410","file5":"1330846415","file3":"1330846404"},"map_files_photo_id_array":[{"photo_id":"1330846415","filename":"file5"},{"photo_id":"1330846399","filename":"file2"},{"photo_id":"1330846410","filename":"file4"},{"photo_id":"1330846394","filename":"file1"},{"photo_id":"1330846377","filename":"file0"},{"photo_id":"1330846404","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330846377":["hashtag1","hashtag2"]},{"1330846410":["hashtag1","hashtag2"]},{"1330846404":["hashtag1","hashtag2"]},{"1330846394":["hashtag1","hashtag2"]},{"1330846415":["hashtag1","hashtag2"]},{"1330846399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330846377, 1330846410, 1330846404, 1330846394, 1330846415, 1330846399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18370532989502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:05:33.245550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_45_10390.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_55_9322.jpg', '/home/pi/Desktop/images/23012025/15/37/image_23012025_15_38_05_10447.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_14_9431.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_25_10429.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_34_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_45_10390.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_37_55_9322.jpg
/home/pi/Desktop/images/23012025/15/37/image_23012025_15_38_05_10447.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_14_9431.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_25_10429.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_34_9402.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":["1330846441","1330846435","1330846447","1330846431","1330846451","1330846454"],"photo_ids_order":["1330846431","1330846435","1330846441","1330846447","1330846451","1330846454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55f398d747d6383835fc320621b952cb.jpg","text":"TemporaryFile(/tmp/multipartBody6279826829499788723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655594208,"filename":"image_23012025_15_38_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/768654bc7a0f46b52902c27431add40b.jpg","text":"TemporaryFile(/tmp/multipartBody5685568171499507922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655594208,"filename":"image_23012025_15_37_55_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5c298b1121c073c564ee11e86f4c9ee.jpg","text":"TemporaryFile(/tmp/multipartBody5304242704833315799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655594208,"filename":"image_23012025_15_38_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/696b1766191b2e3341fd95db91abd1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5295995115402509553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655594208,"filename":"image_23012025_15_37_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00998d8afd12e487b501c99e335c6c58.jpg","text":"TemporaryFile(/tmp/multipartBody7398246674006641866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655594208,"filename":"image_23012025_15_38_25_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb431a262c8af95f159dfd99c1c92491.jpg","text":"TemporaryFile(/tmp/multipartBody3842908447143378959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655594208,"filename":"image_23012025_15_38_34_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330846441","file1":"1330846435","file0":"1330846431","file4":"1330846451","file5":"1330846454","file3":"1330846447"},"map_files_photo_id_array":[{"photo_id":"1330846454","filename":"file5"},{"photo_id":"1330846441","filename":"file2"},{"photo_id":"1330846451","filename":"file4"},{"photo_id":"1330846435","filename":"file1"},{"photo_id":"1330846431","filename":"file0"},{"photo_id":"1330846447","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330846441":["hashtag1","hashtag2"]},{"1330846435":["hashtag1","hashtag2"]},{"1330846447":["hashtag1","hashtag2"]},{"1330846431":["hashtag1","hashtag2"]},{"1330846451":["hashtag1","hashtag2"]},{"1330846454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330846441, 1330846435, 1330846447, 1330846431, 1330846451, 1330846454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.280049324035645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:06:32.403560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_45_10357.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_55_10397.jpg', '/home/pi/Desktop/images/23012025/15/38/image_23012025_15_39_04_9322.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_15_10327.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_25_10385.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_34_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_45_10357.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_38_55_10397.jpg
/home/pi/Desktop/images/23012025/15/38/image_23012025_15_39_04_9322.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_15_10327.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_25_10385.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_34_9331.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":["1330846491","1330847246","1330847036","1330847105","1330846823","1330846588"],"photo_ids_order":["1330846491","1330846588","1330846823","1330847036","1330847105","1330847246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6239e08e783ebbc6833415ea724fbdaf.jpg","text":"TemporaryFile(/tmp/multipartBody146671904979505990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655653381,"filename":"image_23012025_15_38_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea8eeb63ac31643491b1ee1496988381.jpg","text":"TemporaryFile(/tmp/multipartBody6427749607755099017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655653381,"filename":"image_23012025_15_39_34_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd457f66379583e957cc083579b884fa.jpg","text":"TemporaryFile(/tmp/multipartBody3051450895971912084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655653381,"filename":"image_23012025_15_39_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed6cdea4d80849e4b372c5ac712f6cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2288268802397710284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655653381,"filename":"image_23012025_15_39_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/426cb27136ed10507731e9c030659f2b.jpg","text":"TemporaryFile(/tmp/multipartBody7406608541170995067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655653381,"filename":"image_23012025_15_39_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e12c09c3a3aef2184b2605be265ba57.jpg","text":"TemporaryFile(/tmp/multipartBody3912361020929366047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655653381,"filename":"image_23012025_15_38_55_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330846823","file1":"1330846588","file0":"1330846491","file4":"1330847105","file5":"1330847246","file3":"1330847036"},"map_files_photo_id_array":[{"photo_id":"1330847246","filename":"file5"},{"photo_id":"1330846823","filename":"file2"},{"photo_id":"1330847105","filename":"file4"},{"photo_id":"1330846588","filename":"file1"},{"photo_id":"1330846491","filename":"file0"},{"photo_id":"1330847036","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330846491":["hashtag1","hashtag2"]},{"1330847246":["hashtag1","hashtag2"]},{"1330847036":["hashtag1","hashtag2"]},{"1330847105":["hashtag1","hashtag2"]},{"1330846823":["hashtag1","hashtag2"]},{"1330846588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330846491, 1330847246, 1330847036, 1330847105, 1330846823, 1330846588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45148181915283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:07:32.520216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_45_10340.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_55_10338.jpg', '/home/pi/Desktop/images/23012025/15/39/image_23012025_15_40_04_9374.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_15_10431.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_24_9454.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_35_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_45_10340.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_39_55_10338.jpg
/home/pi/Desktop/images/23012025/15/39/image_23012025_15_40_04_9374.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_15_10431.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_24_9454.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_35_10334.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":["1330847475","1330847463","1330847457","1330847468","1330847453","1330847447"],"photo_ids_order":["1330847447","1330847453","1330847457","1330847463","1330847468","1330847475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00f04d9e5ceec7371ca6d6c22b737e50.jpg","text":"TemporaryFile(/tmp/multipartBody452820109408813324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655713792,"filename":"image_23012025_15_40_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7984075302dd94109017c4c3ad8bef55.jpg","text":"TemporaryFile(/tmp/multipartBody5710079903942224287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655713792,"filename":"image_23012025_15_40_15_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1365b74bece1b7f58c81aa9e4df7718.jpg","text":"TemporaryFile(/tmp/multipartBody1013348708299418122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655713792,"filename":"image_23012025_15_40_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0f3a045f815dd5a2bf9d80b0a029536.jpg","text":"TemporaryFile(/tmp/multipartBody1149494986612748794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655713792,"filename":"image_23012025_15_40_24_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e564c3c12efd586e505705a36d09a4a4.jpg","text":"TemporaryFile(/tmp/multipartBody8386946120663186963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655713792,"filename":"image_23012025_15_39_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d854ae3ed482b23a3597d3c255674f3.jpg","text":"TemporaryFile(/tmp/multipartBody8789899057524505109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655713792,"filename":"image_23012025_15_39_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330847457","file1":"1330847453","file0":"1330847447","file4":"1330847468","file5":"1330847475","file3":"1330847463"},"map_files_photo_id_array":[{"photo_id":"1330847475","filename":"file5"},{"photo_id":"1330847457","filename":"file2"},{"photo_id":"1330847468","filename":"file4"},{"photo_id":"1330847453","filename":"file1"},{"photo_id":"1330847447","filename":"file0"},{"photo_id":"1330847463","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330847475":["hashtag1","hashtag2"]},{"1330847463":["hashtag1","hashtag2"]},{"1330847457":["hashtag1","hashtag2"]},{"1330847468":["hashtag1","hashtag2"]},{"1330847453":["hashtag1","hashtag2"]},{"1330847447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330847475, 1330847463, 1330847457, 1330847468, 1330847453, 1330847447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87880730628967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:08:32.787386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_45_10451.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_41_05_10330.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_15_10359.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_24_9342.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_35_10361.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_44_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_45_10451.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_41_05_10330.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_15_10359.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_24_9342.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_35_10361.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_44_9455.jpg
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: 0.5647146701812744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:08:42.834153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_45_10451.jpg', '/home/pi/Desktop/images/23012025/15/40/image_23012025_15_41_05_10330.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_15_10359.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_24_9342.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_35_10361.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_44_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_40_45_10451.jpg
/home/pi/Desktop/images/23012025/15/40/image_23012025_15_41_05_10330.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_15_10359.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_24_9342.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_35_10361.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_44_9455.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":["1330847920","1330847847","1330847925","1330847930","1330847866","1330847911"],"photo_ids_order":["1330847847","1330847866","1330847911","1330847920","1330847925","1330847930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f595c7e41b9ef61a236415b02170cc3a.jpg","text":"TemporaryFile(/tmp/multipartBody4556923019842523016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655783760,"filename":"image_23012025_15_41_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80b68ebefc503e52317b36c45e2927e7.jpg","text":"TemporaryFile(/tmp/multipartBody125302600166082814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655783760,"filename":"image_23012025_15_40_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1b51c0cd213fe8f41b8f83d2095395c.jpg","text":"TemporaryFile(/tmp/multipartBody8117142165968933290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655783760,"filename":"image_23012025_15_41_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33ad75b6db7df2e9b0e89c60470fd97b.jpg","text":"TemporaryFile(/tmp/multipartBody5628026253247284357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655783760,"filename":"image_23012025_15_41_44_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e957d24e5ac7d3641c0df716d2bc60d.jpg","text":"TemporaryFile(/tmp/multipartBody3739358459599673865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655783760,"filename":"image_23012025_15_41_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/916401d3dfb3535217d9259194e86033.jpg","text":"TemporaryFile(/tmp/multipartBody6608770265842951474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655783760,"filename":"image_23012025_15_41_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330847911","file1":"1330847866","file0":"1330847847","file4":"1330847925","file5":"1330847930","file3":"1330847920"},"map_files_photo_id_array":[{"photo_id":"1330847930","filename":"file5"},{"photo_id":"1330847911","filename":"file2"},{"photo_id":"1330847925","filename":"file4"},{"photo_id":"1330847866","filename":"file1"},{"photo_id":"1330847847","filename":"file0"},{"photo_id":"1330847920","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330847920":["hashtag1","hashtag2"]},{"1330847847":["hashtag1","hashtag2"]},{"1330847925":["hashtag1","hashtag2"]},{"1330847930":["hashtag1","hashtag2"]},{"1330847866":["hashtag1","hashtag2"]},{"1330847911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330847920, 1330847847, 1330847925, 1330847930, 1330847866, 1330847911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.22805595397949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:09:32.939667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_55_10348.jpg', '/home/pi/Desktop/images/23012025/15/41/image_23012025_15_42_05_10396.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_14_9404.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_25_10349.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_35_10342.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_45_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_41_55_10348.jpg
/home/pi/Desktop/images/23012025/15/41/image_23012025_15_42_05_10396.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_14_9404.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_25_10349.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_35_10342.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_45_9352.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":["1330847991","1330847969","1330847972","1330847966","1330847989","1330847994"],"photo_ids_order":["1330847966","1330847969","1330847972","1330847989","1330847991","1330847994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c69aa24aca177abefc911f29cbd61d4.jpg","text":"TemporaryFile(/tmp/multipartBody1620274018790187795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655833903,"filename":"image_23012025_15_42_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2399418e7c4583ae47321250859bb805.jpg","text":"TemporaryFile(/tmp/multipartBody4898653304485060569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655833903,"filename":"image_23012025_15_42_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3aae8c28f1fb1edb17a9f4795a810243.jpg","text":"TemporaryFile(/tmp/multipartBody2024846041464722103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655833903,"filename":"image_23012025_15_42_14_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71904f8658196907e39bc20f1621639b.jpg","text":"TemporaryFile(/tmp/multipartBody8129389545723623695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655833903,"filename":"image_23012025_15_41_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3293a840eb7ae19cc69e5a26c3a63546.jpg","text":"TemporaryFile(/tmp/multipartBody6785192118618367905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655833903,"filename":"image_23012025_15_42_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/938381da44185935dbd64f855d7894e4.jpg","text":"TemporaryFile(/tmp/multipartBody7948070297261636518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655833903,"filename":"image_23012025_15_42_45_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330847972","file1":"1330847969","file0":"1330847966","file4":"1330847991","file5":"1330847994","file3":"1330847989"},"map_files_photo_id_array":[{"photo_id":"1330847994","filename":"file5"},{"photo_id":"1330847972","filename":"file2"},{"photo_id":"1330847991","filename":"file4"},{"photo_id":"1330847969","filename":"file1"},{"photo_id":"1330847966","filename":"file0"},{"photo_id":"1330847989","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330847991":["hashtag1","hashtag2"]},{"1330847969":["hashtag1","hashtag2"]},{"1330847972":["hashtag1","hashtag2"]},{"1330847966":["hashtag1","hashtag2"]},{"1330847989":["hashtag1","hashtag2"]},{"1330847994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330847991, 1330847969, 1330847972, 1330847966, 1330847989, 1330847994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29109263420105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:10:33.087946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_55_10378.jpg', '/home/pi/Desktop/images/23012025/15/42/image_23012025_15_43_04_9431.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_15_10336.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_25_10424.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_34_9340.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_42_55_10378.jpg
/home/pi/Desktop/images/23012025/15/42/image_23012025_15_43_04_9431.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_15_10336.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_25_10424.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_34_9340.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_45_10341.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":["1330848272","1330848245","1330848311","1330848229","1330848294","1330848288"],"photo_ids_order":["1330848229","1330848245","1330848272","1330848288","1330848294","1330848311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b884b171b1267d158b8a4dace5e4cf12.jpg","text":"TemporaryFile(/tmp/multipartBody2163568345503208554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655894051,"filename":"image_23012025_15_43_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b680740c5ef6eb773a2db67a0113dfd.jpg","text":"TemporaryFile(/tmp/multipartBody1862739123499008958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655894051,"filename":"image_23012025_15_43_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b792a01729e921a6755848c7fc80bb32.jpg","text":"TemporaryFile(/tmp/multipartBody5472129368657412281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655894051,"filename":"image_23012025_15_43_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21ab56087a9383a994feaf48361f6e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6331475373222432839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655894051,"filename":"image_23012025_15_42_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/287a1764a8e95adea4a14b9fbc3f16f4.jpg","text":"TemporaryFile(/tmp/multipartBody7747003604469254253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655894051,"filename":"image_23012025_15_43_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5c250fb1203740dc0a8d56d731526f2.jpg","text":"TemporaryFile(/tmp/multipartBody2609469639500429927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655894051,"filename":"image_23012025_15_43_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330848272","file1":"1330848245","file0":"1330848229","file4":"1330848294","file5":"1330848311","file3":"1330848288"},"map_files_photo_id_array":[{"photo_id":"1330848311","filename":"file5"},{"photo_id":"1330848272","filename":"file2"},{"photo_id":"1330848294","filename":"file4"},{"photo_id":"1330848245","filename":"file1"},{"photo_id":"1330848229","filename":"file0"},{"photo_id":"1330848288","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330848272":["hashtag1","hashtag2"]},{"1330848245":["hashtag1","hashtag2"]},{"1330848311":["hashtag1","hashtag2"]},{"1330848229":["hashtag1","hashtag2"]},{"1330848294":["hashtag1","hashtag2"]},{"1330848288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330848272, 1330848245, 1330848311, 1330848229, 1330848294, 1330848288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5508553981781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:11:32.326094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_55_10355.jpg', '/home/pi/Desktop/images/23012025/15/43/image_23012025_15_44_04_9352.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_15_10340.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_25_10356.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_35_9339.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_45_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_43_55_10355.jpg
/home/pi/Desktop/images/23012025/15/43/image_23012025_15_44_04_9352.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_15_10340.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_25_10356.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_35_9339.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_45_10412.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":["1330848426","1330848425","1330848382","1330848364","1330848406","1330848396"],"photo_ids_order":["1330848364","1330848382","1330848396","1330848406","1330848425","1330848426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb2c13c0ee60928e8af7042f0d6ddba0.jpg","text":"TemporaryFile(/tmp/multipartBody1263735721804158039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655953284,"filename":"image_23012025_15_44_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0093e926eb19579c018e92e5fe9647c4.jpg","text":"TemporaryFile(/tmp/multipartBody7835021221743387147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655953284,"filename":"image_23012025_15_44_35_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a219134af7948ac63788b74c6d4fbda.jpg","text":"TemporaryFile(/tmp/multipartBody5460722984950585959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655953284,"filename":"image_23012025_15_44_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6604ca110b6226ea33d0b81cebdac7f4.jpg","text":"TemporaryFile(/tmp/multipartBody863467419318804339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655953284,"filename":"image_23012025_15_43_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14ba3c65063c3259f1be0dae66e0bd58.jpg","text":"TemporaryFile(/tmp/multipartBody7204774935790016578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655953284,"filename":"image_23012025_15_44_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfa00157817dc08a994c0ef193295a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4661860188557485311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737655953284,"filename":"image_23012025_15_44_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330848396","file1":"1330848382","file0":"1330848364","file4":"1330848425","file5":"1330848426","file3":"1330848406"},"map_files_photo_id_array":[{"photo_id":"1330848426","filename":"file5"},{"photo_id":"1330848396","filename":"file2"},{"photo_id":"1330848425","filename":"file4"},{"photo_id":"1330848382","filename":"file1"},{"photo_id":"1330848364","filename":"file0"},{"photo_id":"1330848406","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330848426":["hashtag1","hashtag2"]},{"1330848425":["hashtag1","hashtag2"]},{"1330848382":["hashtag1","hashtag2"]},{"1330848364":["hashtag1","hashtag2"]},{"1330848406":["hashtag1","hashtag2"]},{"1330848396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330848426, 1330848425, 1330848382, 1330848364, 1330848406, 1330848396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00036644935608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:12:32.515010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_54_9397.jpg', '/home/pi/Desktop/images/23012025/15/44/image_23012025_15_45_05_10328.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_15_10383.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_24_9347.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_35_10335.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_45_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_44_54_9397.jpg
/home/pi/Desktop/images/23012025/15/44/image_23012025_15_45_05_10328.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_15_10383.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_24_9347.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_35_10335.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_45_10469.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":["1330848479","1330848458","1330848452","1330848481","1330848463","1330848471"],"photo_ids_order":["1330848452","1330848458","1330848463","1330848471","1330848479","1330848481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57684ef1b40f9b3c9fe5b34911944f84.jpg","text":"TemporaryFile(/tmp/multipartBody6406691718128212865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656013468,"filename":"image_23012025_15_45_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09855e4f5c5448fb15fa2ff242efbc44.jpg","text":"TemporaryFile(/tmp/multipartBody1640925657216803764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656013468,"filename":"image_23012025_15_45_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3f452352b53111aa2eb8218ef654d668.jpg","text":"TemporaryFile(/tmp/multipartBody1512021222918641818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656013468,"filename":"image_23012025_15_44_54_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75dfc1c9200cacd1528fbfadc6d2af9d.jpg","text":"TemporaryFile(/tmp/multipartBody2127043224878416863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656013468,"filename":"image_23012025_15_45_45_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bf4668011d8a185618c6fc9627c3632.jpg","text":"TemporaryFile(/tmp/multipartBody2015525245704979975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656013468,"filename":"image_23012025_15_45_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc96c3210b6c95697ba7d634412a6162.jpg","text":"TemporaryFile(/tmp/multipartBody7742491489216941789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656013468,"filename":"image_23012025_15_45_24_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330848463","file1":"1330848458","file0":"1330848452","file4":"1330848479","file5":"1330848481","file3":"1330848471"},"map_files_photo_id_array":[{"photo_id":"1330848481","filename":"file5"},{"photo_id":"1330848463","filename":"file2"},{"photo_id":"1330848479","filename":"file4"},{"photo_id":"1330848458","filename":"file1"},{"photo_id":"1330848452","filename":"file0"},{"photo_id":"1330848471","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330848479":["hashtag1","hashtag2"]},{"1330848458":["hashtag1","hashtag2"]},{"1330848452":["hashtag1","hashtag2"]},{"1330848481":["hashtag1","hashtag2"]},{"1330848463":["hashtag1","hashtag2"]},{"1330848471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330848479, 1330848458, 1330848452, 1330848481, 1330848463, 1330848471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45270824432373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:13:32.725117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_55_9350.jpg', '/home/pi/Desktop/images/23012025/15/45/image_23012025_15_46_05_10346.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_14_9414.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_25_10355.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_35_10387.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_45_55_9350.jpg
/home/pi/Desktop/images/23012025/15/45/image_23012025_15_46_05_10346.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_14_9414.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_25_10355.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_35_10387.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_44_9341.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":["1330848534","1330848525","1330848513","1330848536","1330848547","1330848520"],"photo_ids_order":["1330848513","1330848520","1330848525","1330848534","1330848536","1330848547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33834d399abe9c710741a2827324e298.jpg","text":"TemporaryFile(/tmp/multipartBody9082215931498640029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656073688,"filename":"image_23012025_15_46_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4df259ad54735995f9eb5a10196e42ce.jpg","text":"TemporaryFile(/tmp/multipartBody5812390377156456671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656073688,"filename":"image_23012025_15_46_14_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae8a17d909e0eb321c410c348d22becd.jpg","text":"TemporaryFile(/tmp/multipartBody4845198886767436075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656073688,"filename":"image_23012025_15_45_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dbf9fdbb0d49dcb978f5879f98d38a6.jpg","text":"TemporaryFile(/tmp/multipartBody4320218744518132416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656073688,"filename":"image_23012025_15_46_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99ecf5b512cddcb4eca8b423c231d9aa.jpg","text":"TemporaryFile(/tmp/multipartBody486189831324260847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656073688,"filename":"image_23012025_15_46_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/646debd17601f187d69b6d4aa6c455bd.jpg","text":"TemporaryFile(/tmp/multipartBody6281630711810491396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656073688,"filename":"image_23012025_15_46_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330848525","file1":"1330848520","file0":"1330848513","file4":"1330848536","file5":"1330848547","file3":"1330848534"},"map_files_photo_id_array":[{"photo_id":"1330848547","filename":"file5"},{"photo_id":"1330848525","filename":"file2"},{"photo_id":"1330848536","filename":"file4"},{"photo_id":"1330848520","filename":"file1"},{"photo_id":"1330848513","filename":"file0"},{"photo_id":"1330848534","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330848534":["hashtag1","hashtag2"]},{"1330848525":["hashtag1","hashtag2"]},{"1330848513":["hashtag1","hashtag2"]},{"1330848536":["hashtag1","hashtag2"]},{"1330848547":["hashtag1","hashtag2"]},{"1330848520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330848534, 1330848525, 1330848513, 1330848536, 1330848547, 1330848520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6992928981781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:14:32.987689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_55_10394.jpg', '/home/pi/Desktop/images/23012025/15/46/image_23012025_15_47_05_10055.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_15_10337.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_24_9320.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_35_10390.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_46_55_10394.jpg
/home/pi/Desktop/images/23012025/15/46/image_23012025_15_47_05_10055.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_15_10337.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_24_9320.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_35_10390.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_45_10350.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":["1330848596","1330848581","1330848605","1330848604","1330848601","1330848588"],"photo_ids_order":["1330848581","1330848588","1330848596","1330848601","1330848604","1330848605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f34c30efd92ddf7cdfef307964c5eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2228616054813454162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656133941,"filename":"image_23012025_15_47_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d099c78b1748c77cd7a9261d7b37be2.jpg","text":"TemporaryFile(/tmp/multipartBody1009437432776028769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656133941,"filename":"image_23012025_15_46_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d475cdf1b1f80e4f6a27c770a46a503f.jpg","text":"TemporaryFile(/tmp/multipartBody632892643620678241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656133941,"filename":"image_23012025_15_47_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6801fd77382c74c9d40468e0c3b9a3e3.jpg","text":"TemporaryFile(/tmp/multipartBody4431678562087558376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656133941,"filename":"image_23012025_15_47_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de0f29fd1331690b689cabfdeffa952c.jpg","text":"TemporaryFile(/tmp/multipartBody8715318886880699700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656133941,"filename":"image_23012025_15_47_24_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e8e2eb8dcd9b3e473c4a28a694b122c.jpg","text":"TemporaryFile(/tmp/multipartBody7470949458654411237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656133941,"filename":"image_23012025_15_47_05_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330848596","file1":"1330848588","file0":"1330848581","file4":"1330848604","file5":"1330848605","file3":"1330848601"},"map_files_photo_id_array":[{"photo_id":"1330848605","filename":"file5"},{"photo_id":"1330848596","filename":"file2"},{"photo_id":"1330848604","filename":"file4"},{"photo_id":"1330848588","filename":"file1"},{"photo_id":"1330848581","filename":"file0"},{"photo_id":"1330848601","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330848596":["hashtag1","hashtag2"]},{"1330848581":["hashtag1","hashtag2"]},{"1330848605":["hashtag1","hashtag2"]},{"1330848604":["hashtag1","hashtag2"]},{"1330848601":["hashtag1","hashtag2"]},{"1330848588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330848596, 1330848581, 1330848605, 1330848604, 1330848601, 1330848588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.187564849853516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:15:33.143253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_55_9325.jpg', '/home/pi/Desktop/images/23012025/15/47/image_23012025_15_48_05_10311.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_14_9454.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_25_10358.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_35_10372.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_47_55_9325.jpg
/home/pi/Desktop/images/23012025/15/47/image_23012025_15_48_05_10311.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_14_9454.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_25_10358.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_35_10372.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_44_9348.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":["1330848675","1330848665","1330848653","1330848626","1330848637","1330848678"],"photo_ids_order":["1330848626","1330848637","1330848653","1330848665","1330848675","1330848678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47654d63963a8389a6e8a009ff211f70.jpg","text":"TemporaryFile(/tmp/multipartBody1658274967638298717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656194399,"filename":"image_23012025_15_48_35_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a14f37b8687d8f129dc495f95c5da0e6.jpg","text":"TemporaryFile(/tmp/multipartBody102814012420620315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656194399,"filename":"image_23012025_15_48_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ade2e1671dfd370f59f4b83210fa43c9.jpg","text":"TemporaryFile(/tmp/multipartBody1437246976856107340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656194399,"filename":"image_23012025_15_48_14_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cef75af5c441ec165ea1097cfe719d3.jpg","text":"TemporaryFile(/tmp/multipartBody2054377575130136030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656194399,"filename":"image_23012025_15_47_55_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a81d5a5a919047fa139ecedd3c4528b.jpg","text":"TemporaryFile(/tmp/multipartBody6747321327323622923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656194399,"filename":"image_23012025_15_48_05_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/972aa4cd8ab8005805583515d6594e47.jpg","text":"TemporaryFile(/tmp/multipartBody52578336030452474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656194399,"filename":"image_23012025_15_48_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330848653","file1":"1330848637","file0":"1330848626","file4":"1330848675","file5":"1330848678","file3":"1330848665"},"map_files_photo_id_array":[{"photo_id":"1330848678","filename":"file5"},{"photo_id":"1330848653","filename":"file2"},{"photo_id":"1330848675","filename":"file4"},{"photo_id":"1330848637","filename":"file1"},{"photo_id":"1330848626","filename":"file0"},{"photo_id":"1330848665","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330848675":["hashtag1","hashtag2"]},{"1330848665":["hashtag1","hashtag2"]},{"1330848653":["hashtag1","hashtag2"]},{"1330848626":["hashtag1","hashtag2"]},{"1330848637":["hashtag1","hashtag2"]},{"1330848678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330848675, 1330848665, 1330848653, 1330848626, 1330848637, 1330848678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71480965614319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:16:32.408739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_55_10350.jpg', '/home/pi/Desktop/images/23012025/15/48/image_23012025_15_49_05_10414.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_14_9319.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_25_10369.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_35_10349.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_45_9319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_48_55_10350.jpg
/home/pi/Desktop/images/23012025/15/48/image_23012025_15_49_05_10414.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_14_9319.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_25_10369.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_35_10349.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_45_9319.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":["1330848717","1330848728","1330848751","1330848754","1330848745","1330848739"],"photo_ids_order":["1330848717","1330848728","1330848739","1330848745","1330848751","1330848754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04689246939f069a543c683c4e72c8a9.jpg","text":"TemporaryFile(/tmp/multipartBody3953436782713481922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656253368,"filename":"image_23012025_15_48_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08f546d3c26b80666e70e2824835aef0.jpg","text":"TemporaryFile(/tmp/multipartBody2695767904981013438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656253368,"filename":"image_23012025_15_49_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06efd7c8ab9730ad28c634540a4ebd7d.jpg","text":"TemporaryFile(/tmp/multipartBody5317350009130464502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656253368,"filename":"image_23012025_15_49_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36b8fa201f121f85b611871e5161d832.jpg","text":"TemporaryFile(/tmp/multipartBody2377937231411427749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656253368,"filename":"image_23012025_15_49_45_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4234cf406b699d9c42df1cc7d1d9b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody8262805743929607657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656253368,"filename":"image_23012025_15_49_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e40a3e0df71ecc0d8ccf0b7fc002a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody8234068559283405019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656253368,"filename":"image_23012025_15_49_14_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330848739","file1":"1330848728","file0":"1330848717","file4":"1330848751","file5":"1330848754","file3":"1330848745"},"map_files_photo_id_array":[{"photo_id":"1330848754","filename":"file5"},{"photo_id":"1330848739","filename":"file2"},{"photo_id":"1330848751","filename":"file4"},{"photo_id":"1330848728","filename":"file1"},{"photo_id":"1330848717","filename":"file0"},{"photo_id":"1330848745","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330848717":["hashtag1","hashtag2"]},{"1330848728":["hashtag1","hashtag2"]},{"1330848751":["hashtag1","hashtag2"]},{"1330848754":["hashtag1","hashtag2"]},{"1330848745":["hashtag1","hashtag2"]},{"1330848739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330848717, 1330848728, 1330848751, 1330848754, 1330848745, 1330848739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12269449234009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:17:32.787676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_55_10488.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_50_04_9365.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_15_10354.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_25_10344.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_34_9338.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_45_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_55_10488.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_50_04_9365.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_15_10354.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_25_10344.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_34_9338.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_45_10329.jpg
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: 0.5650758743286133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:17:42.660769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_55_10488.jpg', '/home/pi/Desktop/images/23012025/15/49/image_23012025_15_50_04_9365.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_15_10354.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_25_10344.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_34_9338.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_45_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_49_55_10488.jpg
/home/pi/Desktop/images/23012025/15/49/image_23012025_15_50_04_9365.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_15_10354.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_25_10344.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_34_9338.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_45_10329.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":["1330849172","1330849136","1330849103","1330849021","1330849167","1330849119"],"photo_ids_order":["1330849021","1330849103","1330849119","1330849136","1330849167","1330849172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1b85b1493f8eac2bc5359b5778ae9c3.jpg","text":"TemporaryFile(/tmp/multipartBody559223103607667691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656323570,"filename":"image_23012025_15_50_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a53b3d02c6bebf37b6c97d046eacee2.jpg","text":"TemporaryFile(/tmp/multipartBody3322836172578001451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656323570,"filename":"image_23012025_15_50_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00aab2e1bcb46b0faf34cc7724354aee.jpg","text":"TemporaryFile(/tmp/multipartBody2619281245927434149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656323570,"filename":"image_23012025_15_50_04_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7462c09b694a10f8fa912c1b50f74e25.jpg","text":"TemporaryFile(/tmp/multipartBody8337797468747257158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656323570,"filename":"image_23012025_15_49_55_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cc7523187929490602647587ab01285.jpg","text":"TemporaryFile(/tmp/multipartBody6709482900785521233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656323570,"filename":"image_23012025_15_50_34_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/089ec97587f31bd87bcfed5b23d6d72c.jpg","text":"TemporaryFile(/tmp/multipartBody7422567866942304904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656323570,"filename":"image_23012025_15_50_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849119","file1":"1330849103","file0":"1330849021","file4":"1330849167","file5":"1330849172","file3":"1330849136"},"map_files_photo_id_array":[{"photo_id":"1330849172","filename":"file5"},{"photo_id":"1330849119","filename":"file2"},{"photo_id":"1330849167","filename":"file4"},{"photo_id":"1330849103","filename":"file1"},{"photo_id":"1330849021","filename":"file0"},{"photo_id":"1330849136","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849172":["hashtag1","hashtag2"]},{"1330849136":["hashtag1","hashtag2"]},{"1330849103":["hashtag1","hashtag2"]},{"1330849021":["hashtag1","hashtag2"]},{"1330849167":["hashtag1","hashtag2"]},{"1330849119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849172, 1330849136, 1330849103, 1330849021, 1330849167, 1330849119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68894982337952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:18:32.818174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_55_10350.jpg', '/home/pi/Desktop/images/23012025/15/50/image_23012025_15_51_04_9338.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_15_10335.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_25_10450.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_35_9344.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_45_10509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_50_55_10350.jpg
/home/pi/Desktop/images/23012025/15/50/image_23012025_15_51_04_9338.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_15_10335.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_25_10450.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_35_9344.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_45_10509.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":["1330849253","1330849255","1330849279","1330849287","1330849272","1330849269"],"photo_ids_order":["1330849253","1330849255","1330849269","1330849272","1330849279","1330849287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed9c2492a8f5f02c4ed62d4278bf61b6.jpg","text":"TemporaryFile(/tmp/multipartBody8690416556305576850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656373763,"filename":"image_23012025_15_50_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d27ab8cb8bff3faff6155c66ded351fe.jpg","text":"TemporaryFile(/tmp/multipartBody7958842223702924440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656373763,"filename":"image_23012025_15_51_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8be14892f1cab113cc80c969d565f6bb.jpg","text":"TemporaryFile(/tmp/multipartBody5389171986677499985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656373763,"filename":"image_23012025_15_51_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba3fc6c5ee382e0f3ebf51febc6f24ec.jpg","text":"TemporaryFile(/tmp/multipartBody6159340248417900827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656373763,"filename":"image_23012025_15_51_45_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93884b11d8f4b917c3975db80e41ccc8.jpg","text":"TemporaryFile(/tmp/multipartBody822953994342729038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656373763,"filename":"image_23012025_15_51_25_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29d2205112381a37e1e49aae83f1bf73.jpg","text":"TemporaryFile(/tmp/multipartBody3626085379750986635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656373763,"filename":"image_23012025_15_51_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849269","file1":"1330849255","file0":"1330849253","file4":"1330849279","file5":"1330849287","file3":"1330849272"},"map_files_photo_id_array":[{"photo_id":"1330849287","filename":"file5"},{"photo_id":"1330849269","filename":"file2"},{"photo_id":"1330849279","filename":"file4"},{"photo_id":"1330849255","filename":"file1"},{"photo_id":"1330849253","filename":"file0"},{"photo_id":"1330849272","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849253":["hashtag1","hashtag2"]},{"1330849255":["hashtag1","hashtag2"]},{"1330849279":["hashtag1","hashtag2"]},{"1330849287":["hashtag1","hashtag2"]},{"1330849272":["hashtag1","hashtag2"]},{"1330849269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849253, 1330849255, 1330849279, 1330849287, 1330849272, 1330849269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83819818496704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:19:33.045016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_54_9346.jpg', '/home/pi/Desktop/images/23012025/15/51/image_23012025_15_52_05_10335.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_15_10370.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_24_9325.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_35_10325.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_51_54_9346.jpg
/home/pi/Desktop/images/23012025/15/51/image_23012025_15_52_05_10335.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_15_10370.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_24_9325.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_35_10325.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_45_10360.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":["1330849331","1330849366","1330849360","1330849354","1330849348","1330849363"],"photo_ids_order":["1330849331","1330849348","1330849354","1330849360","1330849363","1330849366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85f4cde4f3f0bd6fc8643561c95536d5.jpg","text":"TemporaryFile(/tmp/multipartBody7100121202723500363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656433991,"filename":"image_23012025_15_51_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf19cffa5ea42cea7c15fa18e6f42ee0.jpg","text":"TemporaryFile(/tmp/multipartBody5874596387553742113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656433991,"filename":"image_23012025_15_52_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb437b3aa108d60c8d777cc837df0ac3.jpg","text":"TemporaryFile(/tmp/multipartBody5310472552775134098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656433991,"filename":"image_23012025_15_52_24_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7cc08aae69e02353ce3dd8bed4c286d.jpg","text":"TemporaryFile(/tmp/multipartBody1771397004311608913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656433991,"filename":"image_23012025_15_52_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86c2ced7743cf4ea147fdb6e8b419956.jpg","text":"TemporaryFile(/tmp/multipartBody2583387788492794639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656433991,"filename":"image_23012025_15_52_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4233c168d14c48a579586f2a6ee44dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2387989427751028368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656433991,"filename":"image_23012025_15_52_35_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849354","file1":"1330849348","file0":"1330849331","file4":"1330849363","file5":"1330849366","file3":"1330849360"},"map_files_photo_id_array":[{"photo_id":"1330849366","filename":"file5"},{"photo_id":"1330849354","filename":"file2"},{"photo_id":"1330849363","filename":"file4"},{"photo_id":"1330849348","filename":"file1"},{"photo_id":"1330849331","filename":"file0"},{"photo_id":"1330849360","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849331":["hashtag1","hashtag2"]},{"1330849366":["hashtag1","hashtag2"]},{"1330849360":["hashtag1","hashtag2"]},{"1330849354":["hashtag1","hashtag2"]},{"1330849348":["hashtag1","hashtag2"]},{"1330849363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849331, 1330849366, 1330849360, 1330849354, 1330849348, 1330849363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.255592346191406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:20:32.153942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_54_9343.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_53_05_10320.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_15_10443.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_25_9397.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_35_10448.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_44_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_54_9343.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_53_05_10320.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_15_10443.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_25_9397.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_35_10448.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_44_9334.jpg
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: 0.5558664798736572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:20:42.210160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_54_9343.jpg', '/home/pi/Desktop/images/23012025/15/52/image_23012025_15_53_05_10320.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_15_10443.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_25_9397.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_35_10448.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_44_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_52_54_9343.jpg
/home/pi/Desktop/images/23012025/15/52/image_23012025_15_53_05_10320.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_15_10443.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_25_9397.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_35_10448.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_44_9334.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":["1330849425","1330849404","1330849421","1330849396","1330849417","1330849411"],"photo_ids_order":["1330849396","1330849404","1330849411","1330849417","1330849421","1330849425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16bd16af39390fb04a00e57469cdde8e.jpg","text":"TemporaryFile(/tmp/multipartBody2757266775143530945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656503106,"filename":"image_23012025_15_53_44_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea321d821f46196d71565e5aaa90df67.jpg","text":"TemporaryFile(/tmp/multipartBody5716846306131858101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656503106,"filename":"image_23012025_15_53_05_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25a4e780881e3d902321ee2793325d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5449642969477609466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656503106,"filename":"image_23012025_15_53_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/105a452a236560d58c1e98225379d471.jpg","text":"TemporaryFile(/tmp/multipartBody7983314926950409159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656503106,"filename":"image_23012025_15_52_54_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e22eb2a1ec3b7675d6da34e7358d885.jpg","text":"TemporaryFile(/tmp/multipartBody3629307415760959943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656503106,"filename":"image_23012025_15_53_25_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df5084f1aeaac1eb6c03296f1f4fa31e.jpg","text":"TemporaryFile(/tmp/multipartBody4838061742383995177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656503106,"filename":"image_23012025_15_53_15_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849411","file1":"1330849404","file0":"1330849396","file4":"1330849421","file5":"1330849425","file3":"1330849417"},"map_files_photo_id_array":[{"photo_id":"1330849425","filename":"file5"},{"photo_id":"1330849411","filename":"file2"},{"photo_id":"1330849421","filename":"file4"},{"photo_id":"1330849404","filename":"file1"},{"photo_id":"1330849396","filename":"file0"},{"photo_id":"1330849417","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849425":["hashtag1","hashtag2"]},{"1330849404":["hashtag1","hashtag2"]},{"1330849421":["hashtag1","hashtag2"]},{"1330849396":["hashtag1","hashtag2"]},{"1330849417":["hashtag1","hashtag2"]},{"1330849411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849425, 1330849404, 1330849421, 1330849396, 1330849417, 1330849411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41351056098938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:21:32.358837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_55_10444.jpg', '/home/pi/Desktop/images/23012025/15/53/image_23012025_15_54_04_9442.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_15_10341.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_25_10531.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_45_10346.jpg', '/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_54_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_53_55_10444.jpg
/home/pi/Desktop/images/23012025/15/53/image_23012025_15_54_04_9442.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_15_10341.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_25_10531.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_45_10346.jpg
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_54_54_9448.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":["1330849475","1330849451","1330849514","1330849492","1330849468","1330849499"],"photo_ids_order":["1330849451","1330849468","1330849475","1330849492","1330849499","1330849514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e90a39a6f1dad788a161461e9f3b47c6.jpg","text":"TemporaryFile(/tmp/multipartBody2907250420085448560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656553310,"filename":"image_23012025_15_54_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5d0b258f97b73f1d47817a3ae21bbf0.jpg","text":"TemporaryFile(/tmp/multipartBody8712971971074761907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656553310,"filename":"image_23012025_15_53_55_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/895fbf9342933dee1930960f0308925b.jpg","text":"TemporaryFile(/tmp/multipartBody525936899998615852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656553310,"filename":"image_23012025_15_54_54_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b9fb8025a69746b57476bc528b422d8.jpg","text":"TemporaryFile(/tmp/multipartBody6321438087113934756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656553310,"filename":"image_23012025_15_54_25_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/968a0f615deba53b094e2e1d4405f4c1.jpg","text":"TemporaryFile(/tmp/multipartBody3572159051248528124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656553310,"filename":"image_23012025_15_54_04_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81e22c499d384f62df76e6fae96e3c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8592802872865398572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656553310,"filename":"image_23012025_15_54_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849475","file1":"1330849468","file0":"1330849451","file4":"1330849499","file5":"1330849514","file3":"1330849492"},"map_files_photo_id_array":[{"photo_id":"1330849514","filename":"file5"},{"photo_id":"1330849475","filename":"file2"},{"photo_id":"1330849499","filename":"file4"},{"photo_id":"1330849468","filename":"file1"},{"photo_id":"1330849451","filename":"file0"},{"photo_id":"1330849492","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849475":["hashtag1","hashtag2"]},{"1330849451":["hashtag1","hashtag2"]},{"1330849514":["hashtag1","hashtag2"]},{"1330849492":["hashtag1","hashtag2"]},{"1330849468":["hashtag1","hashtag2"]},{"1330849499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849475, 1330849451, 1330849514, 1330849492, 1330849468, 1330849499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53614044189453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:22:32.582929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/54/image_23012025_15_55_05_10331.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_15_10399.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_24_9345.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_35_10345.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_45_10407.jpg', '/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_54_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/54/image_23012025_15_55_05_10331.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_15_10399.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_24_9345.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_35_10345.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_45_10407.jpg
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_55_54_9354.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":["1330849568","1330849556","1330849564","1330849546","1330849566","1330849560"],"photo_ids_order":["1330849546","1330849556","1330849560","1330849564","1330849566","1330849568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6a5eb89474546d6503da03f0165a4a6.jpg","text":"TemporaryFile(/tmp/multipartBody530081412362659619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656613541,"filename":"image_23012025_15_55_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab63b50981b5402be9c31f8a3596692a.jpg","text":"TemporaryFile(/tmp/multipartBody8851267230045039742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656613541,"filename":"image_23012025_15_55_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/324c16b04b02515b40675b415f7d75ea.jpg","text":"TemporaryFile(/tmp/multipartBody2690786779991729822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656613541,"filename":"image_23012025_15_55_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d261e4e1f5d217212b2c8fdb99ec2f5.jpg","text":"TemporaryFile(/tmp/multipartBody8110218659327127335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656613541,"filename":"image_23012025_15_55_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1843cb6dabf84c248114079de7a0f97a.jpg","text":"TemporaryFile(/tmp/multipartBody2826618347517849789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656613541,"filename":"image_23012025_15_55_45_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/786b26863dde9e138e7bfd27e4a50609.jpg","text":"TemporaryFile(/tmp/multipartBody6035873009594059202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656613541,"filename":"image_23012025_15_55_24_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849560","file1":"1330849556","file0":"1330849546","file4":"1330849566","file5":"1330849568","file3":"1330849564"},"map_files_photo_id_array":[{"photo_id":"1330849568","filename":"file5"},{"photo_id":"1330849560","filename":"file2"},{"photo_id":"1330849566","filename":"file4"},{"photo_id":"1330849556","filename":"file1"},{"photo_id":"1330849546","filename":"file0"},{"photo_id":"1330849564","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849568":["hashtag1","hashtag2"]},{"1330849556":["hashtag1","hashtag2"]},{"1330849564":["hashtag1","hashtag2"]},{"1330849546":["hashtag1","hashtag2"]},{"1330849566":["hashtag1","hashtag2"]},{"1330849560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849568, 1330849556, 1330849564, 1330849546, 1330849566, 1330849560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41194176673889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:23:32.852557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/55/image_23012025_15_56_05_10325.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_15_10353.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_24_9327.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_35_10367.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_45_10333.jpg', '/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_55_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/55/image_23012025_15_56_05_10325.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_15_10353.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_24_9327.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_35_10367.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_45_10333.jpg
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_56_55_9332.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":["1330849607","1330849618","1330849603","1330849593","1330849611","1330849614"],"photo_ids_order":["1330849593","1330849603","1330849607","1330849611","1330849614","1330849618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/557561c8982f6aca04fc86d95f7c6ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4745423624162551543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656673823,"filename":"image_23012025_15_56_24_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/598b3f4b72a0763005b54d2e826833fd.jpg","text":"TemporaryFile(/tmp/multipartBody4963803918413050706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656673823,"filename":"image_23012025_15_56_55_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c604106f30638221d92a698bf5396a3.jpg","text":"TemporaryFile(/tmp/multipartBody5067618590625338797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656673823,"filename":"image_23012025_15_56_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06502a63979cf7a45539784a08291d60.jpg","text":"TemporaryFile(/tmp/multipartBody3402082536850886499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656673823,"filename":"image_23012025_15_56_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4e4ef16e73d5c063fb7c0c85063173d.jpg","text":"TemporaryFile(/tmp/multipartBody6385059744897276891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656673823,"filename":"image_23012025_15_56_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd8a3ec80ee18e95962fb632d2ec734f.jpg","text":"TemporaryFile(/tmp/multipartBody3720470742694510492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656673823,"filename":"image_23012025_15_56_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849607","file1":"1330849603","file0":"1330849593","file4":"1330849614","file5":"1330849618","file3":"1330849611"},"map_files_photo_id_array":[{"photo_id":"1330849618","filename":"file5"},{"photo_id":"1330849607","filename":"file2"},{"photo_id":"1330849614","filename":"file4"},{"photo_id":"1330849603","filename":"file1"},{"photo_id":"1330849593","filename":"file0"},{"photo_id":"1330849611","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849607":["hashtag1","hashtag2"]},{"1330849618":["hashtag1","hashtag2"]},{"1330849603":["hashtag1","hashtag2"]},{"1330849593":["hashtag1","hashtag2"]},{"1330849611":["hashtag1","hashtag2"]},{"1330849614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849607, 1330849618, 1330849603, 1330849593, 1330849611, 1330849614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04785704612732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:24:32.939387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/56/image_23012025_15_57_05_10321.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_14_9445.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_25_10341.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_35_10390.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_44_9388.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_55_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_57_05_10321.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_14_9445.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_25_10341.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_35_10390.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_44_9388.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_55_10453.jpg
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: 0.6067256927490234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:24:42.990156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/56/image_23012025_15_57_05_10321.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_14_9445.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_25_10341.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_35_10390.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_44_9388.jpg', '/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_55_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/56/image_23012025_15_57_05_10321.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_14_9445.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_25_10341.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_35_10390.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_44_9388.jpg
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_57_55_10453.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":["1330849721","1330849745","1330849700","1330849729","1330849738","1330849752"],"photo_ids_order":["1330849700","1330849721","1330849729","1330849738","1330849745","1330849752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f82f72347843d253feef1ebf4636e1f.jpg","text":"TemporaryFile(/tmp/multipartBody8542458804606821811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656743894,"filename":"image_23012025_15_57_14_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1f347c1d83d5472ae3062af2102598e.jpg","text":"TemporaryFile(/tmp/multipartBody6551063917674130070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656743894,"filename":"image_23012025_15_57_44_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bb3bbd8d86606cb55cca329523d2c77.jpg","text":"TemporaryFile(/tmp/multipartBody4340420809346524274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656743894,"filename":"image_23012025_15_57_05_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e11b24dc7d004b2bf85d07a01282940c.jpg","text":"TemporaryFile(/tmp/multipartBody3712118693009845942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656743894,"filename":"image_23012025_15_57_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/337299c6774bb59a04e1f28037d535dd.jpg","text":"TemporaryFile(/tmp/multipartBody7848778932274146302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656743894,"filename":"image_23012025_15_57_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9cc457aa9830a7fc006dc415aaa9e730.jpg","text":"TemporaryFile(/tmp/multipartBody8672114696917088479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656743894,"filename":"image_23012025_15_57_55_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849729","file1":"1330849721","file0":"1330849700","file4":"1330849745","file5":"1330849752","file3":"1330849738"},"map_files_photo_id_array":[{"photo_id":"1330849752","filename":"file5"},{"photo_id":"1330849729","filename":"file2"},{"photo_id":"1330849745","filename":"file4"},{"photo_id":"1330849721","filename":"file1"},{"photo_id":"1330849700","filename":"file0"},{"photo_id":"1330849738","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849721":["hashtag1","hashtag2"]},{"1330849745":["hashtag1","hashtag2"]},{"1330849700":["hashtag1","hashtag2"]},{"1330849729":["hashtag1","hashtag2"]},{"1330849738":["hashtag1","hashtag2"]},{"1330849752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849721, 1330849745, 1330849700, 1330849729, 1330849738, 1330849752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28719615936279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:25:33.055680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/57/image_23012025_15_58_04_9419.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_15_10347.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_25_10479.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_34_9343.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_45_10333.jpg', '/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_55_10470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/57/image_23012025_15_58_04_9419.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_15_10347.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_25_10479.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_34_9343.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_45_10333.jpg
/home/pi/Desktop/images/23012025/15/58/image_23012025_15_58_55_10470.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":["1330849799","1330849793","1330849775","1330849771","1330849767","1330849764"],"photo_ids_order":["1330849764","1330849767","1330849771","1330849775","1330849793","1330849799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b71f41fa6c74694d3b0822b91a72c9e.jpg","text":"TemporaryFile(/tmp/multipartBody6025429257717060406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656794064,"filename":"image_23012025_15_58_55_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92621179eb829a35619458e6b3a906de.jpg","text":"TemporaryFile(/tmp/multipartBody6217213022224160345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656794064,"filename":"image_23012025_15_58_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62f0d19a94863fa54968e5dc347d5769.jpg","text":"TemporaryFile(/tmp/multipartBody3243016482842884441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656794064,"filename":"image_23012025_15_58_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c634846cdb1aa8c25b9dfbcf490157f.jpg","text":"TemporaryFile(/tmp/multipartBody6638392062087708500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656794064,"filename":"image_23012025_15_58_25_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e21f1aad427f693b7df007477b12957.jpg","text":"TemporaryFile(/tmp/multipartBody5763227719901085296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656794064,"filename":"image_23012025_15_58_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a3da1bfc302710fd233dc46dc113f45.jpg","text":"TemporaryFile(/tmp/multipartBody2552652003152212299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656794064,"filename":"image_23012025_15_58_04_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849771","file1":"1330849767","file0":"1330849764","file4":"1330849793","file5":"1330849799","file3":"1330849775"},"map_files_photo_id_array":[{"photo_id":"1330849799","filename":"file5"},{"photo_id":"1330849771","filename":"file2"},{"photo_id":"1330849793","filename":"file4"},{"photo_id":"1330849767","filename":"file1"},{"photo_id":"1330849764","filename":"file0"},{"photo_id":"1330849775","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849799":["hashtag1","hashtag2"]},{"1330849793":["hashtag1","hashtag2"]},{"1330849775":["hashtag1","hashtag2"]},{"1330849771":["hashtag1","hashtag2"]},{"1330849767":["hashtag1","hashtag2"]},{"1330849764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849799, 1330849793, 1330849775, 1330849771, 1330849767, 1330849764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.465474128723145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:26:32.175117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_15_10471.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_24_9400.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_35_10358.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_45_10347.jpg', '/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_55_9336.jpg', '/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_16_10070.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_15_10471.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_24_9400.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_35_10358.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_45_10347.jpg
/home/pi/Desktop/images/23012025/15/59/image_23012025_15_59_55_9336.jpg
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_16_10070.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":["1330849847","1330849844","1330849861","1330849864","1330849839","1330849833"],"photo_ids_order":["1330849833","1330849839","1330849844","1330849847","1330849861","1330849864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e606d6f66305d450cafc3a71c501bb22.jpg","text":"TemporaryFile(/tmp/multipartBody1748738674373622150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656853145,"filename":"image_23012025_15_59_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70075c10bb13ceeeff844447d22431ef.jpg","text":"TemporaryFile(/tmp/multipartBody5212248030668555695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656853145,"filename":"image_23012025_15_59_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d333d838e82419c6c9131f2e34d747b.jpg","text":"TemporaryFile(/tmp/multipartBody2323334410639460400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656853145,"filename":"image_23012025_15_59_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cf7d0a6c799fc9e6a2a2e3d342fd0e4.jpg","text":"TemporaryFile(/tmp/multipartBody4673274221635088099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656853145,"filename":"image_23012025_16_00_16_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39ed87705ea1bb4ad8678452bc209893.jpg","text":"TemporaryFile(/tmp/multipartBody1860289270893917329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656853145,"filename":"image_23012025_15_59_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bec3cc77b65adccc73c887881a2d1c8.jpg","text":"TemporaryFile(/tmp/multipartBody7173555049765038716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656853145,"filename":"image_23012025_15_59_15_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849844","file1":"1330849839","file0":"1330849833","file4":"1330849861","file5":"1330849864","file3":"1330849847"},"map_files_photo_id_array":[{"photo_id":"1330849864","filename":"file5"},{"photo_id":"1330849844","filename":"file2"},{"photo_id":"1330849861","filename":"file4"},{"photo_id":"1330849839","filename":"file1"},{"photo_id":"1330849833","filename":"file0"},{"photo_id":"1330849847","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849847":["hashtag1","hashtag2"]},{"1330849844":["hashtag1","hashtag2"]},{"1330849861":["hashtag1","hashtag2"]},{"1330849864":["hashtag1","hashtag2"]},{"1330849839":["hashtag1","hashtag2"]},{"1330849833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849847, 1330849844, 1330849861, 1330849864, 1330849839, 1330849833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.610525369644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:27:32.499896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_27_10458.jpg', '/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_37_10382.jpg', '/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_57_10346.jpg', '/home/pi/Desktop/images/23012025/16/00/image_23012025_16_01_07_10336.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_16_9346.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_27_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_27_10458.jpg
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_37_10382.jpg
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_00_57_10346.jpg
/home/pi/Desktop/images/23012025/16/00/image_23012025_16_01_07_10336.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_16_9346.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_27_10356.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":["1330849997","1330849972","1330849984","1330849978","1330849995","1330849989"],"photo_ids_order":["1330849972","1330849978","1330849984","1330849989","1330849995","1330849997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d194fb097bfce54fa5055f887065c1a.jpg","text":"TemporaryFile(/tmp/multipartBody3873056457835430497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656913477,"filename":"image_23012025_16_01_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c63265452e198af17224729a3a6aa0b.jpg","text":"TemporaryFile(/tmp/multipartBody6005799762340830797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656913477,"filename":"image_23012025_16_00_27_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8e673c6f351210ad13632a8317d3a5f.jpg","text":"TemporaryFile(/tmp/multipartBody7938647507931025130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656913477,"filename":"image_23012025_16_00_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a5ca7b38ffbad67f77d5aa99ebe5984.jpg","text":"TemporaryFile(/tmp/multipartBody7343588584493728301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656913477,"filename":"image_23012025_16_00_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dce0ec21f71d15acbcc50b283c4a025.jpg","text":"TemporaryFile(/tmp/multipartBody5990186643176946057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656913477,"filename":"image_23012025_16_01_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd82d0ed6d29f15c56d7d6fe57823d09.jpg","text":"TemporaryFile(/tmp/multipartBody6813336047387158641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656913477,"filename":"image_23012025_16_01_07_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330849984","file1":"1330849978","file0":"1330849972","file4":"1330849995","file5":"1330849997","file3":"1330849989"},"map_files_photo_id_array":[{"photo_id":"1330849997","filename":"file5"},{"photo_id":"1330849984","filename":"file2"},{"photo_id":"1330849995","filename":"file4"},{"photo_id":"1330849978","filename":"file1"},{"photo_id":"1330849972","filename":"file0"},{"photo_id":"1330849989","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330849997":["hashtag1","hashtag2"]},{"1330849972":["hashtag1","hashtag2"]},{"1330849984":["hashtag1","hashtag2"]},{"1330849978":["hashtag1","hashtag2"]},{"1330849995":["hashtag1","hashtag2"]},{"1330849989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330849997, 1330849972, 1330849984, 1330849978, 1330849995, 1330849989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14078140258789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:28:32.547289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_37_10317.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_46_9332.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_57_10359.jpg', '/home/pi/Desktop/images/23012025/16/01/image_23012025_16_02_06_9438.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_17_10361.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_27_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_37_10317.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_46_9332.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_01_57_10359.jpg
/home/pi/Desktop/images/23012025/16/01/image_23012025_16_02_06_9438.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_17_10361.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_27_10422.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":["1330850181","1330850186","1330850095","1330850026","1330850029","1330850190"],"photo_ids_order":["1330850026","1330850029","1330850095","1330850181","1330850186","1330850190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f288900fc3c4cbfee44632567ef9dc7.jpg","text":"TemporaryFile(/tmp/multipartBody2124940105339237850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656973506,"filename":"image_23012025_16_02_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19874296bdc58ae4e59a85c9d0e250e7.jpg","text":"TemporaryFile(/tmp/multipartBody5862186651388901286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656973506,"filename":"image_23012025_16_02_17_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3e555694cfc6c14cb354971d5a9d193.jpg","text":"TemporaryFile(/tmp/multipartBody4649954234962984441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656973506,"filename":"image_23012025_16_01_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcec1f3b4b2e938146e765b5a3aee1eb.jpg","text":"TemporaryFile(/tmp/multipartBody6556378111881511445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656973506,"filename":"image_23012025_16_01_37_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e2b65df1c3d86e80b74ce080d778dab.jpg","text":"TemporaryFile(/tmp/multipartBody1733629836973340554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656973506,"filename":"image_23012025_16_01_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02ce58def8cf5a8d67f6068fa08bb736.jpg","text":"TemporaryFile(/tmp/multipartBody6440378221269826361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737656973506,"filename":"image_23012025_16_02_27_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330850095","file1":"1330850029","file0":"1330850026","file4":"1330850186","file5":"1330850190","file3":"1330850181"},"map_files_photo_id_array":[{"photo_id":"1330850190","filename":"file5"},{"photo_id":"1330850095","filename":"file2"},{"photo_id":"1330850186","filename":"file4"},{"photo_id":"1330850029","filename":"file1"},{"photo_id":"1330850026","filename":"file0"},{"photo_id":"1330850181","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330850181":["hashtag1","hashtag2"]},{"1330850186":["hashtag1","hashtag2"]},{"1330850095":["hashtag1","hashtag2"]},{"1330850026":["hashtag1","hashtag2"]},{"1330850029":["hashtag1","hashtag2"]},{"1330850190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330850181, 1330850186, 1330850095, 1330850026, 1330850029, 1330850190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04960560798645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:29:32.688266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_36_9322.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_47_10352.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_57_10433.jpg', '/home/pi/Desktop/images/23012025/16/02/image_23012025_16_03_06_9327.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_17_10357.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_26_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_36_9322.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_47_10352.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_02_57_10433.jpg
/home/pi/Desktop/images/23012025/16/02/image_23012025_16_03_06_9327.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_17_10357.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_26_9362.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":["1330850220","1330850223","1330850228","1330850236","1330850239","1330850233"],"photo_ids_order":["1330850220","1330850223","1330850228","1330850233","1330850236","1330850239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3914c74e1eb309988f45bd0b8b2a1317.jpg","text":"TemporaryFile(/tmp/multipartBody3810546970465851532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657033684,"filename":"image_23012025_16_02_36_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dbc683b3e4b24d162a7ebb70d06a71c.jpg","text":"TemporaryFile(/tmp/multipartBody2660752795945189200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657033684,"filename":"image_23012025_16_02_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74f7490b1e977ff0f4408deeaa7af5ce.jpg","text":"TemporaryFile(/tmp/multipartBody1119831859149273326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657033684,"filename":"image_23012025_16_02_57_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b23d512780f1013ae6bb43bf1910cc85.jpg","text":"TemporaryFile(/tmp/multipartBody1329255073534917061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657033684,"filename":"image_23012025_16_03_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f9fe2479988358ec6c3ee1084cfbced.jpg","text":"TemporaryFile(/tmp/multipartBody94409869555807587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657033684,"filename":"image_23012025_16_03_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b03ebec08fb25f84e959e83e8625d191.jpg","text":"TemporaryFile(/tmp/multipartBody3801152595480169010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657033684,"filename":"image_23012025_16_03_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330850228","file1":"1330850223","file0":"1330850220","file4":"1330850236","file5":"1330850239","file3":"1330850233"},"map_files_photo_id_array":[{"photo_id":"1330850239","filename":"file5"},{"photo_id":"1330850228","filename":"file2"},{"photo_id":"1330850236","filename":"file4"},{"photo_id":"1330850223","filename":"file1"},{"photo_id":"1330850220","filename":"file0"},{"photo_id":"1330850233","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330850220":["hashtag1","hashtag2"]},{"1330850223":["hashtag1","hashtag2"]},{"1330850228":["hashtag1","hashtag2"]},{"1330850236":["hashtag1","hashtag2"]},{"1330850239":["hashtag1","hashtag2"]},{"1330850233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330850220, 1330850223, 1330850228, 1330850236, 1330850239, 1330850233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94742751121521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:30:32.876556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_37_10458.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_47_10465.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_56_9340.jpg', '/home/pi/Desktop/images/23012025/16/03/image_23012025_16_04_07_10324.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_17_10339.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_26_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_37_10458.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_47_10465.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_03_56_9340.jpg
/home/pi/Desktop/images/23012025/16/03/image_23012025_16_04_07_10324.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_17_10339.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_26_9333.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":["1330850291","1330850319","1330850304","1330850297","1330850311","1330850271"],"photo_ids_order":["1330850271","1330850291","1330850297","1330850304","1330850311","1330850319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58e16160a07094bb4264563a679fa69d.jpg","text":"TemporaryFile(/tmp/multipartBody3342386203424965177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657093859,"filename":"image_23012025_16_03_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ba8b429f7d45c250744177644203c8b.jpg","text":"TemporaryFile(/tmp/multipartBody347273756649783466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657093859,"filename":"image_23012025_16_04_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4393b2bb6039e5466d275fef7c6e1a40.jpg","text":"TemporaryFile(/tmp/multipartBody452767608467467714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657093859,"filename":"image_23012025_16_04_07_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ccb1fce8daca23f3ce7df11a4b1f6664.jpg","text":"TemporaryFile(/tmp/multipartBody7862052981064191715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657093859,"filename":"image_23012025_16_03_56_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53e8c296ac6822cad5e357855528d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody2413231256817635695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657093859,"filename":"image_23012025_16_04_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28a91d84fe9bb2b099092426051f216f.jpg","text":"TemporaryFile(/tmp/multipartBody7370794717273936419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657093859,"filename":"image_23012025_16_03_37_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330850297","file1":"1330850291","file0":"1330850271","file4":"1330850311","file5":"1330850319","file3":"1330850304"},"map_files_photo_id_array":[{"photo_id":"1330850319","filename":"file5"},{"photo_id":"1330850297","filename":"file2"},{"photo_id":"1330850311","filename":"file4"},{"photo_id":"1330850291","filename":"file1"},{"photo_id":"1330850271","filename":"file0"},{"photo_id":"1330850304","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330850291":["hashtag1","hashtag2"]},{"1330850319":["hashtag1","hashtag2"]},{"1330850304":["hashtag1","hashtag2"]},{"1330850297":["hashtag1","hashtag2"]},{"1330850311":["hashtag1","hashtag2"]},{"1330850271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330850291, 1330850319, 1330850304, 1330850297, 1330850311, 1330850271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46496844291687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:31:33.214333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_37_10328.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_47_10363.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_57_9427.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_05_07_10335.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_16_9402.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_27_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_37_10328.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_47_10363.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_57_9427.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_05_07_10335.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_16_9402.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_27_10355.jpg
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: 0.5648236274719238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:31:43.234242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_37_10328.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_47_10363.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_57_9427.jpg', '/home/pi/Desktop/images/23012025/16/04/image_23012025_16_05_07_10335.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_16_9402.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_27_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_37_10328.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_47_10363.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_04_57_9427.jpg
/home/pi/Desktop/images/23012025/16/04/image_23012025_16_05_07_10335.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_16_9402.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_27_10355.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":["1330850445","1330850371","1330850353","1330850611","1330850602","1330850388"],"photo_ids_order":["1330850353","1330850371","1330850388","1330850445","1330850602","1330850611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db22f66348c6cb76c6e707b1dfcb6cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8592530392989198223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657164145,"filename":"image_23012025_16_05_07_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfc88483047bd761485799563700ff71.jpg","text":"TemporaryFile(/tmp/multipartBody5188921000688153829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657164145,"filename":"image_23012025_16_04_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da5a1ffd988ffef827a70e96229c684e.jpg","text":"TemporaryFile(/tmp/multipartBody739606404000417400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657164145,"filename":"image_23012025_16_04_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/72662629734b9d8caf54f4f1df826bf7.jpg","text":"TemporaryFile(/tmp/multipartBody4474223310453321015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657164145,"filename":"image_23012025_16_05_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47953483fff5ecee5e17eb9767ec8102.jpg","text":"TemporaryFile(/tmp/multipartBody5327324192090662303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657164145,"filename":"image_23012025_16_05_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3212a90d3c161dc831a66746efff5865.jpg","text":"TemporaryFile(/tmp/multipartBody5130046073606040083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657164145,"filename":"image_23012025_16_04_57_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330850388","file1":"1330850371","file0":"1330850353","file4":"1330850602","file5":"1330850611","file3":"1330850445"},"map_files_photo_id_array":[{"photo_id":"1330850611","filename":"file5"},{"photo_id":"1330850388","filename":"file2"},{"photo_id":"1330850602","filename":"file4"},{"photo_id":"1330850371","filename":"file1"},{"photo_id":"1330850353","filename":"file0"},{"photo_id":"1330850445","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330850445":["hashtag1","hashtag2"]},{"1330850371":["hashtag1","hashtag2"]},{"1330850353":["hashtag1","hashtag2"]},{"1330850611":["hashtag1","hashtag2"]},{"1330850602":["hashtag1","hashtag2"]},{"1330850388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330850445, 1330850371, 1330850353, 1330850611, 1330850602, 1330850388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28730893135071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:32:32.395139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_37_10446.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_57_10494.jpg', '/home/pi/Desktop/images/23012025/16/05/image_23012025_16_06_06_9384.jpg', '/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_17_10339.jpg', '/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_27_10121.jpg', '/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_47_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_37_10446.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_05_57_10494.jpg
/home/pi/Desktop/images/23012025/16/05/image_23012025_16_06_06_9384.jpg
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_17_10339.jpg
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_27_10121.jpg
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_47_10350.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":["1330850791","1330850869","1330850842","1330850865","1330850787","1330850853"],"photo_ids_order":["1330850787","1330850791","1330850842","1330850853","1330850865","1330850869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32d2d97e51f8398168e9fdbe1d6036d1.jpg","text":"TemporaryFile(/tmp/multipartBody4775013144569336709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657213342,"filename":"image_23012025_16_05_57_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbb158f21b4957687de7e5d76d0b7b1b.jpg","text":"TemporaryFile(/tmp/multipartBody7639240470786455322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657213342,"filename":"image_23012025_16_06_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dba1a09773286c2f13aeae59720f906f.jpg","text":"TemporaryFile(/tmp/multipartBody5294466399535459031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657213342,"filename":"image_23012025_16_06_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11530a8cd862cf5379aa12cc3a870f2b.jpg","text":"TemporaryFile(/tmp/multipartBody43037660759456704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657213342,"filename":"image_23012025_16_06_27_10121.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3990c2f07f2b58bafd05fcbbb670ec37.jpg","text":"TemporaryFile(/tmp/multipartBody7873139371951466808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657213342,"filename":"image_23012025_16_05_37_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5c939389e61ee6fce2f994d6485a3a9.jpg","text":"TemporaryFile(/tmp/multipartBody9121098376637627235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657213342,"filename":"image_23012025_16_06_17_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330850842","file1":"1330850791","file0":"1330850787","file4":"1330850865","file5":"1330850869","file3":"1330850853"},"map_files_photo_id_array":[{"photo_id":"1330850869","filename":"file5"},{"photo_id":"1330850842","filename":"file2"},{"photo_id":"1330850865","filename":"file4"},{"photo_id":"1330850791","filename":"file1"},{"photo_id":"1330850787","filename":"file0"},{"photo_id":"1330850853","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330850791":["hashtag1","hashtag2"]},{"1330850869":["hashtag1","hashtag2"]},{"1330850842":["hashtag1","hashtag2"]},{"1330850865":["hashtag1","hashtag2"]},{"1330850787":["hashtag1","hashtag2"]},{"1330850853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330850791, 1330850869, 1330850842, 1330850865, 1330850787, 1330850853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.82619857788086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:33:32.608686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_57_10489.jpg', '/home/pi/Desktop/images/23012025/16/06/image_23012025_16_07_06_9313.jpg', '/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_17_10350.jpg', '/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_27_10367.jpg', '/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_47_10334.jpg', '/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_57_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_06_57_10489.jpg
/home/pi/Desktop/images/23012025/16/06/image_23012025_16_07_06_9313.jpg
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_17_10350.jpg
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_27_10367.jpg
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_47_10334.jpg
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_07_57_10345.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":["1330850961","1330850942","1330850956","1330850935","1330850932","1330850952"],"photo_ids_order":["1330850932","1330850935","1330850942","1330850952","1330850956","1330850961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f72a68ba2b8835ef838999e39501b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody7962212015929322240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657273539,"filename":"image_23012025_16_07_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0595e176b213c17470362e0e537ecef8.jpg","text":"TemporaryFile(/tmp/multipartBody8638240659308340353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657273539,"filename":"image_23012025_16_07_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b00c192d099706d24b9b7121aab7389d.jpg","text":"TemporaryFile(/tmp/multipartBody5277980231085532993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657273539,"filename":"image_23012025_16_07_47_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7acb50e25bb39b865698c1788df95344.jpg","text":"TemporaryFile(/tmp/multipartBody4352850339730097234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657273539,"filename":"image_23012025_16_07_06_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/219273bdbcbf07e83f74ff4c1a2b5e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1931952195865611281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657273539,"filename":"image_23012025_16_06_57_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e18e8ef8d024acb5bb2e103c2bd1a291.jpg","text":"TemporaryFile(/tmp/multipartBody6268390014897413433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657273539,"filename":"image_23012025_16_07_27_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330850942","file1":"1330850935","file0":"1330850932","file4":"1330850956","file5":"1330850961","file3":"1330850952"},"map_files_photo_id_array":[{"photo_id":"1330850961","filename":"file5"},{"photo_id":"1330850942","filename":"file2"},{"photo_id":"1330850956","filename":"file4"},{"photo_id":"1330850935","filename":"file1"},{"photo_id":"1330850932","filename":"file0"},{"photo_id":"1330850952","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330850961":["hashtag1","hashtag2"]},{"1330850942":["hashtag1","hashtag2"]},{"1330850956":["hashtag1","hashtag2"]},{"1330850935":["hashtag1","hashtag2"]},{"1330850932":["hashtag1","hashtag2"]},{"1330850952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330850961, 1330850942, 1330850956, 1330850935, 1330850932, 1330850952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.484435081481934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:34:32.720652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/07/image_23012025_16_08_06_9328.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_17_10332.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_26_9444.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_37_10328.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_47_10490.jpg', '/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_56_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/07/image_23012025_16_08_06_9328.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_17_10332.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_26_9444.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_37_10328.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_47_10490.jpg
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_08_56_9336.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":["1330851024","1330851011","1330851020","1330851022","1330850995","1330850991"],"photo_ids_order":["1330850991","1330850995","1330851011","1330851020","1330851022","1330851024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f95dbdf61052b1035d42fbc9c6c49b33.jpg","text":"TemporaryFile(/tmp/multipartBody9209892705908682146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657333662,"filename":"image_23012025_16_08_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b53933c8eeec5c7fb6d7263bada75e6.jpg","text":"TemporaryFile(/tmp/multipartBody3011077505577328312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657333662,"filename":"image_23012025_16_08_26_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0974ca7a7041a7bccb6a06a61a9ae848.jpg","text":"TemporaryFile(/tmp/multipartBody85318042759040061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657333662,"filename":"image_23012025_16_08_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/386e6ab6ccebc392c616a52e8910c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody2483639982696633516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657333662,"filename":"image_23012025_16_08_47_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0949f5d4c06400a92efb3e97596b75ae.jpg","text":"TemporaryFile(/tmp/multipartBody1192013414579278710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657333662,"filename":"image_23012025_16_08_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74cdcb819f5d802b008e3b3d2aea138d.jpg","text":"TemporaryFile(/tmp/multipartBody8168049685340842391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657333662,"filename":"image_23012025_16_08_06_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330851011","file1":"1330850995","file0":"1330850991","file4":"1330851022","file5":"1330851024","file3":"1330851020"},"map_files_photo_id_array":[{"photo_id":"1330851024","filename":"file5"},{"photo_id":"1330851011","filename":"file2"},{"photo_id":"1330851022","filename":"file4"},{"photo_id":"1330850995","filename":"file1"},{"photo_id":"1330850991","filename":"file0"},{"photo_id":"1330851020","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330851024":["hashtag1","hashtag2"]},{"1330851011":["hashtag1","hashtag2"]},{"1330851020":["hashtag1","hashtag2"]},{"1330851022":["hashtag1","hashtag2"]},{"1330850995":["hashtag1","hashtag2"]},{"1330850991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330851024, 1330851011, 1330851020, 1330851022, 1330850995, 1330850991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34203910827637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:35:32.898975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/08/image_23012025_16_09_07_10336.jpg', '/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_37_10487.jpg', '/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_46_9357.jpg', '/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_57_10347.jpg', '/home/pi/Desktop/images/23012025/16/09/image_23012025_16_10_07_10437.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_16_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/08/image_23012025_16_09_07_10336.jpg
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_37_10487.jpg
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_46_9357.jpg
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_09_57_10347.jpg
/home/pi/Desktop/images/23012025/16/09/image_23012025_16_10_07_10437.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_16_9328.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":["1330851062","1330851065","1330851047","1330851052","1330851040","1330851057"],"photo_ids_order":["1330851040","1330851047","1330851052","1330851057","1330851062","1330851065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be1b851cc54de59498eb1ba1892600d2.jpg","text":"TemporaryFile(/tmp/multipartBody7194745906279259759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657393841,"filename":"image_23012025_16_10_07_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/646e69badb6f0cb72417cbdcc4c40a54.jpg","text":"TemporaryFile(/tmp/multipartBody4059657402374427242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657393841,"filename":"image_23012025_16_10_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef5f1a7bcadc11ea2ce1e3909b3190f4.jpg","text":"TemporaryFile(/tmp/multipartBody527652183121594331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657393841,"filename":"image_23012025_16_09_37_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36559cb916572253e347d1cfdc52f1de.jpg","text":"TemporaryFile(/tmp/multipartBody831932148167387010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657393841,"filename":"image_23012025_16_09_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b68f83374cb393ac49b8e104ed33a4e3.jpg","text":"TemporaryFile(/tmp/multipartBody4449865661517721759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657393841,"filename":"image_23012025_16_09_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a3c2554c0070482addae52d363df010.jpg","text":"TemporaryFile(/tmp/multipartBody3418193506479538668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657393841,"filename":"image_23012025_16_09_57_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330851052","file1":"1330851047","file0":"1330851040","file4":"1330851062","file5":"1330851065","file3":"1330851057"},"map_files_photo_id_array":[{"photo_id":"1330851065","filename":"file5"},{"photo_id":"1330851052","filename":"file2"},{"photo_id":"1330851062","filename":"file4"},{"photo_id":"1330851047","filename":"file1"},{"photo_id":"1330851040","filename":"file0"},{"photo_id":"1330851057","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330851062":["hashtag1","hashtag2"]},{"1330851065":["hashtag1","hashtag2"]},{"1330851047":["hashtag1","hashtag2"]},{"1330851052":["hashtag1","hashtag2"]},{"1330851040":["hashtag1","hashtag2"]},{"1330851057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330851062, 1330851065, 1330851047, 1330851052, 1330851040, 1330851057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49351525306702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:36:32.235716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_27_10386.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_36_9312.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_47_10351.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_57_10341.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_11_06_9325.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_17_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_27_10386.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_36_9312.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_47_10351.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_57_10341.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_11_06_9325.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_17_10327.jpg
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: 0.5618653297424316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:36:42.310924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_27_10386.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_36_9312.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_47_10351.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_57_10341.jpg', '/home/pi/Desktop/images/23012025/16/10/image_23012025_16_11_06_9325.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_17_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_27_10386.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_36_9312.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_47_10351.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_10_57_10341.jpg
/home/pi/Desktop/images/23012025/16/10/image_23012025_16_11_06_9325.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_17_10327.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":["1330851173","1330851149","1330851196","1330851128","1330851192","1330851189"],"photo_ids_order":["1330851128","1330851149","1330851173","1330851189","1330851192","1330851196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3041803e5fa7c1c05006c9bf9e553d22.jpg","text":"TemporaryFile(/tmp/multipartBody4410452760435059374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657463206,"filename":"image_23012025_16_10_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84290af4cb88b730dcef96c3d81d7d03.jpg","text":"TemporaryFile(/tmp/multipartBody2057819476662961395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657463206,"filename":"image_23012025_16_10_36_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/218311dd29813534b720d65b33797a44.jpg","text":"TemporaryFile(/tmp/multipartBody4305229950454527025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657463206,"filename":"image_23012025_16_11_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/409778f27e568a582dd70a8b67ba7be5.jpg","text":"TemporaryFile(/tmp/multipartBody3630012372681951748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657463206,"filename":"image_23012025_16_10_27_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cca4537d426a26a608dfb180b49c7af9.jpg","text":"TemporaryFile(/tmp/multipartBody3035000857064394148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657463206,"filename":"image_23012025_16_11_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/826222e7ee5439a18101776747f18301.jpg","text":"TemporaryFile(/tmp/multipartBody5627063065635605846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657463206,"filename":"image_23012025_16_10_57_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330851173","file1":"1330851149","file0":"1330851128","file4":"1330851192","file5":"1330851196","file3":"1330851189"},"map_files_photo_id_array":[{"photo_id":"1330851196","filename":"file5"},{"photo_id":"1330851173","filename":"file2"},{"photo_id":"1330851192","filename":"file4"},{"photo_id":"1330851149","filename":"file1"},{"photo_id":"1330851128","filename":"file0"},{"photo_id":"1330851189","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330851173":["hashtag1","hashtag2"]},{"1330851149":["hashtag1","hashtag2"]},{"1330851196":["hashtag1","hashtag2"]},{"1330851128":["hashtag1","hashtag2"]},{"1330851192":["hashtag1","hashtag2"]},{"1330851189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330851173, 1330851149, 1330851196, 1330851128, 1330851192, 1330851189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53367781639099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:37:32.400863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_27_10353.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_36_9433.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_47_10350.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_57_10371.jpg', '/home/pi/Desktop/images/23012025/16/11/image_23012025_16_12_06_9327.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_17_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_27_10353.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_36_9433.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_47_10350.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_11_57_10371.jpg
/home/pi/Desktop/images/23012025/16/11/image_23012025_16_12_06_9327.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_17_10339.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":["1330851686","1330851668","1330851673","1330851838","1330851681","1330851843"],"photo_ids_order":["1330851668","1330851673","1330851681","1330851686","1330851838","1330851843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9d5553de6b756e6e471639bf53b6b548.jpg","text":"TemporaryFile(/tmp/multipartBody3267029671140104291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657513354,"filename":"image_23012025_16_11_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ebd562fb08762d51f32ca8b97cb3dd1.jpg","text":"TemporaryFile(/tmp/multipartBody6505489804582804041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657513354,"filename":"image_23012025_16_11_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5c153a57ffe7ca45b0d96382fb2c6a2.jpg","text":"TemporaryFile(/tmp/multipartBody4591815123231329246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657513354,"filename":"image_23012025_16_11_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a0b704f3402bebf590057b0d37d1dbe.jpg","text":"TemporaryFile(/tmp/multipartBody6522971487903210451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657513354,"filename":"image_23012025_16_12_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af9bb4c5d13d8e4284ba1c3c4cdc4705.jpg","text":"TemporaryFile(/tmp/multipartBody108987376103501327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657513354,"filename":"image_23012025_16_11_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33849be87d76429a1dbade2b5615c66a.jpg","text":"TemporaryFile(/tmp/multipartBody7506348802216619502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657513354,"filename":"image_23012025_16_12_17_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330851681","file1":"1330851673","file0":"1330851668","file4":"1330851838","file5":"1330851843","file3":"1330851686"},"map_files_photo_id_array":[{"photo_id":"1330851843","filename":"file5"},{"photo_id":"1330851681","filename":"file2"},{"photo_id":"1330851838","filename":"file4"},{"photo_id":"1330851673","filename":"file1"},{"photo_id":"1330851668","filename":"file0"},{"photo_id":"1330851686","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330851686":["hashtag1","hashtag2"]},{"1330851668":["hashtag1","hashtag2"]},{"1330851673":["hashtag1","hashtag2"]},{"1330851838":["hashtag1","hashtag2"]},{"1330851681":["hashtag1","hashtag2"]},{"1330851843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330851686, 1330851668, 1330851673, 1330851838, 1330851681, 1330851843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67751407623291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:38:32.527715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_27_10415.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_36_9326.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_47_10342.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_56_9386.jpg', '/home/pi/Desktop/images/23012025/16/12/image_23012025_16_13_07_10341.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_17_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_27_10415.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_36_9326.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_47_10342.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_12_56_9386.jpg
/home/pi/Desktop/images/23012025/16/12/image_23012025_16_13_07_10341.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_17_10466.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":["1330852109","1330852007","1330852001","1330852102","1330852104","1330852107"],"photo_ids_order":["1330852001","1330852007","1330852102","1330852104","1330852107","1330852109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c75884850a00d4680d5603b5be7f3cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5876098749338383774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657573479,"filename":"image_23012025_16_13_17_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2c14b2bfdf41ca3f074047355c04872.jpg","text":"TemporaryFile(/tmp/multipartBody4553608788287431922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657573479,"filename":"image_23012025_16_12_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6580d1bf73e344d23f842f94383dcd80.jpg","text":"TemporaryFile(/tmp/multipartBody456123418897787241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657573479,"filename":"image_23012025_16_12_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24e0cf6354dead094664dab9086f2620.jpg","text":"TemporaryFile(/tmp/multipartBody6438226344979724237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657573479,"filename":"image_23012025_16_12_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/241519eabc37bbc85401ee5832362cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8893784444400007666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657573479,"filename":"image_23012025_16_12_56_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e92dd1aa9f96bb87834223e87694b031.jpg","text":"TemporaryFile(/tmp/multipartBody1283338113729688542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657573479,"filename":"image_23012025_16_13_07_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852102","file1":"1330852007","file0":"1330852001","file4":"1330852107","file5":"1330852109","file3":"1330852104"},"map_files_photo_id_array":[{"photo_id":"1330852109","filename":"file5"},{"photo_id":"1330852102","filename":"file2"},{"photo_id":"1330852107","filename":"file4"},{"photo_id":"1330852007","filename":"file1"},{"photo_id":"1330852001","filename":"file0"},{"photo_id":"1330852104","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852109":["hashtag1","hashtag2"]},{"1330852007":["hashtag1","hashtag2"]},{"1330852001":["hashtag1","hashtag2"]},{"1330852102":["hashtag1","hashtag2"]},{"1330852104":["hashtag1","hashtag2"]},{"1330852107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852109, 1330852007, 1330852001, 1330852102, 1330852104, 1330852107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.904725790023804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:39:32.760968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_26_9334.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_37_10377.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_47_10375.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_56_9333.jpg', '/home/pi/Desktop/images/23012025/16/13/image_23012025_16_14_07_10336.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_17_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_26_9334.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_37_10377.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_47_10375.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_13_56_9333.jpg
/home/pi/Desktop/images/23012025/16/13/image_23012025_16_14_07_10336.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_17_10355.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":["1330852154","1330852156","1330852159","1330852167","1330852161","1330852164"],"photo_ids_order":["1330852154","1330852156","1330852159","1330852161","1330852164","1330852167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f6acb513f86e0128f13117eeea9243e.jpg","text":"TemporaryFile(/tmp/multipartBody6755024693544637360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657633724,"filename":"image_23012025_16_13_26_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7395321a377a0435a5ce19f756cc5cb3.jpg","text":"TemporaryFile(/tmp/multipartBody5263971063516581365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657633724,"filename":"image_23012025_16_13_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/308383ed2c828016f1d33a8ea4992697.jpg","text":"TemporaryFile(/tmp/multipartBody4264408791932955833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657633724,"filename":"image_23012025_16_13_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f39d728685d66c1f4b3ba227cc18ac7c.jpg","text":"TemporaryFile(/tmp/multipartBody1547084429376339638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657633724,"filename":"image_23012025_16_14_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18a131874ecc5f5c1fb95a7a64450d22.jpg","text":"TemporaryFile(/tmp/multipartBody8312087834359016782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657633724,"filename":"image_23012025_16_13_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a189a84832223a4d49ddc50925d2e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4460827490643633944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657633724,"filename":"image_23012025_16_14_07_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852159","file1":"1330852156","file0":"1330852154","file4":"1330852164","file5":"1330852167","file3":"1330852161"},"map_files_photo_id_array":[{"photo_id":"1330852167","filename":"file5"},{"photo_id":"1330852159","filename":"file2"},{"photo_id":"1330852164","filename":"file4"},{"photo_id":"1330852156","filename":"file1"},{"photo_id":"1330852154","filename":"file0"},{"photo_id":"1330852161","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852154":["hashtag1","hashtag2"]},{"1330852156":["hashtag1","hashtag2"]},{"1330852159":["hashtag1","hashtag2"]},{"1330852167":["hashtag1","hashtag2"]},{"1330852161":["hashtag1","hashtag2"]},{"1330852164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852154, 1330852156, 1330852159, 1330852167, 1330852161, 1330852164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.287294149398804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:40:32.877867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_26_9340.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_37_10314.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_47_10343.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_56_9336.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_15_07_10345.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_16_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_26_9340.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_37_10314.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_47_10343.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_56_9336.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_15_07_10345.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_16_9446.jpg
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: 0.5772027969360352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:40:42.898276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_26_9340.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_37_10314.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_47_10343.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_56_9336.jpg', '/home/pi/Desktop/images/23012025/16/14/image_23012025_16_15_07_10345.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_16_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_26_9340.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_37_10314.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_47_10343.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_14_56_9336.jpg
/home/pi/Desktop/images/23012025/16/14/image_23012025_16_15_07_10345.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_16_9446.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":["1330852231","1330852210","1330852222","1330852201","1330852218","1330852227"],"photo_ids_order":["1330852201","1330852210","1330852218","1330852222","1330852227","1330852231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36b8ef562bb31151406176d5344b2d3a.jpg","text":"TemporaryFile(/tmp/multipartBody8561742168776706938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657703801,"filename":"image_23012025_16_15_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34ad00a8335a962e963ebfc46a0f1b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8422474664176747309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657703801,"filename":"image_23012025_16_14_37_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55147c7f5b5270fbc672d3ade0a0411f.jpg","text":"TemporaryFile(/tmp/multipartBody6775164380269479650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657703801,"filename":"image_23012025_16_14_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5512a598d12724c2b02886ce2d0ef66c.jpg","text":"TemporaryFile(/tmp/multipartBody5009055192012095061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657703801,"filename":"image_23012025_16_14_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c1ced01d5511b3f6f7abe1b1759ea92.jpg","text":"TemporaryFile(/tmp/multipartBody721090790875664426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657703801,"filename":"image_23012025_16_14_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ca4c6c218e4d67651f0a9551dd9b369.jpg","text":"TemporaryFile(/tmp/multipartBody7824404061773038802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657703801,"filename":"image_23012025_16_15_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852218","file1":"1330852210","file0":"1330852201","file4":"1330852227","file5":"1330852231","file3":"1330852222"},"map_files_photo_id_array":[{"photo_id":"1330852231","filename":"file5"},{"photo_id":"1330852218","filename":"file2"},{"photo_id":"1330852227","filename":"file4"},{"photo_id":"1330852210","filename":"file1"},{"photo_id":"1330852201","filename":"file0"},{"photo_id":"1330852222","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852231":["hashtag1","hashtag2"]},{"1330852210":["hashtag1","hashtag2"]},{"1330852222":["hashtag1","hashtag2"]},{"1330852201":["hashtag1","hashtag2"]},{"1330852218":["hashtag1","hashtag2"]},{"1330852227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852231, 1330852210, 1330852222, 1330852201, 1330852218, 1330852227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25084447860718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:41:33.114115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_27_10352.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_37_10399.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_46_9351.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_57_10348.jpg', '/home/pi/Desktop/images/23012025/16/15/image_23012025_16_16_07_10387.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_16_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_27_10352.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_37_10399.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_46_9351.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_15_57_10348.jpg
/home/pi/Desktop/images/23012025/16/15/image_23012025_16_16_07_10387.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_16_9333.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":["1330852352","1330852331","1330852279","1330852300","1330852248","1330852263"],"photo_ids_order":["1330852248","1330852263","1330852279","1330852300","1330852331","1330852352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e28cd7a525950f601aa00d3384b18cca.jpg","text":"TemporaryFile(/tmp/multipartBody7727312659871349883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657754304,"filename":"image_23012025_16_16_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff431167e73fdbdf32c1cfda5b270330.jpg","text":"TemporaryFile(/tmp/multipartBody3070476773157370747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657754304,"filename":"image_23012025_16_16_07_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/159508d83ae588a74c95bfe5a49e8553.jpg","text":"TemporaryFile(/tmp/multipartBody3453052054672146655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657754304,"filename":"image_23012025_16_15_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b52352699f2c063f71c36bf3bd8a64aa.jpg","text":"TemporaryFile(/tmp/multipartBody1563422816559901408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657754304,"filename":"image_23012025_16_15_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/584fa63a00d8b7ba35bb84f6096d094c.jpg","text":"TemporaryFile(/tmp/multipartBody2738672849451295538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657754304,"filename":"image_23012025_16_15_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ba469afab98546387204fe9f4889447.jpg","text":"TemporaryFile(/tmp/multipartBody268098054849816930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657754304,"filename":"image_23012025_16_15_37_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852279","file1":"1330852263","file0":"1330852248","file4":"1330852331","file5":"1330852352","file3":"1330852300"},"map_files_photo_id_array":[{"photo_id":"1330852352","filename":"file5"},{"photo_id":"1330852279","filename":"file2"},{"photo_id":"1330852331","filename":"file4"},{"photo_id":"1330852263","filename":"file1"},{"photo_id":"1330852248","filename":"file0"},{"photo_id":"1330852300","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852352":["hashtag1","hashtag2"]},{"1330852331":["hashtag1","hashtag2"]},{"1330852279":["hashtag1","hashtag2"]},{"1330852300":["hashtag1","hashtag2"]},{"1330852248":["hashtag1","hashtag2"]},{"1330852263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852352, 1330852331, 1330852279, 1330852300, 1330852248, 1330852263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.170636892318726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:42:32.357953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_27_10338.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_37_10385.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_46_9357.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_57_10331.jpg', '/home/pi/Desktop/images/23012025/16/16/image_23012025_16_17_06_9383.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_27_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_27_10338.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_37_10385.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_46_9357.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_16_57_10331.jpg
/home/pi/Desktop/images/23012025/16/16/image_23012025_16_17_06_9383.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_27_10353.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":["1330852555","1330852543","1330852537","1330852539","1330852560","1330852541"],"photo_ids_order":["1330852537","1330852539","1330852541","1330852543","1330852555","1330852560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0536253e2e74b34d3175eb80ab77ec4d.jpg","text":"TemporaryFile(/tmp/multipartBody5188181068030554042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657813299,"filename":"image_23012025_16_17_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81966a998af1799dabc1cc8768530aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6322805252320568755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657813299,"filename":"image_23012025_16_16_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65869cc87fe8b51d7cf57e840b9c6d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8575928679588047254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657813299,"filename":"image_23012025_16_16_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8a62b074a72bac5ab4634d693344600.jpg","text":"TemporaryFile(/tmp/multipartBody9003254357664631469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657813299,"filename":"image_23012025_16_16_37_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e804abed56ca6d82efe7fd4e9802a589.jpg","text":"TemporaryFile(/tmp/multipartBody8499519045678863494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657813299,"filename":"image_23012025_16_17_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af709f8810217f02b592c601b2b331f6.jpg","text":"TemporaryFile(/tmp/multipartBody3934357454706731394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657813299,"filename":"image_23012025_16_16_46_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852541","file1":"1330852539","file0":"1330852537","file4":"1330852555","file5":"1330852560","file3":"1330852543"},"map_files_photo_id_array":[{"photo_id":"1330852560","filename":"file5"},{"photo_id":"1330852541","filename":"file2"},{"photo_id":"1330852555","filename":"file4"},{"photo_id":"1330852539","filename":"file1"},{"photo_id":"1330852537","filename":"file0"},{"photo_id":"1330852543","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852555":["hashtag1","hashtag2"]},{"1330852543":["hashtag1","hashtag2"]},{"1330852537":["hashtag1","hashtag2"]},{"1330852539":["hashtag1","hashtag2"]},{"1330852560":["hashtag1","hashtag2"]},{"1330852541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852555, 1330852543, 1330852537, 1330852539, 1330852560, 1330852541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75608444213867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:43:32.731814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_36_9390.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_47_10342.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_57_10483.jpg', '/home/pi/Desktop/images/23012025/16/17/image_23012025_16_18_06_9380.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_17_10325.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_26_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_36_9390.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_47_10342.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_17_57_10483.jpg
/home/pi/Desktop/images/23012025/16/17/image_23012025_16_18_06_9380.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_17_10325.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_26_9436.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":["1330852658","1330852616","1330852613","1330852603","1330852656","1330852589"],"photo_ids_order":["1330852589","1330852603","1330852613","1330852616","1330852656","1330852658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0992646828561cb4e7c2d3e03aab471a.jpg","text":"TemporaryFile(/tmp/multipartBody7367407897306724346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657873685,"filename":"image_23012025_16_18_26_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f518bb9162ed0c3ac1a21aa802c63ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2037098741600241407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657873685,"filename":"image_23012025_16_18_06_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48d687150417c8724967c58df9895c69.jpg","text":"TemporaryFile(/tmp/multipartBody4323874176649300657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657873685,"filename":"image_23012025_16_17_57_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95a8e519cb87662fd20df7c38c58f498.jpg","text":"TemporaryFile(/tmp/multipartBody6086920143308381280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657873685,"filename":"image_23012025_16_17_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/117a7075eeb2cb9c641a3cbe6f838b37.jpg","text":"TemporaryFile(/tmp/multipartBody8496395838349613863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657873685,"filename":"image_23012025_16_18_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a87c54f71a979f8b02daef65b1052d1.jpg","text":"TemporaryFile(/tmp/multipartBody5147091499462863052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657873685,"filename":"image_23012025_16_17_36_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852613","file1":"1330852603","file0":"1330852589","file4":"1330852656","file5":"1330852658","file3":"1330852616"},"map_files_photo_id_array":[{"photo_id":"1330852658","filename":"file5"},{"photo_id":"1330852613","filename":"file2"},{"photo_id":"1330852656","filename":"file4"},{"photo_id":"1330852603","filename":"file1"},{"photo_id":"1330852589","filename":"file0"},{"photo_id":"1330852616","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852658":["hashtag1","hashtag2"]},{"1330852616":["hashtag1","hashtag2"]},{"1330852613":["hashtag1","hashtag2"]},{"1330852603":["hashtag1","hashtag2"]},{"1330852656":["hashtag1","hashtag2"]},{"1330852589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852658, 1330852616, 1330852613, 1330852603, 1330852656, 1330852589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.233598470687866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:44:32.854537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_37_10333.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_47_10457.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_56_9322.jpg', '/home/pi/Desktop/images/23012025/16/18/image_23012025_16_19_07_10322.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_17_10372.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_26_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_37_10333.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_47_10457.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_18_56_9322.jpg
/home/pi/Desktop/images/23012025/16/18/image_23012025_16_19_07_10322.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_17_10372.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_26_9400.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":["1330852712","1330852699","1330852678","1330852732","1330852686","1330852725"],"photo_ids_order":["1330852678","1330852686","1330852699","1330852712","1330852725","1330852732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/968d15b1cf9a51696a24757d6bcd2ef1.jpg","text":"TemporaryFile(/tmp/multipartBody654584655559281653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657933822,"filename":"image_23012025_16_19_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2bdb7c3aab18be12465a4e01c2718fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2046106151972183647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657933822,"filename":"image_23012025_16_18_56_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e877b9def00ddcc899091b98db4d030.jpg","text":"TemporaryFile(/tmp/multipartBody414095023115643306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657933822,"filename":"image_23012025_16_18_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/370c0d65ca8a4b519f5ec94a420e1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody4083166172329194540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657933822,"filename":"image_23012025_16_19_26_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b3d578c2c4c8a984b7ca7897221a3eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5579081883857412755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657933822,"filename":"image_23012025_16_18_47_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e34a987604e9ed4e418ecdf9cac7f242.jpg","text":"TemporaryFile(/tmp/multipartBody7494169593209266517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657933822,"filename":"image_23012025_16_19_17_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852699","file1":"1330852686","file0":"1330852678","file4":"1330852725","file5":"1330852732","file3":"1330852712"},"map_files_photo_id_array":[{"photo_id":"1330852732","filename":"file5"},{"photo_id":"1330852699","filename":"file2"},{"photo_id":"1330852725","filename":"file4"},{"photo_id":"1330852686","filename":"file1"},{"photo_id":"1330852678","filename":"file0"},{"photo_id":"1330852712","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852712":["hashtag1","hashtag2"]},{"1330852699":["hashtag1","hashtag2"]},{"1330852678":["hashtag1","hashtag2"]},{"1330852732":["hashtag1","hashtag2"]},{"1330852686":["hashtag1","hashtag2"]},{"1330852725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852712, 1330852699, 1330852678, 1330852732, 1330852686, 1330852725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.679394245147705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:45:33.126234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_37_10321.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_47_10364.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_56_9330.jpg', '/home/pi/Desktop/images/23012025/16/19/image_23012025_16_20_07_10327.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_16_9445.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_27_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_37_10321.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_47_10364.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_19_56_9330.jpg
/home/pi/Desktop/images/23012025/16/19/image_23012025_16_20_07_10327.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_16_9445.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_27_10346.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":["1330852805","1330852808","1330852794","1330852812","1330852800","1330852803"],"photo_ids_order":["1330852794","1330852800","1330852803","1330852805","1330852808","1330852812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ab2259be903c67c564ea555a47840d6.jpg","text":"TemporaryFile(/tmp/multipartBody668940220728867167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657994082,"filename":"image_23012025_16_20_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8032d0ffd60178404b4299e9cc75af35.jpg","text":"TemporaryFile(/tmp/multipartBody9183787299658999367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657994082,"filename":"image_23012025_16_20_16_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78eff93769b4544b8539346d90c83434.jpg","text":"TemporaryFile(/tmp/multipartBody6310847960996145369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657994082,"filename":"image_23012025_16_19_37_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52a94fd60a4fdbcd16c6da70d573a570.jpg","text":"TemporaryFile(/tmp/multipartBody7845890065857443369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657994082,"filename":"image_23012025_16_20_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09e7a8bd4578573b353d6f9c43722dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8989859563368903995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657994082,"filename":"image_23012025_16_19_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48e868e2918209e71afa8073331d0e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5100238534191263190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737657994082,"filename":"image_23012025_16_19_56_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852803","file1":"1330852800","file0":"1330852794","file4":"1330852808","file5":"1330852812","file3":"1330852805"},"map_files_photo_id_array":[{"photo_id":"1330852812","filename":"file5"},{"photo_id":"1330852803","filename":"file2"},{"photo_id":"1330852808","filename":"file4"},{"photo_id":"1330852800","filename":"file1"},{"photo_id":"1330852794","filename":"file0"},{"photo_id":"1330852805","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852805":["hashtag1","hashtag2"]},{"1330852808":["hashtag1","hashtag2"]},{"1330852794":["hashtag1","hashtag2"]},{"1330852812":["hashtag1","hashtag2"]},{"1330852800":["hashtag1","hashtag2"]},{"1330852803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852805, 1330852808, 1330852794, 1330852812, 1330852800, 1330852803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.405125856399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:46:32.311356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_37_10462.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_46_9335.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_57_10344.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_21_07_10343.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_16_9327.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_27_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_37_10462.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_46_9335.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_57_10344.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_21_07_10343.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_16_9327.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_27_10384.jpg
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: 0.5685379505157471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:46:42.265675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_37_10462.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_46_9335.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_57_10344.jpg', '/home/pi/Desktop/images/23012025/16/20/image_23012025_16_21_07_10343.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_16_9327.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_27_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_37_10462.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_46_9335.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_20_57_10344.jpg
/home/pi/Desktop/images/23012025/16/20/image_23012025_16_21_07_10343.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_16_9327.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_27_10384.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":["1330852922","1330852925","1330852909","1330852929","1330852902","1330852932"],"photo_ids_order":["1330852902","1330852909","1330852922","1330852925","1330852929","1330852932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b3ebf88c19edaf774a7898d58e95d88.jpg","text":"TemporaryFile(/tmp/multipartBody1098147587099736431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658063159,"filename":"image_23012025_16_20_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f8ee3d6399d313cea7fa5993dd0d5ee.jpg","text":"TemporaryFile(/tmp/multipartBody7963030720230651085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658063159,"filename":"image_23012025_16_21_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/365bb918116dc13ae836d5d62ce94165.jpg","text":"TemporaryFile(/tmp/multipartBody6530505394378282854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658063159,"filename":"image_23012025_16_20_46_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/776f9a7dd9eeff68bbc8c89ea8e0547a.jpg","text":"TemporaryFile(/tmp/multipartBody6074372094010240119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658063159,"filename":"image_23012025_16_21_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e66f9cbb2c52a7bc8ea32f5cef5927c.jpg","text":"TemporaryFile(/tmp/multipartBody3593530908520709042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658063159,"filename":"image_23012025_16_20_37_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0aab44a10bc84070f1a3c3d46ee63342.jpg","text":"TemporaryFile(/tmp/multipartBody8343192511978252298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658063159,"filename":"image_23012025_16_21_27_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330852922","file1":"1330852909","file0":"1330852902","file4":"1330852929","file5":"1330852932","file3":"1330852925"},"map_files_photo_id_array":[{"photo_id":"1330852932","filename":"file5"},{"photo_id":"1330852922","filename":"file2"},{"photo_id":"1330852929","filename":"file4"},{"photo_id":"1330852909","filename":"file1"},{"photo_id":"1330852902","filename":"file0"},{"photo_id":"1330852925","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330852922":["hashtag1","hashtag2"]},{"1330852925":["hashtag1","hashtag2"]},{"1330852909":["hashtag1","hashtag2"]},{"1330852929":["hashtag1","hashtag2"]},{"1330852902":["hashtag1","hashtag2"]},{"1330852932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330852922, 1330852925, 1330852909, 1330852929, 1330852902, 1330852932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89010190963745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:47:32.501091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_37_10331.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_46_9337.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_57_10342.jpg', '/home/pi/Desktop/images/23012025/16/21/image_23012025_16_22_07_10324.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_16_9317.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_27_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_37_10331.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_46_9337.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_21_57_10342.jpg
/home/pi/Desktop/images/23012025/16/21/image_23012025_16_22_07_10324.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_16_9317.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_27_10337.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":["1330853024","1330853006","1330852996","1330853032","1330853001","1330853027"],"photo_ids_order":["1330852996","1330853001","1330853006","1330853024","1330853027","1330853032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/371d41b7e48f316f6639dd130410a7c1.jpg","text":"TemporaryFile(/tmp/multipartBody7030563643613140210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658113466,"filename":"image_23012025_16_22_07_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f755029436445ad476f905c9c42ed6f.jpg","text":"TemporaryFile(/tmp/multipartBody795759380105668875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658113466,"filename":"image_23012025_16_21_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/794aabaa8ac819eaef69ae025254b862.jpg","text":"TemporaryFile(/tmp/multipartBody2051455946960278939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658113466,"filename":"image_23012025_16_21_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7cb6fc9855ae2bd256d436c776d9339.jpg","text":"TemporaryFile(/tmp/multipartBody176369642162682032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658113466,"filename":"image_23012025_16_22_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c029b00d30145090fbc67c9c66871026.jpg","text":"TemporaryFile(/tmp/multipartBody2675918578867992202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658113466,"filename":"image_23012025_16_21_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/364f900dc6a551f75130cf05557331d3.jpg","text":"TemporaryFile(/tmp/multipartBody5955597009515785896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658113466,"filename":"image_23012025_16_22_16_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330853006","file1":"1330853001","file0":"1330852996","file4":"1330853027","file5":"1330853032","file3":"1330853024"},"map_files_photo_id_array":[{"photo_id":"1330853032","filename":"file5"},{"photo_id":"1330853006","filename":"file2"},{"photo_id":"1330853027","filename":"file4"},{"photo_id":"1330853001","filename":"file1"},{"photo_id":"1330852996","filename":"file0"},{"photo_id":"1330853024","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330853024":["hashtag1","hashtag2"]},{"1330853006":["hashtag1","hashtag2"]},{"1330852996":["hashtag1","hashtag2"]},{"1330853032":["hashtag1","hashtag2"]},{"1330853001":["hashtag1","hashtag2"]},{"1330853027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330853024, 1330853006, 1330852996, 1330853032, 1330853001, 1330853027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.79535531997681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:48:32.631963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_36_9408.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_47_10433.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_57_10380.jpg', '/home/pi/Desktop/images/23012025/16/22/image_23012025_16_23_06_9307.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_17_10347.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_27_10497.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_36_9408.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_47_10433.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_22_57_10380.jpg
/home/pi/Desktop/images/23012025/16/22/image_23012025_16_23_06_9307.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_17_10347.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_27_10497.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":["1330853170","1330853193","1330853186","1330853189","1330853162","1330853147"],"photo_ids_order":["1330853147","1330853162","1330853170","1330853186","1330853189","1330853193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/963fb3e25115e66b25491c59a8e43dc3.jpg","text":"TemporaryFile(/tmp/multipartBody1118706257655839168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658173608,"filename":"image_23012025_16_22_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9bc4ed3f4af8f665e6992c9d6bb9d9be.jpg","text":"TemporaryFile(/tmp/multipartBody2469471152350834086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658173608,"filename":"image_23012025_16_23_27_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/416da642ea6d50eaaecfa8e106dfb1df.jpg","text":"TemporaryFile(/tmp/multipartBody864394381660997674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658173608,"filename":"image_23012025_16_23_06_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b27930e6a935853ff963bac82e97276f.jpg","text":"TemporaryFile(/tmp/multipartBody7313209388886781164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658173608,"filename":"image_23012025_16_23_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be4f879c183a3f263d790c1c4a041061.jpg","text":"TemporaryFile(/tmp/multipartBody4214161930834271923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658173608,"filename":"image_23012025_16_22_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc4e7d6b9d26ebccc8bea263fce594fd.jpg","text":"TemporaryFile(/tmp/multipartBody978440584259860346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658173608,"filename":"image_23012025_16_22_36_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330853170","file1":"1330853162","file0":"1330853147","file4":"1330853189","file5":"1330853193","file3":"1330853186"},"map_files_photo_id_array":[{"photo_id":"1330853193","filename":"file5"},{"photo_id":"1330853170","filename":"file2"},{"photo_id":"1330853189","filename":"file4"},{"photo_id":"1330853162","filename":"file1"},{"photo_id":"1330853147","filename":"file0"},{"photo_id":"1330853186","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330853170":["hashtag1","hashtag2"]},{"1330853193":["hashtag1","hashtag2"]},{"1330853186":["hashtag1","hashtag2"]},{"1330853189":["hashtag1","hashtag2"]},{"1330853162":["hashtag1","hashtag2"]},{"1330853147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330853170, 1330853193, 1330853186, 1330853189, 1330853162, 1330853147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.60916018486023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:49:32.877626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_36_9315.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_47_10348.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_56_9407.jpg', '/home/pi/Desktop/images/23012025/16/23/image_23012025_16_24_07_10323.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_17_10345.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_26_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_36_9315.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_47_10348.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_23_56_9407.jpg
/home/pi/Desktop/images/23012025/16/23/image_23012025_16_24_07_10323.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_17_10345.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_26_9335.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":["1330853222","1330853236","1330853218","1330853232","1330853225","1330853228"],"photo_ids_order":["1330853218","1330853222","1330853225","1330853228","1330853232","1330853236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1475ca1194630a38e50f3ce13d858ad5.jpg","text":"TemporaryFile(/tmp/multipartBody389640614297407480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658233835,"filename":"image_23012025_16_23_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41ce79283afc4a4a4fd2dc8fcf415ed0.jpg","text":"TemporaryFile(/tmp/multipartBody579388617221237026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658233835,"filename":"image_23012025_16_24_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7dd2e99ea1ec9084414d06d12c13b49.jpg","text":"TemporaryFile(/tmp/multipartBody3862972886143571721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658233835,"filename":"image_23012025_16_23_36_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d2a93a3029663128df06ce0e39f0b62.jpg","text":"TemporaryFile(/tmp/multipartBody8467182566871998498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658233835,"filename":"image_23012025_16_24_17_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ceed909d94aec957fc6ae0b1fd32f558.jpg","text":"TemporaryFile(/tmp/multipartBody8678271344121119453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658233835,"filename":"image_23012025_16_23_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/413d05f0c16565aa47da7273e8c8a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody991162529043821322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658233835,"filename":"image_23012025_16_24_07_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330853225","file1":"1330853222","file0":"1330853218","file4":"1330853232","file5":"1330853236","file3":"1330853228"},"map_files_photo_id_array":[{"photo_id":"1330853236","filename":"file5"},{"photo_id":"1330853225","filename":"file2"},{"photo_id":"1330853232","filename":"file4"},{"photo_id":"1330853222","filename":"file1"},{"photo_id":"1330853218","filename":"file0"},{"photo_id":"1330853228","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330853222":["hashtag1","hashtag2"]},{"1330853236":["hashtag1","hashtag2"]},{"1330853218":["hashtag1","hashtag2"]},{"1330853232":["hashtag1","hashtag2"]},{"1330853225":["hashtag1","hashtag2"]},{"1330853228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330853222, 1330853236, 1330853218, 1330853232, 1330853225, 1330853228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.693278074264526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:50:32.999370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_37_10306.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_47_10358.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_56_9344.jpg', '/home/pi/Desktop/images/23012025/16/24/image_23012025_16_25_07_10332.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_17_10414.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_26_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_37_10306.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_47_10358.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_24_56_9344.jpg
/home/pi/Desktop/images/23012025/16/24/image_23012025_16_25_07_10332.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_17_10414.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_26_9346.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":["1330853309","1330853303","1330853311","1330853274","1330853307","1330853279"],"photo_ids_order":["1330853274","1330853279","1330853303","1330853307","1330853309","1330853311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/242a82aa76feee214b8076c6a8969b09.jpg","text":"TemporaryFile(/tmp/multipartBody8321270079905757140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658293951,"filename":"image_23012025_16_25_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5e264fb482be36d7ea69e9639856e86.jpg","text":"TemporaryFile(/tmp/multipartBody7414683466196597930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658293951,"filename":"image_23012025_16_24_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d70d20157f013f57630a5a01e3d69ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6286936655644647675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658293951,"filename":"image_23012025_16_25_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec12d1411ced9561a01a15f732bd9442.jpg","text":"TemporaryFile(/tmp/multipartBody5354944945132711047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658293951,"filename":"image_23012025_16_24_37_10306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdcda73fff5f6bcefc8e019657483569.jpg","text":"TemporaryFile(/tmp/multipartBody3472548600445629368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658293951,"filename":"image_23012025_16_25_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e197895ae2baf94d74dae7c1fd2e7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1352980256338816024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658293951,"filename":"image_23012025_16_24_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330853303","file1":"1330853279","file0":"1330853274","file4":"1330853309","file5":"1330853311","file3":"1330853307"},"map_files_photo_id_array":[{"photo_id":"1330853311","filename":"file5"},{"photo_id":"1330853303","filename":"file2"},{"photo_id":"1330853309","filename":"file4"},{"photo_id":"1330853279","filename":"file1"},{"photo_id":"1330853274","filename":"file0"},{"photo_id":"1330853307","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330853309":["hashtag1","hashtag2"]},{"1330853303":["hashtag1","hashtag2"]},{"1330853311":["hashtag1","hashtag2"]},{"1330853274":["hashtag1","hashtag2"]},{"1330853307":["hashtag1","hashtag2"]},{"1330853279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330853309, 1330853303, 1330853311, 1330853274, 1330853307, 1330853279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77681255340576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:51:33.117261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_37_10405.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_46_9427.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_57_10338.jpg', '/home/pi/Desktop/images/23012025/16/25/image_23012025_16_26_07_10346.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_16_9387.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_27_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_37_10405.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_46_9427.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_25_57_10338.jpg
/home/pi/Desktop/images/23012025/16/25/image_23012025_16_26_07_10346.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_16_9387.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_27_10356.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":["1330853938","1330853923","1330853946","1330853928","1330853925","1330853942"],"photo_ids_order":["1330853923","1330853925","1330853928","1330853938","1330853942","1330853946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31918f4608640879f8d1ca15fa6e2333.jpg","text":"TemporaryFile(/tmp/multipartBody3427204393478810897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658354065,"filename":"image_23012025_16_26_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fda07defde2171a6d107aebd38190a31.jpg","text":"TemporaryFile(/tmp/multipartBody1643130150620550624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658354065,"filename":"image_23012025_16_25_37_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cbf31c0f2c008434c264006b63971f33.jpg","text":"TemporaryFile(/tmp/multipartBody2821205672275009502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658354065,"filename":"image_23012025_16_26_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2467d2ef995b370ddeca2ef6aa2fdad9.jpg","text":"TemporaryFile(/tmp/multipartBody5060492292596562810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658354065,"filename":"image_23012025_16_25_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7403e4160617c9099fa2ced5357ae9a.jpg","text":"TemporaryFile(/tmp/multipartBody6936149474520565963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658354065,"filename":"image_23012025_16_25_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c110e4114a382063869181ec7d95c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody6098862239469319475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658354065,"filename":"image_23012025_16_26_16_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330853928","file1":"1330853925","file0":"1330853923","file4":"1330853942","file5":"1330853946","file3":"1330853938"},"map_files_photo_id_array":[{"photo_id":"1330853946","filename":"file5"},{"photo_id":"1330853928","filename":"file2"},{"photo_id":"1330853942","filename":"file4"},{"photo_id":"1330853925","filename":"file1"},{"photo_id":"1330853923","filename":"file0"},{"photo_id":"1330853938","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330853938":["hashtag1","hashtag2"]},{"1330853923":["hashtag1","hashtag2"]},{"1330853946":["hashtag1","hashtag2"]},{"1330853928":["hashtag1","hashtag2"]},{"1330853925":["hashtag1","hashtag2"]},{"1330853942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330853938, 1330853923, 1330853946, 1330853928, 1330853925, 1330853942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.588945388793945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:52:32.334121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_37_10413.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_46_9343.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_57_10377.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_27_07_10323.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_16_9330.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_27_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_37_10413.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_46_9343.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_57_10377.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_27_07_10323.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_16_9330.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_27_10347.jpg
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: 0.5965237617492676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:52:42.321448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_37_10413.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_46_9343.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_57_10377.jpg', '/home/pi/Desktop/images/23012025/16/26/image_23012025_16_27_07_10323.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_16_9330.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_27_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_37_10413.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_46_9343.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_26_57_10377.jpg
/home/pi/Desktop/images/23012025/16/26/image_23012025_16_27_07_10323.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_16_9330.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_27_10347.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":["1330854340","1330854348","1330854357","1330854345","1330854365","1330854335"],"photo_ids_order":["1330854335","1330854340","1330854345","1330854348","1330854357","1330854365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/179206bd8010e7fc2945e2a33ea97337.jpg","text":"TemporaryFile(/tmp/multipartBody7778519265795827426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658423234,"filename":"image_23012025_16_26_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf9e0c1575e0ef884cad95ebd8c89b60.jpg","text":"TemporaryFile(/tmp/multipartBody7380638477270387862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658423234,"filename":"image_23012025_16_27_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d3f4030039d929303424bff89b74525.jpg","text":"TemporaryFile(/tmp/multipartBody4005763834600894195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658423234,"filename":"image_23012025_16_27_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b40b0e349d55730eceefda0214fdfb4.jpg","text":"TemporaryFile(/tmp/multipartBody2574729381634680422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658423234,"filename":"image_23012025_16_26_57_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d36febf88d78ae7aa276ec76ac9c43f1.jpg","text":"TemporaryFile(/tmp/multipartBody6498519947875750034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658423234,"filename":"image_23012025_16_27_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55ec5cdcb4650a356c0318c34c79c901.jpg","text":"TemporaryFile(/tmp/multipartBody5276219879621009780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658423234,"filename":"image_23012025_16_26_37_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330854345","file1":"1330854340","file0":"1330854335","file4":"1330854357","file5":"1330854365","file3":"1330854348"},"map_files_photo_id_array":[{"photo_id":"1330854365","filename":"file5"},{"photo_id":"1330854345","filename":"file2"},{"photo_id":"1330854357","filename":"file4"},{"photo_id":"1330854340","filename":"file1"},{"photo_id":"1330854335","filename":"file0"},{"photo_id":"1330854348","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330854340":["hashtag1","hashtag2"]},{"1330854348":["hashtag1","hashtag2"]},{"1330854357":["hashtag1","hashtag2"]},{"1330854345":["hashtag1","hashtag2"]},{"1330854365":["hashtag1","hashtag2"]},{"1330854335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330854340, 1330854348, 1330854357, 1330854345, 1330854365, 1330854335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.225886821746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:53:32.456118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_37_10335.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_47_9437.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_57_10348.jpg', '/home/pi/Desktop/images/23012025/16/27/image_23012025_16_28_06_9346.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_17_10413.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_27_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_37_10335.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_47_9437.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_27_57_10348.jpg
/home/pi/Desktop/images/23012025/16/27/image_23012025_16_28_06_9346.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_17_10413.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_27_10436.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":["1330854643","1330854613","1330854621","1330854593","1330854638","1330854608"],"photo_ids_order":["1330854593","1330854608","1330854613","1330854621","1330854638","1330854643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3969e869c3a0dab6ec2405554f4a274f.jpg","text":"TemporaryFile(/tmp/multipartBody5854364386846668028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658473415,"filename":"image_23012025_16_28_27_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4e008aa2dc568c9ca12ed6dcd4b7a36.jpg","text":"TemporaryFile(/tmp/multipartBody9200206180499224488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658473415,"filename":"image_23012025_16_27_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4969e5ddd9510eb12f5915cff3642716.jpg","text":"TemporaryFile(/tmp/multipartBody6082274036426495005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658473415,"filename":"image_23012025_16_28_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5e48050c846e4721349ae26748b9974.jpg","text":"TemporaryFile(/tmp/multipartBody5602824046580430666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658473415,"filename":"image_23012025_16_27_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2ef05bb70762f8a3418595532cc525c.jpg","text":"TemporaryFile(/tmp/multipartBody5964022957122323434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658473415,"filename":"image_23012025_16_28_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/368b1eba469ae8efb1100bdb89f84c31.jpg","text":"TemporaryFile(/tmp/multipartBody5593683682720035146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658473415,"filename":"image_23012025_16_27_47_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330854613","file1":"1330854608","file0":"1330854593","file4":"1330854638","file5":"1330854643","file3":"1330854621"},"map_files_photo_id_array":[{"photo_id":"1330854643","filename":"file5"},{"photo_id":"1330854613","filename":"file2"},{"photo_id":"1330854638","filename":"file4"},{"photo_id":"1330854608","filename":"file1"},{"photo_id":"1330854593","filename":"file0"},{"photo_id":"1330854621","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330854643":["hashtag1","hashtag2"]},{"1330854613":["hashtag1","hashtag2"]},{"1330854621":["hashtag1","hashtag2"]},{"1330854593":["hashtag1","hashtag2"]},{"1330854638":["hashtag1","hashtag2"]},{"1330854608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330854643, 1330854613, 1330854621, 1330854593, 1330854638, 1330854608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34527611732483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:54:32.639522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_36_9337.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_47_10344.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_57_10326.jpg', '/home/pi/Desktop/images/23012025/16/28/image_23012025_16_29_06_9344.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_17_10329.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_27_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_36_9337.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_47_10344.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_28_57_10326.jpg
/home/pi/Desktop/images/23012025/16/28/image_23012025_16_29_06_9344.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_17_10329.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_27_10344.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":["1330854693","1330854681","1330854689","1330854674","1330854701","1330854685"],"photo_ids_order":["1330854674","1330854681","1330854685","1330854689","1330854693","1330854701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1126562f7beb47e0a1bdfe9d95d5f9d.jpg","text":"TemporaryFile(/tmp/multipartBody10590709827283763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658533596,"filename":"image_23012025_16_29_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90994d8ca05a68acb24004b4984b1aa4.jpg","text":"TemporaryFile(/tmp/multipartBody985451952963023705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658533596,"filename":"image_23012025_16_28_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9b7c7f567f55727fd41f417bd834d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6648817707681986095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658533596,"filename":"image_23012025_16_29_06_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1a6caf314c619406a2db75cbef76849.jpg","text":"TemporaryFile(/tmp/multipartBody3179636458206427004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658533596,"filename":"image_23012025_16_28_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4da669c3ec318634971de65825be8efc.jpg","text":"TemporaryFile(/tmp/multipartBody4108425133652625100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658533596,"filename":"image_23012025_16_29_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8518a6f7d398170638adfa7434d097a7.jpg","text":"TemporaryFile(/tmp/multipartBody5634933219240388948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658533596,"filename":"image_23012025_16_28_57_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330854685","file1":"1330854681","file0":"1330854674","file4":"1330854693","file5":"1330854701","file3":"1330854689"},"map_files_photo_id_array":[{"photo_id":"1330854701","filename":"file5"},{"photo_id":"1330854685","filename":"file2"},{"photo_id":"1330854693","filename":"file4"},{"photo_id":"1330854681","filename":"file1"},{"photo_id":"1330854674","filename":"file0"},{"photo_id":"1330854689","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330854693":["hashtag1","hashtag2"]},{"1330854681":["hashtag1","hashtag2"]},{"1330854689":["hashtag1","hashtag2"]},{"1330854674":["hashtag1","hashtag2"]},{"1330854701":["hashtag1","hashtag2"]},{"1330854685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330854693, 1330854681, 1330854689, 1330854674, 1330854701, 1330854685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.183987617492676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:55:32.823743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_36_9315.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_47_10406.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_57_10338.jpg', '/home/pi/Desktop/images/23012025/16/29/image_23012025_16_30_06_9329.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_17_10339.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_26_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_36_9315.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_47_10406.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_29_57_10338.jpg
/home/pi/Desktop/images/23012025/16/29/image_23012025_16_30_06_9329.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_17_10339.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_26_9439.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":["1330854756","1330854747","1330854761","1330854740","1330854764","1330854752"],"photo_ids_order":["1330854740","1330854747","1330854752","1330854756","1330854761","1330854764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/702e740a64f22ed527d0c3aca834d468.jpg","text":"TemporaryFile(/tmp/multipartBody2669556228116120313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658593773,"filename":"image_23012025_16_30_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be52b455f74fdd6166a2a473522ecd07.jpg","text":"TemporaryFile(/tmp/multipartBody1640130432732291538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658593773,"filename":"image_23012025_16_29_47_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e2048ea0cbc808aaa63c8688c115794.jpg","text":"TemporaryFile(/tmp/multipartBody1458908977757306326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658593773,"filename":"image_23012025_16_30_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cab5757aa9339542978366d31c5c347.jpg","text":"TemporaryFile(/tmp/multipartBody4042445105601768292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658593773,"filename":"image_23012025_16_29_36_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b51f8d2f4c93284d061fdc06b284556.jpg","text":"TemporaryFile(/tmp/multipartBody5697982980597366146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658593773,"filename":"image_23012025_16_30_26_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1f64dcb30e92dc5ceca77fca6828ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2251053560112946334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658593773,"filename":"image_23012025_16_29_57_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330854752","file1":"1330854747","file0":"1330854740","file4":"1330854761","file5":"1330854764","file3":"1330854756"},"map_files_photo_id_array":[{"photo_id":"1330854764","filename":"file5"},{"photo_id":"1330854752","filename":"file2"},{"photo_id":"1330854761","filename":"file4"},{"photo_id":"1330854747","filename":"file1"},{"photo_id":"1330854740","filename":"file0"},{"photo_id":"1330854756","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330854756":["hashtag1","hashtag2"]},{"1330854747":["hashtag1","hashtag2"]},{"1330854761":["hashtag1","hashtag2"]},{"1330854740":["hashtag1","hashtag2"]},{"1330854764":["hashtag1","hashtag2"]},{"1330854752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330854756, 1330854747, 1330854761, 1330854740, 1330854764, 1330854752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18488001823425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:56:32.966319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_37_10323.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_47_10497.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_56_9377.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_31_07_10350.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_17_10338.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_26_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_37_10323.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_47_10497.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_56_9377.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_31_07_10350.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_17_10338.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_26_9327.jpg
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: 0.5780384540557861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:56:43.078428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_37_10323.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_47_10497.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_56_9377.jpg', '/home/pi/Desktop/images/23012025/16/30/image_23012025_16_31_07_10350.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_17_10338.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_26_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_37_10323.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_47_10497.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_30_56_9377.jpg
/home/pi/Desktop/images/23012025/16/30/image_23012025_16_31_07_10350.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_17_10338.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_26_9327.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":["1330854940","1330854936","1330854885","1330854945","1330854929","1330854908"],"photo_ids_order":["1330854885","1330854908","1330854929","1330854936","1330854940","1330854945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27fb30ebacb6f81c9885b0b2a2c0a7d5.jpg","text":"TemporaryFile(/tmp/multipartBody1634346708660676676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658663979,"filename":"image_23012025_16_31_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a7d500f623369fd27a630bf9ba57cda.jpg","text":"TemporaryFile(/tmp/multipartBody5475771508466032961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658663979,"filename":"image_23012025_16_31_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b00f86141b20883471ff599f71d2d49.jpg","text":"TemporaryFile(/tmp/multipartBody1259721946993033337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658663979,"filename":"image_23012025_16_30_37_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4029c4061e773bb36ed1255107e865c.jpg","text":"TemporaryFile(/tmp/multipartBody7091198033763371402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658663979,"filename":"image_23012025_16_31_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21b9c31af44b6d3ebecb8fd744633c93.jpg","text":"TemporaryFile(/tmp/multipartBody6972631978033212532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658663979,"filename":"image_23012025_16_30_56_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21cbe229fff0a4030e0f538a807d2271.jpg","text":"TemporaryFile(/tmp/multipartBody2444226393463023407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658663979,"filename":"image_23012025_16_30_47_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330854929","file1":"1330854908","file0":"1330854885","file4":"1330854940","file5":"1330854945","file3":"1330854936"},"map_files_photo_id_array":[{"photo_id":"1330854945","filename":"file5"},{"photo_id":"1330854929","filename":"file2"},{"photo_id":"1330854940","filename":"file4"},{"photo_id":"1330854908","filename":"file1"},{"photo_id":"1330854885","filename":"file0"},{"photo_id":"1330854936","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330854940":["hashtag1","hashtag2"]},{"1330854936":["hashtag1","hashtag2"]},{"1330854885":["hashtag1","hashtag2"]},{"1330854945":["hashtag1","hashtag2"]},{"1330854929":["hashtag1","hashtag2"]},{"1330854908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330854940, 1330854936, 1330854885, 1330854945, 1330854929, 1330854908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.922234535217285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 19:57:33.153404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_37_10321.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_47_10351.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_57_9404.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_32_07_10341.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_16_9338.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_27_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_37_10321.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_47_10351.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_57_9404.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_32_07_10341.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_16_9338.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_27_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 19:59:04.041336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_37_10321.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_47_10351.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_57_9404.jpg', '/home/pi/Desktop/images/23012025/16/31/image_23012025_16_32_07_10341.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_16_9338.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_27_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_37_10321.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_47_10351.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_31_57_9404.jpg
/home/pi/Desktop/images/23012025/16/31/image_23012025_16_32_07_10341.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_16_9338.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_27_10339.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":["1330855254","1330855193","1330855247","1330855180","1330855174","1330855258"],"photo_ids_order":["1330855174","1330855180","1330855193","1330855247","1330855254","1330855258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22c6498ecfeb725a346727c220a6323a.jpg","text":"TemporaryFile(/tmp/multipartBody4404128487755941457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658804999,"filename":"image_23012025_16_32_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1b23d0103af32eabe9cb3f1642e25ed.jpg","text":"TemporaryFile(/tmp/multipartBody112651265230549400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658804999,"filename":"image_23012025_16_31_57_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/612205daa35773762f5db969a9746673.jpg","text":"TemporaryFile(/tmp/multipartBody2932151527440075130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658804999,"filename":"image_23012025_16_32_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b176c32b71b69a5b4f1d99f78121d2a0.jpg","text":"TemporaryFile(/tmp/multipartBody1231898795557411816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658804999,"filename":"image_23012025_16_31_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/558cb2cd79f40c426b94fbd7a3200043.jpg","text":"TemporaryFile(/tmp/multipartBody1603868006485750662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658804999,"filename":"image_23012025_16_31_37_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15c8ee196a89122b953c9dfc0d4b2d65.jpg","text":"TemporaryFile(/tmp/multipartBody3598190356526037320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658804999,"filename":"image_23012025_16_32_27_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855193","file1":"1330855180","file0":"1330855174","file4":"1330855254","file5":"1330855258","file3":"1330855247"},"map_files_photo_id_array":[{"photo_id":"1330855258","filename":"file5"},{"photo_id":"1330855193","filename":"file2"},{"photo_id":"1330855254","filename":"file4"},{"photo_id":"1330855180","filename":"file1"},{"photo_id":"1330855174","filename":"file0"},{"photo_id":"1330855247","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855254":["hashtag1","hashtag2"]},{"1330855193":["hashtag1","hashtag2"]},{"1330855247":["hashtag1","hashtag2"]},{"1330855180":["hashtag1","hashtag2"]},{"1330855174":["hashtag1","hashtag2"]},{"1330855258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855254, 1330855193, 1330855247, 1330855180, 1330855174, 1330855258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.967225074768066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 19:59:53.094261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_35_10357.jpg', '/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_44_9348.jpg', '/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_55_10341.jpg', '/home/pi/Desktop/images/20012025/08/37/image_20012025_08_38_05_10338.jpg', '/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_14_9320.jpg', '/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_25_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_35_10357.jpg
/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_44_9348.jpg
/home/pi/Desktop/images/20012025/08/37/image_20012025_08_37_55_10341.jpg
/home/pi/Desktop/images/20012025/08/37/image_20012025_08_38_05_10338.jpg
/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_14_9320.jpg
/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_25_10450.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":["1330855315","1330855337","1330855340","1330855334","1330855330","1330855318"],"photo_ids_order":["1330855315","1330855318","1330855330","1330855334","1330855337","1330855340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9962278361f6714cba19e73ef82572f0.jpg","text":"TemporaryFile(/tmp/multipartBody8483937949151156135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658855421,"filename":"image_20012025_08_37_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a507d000ec6b22916466dd4b660535fb.jpg","text":"TemporaryFile(/tmp/multipartBody5367006639382587764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658855421,"filename":"image_20012025_08_38_14_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/681632755217322e84174da454d75c58.jpg","text":"TemporaryFile(/tmp/multipartBody9192075252954417558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658855421,"filename":"image_20012025_08_38_25_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c53b78bc315a19efffe48b380d756a66.jpg","text":"TemporaryFile(/tmp/multipartBody9204148155948854652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658855421,"filename":"image_20012025_08_38_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c01054280f7e7e1db7ef0dab491eeae1.jpg","text":"TemporaryFile(/tmp/multipartBody1759709257200454857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658855421,"filename":"image_20012025_08_37_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd00ea55129dabe60137d42b3530ce7c.jpg","text":"TemporaryFile(/tmp/multipartBody1270551695674646086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658855421,"filename":"image_20012025_08_37_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855330","file1":"1330855318","file0":"1330855315","file4":"1330855337","file5":"1330855340","file3":"1330855334"},"map_files_photo_id_array":[{"photo_id":"1330855340","filename":"file5"},{"photo_id":"1330855330","filename":"file2"},{"photo_id":"1330855337","filename":"file4"},{"photo_id":"1330855318","filename":"file1"},{"photo_id":"1330855315","filename":"file0"},{"photo_id":"1330855334","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330855315":["hashtag1","hashtag2"]},{"1330855337":["hashtag1","hashtag2"]},{"1330855340":["hashtag1","hashtag2"]},{"1330855334":["hashtag1","hashtag2"]},{"1330855330":["hashtag1","hashtag2"]},{"1330855318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330855315, 1330855337, 1330855340, 1330855334, 1330855330, 1330855318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84393858909607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:00:42.405280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_37_10459.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_46_9429.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_57_10315.jpg', '/home/pi/Desktop/images/23012025/16/32/image_23012025_16_33_07_10333.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_16_9335.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_36_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_37_10459.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_46_9429.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_32_57_10315.jpg
/home/pi/Desktop/images/23012025/16/32/image_23012025_16_33_07_10333.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_16_9335.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_36_9421.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":["1330855392","1330855388","1330855382","1330855361","1330855355","1330855384"],"photo_ids_order":["1330855355","1330855361","1330855382","1330855384","1330855388","1330855392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86edbc77e5121597e5f15e14b6dda934.jpg","text":"TemporaryFile(/tmp/multipartBody2082827333077842519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658903368,"filename":"image_23012025_16_33_36_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7b1eeefc2a368d02fc8642227340cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2661929191373484319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658903368,"filename":"image_23012025_16_33_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c75aff6db307f3e470bf40b38241ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3596953048771194594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658903368,"filename":"image_23012025_16_32_57_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e075c303496a85d9437c0fd455d12ea7.jpg","text":"TemporaryFile(/tmp/multipartBody4354673045549712501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658903368,"filename":"image_23012025_16_32_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cfb3c79d35d09d1df2a417a9fd08740.jpg","text":"TemporaryFile(/tmp/multipartBody3213742092341515757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658903368,"filename":"image_23012025_16_32_37_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22f636c3eba70a486ccb247fce2b09eb.jpg","text":"TemporaryFile(/tmp/multipartBody1485879977367227020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658903368,"filename":"image_23012025_16_33_07_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855382","file1":"1330855361","file0":"1330855355","file4":"1330855388","file5":"1330855392","file3":"1330855384"},"map_files_photo_id_array":[{"photo_id":"1330855392","filename":"file5"},{"photo_id":"1330855382","filename":"file2"},{"photo_id":"1330855388","filename":"file4"},{"photo_id":"1330855361","filename":"file1"},{"photo_id":"1330855355","filename":"file0"},{"photo_id":"1330855384","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855392":["hashtag1","hashtag2"]},{"1330855388":["hashtag1","hashtag2"]},{"1330855382":["hashtag1","hashtag2"]},{"1330855361":["hashtag1","hashtag2"]},{"1330855355":["hashtag1","hashtag2"]},{"1330855384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855392, 1330855388, 1330855382, 1330855361, 1330855355, 1330855384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69993543624878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:01:32.441942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_47_10338.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_57_10363.jpg', '/home/pi/Desktop/images/23012025/16/33/image_23012025_16_34_06_9425.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_17_10599.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_26_9429.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_37_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_47_10338.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_33_57_10363.jpg
/home/pi/Desktop/images/23012025/16/33/image_23012025_16_34_06_9425.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_17_10599.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_26_9429.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_37_10342.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":["1330855408","1330855412","1330855420","1330855423","1330855417","1330855405"],"photo_ids_order":["1330855405","1330855408","1330855412","1330855417","1330855420","1330855423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16e5406d174a3554efe6d80af7a1e6a0.jpg","text":"TemporaryFile(/tmp/multipartBody4471414147174228276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658953385,"filename":"image_23012025_16_33_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eaef6d4d5d02d543847bd2f6fc284d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5770134853852645101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658953385,"filename":"image_23012025_16_34_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2dd012eb034cbeb7132a87e9d25bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody5231738366060738345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658953385,"filename":"image_23012025_16_34_26_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26f12ce964d47df973a7f2ccf752de95.jpg","text":"TemporaryFile(/tmp/multipartBody7421226570427669972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658953385,"filename":"image_23012025_16_34_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/177666d63ea0e66d1dd5c9aafd2af8db.jpg","text":"TemporaryFile(/tmp/multipartBody8933212824835775433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658953385,"filename":"image_23012025_16_34_17_10599.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95793b8c5c5ac3a12f4f3587c4410d67.jpg","text":"TemporaryFile(/tmp/multipartBody1869402054509541888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737658953385,"filename":"image_23012025_16_33_47_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855412","file1":"1330855408","file0":"1330855405","file4":"1330855420","file5":"1330855423","file3":"1330855417"},"map_files_photo_id_array":[{"photo_id":"1330855423","filename":"file5"},{"photo_id":"1330855412","filename":"file2"},{"photo_id":"1330855420","filename":"file4"},{"photo_id":"1330855408","filename":"file1"},{"photo_id":"1330855405","filename":"file0"},{"photo_id":"1330855417","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855408":["hashtag1","hashtag2"]},{"1330855412":["hashtag1","hashtag2"]},{"1330855420":["hashtag1","hashtag2"]},{"1330855423":["hashtag1","hashtag2"]},{"1330855417":["hashtag1","hashtag2"]},{"1330855405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855408, 1330855412, 1330855420, 1330855423, 1330855417, 1330855405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48319458961487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:02:32.599678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_46_9506.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_57_10368.jpg', '/home/pi/Desktop/images/23012025/16/34/image_23012025_16_35_07_10429.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_16_9324.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_27_10358.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_37_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_46_9506.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_34_57_10368.jpg
/home/pi/Desktop/images/23012025/16/34/image_23012025_16_35_07_10429.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_16_9324.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_27_10358.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_37_10390.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":["1330855536","1330855544","1330855526","1330855540","1330855543","1330855531"],"photo_ids_order":["1330855526","1330855531","1330855536","1330855540","1330855543","1330855544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7242614c3d4cdb5e1319330175cbf909.jpg","text":"TemporaryFile(/tmp/multipartBody1857432837472479138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659013557,"filename":"image_23012025_16_35_07_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30e22d4d87f3efcbbd02138cdb0e44af.jpg","text":"TemporaryFile(/tmp/multipartBody2133530617604536780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659013557,"filename":"image_23012025_16_35_37_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/75d1a1d67a16be7d4c865ca3eaf539ea.jpg","text":"TemporaryFile(/tmp/multipartBody1025198339347963512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659013557,"filename":"image_23012025_16_34_46_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31a9ff8f5c1a6e9bc3efc2a8d3d6fda2.jpg","text":"TemporaryFile(/tmp/multipartBody4905454571490710768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659013557,"filename":"image_23012025_16_35_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c02c5b74af60beaeaa0501c827675ba.jpg","text":"TemporaryFile(/tmp/multipartBody1287410640305751248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659013557,"filename":"image_23012025_16_35_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b57bc15b2abc6c80ecae6f50da337ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7810998565235047491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659013557,"filename":"image_23012025_16_34_57_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855536","file1":"1330855531","file0":"1330855526","file4":"1330855543","file5":"1330855544","file3":"1330855540"},"map_files_photo_id_array":[{"photo_id":"1330855544","filename":"file5"},{"photo_id":"1330855536","filename":"file2"},{"photo_id":"1330855543","filename":"file4"},{"photo_id":"1330855531","filename":"file1"},{"photo_id":"1330855526","filename":"file0"},{"photo_id":"1330855540","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855536":["hashtag1","hashtag2"]},{"1330855544":["hashtag1","hashtag2"]},{"1330855526":["hashtag1","hashtag2"]},{"1330855540":["hashtag1","hashtag2"]},{"1330855543":["hashtag1","hashtag2"]},{"1330855531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855536, 1330855544, 1330855526, 1330855540, 1330855543, 1330855531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02245759963989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:03:32.764360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_46_9332.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_57_10324.jpg', '/home/pi/Desktop/images/23012025/16/35/image_23012025_16_36_07_10414.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_16_9322.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_27_10356.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_36_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_46_9332.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_35_57_10324.jpg
/home/pi/Desktop/images/23012025/16/35/image_23012025_16_36_07_10414.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_16_9322.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_27_10356.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_36_9417.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":["1330855580","1330855574","1330855577","1330855565","1330855570","1330855587"],"photo_ids_order":["1330855565","1330855570","1330855574","1330855577","1330855580","1330855587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b7e80187a97492af29645ba4bee1946.jpg","text":"TemporaryFile(/tmp/multipartBody894090924301992513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659073722,"filename":"image_23012025_16_36_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00165c2fb5d3ae5cd02e2163e608625d.jpg","text":"TemporaryFile(/tmp/multipartBody2818863123494032255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659073722,"filename":"image_23012025_16_36_07_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/282165dafc7d31338eb713fc8517ad9f.jpg","text":"TemporaryFile(/tmp/multipartBody7700628565897245749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659073722,"filename":"image_23012025_16_36_16_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebd4b3a9931d74659bb09ef95dd73a86.jpg","text":"TemporaryFile(/tmp/multipartBody7691793587405357907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659073722,"filename":"image_23012025_16_35_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80a4aed7a2e9f0a411282abb49eaa4f8.jpg","text":"TemporaryFile(/tmp/multipartBody9140748331249510378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659073722,"filename":"image_23012025_16_35_57_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5f7b193086cd21a8a7ca3d78c2272a8.jpg","text":"TemporaryFile(/tmp/multipartBody4255758338029312080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659073722,"filename":"image_23012025_16_36_36_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855574","file1":"1330855570","file0":"1330855565","file4":"1330855580","file5":"1330855587","file3":"1330855577"},"map_files_photo_id_array":[{"photo_id":"1330855587","filename":"file5"},{"photo_id":"1330855574","filename":"file2"},{"photo_id":"1330855580","filename":"file4"},{"photo_id":"1330855570","filename":"file1"},{"photo_id":"1330855565","filename":"file0"},{"photo_id":"1330855577","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855580":["hashtag1","hashtag2"]},{"1330855574":["hashtag1","hashtag2"]},{"1330855577":["hashtag1","hashtag2"]},{"1330855565":["hashtag1","hashtag2"]},{"1330855570":["hashtag1","hashtag2"]},{"1330855587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855580, 1330855574, 1330855577, 1330855565, 1330855570, 1330855587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48184585571289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:04:33.010904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_47_10338.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_57_10404.jpg', '/home/pi/Desktop/images/23012025/16/36/image_23012025_16_37_06_9308.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_17_10378.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_27_10417.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_36_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_47_10338.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_36_57_10404.jpg
/home/pi/Desktop/images/23012025/16/36/image_23012025_16_37_06_9308.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_17_10378.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_27_10417.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_36_9316.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":["1330855671","1330855629","1330855634","1330855664","1330855625","1330855654"],"photo_ids_order":["1330855625","1330855629","1330855634","1330855654","1330855664","1330855671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb34505fcbd1d3a06373010d159ba6c9.jpg","text":"TemporaryFile(/tmp/multipartBody6060418419550309617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659133969,"filename":"image_23012025_16_37_36_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80f1d02165f2f22d9010e87073a94a96.jpg","text":"TemporaryFile(/tmp/multipartBody1213515240601693090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659133969,"filename":"image_23012025_16_36_57_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa4df8c4cc3e75a55f7ca47e7b50aaa5.jpg","text":"TemporaryFile(/tmp/multipartBody6961055748920375438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659133969,"filename":"image_23012025_16_37_06_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9b48213486542f6e1a2b3f0abaf2a31.jpg","text":"TemporaryFile(/tmp/multipartBody6478743931407685803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659133969,"filename":"image_23012025_16_37_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c71035d449c26fe315e8b82e5f84f27e.jpg","text":"TemporaryFile(/tmp/multipartBody9191447561630381568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659133969,"filename":"image_23012025_16_36_47_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff4c85833fead08c974caa1943253ad2.jpg","text":"TemporaryFile(/tmp/multipartBody959518671588254553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659133969,"filename":"image_23012025_16_37_17_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855634","file1":"1330855629","file0":"1330855625","file4":"1330855664","file5":"1330855671","file3":"1330855654"},"map_files_photo_id_array":[{"photo_id":"1330855671","filename":"file5"},{"photo_id":"1330855634","filename":"file2"},{"photo_id":"1330855664","filename":"file4"},{"photo_id":"1330855629","filename":"file1"},{"photo_id":"1330855625","filename":"file0"},{"photo_id":"1330855654","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855671":["hashtag1","hashtag2"]},{"1330855629":["hashtag1","hashtag2"]},{"1330855634":["hashtag1","hashtag2"]},{"1330855664":["hashtag1","hashtag2"]},{"1330855625":["hashtag1","hashtag2"]},{"1330855654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855671, 1330855629, 1330855634, 1330855664, 1330855625, 1330855654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.888015270233154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:05:32.159113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_47_10340.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_57_10385.jpg', '/home/pi/Desktop/images/23012025/16/37/image_23012025_16_38_06_9327.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_17_10437.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_26_9394.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_37_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_47_10340.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_37_57_10385.jpg
/home/pi/Desktop/images/23012025/16/37/image_23012025_16_38_06_9327.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_17_10437.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_26_9394.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_37_10319.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":["1330855881","1330855740","1330855886","1330855736","1330855888","1330855878"],"photo_ids_order":["1330855736","1330855740","1330855878","1330855881","1330855886","1330855888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0864932301534ca665a12751a5b58e89.jpg","text":"TemporaryFile(/tmp/multipartBody1711700942175442192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659193128,"filename":"image_23012025_16_38_17_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ecbc3a56ab145c5277e94b9551784852.jpg","text":"TemporaryFile(/tmp/multipartBody6927532086451826445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659193128,"filename":"image_23012025_16_37_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/425e0cc0fb56de385fc8c9622b039dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2262149027329302198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659193128,"filename":"image_23012025_16_38_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46166ae57a0bae4d6fed7c59c0e17763.jpg","text":"TemporaryFile(/tmp/multipartBody2077451616670237868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659193128,"filename":"image_23012025_16_37_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/983888fb92233b5ebbb6ea0dcf2da746.jpg","text":"TemporaryFile(/tmp/multipartBody5216838452755729537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659193128,"filename":"image_23012025_16_38_37_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68f61a36faaab02262c5bc38c7697b27.jpg","text":"TemporaryFile(/tmp/multipartBody5335803730941106236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659193128,"filename":"image_23012025_16_38_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855878","file1":"1330855740","file0":"1330855736","file4":"1330855886","file5":"1330855888","file3":"1330855881"},"map_files_photo_id_array":[{"photo_id":"1330855888","filename":"file5"},{"photo_id":"1330855878","filename":"file2"},{"photo_id":"1330855886","filename":"file4"},{"photo_id":"1330855740","filename":"file1"},{"photo_id":"1330855736","filename":"file0"},{"photo_id":"1330855881","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855881":["hashtag1","hashtag2"]},{"1330855740":["hashtag1","hashtag2"]},{"1330855886":["hashtag1","hashtag2"]},{"1330855736":["hashtag1","hashtag2"]},{"1330855888":["hashtag1","hashtag2"]},{"1330855878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855881, 1330855740, 1330855886, 1330855736, 1330855888, 1330855878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.620911836624146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:06:32.323981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_47_10404.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_56_9315.jpg', '/home/pi/Desktop/images/23012025/16/38/image_23012025_16_39_07_10337.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_17_10365.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_26_9352.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_37_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_47_10404.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_38_56_9315.jpg
/home/pi/Desktop/images/23012025/16/38/image_23012025_16_39_07_10337.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_17_10365.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_26_9352.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_37_10384.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":["1330855923","1330855913","1330855937","1330855957","1330855918","1330855933"],"photo_ids_order":["1330855913","1330855918","1330855923","1330855933","1330855937","1330855957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c036308cfafb7545f368dc17ac2feba2.jpg","text":"TemporaryFile(/tmp/multipartBody3016030789345023952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659253282,"filename":"image_23012025_16_39_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f95aa4abdc215a7956391d1c8bdae336.jpg","text":"TemporaryFile(/tmp/multipartBody4308951586963510721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659253282,"filename":"image_23012025_16_38_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/492f7d726c413b7f2540ffae75d2deff.jpg","text":"TemporaryFile(/tmp/multipartBody4404256350238577140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659253282,"filename":"image_23012025_16_39_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bcaee4b003263e258b8e7d568ef30a2.jpg","text":"TemporaryFile(/tmp/multipartBody6310055829502634167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659253282,"filename":"image_23012025_16_39_37_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2001fdee97514de61585f4c72922b996.jpg","text":"TemporaryFile(/tmp/multipartBody4438975968623053462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659253282,"filename":"image_23012025_16_38_56_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f02cee4eca6de83df076be276c65173a.jpg","text":"TemporaryFile(/tmp/multipartBody8563106585319072173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659253282,"filename":"image_23012025_16_39_17_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330855923","file1":"1330855918","file0":"1330855913","file4":"1330855937","file5":"1330855957","file3":"1330855933"},"map_files_photo_id_array":[{"photo_id":"1330855957","filename":"file5"},{"photo_id":"1330855923","filename":"file2"},{"photo_id":"1330855937","filename":"file4"},{"photo_id":"1330855918","filename":"file1"},{"photo_id":"1330855913","filename":"file0"},{"photo_id":"1330855933","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330855923":["hashtag1","hashtag2"]},{"1330855913":["hashtag1","hashtag2"]},{"1330855937":["hashtag1","hashtag2"]},{"1330855957":["hashtag1","hashtag2"]},{"1330855918":["hashtag1","hashtag2"]},{"1330855933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330855923, 1330855913, 1330855937, 1330855957, 1330855918, 1330855933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80248522758484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:07:32.576882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_46_9544.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_57_10344.jpg', '/home/pi/Desktop/images/23012025/16/39/image_23012025_16_40_07_10373.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_16_9332.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_27_10430.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_46_9544.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_39_57_10344.jpg
/home/pi/Desktop/images/23012025/16/39/image_23012025_16_40_07_10373.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_16_9332.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_27_10430.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_47_10359.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":["1330856004","1330856012","1330856284","1330856017","1330855996","1330856008"],"photo_ids_order":["1330855996","1330856004","1330856008","1330856012","1330856017","1330856284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86e9723ab21da62e89a731ab4864bd5f.jpg","text":"TemporaryFile(/tmp/multipartBody7172564378255206103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659313558,"filename":"image_23012025_16_39_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd1ab4669c91933e3e380165440b09b3.jpg","text":"TemporaryFile(/tmp/multipartBody1096143611167164983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659313558,"filename":"image_23012025_16_40_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e649717a90e5077e5aa1c61fef07b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2606873001055262783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659313558,"filename":"image_23012025_16_40_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e4439dc4de1eec76b3cbc383ec9520f.jpg","text":"TemporaryFile(/tmp/multipartBody6733287427658791844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659313558,"filename":"image_23012025_16_40_27_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03627a3ee57bc14e70b092b9aa558e8a.jpg","text":"TemporaryFile(/tmp/multipartBody470805030681322848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659313558,"filename":"image_23012025_16_39_46_9544.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62a6879291b696ceff4dd090f7c8ee64.jpg","text":"TemporaryFile(/tmp/multipartBody892379365042807610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659313558,"filename":"image_23012025_16_40_07_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330856008","file1":"1330856004","file0":"1330855996","file4":"1330856017","file5":"1330856284","file3":"1330856012"},"map_files_photo_id_array":[{"photo_id":"1330856284","filename":"file5"},{"photo_id":"1330856008","filename":"file2"},{"photo_id":"1330856017","filename":"file4"},{"photo_id":"1330856004","filename":"file1"},{"photo_id":"1330855996","filename":"file0"},{"photo_id":"1330856012","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330856004":["hashtag1","hashtag2"]},{"1330856012":["hashtag1","hashtag2"]},{"1330856284":["hashtag1","hashtag2"]},{"1330856017":["hashtag1","hashtag2"]},{"1330855996":["hashtag1","hashtag2"]},{"1330856008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330856004, 1330856012, 1330856284, 1330856017, 1330855996, 1330856008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00736451148987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:08:32.883382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_57_10351.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_41_06_9304.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_17_10367.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_27_10403.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_47_10357.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_57_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_57_10351.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_41_06_9304.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_17_10367.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_27_10403.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_47_10357.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_57_10391.jpg
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: 0.5748405456542969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:08:42.933053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_57_10351.jpg', '/home/pi/Desktop/images/23012025/16/40/image_23012025_16_41_06_9304.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_17_10367.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_27_10403.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_47_10357.jpg', '/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_57_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_40_57_10351.jpg
/home/pi/Desktop/images/23012025/16/40/image_23012025_16_41_06_9304.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_17_10367.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_27_10403.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_47_10357.jpg
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_41_57_10391.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":["1330856891","1330856894","1330856882","1330856903","1330856887","1330856898"],"photo_ids_order":["1330856882","1330856887","1330856891","1330856894","1330856898","1330856903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cccea602470aa234d6ddf07ec60d4c61.jpg","text":"TemporaryFile(/tmp/multipartBody1913958318938160678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659383829,"filename":"image_23012025_16_41_17_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e92834afcded9eabd557217ba89e9097.jpg","text":"TemporaryFile(/tmp/multipartBody2425720431469754263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659383829,"filename":"image_23012025_16_41_27_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b2c9c5c9c49f4f1666c22010ce4646f.jpg","text":"TemporaryFile(/tmp/multipartBody8236374891518000416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659383829,"filename":"image_23012025_16_40_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03bf2347d95377618d7ffc6a1695ee80.jpg","text":"TemporaryFile(/tmp/multipartBody7223560501387798239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659383829,"filename":"image_23012025_16_41_57_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dce53a8d5ec057c7136476a1ecd06b4.jpg","text":"TemporaryFile(/tmp/multipartBody9210643900389899453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659383829,"filename":"image_23012025_16_41_06_9304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a352680f13a2e7e2121b22a8b6917458.jpg","text":"TemporaryFile(/tmp/multipartBody5623381183759881158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659383829,"filename":"image_23012025_16_41_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330856891","file1":"1330856887","file0":"1330856882","file4":"1330856898","file5":"1330856903","file3":"1330856894"},"map_files_photo_id_array":[{"photo_id":"1330856903","filename":"file5"},{"photo_id":"1330856891","filename":"file2"},{"photo_id":"1330856898","filename":"file4"},{"photo_id":"1330856887","filename":"file1"},{"photo_id":"1330856882","filename":"file0"},{"photo_id":"1330856894","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330856891":["hashtag1","hashtag2"]},{"1330856894":["hashtag1","hashtag2"]},{"1330856882":["hashtag1","hashtag2"]},{"1330856903":["hashtag1","hashtag2"]},{"1330856887":["hashtag1","hashtag2"]},{"1330856898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330856891, 1330856894, 1330856882, 1330856903, 1330856887, 1330856898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.703532218933105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:09:33.081244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/41/image_23012025_16_42_06_9334.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_17_10317.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_26_9450.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_37_10333.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_56_9413.jpg', '/home/pi/Desktop/images/23012025/16/42/image_23012025_16_43_07_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/41/image_23012025_16_42_06_9334.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_17_10317.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_26_9450.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_37_10333.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_42_56_9413.jpg
/home/pi/Desktop/images/23012025/16/42/image_23012025_16_43_07_10336.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":["1330857173","1330857244","1330857187","1330857232","1330857240","1330857237"],"photo_ids_order":["1330857173","1330857187","1330857232","1330857237","1330857240","1330857244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d40c29a2dcd3119f72e759f1e49d872c.jpg","text":"TemporaryFile(/tmp/multipartBody7484532790161609958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659434047,"filename":"image_23012025_16_42_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35463ccd28921b7e931e165c45a73e42.jpg","text":"TemporaryFile(/tmp/multipartBody3806149025933189529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659434047,"filename":"image_23012025_16_43_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fc61fe991e36d15da70817f0cf43167.jpg","text":"TemporaryFile(/tmp/multipartBody6842278535674463234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659434047,"filename":"image_23012025_16_42_17_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbaf669e94945d6c60c6104ed9637d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6541852226133485508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659434047,"filename":"image_23012025_16_42_26_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/169e463804de945bb9430c75e6c8db9e.jpg","text":"TemporaryFile(/tmp/multipartBody4065953694574846908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659434047,"filename":"image_23012025_16_42_56_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f2ef56cedf9c035922c9702a6034517.jpg","text":"TemporaryFile(/tmp/multipartBody4325187391845807379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659434047,"filename":"image_23012025_16_42_37_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857232","file1":"1330857187","file0":"1330857173","file4":"1330857240","file5":"1330857244","file3":"1330857237"},"map_files_photo_id_array":[{"photo_id":"1330857244","filename":"file5"},{"photo_id":"1330857232","filename":"file2"},{"photo_id":"1330857240","filename":"file4"},{"photo_id":"1330857187","filename":"file1"},{"photo_id":"1330857173","filename":"file0"},{"photo_id":"1330857237","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857173":["hashtag1","hashtag2"]},{"1330857244":["hashtag1","hashtag2"]},{"1330857187":["hashtag1","hashtag2"]},{"1330857232":["hashtag1","hashtag2"]},{"1330857240":["hashtag1","hashtag2"]},{"1330857237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857173, 1330857244, 1330857187, 1330857232, 1330857240, 1330857237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.565475940704346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:10:32.197246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_17_10357.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_26_9337.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_37_10324.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_47_10344.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_57_9356.jpg', '/home/pi/Desktop/images/23012025/16/43/image_23012025_16_44_07_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_17_10357.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_26_9337.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_37_10324.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_47_10344.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_43_57_9356.jpg
/home/pi/Desktop/images/23012025/16/43/image_23012025_16_44_07_10345.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":["1330857278","1330857272","1330857266","1330857275","1330857269","1330857281"],"photo_ids_order":["1330857266","1330857269","1330857272","1330857275","1330857278","1330857281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7899422997a1a0bb4997b6646403f44a.jpg","text":"TemporaryFile(/tmp/multipartBody2266930913570090374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659493159,"filename":"image_23012025_16_43_57_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df381aece4dd2527c43c403182e8fda1.jpg","text":"TemporaryFile(/tmp/multipartBody7243786635425307781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659493159,"filename":"image_23012025_16_43_37_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62c7c3848b0d597669fc54da3a7b6ece.jpg","text":"TemporaryFile(/tmp/multipartBody5772049011414398666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659493159,"filename":"image_23012025_16_43_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eae4f53f9be5fe636c4e4c9665415c65.jpg","text":"TemporaryFile(/tmp/multipartBody1100740779030387504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659493159,"filename":"image_23012025_16_43_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b55c5f55237e2190e20e848e292621ac.jpg","text":"TemporaryFile(/tmp/multipartBody9002826526210126625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659493159,"filename":"image_23012025_16_43_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/253f5d297d59b12b0ffa19585c97bc2b.jpg","text":"TemporaryFile(/tmp/multipartBody6505922967812946664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659493159,"filename":"image_23012025_16_44_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857272","file1":"1330857269","file0":"1330857266","file4":"1330857278","file5":"1330857281","file3":"1330857275"},"map_files_photo_id_array":[{"photo_id":"1330857281","filename":"file5"},{"photo_id":"1330857272","filename":"file2"},{"photo_id":"1330857278","filename":"file4"},{"photo_id":"1330857269","filename":"file1"},{"photo_id":"1330857266","filename":"file0"},{"photo_id":"1330857275","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857278":["hashtag1","hashtag2"]},{"1330857272":["hashtag1","hashtag2"]},{"1330857266":["hashtag1","hashtag2"]},{"1330857275":["hashtag1","hashtag2"]},{"1330857269":["hashtag1","hashtag2"]},{"1330857281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857278, 1330857272, 1330857266, 1330857275, 1330857269, 1330857281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30069303512573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:11:32.290259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_16_9339.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_27_10358.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_37_10338.jpg', '/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_57_10393.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_16_9335.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_27_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_16_9339.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_27_10358.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_37_10338.jpg
/home/pi/Desktop/images/23012025/16/44/image_23012025_16_44_57_10393.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_16_9335.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_27_10360.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":["1330857337","1330857340","1330857372","1330857351","1330857354","1330857333"],"photo_ids_order":["1330857333","1330857337","1330857340","1330857351","1330857354","1330857372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e3141a70d667a54283f166ad8a97d66.jpg","text":"TemporaryFile(/tmp/multipartBody645699406739436483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659553239,"filename":"image_23012025_16_44_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5c9b1dafe945d6760468dcc40e48227.jpg","text":"TemporaryFile(/tmp/multipartBody5149719681929157039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659553239,"filename":"image_23012025_16_44_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77affb3e36c603fbd52358da4f7a8771.jpg","text":"TemporaryFile(/tmp/multipartBody815112852802233643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659553239,"filename":"image_23012025_16_45_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d4abb4705da128b27f35b14424012d3.jpg","text":"TemporaryFile(/tmp/multipartBody3419115810056608149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659553239,"filename":"image_23012025_16_44_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a05db828f77c3b043f3f06dbb67a2f8a.jpg","text":"TemporaryFile(/tmp/multipartBody104867065762919208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659553239,"filename":"image_23012025_16_45_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a67c176b7784a23fa6d225680b069372.jpg","text":"TemporaryFile(/tmp/multipartBody3046110212761956909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659553239,"filename":"image_23012025_16_44_16_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857340","file1":"1330857337","file0":"1330857333","file4":"1330857354","file5":"1330857372","file3":"1330857351"},"map_files_photo_id_array":[{"photo_id":"1330857372","filename":"file5"},{"photo_id":"1330857340","filename":"file2"},{"photo_id":"1330857354","filename":"file4"},{"photo_id":"1330857337","filename":"file1"},{"photo_id":"1330857333","filename":"file0"},{"photo_id":"1330857351","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857337":["hashtag1","hashtag2"]},{"1330857340":["hashtag1","hashtag2"]},{"1330857372":["hashtag1","hashtag2"]},{"1330857351":["hashtag1","hashtag2"]},{"1330857354":["hashtag1","hashtag2"]},{"1330857333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857337, 1330857340, 1330857372, 1330857351, 1330857354, 1330857333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55468487739563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:12:32.539632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_37_10322.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_47_9386.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_46_06_9427.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_17_10335.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_27_10472.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_36_9312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_37_10322.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_47_9386.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_46_06_9427.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_17_10335.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_27_10472.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_36_9312.jpg
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: 0.5530200004577637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:12:42.466500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_37_10322.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_47_9386.jpg', '/home/pi/Desktop/images/23012025/16/45/image_23012025_16_46_06_9427.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_17_10335.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_27_10472.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_36_9312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_37_10322.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_45_47_9386.jpg
/home/pi/Desktop/images/23012025/16/45/image_23012025_16_46_06_9427.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_17_10335.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_27_10472.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_36_9312.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":["1330857443","1330857431","1330857425","1330857437","1330857454","1330857420"],"photo_ids_order":["1330857420","1330857425","1330857431","1330857437","1330857443","1330857454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a29843362b4eaba55a84ff71cc70104.jpg","text":"TemporaryFile(/tmp/multipartBody377760878380056893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659623365,"filename":"image_23012025_16_46_27_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be950b1a663e99cace1eb7c1d2dccf92.jpg","text":"TemporaryFile(/tmp/multipartBody7434060627133880680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659623365,"filename":"image_23012025_16_46_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc81d74ea1cec10fbb4484fa39ac9bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7692343691424154690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659623365,"filename":"image_23012025_16_45_47_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/722cf276c5629047cec5342d408298d6.jpg","text":"TemporaryFile(/tmp/multipartBody6687019214965418795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659623365,"filename":"image_23012025_16_46_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c7d679da6f3d788bbe52f948b7afda2.jpg","text":"TemporaryFile(/tmp/multipartBody5074465001342235811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659623365,"filename":"image_23012025_16_46_36_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7f865f28921f17484d781ae426e9097.jpg","text":"TemporaryFile(/tmp/multipartBody457124880840795321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659623365,"filename":"image_23012025_16_45_37_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857431","file1":"1330857425","file0":"1330857420","file4":"1330857443","file5":"1330857454","file3":"1330857437"},"map_files_photo_id_array":[{"photo_id":"1330857454","filename":"file5"},{"photo_id":"1330857431","filename":"file2"},{"photo_id":"1330857443","filename":"file4"},{"photo_id":"1330857425","filename":"file1"},{"photo_id":"1330857420","filename":"file0"},{"photo_id":"1330857437","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857443":["hashtag1","hashtag2"]},{"1330857431":["hashtag1","hashtag2"]},{"1330857425":["hashtag1","hashtag2"]},{"1330857437":["hashtag1","hashtag2"]},{"1330857454":["hashtag1","hashtag2"]},{"1330857420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857443, 1330857431, 1330857425, 1330857437, 1330857454, 1330857420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6809823513031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:13:32.650491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_56_9445.jpg', '/home/pi/Desktop/images/23012025/16/46/image_23012025_16_47_07_10330.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_26_9398.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_47_10394.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_56_9329.jpg', '/home/pi/Desktop/images/23012025/16/47/image_23012025_16_48_07_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_46_56_9445.jpg
/home/pi/Desktop/images/23012025/16/46/image_23012025_16_47_07_10330.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_26_9398.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_47_10394.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_47_56_9329.jpg
/home/pi/Desktop/images/23012025/16/47/image_23012025_16_48_07_10331.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":["1330857491","1330857472","1330857477","1330857486","1330857480","1330857474"],"photo_ids_order":["1330857472","1330857474","1330857477","1330857480","1330857486","1330857491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/487f24dcb7876a482e8f6db6d856ece2.jpg","text":"TemporaryFile(/tmp/multipartBody4562382320157701479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659673621,"filename":"image_23012025_16_48_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f765a04258126af39336100f65a9daf6.jpg","text":"TemporaryFile(/tmp/multipartBody56857629954828386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659673621,"filename":"image_23012025_16_46_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de0cad33f1486496cc9dc61b03e08f14.jpg","text":"TemporaryFile(/tmp/multipartBody1618061106800838323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659673621,"filename":"image_23012025_16_47_26_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/863efc3466ce24bb81821551d932c22a.jpg","text":"TemporaryFile(/tmp/multipartBody9026305393354336894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659673621,"filename":"image_23012025_16_47_56_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9d49b7daf7d56e13b83f00572982125.jpg","text":"TemporaryFile(/tmp/multipartBody4032577226238358582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659673621,"filename":"image_23012025_16_47_47_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9a1573df80fa29e868d12e0b53d7d80.jpg","text":"TemporaryFile(/tmp/multipartBody5400607232913461603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659673621,"filename":"image_23012025_16_47_07_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857477","file1":"1330857474","file0":"1330857472","file4":"1330857486","file5":"1330857491","file3":"1330857480"},"map_files_photo_id_array":[{"photo_id":"1330857491","filename":"file5"},{"photo_id":"1330857477","filename":"file2"},{"photo_id":"1330857486","filename":"file4"},{"photo_id":"1330857474","filename":"file1"},{"photo_id":"1330857472","filename":"file0"},{"photo_id":"1330857480","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857491":["hashtag1","hashtag2"]},{"1330857472":["hashtag1","hashtag2"]},{"1330857477":["hashtag1","hashtag2"]},{"1330857486":["hashtag1","hashtag2"]},{"1330857480":["hashtag1","hashtag2"]},{"1330857474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857491, 1330857472, 1330857477, 1330857486, 1330857480, 1330857474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46823215484619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:14:32.816676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_17_10373.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_26_9341.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_37_10394.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_47_10337.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_56_9341.jpg', '/home/pi/Desktop/images/23012025/16/48/image_23012025_16_49_07_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_17_10373.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_26_9341.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_37_10394.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_47_10337.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_48_56_9341.jpg
/home/pi/Desktop/images/23012025/16/48/image_23012025_16_49_07_10323.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":["1330857551","1330857536","1330857571","1330857558","1330857531","1330857561"],"photo_ids_order":["1330857531","1330857536","1330857551","1330857558","1330857561","1330857571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/162db6c68e4150c26a434654ece7a149.jpg","text":"TemporaryFile(/tmp/multipartBody7476670457312698624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659733771,"filename":"image_23012025_16_48_37_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5d88f292e0b8a2b8e512c3f181960ec.jpg","text":"TemporaryFile(/tmp/multipartBody6224663605907111924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659733771,"filename":"image_23012025_16_48_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9021f0123107cc1dbf72405f21a30ac3.jpg","text":"TemporaryFile(/tmp/multipartBody9156061807787869738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659733771,"filename":"image_23012025_16_49_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfe4052154d95303fa0f7174cc902e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8163023648988592021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659733771,"filename":"image_23012025_16_48_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95424794d8e08b4aa3e5105988eb917e.jpg","text":"TemporaryFile(/tmp/multipartBody4722316581277471464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659733771,"filename":"image_23012025_16_48_17_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7941c781063127bcaf28d23823c26935.jpg","text":"TemporaryFile(/tmp/multipartBody6323132905684339004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659733771,"filename":"image_23012025_16_48_56_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857551","file1":"1330857536","file0":"1330857531","file4":"1330857561","file5":"1330857571","file3":"1330857558"},"map_files_photo_id_array":[{"photo_id":"1330857571","filename":"file5"},{"photo_id":"1330857551","filename":"file2"},{"photo_id":"1330857561","filename":"file4"},{"photo_id":"1330857536","filename":"file1"},{"photo_id":"1330857531","filename":"file0"},{"photo_id":"1330857558","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857551":["hashtag1","hashtag2"]},{"1330857536":["hashtag1","hashtag2"]},{"1330857571":["hashtag1","hashtag2"]},{"1330857558":["hashtag1","hashtag2"]},{"1330857531":["hashtag1","hashtag2"]},{"1330857561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857551, 1330857536, 1330857571, 1330857558, 1330857531, 1330857561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36021375656128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:15:32.979994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_16_9377.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_27_10357.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_37_10321.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_46_9445.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_57_10324.jpg', '/home/pi/Desktop/images/23012025/16/49/image_23012025_16_50_07_10519.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_16_9377.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_27_10357.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_37_10321.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_46_9445.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_49_57_10324.jpg
/home/pi/Desktop/images/23012025/16/49/image_23012025_16_50_07_10519.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":["1330857590","1330857595","1330857715","1330857699","1330857750","1330857753"],"photo_ids_order":["1330857590","1330857595","1330857699","1330857715","1330857750","1330857753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5055872fa0afee000689ef2ebe1d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody873894112820245005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659793967,"filename":"image_23012025_16_49_16_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a175b52a102a709c3cc30c0a8fd26b61.jpg","text":"TemporaryFile(/tmp/multipartBody7805328746318832079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659793967,"filename":"image_23012025_16_49_27_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4dfae014727e901737c4ce0496693e28.jpg","text":"TemporaryFile(/tmp/multipartBody7533268138723454760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659793967,"filename":"image_23012025_16_49_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc9658942e12f0dae4e79cd642473fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1503938978706568071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659793967,"filename":"image_23012025_16_49_37_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9725d150d90060d82b6c62c9f0a3ac10.jpg","text":"TemporaryFile(/tmp/multipartBody2615269814720849757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659793967,"filename":"image_23012025_16_49_57_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a37ed3cd9e7aa2a0256f243578ad82f5.jpg","text":"TemporaryFile(/tmp/multipartBody255829025054123948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659793967,"filename":"image_23012025_16_50_07_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857699","file1":"1330857595","file0":"1330857590","file4":"1330857750","file5":"1330857753","file3":"1330857715"},"map_files_photo_id_array":[{"photo_id":"1330857753","filename":"file5"},{"photo_id":"1330857699","filename":"file2"},{"photo_id":"1330857750","filename":"file4"},{"photo_id":"1330857595","filename":"file1"},{"photo_id":"1330857590","filename":"file0"},{"photo_id":"1330857715","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857590":["hashtag1","hashtag2"]},{"1330857595":["hashtag1","hashtag2"]},{"1330857715":["hashtag1","hashtag2"]},{"1330857699":["hashtag1","hashtag2"]},{"1330857750":["hashtag1","hashtag2"]},{"1330857753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857590, 1330857595, 1330857715, 1330857699, 1330857750, 1330857753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.366137981414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:16:32.225549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_16_9328.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_27_10362.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_36_9386.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_47_10348.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_57_10336.jpg', '/home/pi/Desktop/images/23012025/16/50/image_23012025_16_51_06_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_16_9328.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_27_10362.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_36_9386.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_47_10348.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_50_57_10336.jpg
/home/pi/Desktop/images/23012025/16/50/image_23012025_16_51_06_9397.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":["1330857914","1330857923","1330857955","1330857934","1330857916","1330857960"],"photo_ids_order":["1330857914","1330857916","1330857923","1330857934","1330857955","1330857960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c58bb4b282273f88ab92be3913a1c177.jpg","text":"TemporaryFile(/tmp/multipartBody9024805328919430694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659853175,"filename":"image_23012025_16_50_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c40c88114ff70e37948714a739b965b1.jpg","text":"TemporaryFile(/tmp/multipartBody7958039356409796372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659853175,"filename":"image_23012025_16_50_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a817a077b6f762a8e52598aede4233ff.jpg","text":"TemporaryFile(/tmp/multipartBody3173260531542616157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659853175,"filename":"image_23012025_16_50_57_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/201668cba4d756c74f98017553ed509a.jpg","text":"TemporaryFile(/tmp/multipartBody5532965263610810562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659853175,"filename":"image_23012025_16_50_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b29fc816ef00bcb09170b2ed1cb0c5b1.jpg","text":"TemporaryFile(/tmp/multipartBody2952497079652397766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659853175,"filename":"image_23012025_16_50_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84bccd5df1d52d29704e6aec71ba16f4.jpg","text":"TemporaryFile(/tmp/multipartBody492054554399686501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659853175,"filename":"image_23012025_16_51_06_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330857923","file1":"1330857916","file0":"1330857914","file4":"1330857955","file5":"1330857960","file3":"1330857934"},"map_files_photo_id_array":[{"photo_id":"1330857960","filename":"file5"},{"photo_id":"1330857923","filename":"file2"},{"photo_id":"1330857955","filename":"file4"},{"photo_id":"1330857916","filename":"file1"},{"photo_id":"1330857914","filename":"file0"},{"photo_id":"1330857934","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330857914":["hashtag1","hashtag2"]},{"1330857923":["hashtag1","hashtag2"]},{"1330857955":["hashtag1","hashtag2"]},{"1330857934":["hashtag1","hashtag2"]},{"1330857916":["hashtag1","hashtag2"]},{"1330857960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330857914, 1330857923, 1330857955, 1330857934, 1330857916, 1330857960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0495240688324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:17:32.365941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_17_10331.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_27_10442.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_36_9323.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_47_10328.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_57_10386.jpg', '/home/pi/Desktop/images/23012025/16/51/image_23012025_16_52_07_9388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_17_10331.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_27_10442.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_36_9323.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_47_10328.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_51_57_10386.jpg
/home/pi/Desktop/images/23012025/16/51/image_23012025_16_52_07_9388.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":["1330858142","1330858021","1330858038","1330858023","1330858032","1330858151"],"photo_ids_order":["1330858021","1330858023","1330858032","1330858038","1330858142","1330858151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91e4ffdeb58b036120060410b2dc58c7.jpg","text":"TemporaryFile(/tmp/multipartBody7420204869947536334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659913318,"filename":"image_23012025_16_51_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1338f6d9eb701d5409df08d5b5c7bf08.jpg","text":"TemporaryFile(/tmp/multipartBody6861169622751391261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659913318,"filename":"image_23012025_16_51_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/868ab51cc579c65f7a852bb948f97379.jpg","text":"TemporaryFile(/tmp/multipartBody6966040767082512822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659913318,"filename":"image_23012025_16_51_47_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b306f9bde64f7a541e2ba6ffb91df62.jpg","text":"TemporaryFile(/tmp/multipartBody1483191064319005994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659913318,"filename":"image_23012025_16_51_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43b723bdb851f72bf66cd5f3406297bb.jpg","text":"TemporaryFile(/tmp/multipartBody5984238691253874734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659913318,"filename":"image_23012025_16_51_36_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17d18d040ba5858c4335fbbe86b72f52.jpg","text":"TemporaryFile(/tmp/multipartBody8132200382979370321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659913318,"filename":"image_23012025_16_52_07_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858032","file1":"1330858023","file0":"1330858021","file4":"1330858142","file5":"1330858151","file3":"1330858038"},"map_files_photo_id_array":[{"photo_id":"1330858151","filename":"file5"},{"photo_id":"1330858032","filename":"file2"},{"photo_id":"1330858142","filename":"file4"},{"photo_id":"1330858023","filename":"file1"},{"photo_id":"1330858021","filename":"file0"},{"photo_id":"1330858038","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858142":["hashtag1","hashtag2"]},{"1330858021":["hashtag1","hashtag2"]},{"1330858038":["hashtag1","hashtag2"]},{"1330858023":["hashtag1","hashtag2"]},{"1330858032":["hashtag1","hashtag2"]},{"1330858151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858142, 1330858021, 1330858038, 1330858023, 1330858032, 1330858151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.969783544540405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:18:32.534219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_17_10328.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_26_9348.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_37_10342.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_47_10354.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_56_9357.jpg', '/home/pi/Desktop/images/23012025/16/52/image_23012025_16_53_07_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_17_10328.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_26_9348.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_37_10342.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_47_10354.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_52_56_9357.jpg
/home/pi/Desktop/images/23012025/16/52/image_23012025_16_53_07_10331.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":["1330858253","1330858285","1330858288","1330858263","1330858260","1330858256"],"photo_ids_order":["1330858253","1330858256","1330858260","1330858263","1330858285","1330858288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d8a4ff0bd0371504bf0a9374360bf9c.jpg","text":"TemporaryFile(/tmp/multipartBody2635778237336983794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659973541,"filename":"image_23012025_16_52_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58bc4a7fd3273512f13a23dc7f446eb4.jpg","text":"TemporaryFile(/tmp/multipartBody150221358958211020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659973541,"filename":"image_23012025_16_52_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30a747807e13b1e479212fdaee383aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6481894715085061413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659973541,"filename":"image_23012025_16_53_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f443e0b4604d55c34bc0cc6a752223e5.jpg","text":"TemporaryFile(/tmp/multipartBody7846821464489423912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659973541,"filename":"image_23012025_16_52_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0598eda023cccd827367f663d5ef357d.jpg","text":"TemporaryFile(/tmp/multipartBody7156193871869063355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659973541,"filename":"image_23012025_16_52_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7620a11da06c7d9e69bd6af54d4b3aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3226497842007358521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737659973541,"filename":"image_23012025_16_52_26_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858260","file1":"1330858256","file0":"1330858253","file4":"1330858285","file5":"1330858288","file3":"1330858263"},"map_files_photo_id_array":[{"photo_id":"1330858288","filename":"file5"},{"photo_id":"1330858260","filename":"file2"},{"photo_id":"1330858285","filename":"file4"},{"photo_id":"1330858256","filename":"file1"},{"photo_id":"1330858253","filename":"file0"},{"photo_id":"1330858263","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858253":["hashtag1","hashtag2"]},{"1330858285":["hashtag1","hashtag2"]},{"1330858288":["hashtag1","hashtag2"]},{"1330858263":["hashtag1","hashtag2"]},{"1330858260":["hashtag1","hashtag2"]},{"1330858256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858253, 1330858285, 1330858288, 1330858263, 1330858260, 1330858256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7848117351532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:19:32.671116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_17_10327.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_26_9333.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_37_10335.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_47_10478.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_56_9332.jpg', '/home/pi/Desktop/images/23012025/16/53/image_23012025_16_54_07_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_17_10327.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_26_9333.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_37_10335.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_47_10478.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_53_56_9332.jpg
/home/pi/Desktop/images/23012025/16/53/image_23012025_16_54_07_10344.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":["1330858307","1330858322","1330858318","1330858341","1330858311","1330858337"],"photo_ids_order":["1330858307","1330858311","1330858318","1330858322","1330858337","1330858341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c5e5f4847b0f715d7f9124b0355eb24.jpg","text":"TemporaryFile(/tmp/multipartBody5525726157801448119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660033651,"filename":"image_23012025_16_53_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2f853138eb868cad4fcbd5b9de4b211d.jpg","text":"TemporaryFile(/tmp/multipartBody4378991688323272368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660033651,"filename":"image_23012025_16_53_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ab7939da1c849da9e4b24c142c7f7c7.jpg","text":"TemporaryFile(/tmp/multipartBody655008899449205286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660033651,"filename":"image_23012025_16_53_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/089a118a80b81def147b0ffc5e765562.jpg","text":"TemporaryFile(/tmp/multipartBody3684528700950878393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660033651,"filename":"image_23012025_16_54_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca7609c1e3c66d1f004cb5fed6f6c9eb.jpg","text":"TemporaryFile(/tmp/multipartBody5696673129227152995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660033651,"filename":"image_23012025_16_53_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2943bf2c24783663abe8019f6baae5a6.jpg","text":"TemporaryFile(/tmp/multipartBody6575140289242358734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660033651,"filename":"image_23012025_16_53_56_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858318","file1":"1330858311","file0":"1330858307","file4":"1330858337","file5":"1330858341","file3":"1330858322"},"map_files_photo_id_array":[{"photo_id":"1330858341","filename":"file5"},{"photo_id":"1330858318","filename":"file2"},{"photo_id":"1330858337","filename":"file4"},{"photo_id":"1330858311","filename":"file1"},{"photo_id":"1330858307","filename":"file0"},{"photo_id":"1330858322","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858307":["hashtag1","hashtag2"]},{"1330858322":["hashtag1","hashtag2"]},{"1330858318":["hashtag1","hashtag2"]},{"1330858341":["hashtag1","hashtag2"]},{"1330858311":["hashtag1","hashtag2"]},{"1330858337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858307, 1330858322, 1330858318, 1330858341, 1330858311, 1330858337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82191300392151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:20:32.979874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_17_10369.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_26_9411.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_37_10328.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_46_9394.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_57_10449.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_55_07_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_17_10369.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_26_9411.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_37_10328.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_46_9394.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_57_10449.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_55_07_10389.jpg
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: 0.5769312381744385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:20:42.962716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_17_10369.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_26_9411.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_37_10328.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_46_9394.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_57_10449.jpg', '/home/pi/Desktop/images/23012025/16/54/image_23012025_16_55_07_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_17_10369.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_26_9411.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_37_10328.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_46_9394.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_54_57_10449.jpg
/home/pi/Desktop/images/23012025/16/54/image_23012025_16_55_07_10389.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":["1330858445","1330858439","1330858450","1330858464","1330858472","1330858475"],"photo_ids_order":["1330858439","1330858445","1330858450","1330858464","1330858472","1330858475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0801c17a268fa8b29dabcb56ff80fa6f.jpg","text":"TemporaryFile(/tmp/multipartBody7132841149300590692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660103866,"filename":"image_23012025_16_54_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b52ecab59faef7840c2d4678e6e444d1.jpg","text":"TemporaryFile(/tmp/multipartBody3427143112948212478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660103866,"filename":"image_23012025_16_54_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d533ba19b722f15e77caf60c83271de8.jpg","text":"TemporaryFile(/tmp/multipartBody5782933505429919060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660103866,"filename":"image_23012025_16_54_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cf8f471a1b306c365c7fc548ab7032c.jpg","text":"TemporaryFile(/tmp/multipartBody1909039529446216923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660103866,"filename":"image_23012025_16_54_46_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b510fa2d6d0367ef1f61b5ea543e56e.jpg","text":"TemporaryFile(/tmp/multipartBody6022853291058377706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660103866,"filename":"image_23012025_16_54_57_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a3057718827f86c3c534b8785ba1f58.jpg","text":"TemporaryFile(/tmp/multipartBody2728764269511109033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660103866,"filename":"image_23012025_16_55_07_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858450","file1":"1330858445","file0":"1330858439","file4":"1330858472","file5":"1330858475","file3":"1330858464"},"map_files_photo_id_array":[{"photo_id":"1330858475","filename":"file5"},{"photo_id":"1330858450","filename":"file2"},{"photo_id":"1330858472","filename":"file4"},{"photo_id":"1330858445","filename":"file1"},{"photo_id":"1330858439","filename":"file0"},{"photo_id":"1330858464","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858445":["hashtag1","hashtag2"]},{"1330858439":["hashtag1","hashtag2"]},{"1330858450":["hashtag1","hashtag2"]},{"1330858464":["hashtag1","hashtag2"]},{"1330858472":["hashtag1","hashtag2"]},{"1330858475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858445, 1330858439, 1330858450, 1330858464, 1330858472, 1330858475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7615602016449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:21:33.119300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_16_9410.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_27_10366.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_37_10318.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_47_9415.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_57_10482.jpg', '/home/pi/Desktop/images/23012025/16/55/image_23012025_16_56_06_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_16_9410.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_27_10366.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_37_10318.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_47_9415.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_55_57_10482.jpg
/home/pi/Desktop/images/23012025/16/55/image_23012025_16_56_06_9340.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":["1330858517","1330858502","1330858537","1330858494","1330858491","1330858487"],"photo_ids_order":["1330858487","1330858491","1330858494","1330858502","1330858517","1330858537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e929460af3fbd14f7d474f93ada6fd4.jpg","text":"TemporaryFile(/tmp/multipartBody1813004158090382855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660154091,"filename":"image_23012025_16_55_57_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20b3435f7f96b7e27dccac69f8a3a19c.jpg","text":"TemporaryFile(/tmp/multipartBody4709064346938812108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660154091,"filename":"image_23012025_16_55_47_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f27d74d4d2475c0b28c1f88cc57be5f8.jpg","text":"TemporaryFile(/tmp/multipartBody2057491588982955358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660154091,"filename":"image_23012025_16_56_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b52ebb01a668cd3f78cdbf13decb8dfb.jpg","text":"TemporaryFile(/tmp/multipartBody7962526310897947028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660154091,"filename":"image_23012025_16_55_37_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e765c65ee1854e6e537731f0ec3490c8.jpg","text":"TemporaryFile(/tmp/multipartBody6540554174890562284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660154091,"filename":"image_23012025_16_55_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77b20c0f1696365c77cc411783bffa5a.jpg","text":"TemporaryFile(/tmp/multipartBody1783066328535078590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660154091,"filename":"image_23012025_16_55_16_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858494","file1":"1330858491","file0":"1330858487","file4":"1330858517","file5":"1330858537","file3":"1330858502"},"map_files_photo_id_array":[{"photo_id":"1330858537","filename":"file5"},{"photo_id":"1330858494","filename":"file2"},{"photo_id":"1330858517","filename":"file4"},{"photo_id":"1330858491","filename":"file1"},{"photo_id":"1330858487","filename":"file0"},{"photo_id":"1330858502","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858517":["hashtag1","hashtag2"]},{"1330858502":["hashtag1","hashtag2"]},{"1330858537":["hashtag1","hashtag2"]},{"1330858494":["hashtag1","hashtag2"]},{"1330858491":["hashtag1","hashtag2"]},{"1330858487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858517, 1330858502, 1330858537, 1330858494, 1330858491, 1330858487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.722713232040405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:22:32.397472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_17_10407.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_27_10358.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_36_9312.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_47_10453.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_56_9392.jpg', '/home/pi/Desktop/images/23012025/16/56/image_23012025_16_57_07_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_17_10407.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_27_10358.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_36_9312.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_47_10453.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_56_56_9392.jpg
/home/pi/Desktop/images/23012025/16/56/image_23012025_16_57_07_10347.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":["1330858625","1330858588","1330858607","1330858593","1330858584","1330858611"],"photo_ids_order":["1330858584","1330858588","1330858593","1330858607","1330858611","1330858625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5f0e29eaaebc316b8789f23845860d67.jpg","text":"TemporaryFile(/tmp/multipartBody5146516418532182821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660213362,"filename":"image_23012025_16_57_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/316497f2da33a4ea54a3c838e1500a09.jpg","text":"TemporaryFile(/tmp/multipartBody7335888872361258304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660213362,"filename":"image_23012025_16_56_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/16c68900c0158aebcf3d3cc13c870134.jpg","text":"TemporaryFile(/tmp/multipartBody1290848929771085379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660213362,"filename":"image_23012025_16_56_47_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02c63ca929267c9b0c9c2b887bae8911.jpg","text":"TemporaryFile(/tmp/multipartBody6629474266260573677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660213362,"filename":"image_23012025_16_56_36_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f934e96ca3be88d55ee08f365c26dd66.jpg","text":"TemporaryFile(/tmp/multipartBody2018363442207208177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660213362,"filename":"image_23012025_16_56_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bd4ddaa50b961856d8d47b960e2ff1c.jpg","text":"TemporaryFile(/tmp/multipartBody8550843369777501763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660213362,"filename":"image_23012025_16_56_56_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858593","file1":"1330858588","file0":"1330858584","file4":"1330858611","file5":"1330858625","file3":"1330858607"},"map_files_photo_id_array":[{"photo_id":"1330858625","filename":"file5"},{"photo_id":"1330858593","filename":"file2"},{"photo_id":"1330858611","filename":"file4"},{"photo_id":"1330858588","filename":"file1"},{"photo_id":"1330858584","filename":"file0"},{"photo_id":"1330858607","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858625":["hashtag1","hashtag2"]},{"1330858588":["hashtag1","hashtag2"]},{"1330858607":["hashtag1","hashtag2"]},{"1330858593":["hashtag1","hashtag2"]},{"1330858584":["hashtag1","hashtag2"]},{"1330858611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858625, 1330858588, 1330858607, 1330858593, 1330858584, 1330858611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92556142807007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:23:32.642379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_17_10393.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_26_9345.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_37_10331.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_47_10362.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_56_9338.jpg', '/home/pi/Desktop/images/23012025/16/57/image_23012025_16_58_07_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_17_10393.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_26_9345.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_37_10331.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_47_10362.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_57_56_9338.jpg
/home/pi/Desktop/images/23012025/16/57/image_23012025_16_58_07_10356.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":["1330858700","1330858739","1330858756","1330858753","1330858711","1330858646"],"photo_ids_order":["1330858646","1330858700","1330858711","1330858739","1330858753","1330858756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45e000988c1115ca755a72f8c2c15616.jpg","text":"TemporaryFile(/tmp/multipartBody3169162774168708628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660273626,"filename":"image_23012025_16_57_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5528dd5a55d9b4521a70b44dfdea3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8117499071506014964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660273626,"filename":"image_23012025_16_57_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98feab9ff0c14d756724229cb6537aba.jpg","text":"TemporaryFile(/tmp/multipartBody6058210968604684021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660273626,"filename":"image_23012025_16_58_07_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca2c481c2d8ec4cd4db02b30b51ad860.jpg","text":"TemporaryFile(/tmp/multipartBody4836003014577637996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660273626,"filename":"image_23012025_16_57_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/227b3734735411c24aec9b56f9fc6e1b.jpg","text":"TemporaryFile(/tmp/multipartBody7253170911973003839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660273626,"filename":"image_23012025_16_57_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a1bc2896bff4bb9bdfa2e3a4f026cd72.jpg","text":"TemporaryFile(/tmp/multipartBody6343940062301323451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660273626,"filename":"image_23012025_16_57_17_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858711","file1":"1330858700","file0":"1330858646","file4":"1330858753","file5":"1330858756","file3":"1330858739"},"map_files_photo_id_array":[{"photo_id":"1330858756","filename":"file5"},{"photo_id":"1330858711","filename":"file2"},{"photo_id":"1330858753","filename":"file4"},{"photo_id":"1330858700","filename":"file1"},{"photo_id":"1330858646","filename":"file0"},{"photo_id":"1330858739","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858700":["hashtag1","hashtag2"]},{"1330858739":["hashtag1","hashtag2"]},{"1330858756":["hashtag1","hashtag2"]},{"1330858753":["hashtag1","hashtag2"]},{"1330858711":["hashtag1","hashtag2"]},{"1330858646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858700, 1330858739, 1330858756, 1330858753, 1330858711, 1330858646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96515202522278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:24:32.867693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_17_10352.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_26_9341.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_37_10475.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_46_9358.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_57_10347.jpg', '/home/pi/Desktop/images/23012025/16/58/image_23012025_16_59_07_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_17_10352.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_26_9341.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_37_10475.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_46_9358.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_58_57_10347.jpg
/home/pi/Desktop/images/23012025/16/58/image_23012025_16_59_07_10438.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":["1330858904","1330858896","1330858854","1330858892","1330858880","1330858859"],"photo_ids_order":["1330858854","1330858859","1330858880","1330858892","1330858896","1330858904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b14a4c8c954614cab971cfa43e08795a.jpg","text":"TemporaryFile(/tmp/multipartBody4960139674980142738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660334145,"filename":"image_23012025_16_59_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93f8d8e6897d8a0d33096b1371256c58.jpg","text":"TemporaryFile(/tmp/multipartBody4319805227932440837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660334145,"filename":"image_23012025_16_58_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83720907035c505e02399ec92ddf456d.jpg","text":"TemporaryFile(/tmp/multipartBody3420834725342430967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660334145,"filename":"image_23012025_16_58_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9e9cd1b2a47d5784702221337f2ce18.jpg","text":"TemporaryFile(/tmp/multipartBody7261737137062988942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660334145,"filename":"image_23012025_16_58_46_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b37c2acce1c03a98881be869c1ad868d.jpg","text":"TemporaryFile(/tmp/multipartBody4952192518700067632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660334145,"filename":"image_23012025_16_58_37_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bcc62dda886b6b85262360027d91352.jpg","text":"TemporaryFile(/tmp/multipartBody1356191973726005780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660334145,"filename":"image_23012025_16_58_26_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858880","file1":"1330858859","file0":"1330858854","file4":"1330858896","file5":"1330858904","file3":"1330858892"},"map_files_photo_id_array":[{"photo_id":"1330858904","filename":"file5"},{"photo_id":"1330858880","filename":"file2"},{"photo_id":"1330858896","filename":"file4"},{"photo_id":"1330858859","filename":"file1"},{"photo_id":"1330858854","filename":"file0"},{"photo_id":"1330858892","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858904":["hashtag1","hashtag2"]},{"1330858896":["hashtag1","hashtag2"]},{"1330858854":["hashtag1","hashtag2"]},{"1330858892":["hashtag1","hashtag2"]},{"1330858880":["hashtag1","hashtag2"]},{"1330858859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858904, 1330858896, 1330858854, 1330858892, 1330858880, 1330858859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.61077666282654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:25:32.210441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_16_9349.jpg', '/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_27_10370.jpg', '/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_36_9372.jpg', '/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_47_10370.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_15_10074.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_25_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_16_9349.jpg
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_27_10370.jpg
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_36_9372.jpg
/home/pi/Desktop/images/23012025/16/59/image_23012025_16_59_47_10370.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_15_10074.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_25_10368.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":["1330858928","1330858939","1330858941","1330858944","1330858926","1330858955"],"photo_ids_order":["1330858926","1330858928","1330858939","1330858941","1330858944","1330858955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/073d2bcb57a927c3ac751b1572aff4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7881893501689902374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660393182,"filename":"image_23012025_16_59_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ff9fae256e62b494c6fe409bdb1c2b1.jpg","text":"TemporaryFile(/tmp/multipartBody5842280080799670109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660393182,"filename":"image_23012025_16_59_36_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04ca090435e0978610f48dfe4d0e4491.jpg","text":"TemporaryFile(/tmp/multipartBody975800222515802849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660393182,"filename":"image_23012025_16_59_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08a9a501a979bbd141f27e8bc2f74655.jpg","text":"TemporaryFile(/tmp/multipartBody5697158531029716210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660393182,"filename":"image_23012025_17_01_15_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/535b56e05be2c5e3b27d3bf5e9a1b21d.jpg","text":"TemporaryFile(/tmp/multipartBody847383722598220631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660393182,"filename":"image_23012025_16_59_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6109b807975b91142e17645d4198222c.jpg","text":"TemporaryFile(/tmp/multipartBody7200110947464739051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660393182,"filename":"image_23012025_17_01_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330858939","file1":"1330858928","file0":"1330858926","file4":"1330858944","file5":"1330858955","file3":"1330858941"},"map_files_photo_id_array":[{"photo_id":"1330858955","filename":"file5"},{"photo_id":"1330858939","filename":"file2"},{"photo_id":"1330858944","filename":"file4"},{"photo_id":"1330858928","filename":"file1"},{"photo_id":"1330858926","filename":"file0"},{"photo_id":"1330858941","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330858928":["hashtag1","hashtag2"]},{"1330858939":["hashtag1","hashtag2"]},{"1330858941":["hashtag1","hashtag2"]},{"1330858944":["hashtag1","hashtag2"]},{"1330858926":["hashtag1","hashtag2"]},{"1330858955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330858928, 1330858939, 1330858941, 1330858944, 1330858926, 1330858955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6284236907959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:26:32.311900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_36_10345.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_45_9445.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_55_10336.jpg', '/home/pi/Desktop/images/23012025/17/01/image_23012025_17_02_06_10348.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_15_9385.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_26_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_36_10345.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_45_9445.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_01_55_10336.jpg
/home/pi/Desktop/images/23012025/17/01/image_23012025_17_02_06_10348.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_15_9385.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_26_10356.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":["1330859029","1330859032","1330859022","1330859025","1330859004","1330859015"],"photo_ids_order":["1330859004","1330859015","1330859022","1330859025","1330859029","1330859032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4a638a8e5eca4ce8861519eb098415e8.jpg","text":"TemporaryFile(/tmp/multipartBody5564352198771218751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660453259,"filename":"image_23012025_17_02_15_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb45675d7af0104fa645f174932eb73a.jpg","text":"TemporaryFile(/tmp/multipartBody9154438415010227390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660453259,"filename":"image_23012025_17_02_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5610b30c387d6008366df64c4fdd61cd.jpg","text":"TemporaryFile(/tmp/multipartBody3433980546834987238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660453259,"filename":"image_23012025_17_01_55_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/56bd2e266a1c3683ac1559a44d507725.jpg","text":"TemporaryFile(/tmp/multipartBody9125314183060133829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660453259,"filename":"image_23012025_17_02_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdb1b19d2c145520827da77006f163b5.jpg","text":"TemporaryFile(/tmp/multipartBody2829507396494402776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660453259,"filename":"image_23012025_17_01_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14de13f31f940c8c8d0cb5361d8b55e8.jpg","text":"TemporaryFile(/tmp/multipartBody7182706961737351952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660453259,"filename":"image_23012025_17_01_45_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859022","file1":"1330859015","file0":"1330859004","file4":"1330859029","file5":"1330859032","file3":"1330859025"},"map_files_photo_id_array":[{"photo_id":"1330859032","filename":"file5"},{"photo_id":"1330859022","filename":"file2"},{"photo_id":"1330859029","filename":"file4"},{"photo_id":"1330859015","filename":"file1"},{"photo_id":"1330859004","filename":"file0"},{"photo_id":"1330859025","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859029":["hashtag1","hashtag2"]},{"1330859032":["hashtag1","hashtag2"]},{"1330859022":["hashtag1","hashtag2"]},{"1330859025":["hashtag1","hashtag2"]},{"1330859004":["hashtag1","hashtag2"]},{"1330859015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859029, 1330859032, 1330859022, 1330859025, 1330859004, 1330859015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67540168762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:27:32.562631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_35_9340.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_45_10350.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_56_10322.jpg', '/home/pi/Desktop/images/23012025/17/02/image_23012025_17_03_05_9348.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_15_10341.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_26_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_35_9340.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_45_10350.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_02_56_10322.jpg
/home/pi/Desktop/images/23012025/17/02/image_23012025_17_03_05_9348.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_15_10341.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_26_10337.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":["1330859266","1330859265","1330859259","1330859244","1330859249","1330859264"],"photo_ids_order":["1330859244","1330859249","1330859259","1330859264","1330859265","1330859266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3fd8309d5371ce4450b4d5678081276.jpg","text":"TemporaryFile(/tmp/multipartBody3010448480701777148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660513545,"filename":"image_23012025_17_03_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/372120b2ab99db350fa1060bf6d2ea58.jpg","text":"TemporaryFile(/tmp/multipartBody7363284697818194748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660513545,"filename":"image_23012025_17_03_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84c0f7cca7152c9862119064e6e50e91.jpg","text":"TemporaryFile(/tmp/multipartBody7136226502158578077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660513545,"filename":"image_23012025_17_02_56_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e7dd7c8b003850ab51deeec5a398d93.jpg","text":"TemporaryFile(/tmp/multipartBody972461714530706549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660513545,"filename":"image_23012025_17_02_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cabc74554465cb3ac554122f32c195a.jpg","text":"TemporaryFile(/tmp/multipartBody8532844373501712055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660513545,"filename":"image_23012025_17_02_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52ed493328919cf714b3667a1311de2a.jpg","text":"TemporaryFile(/tmp/multipartBody1447490397968194242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660513545,"filename":"image_23012025_17_03_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859259","file1":"1330859249","file0":"1330859244","file4":"1330859265","file5":"1330859266","file3":"1330859264"},"map_files_photo_id_array":[{"photo_id":"1330859266","filename":"file5"},{"photo_id":"1330859259","filename":"file2"},{"photo_id":"1330859265","filename":"file4"},{"photo_id":"1330859249","filename":"file1"},{"photo_id":"1330859244","filename":"file0"},{"photo_id":"1330859264","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859266":["hashtag1","hashtag2"]},{"1330859265":["hashtag1","hashtag2"]},{"1330859259":["hashtag1","hashtag2"]},{"1330859244":["hashtag1","hashtag2"]},{"1330859249":["hashtag1","hashtag2"]},{"1330859264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859266, 1330859265, 1330859259, 1330859244, 1330859249, 1330859264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87090539932251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:28:32.798895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_35_9441.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_45_10331.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_56_10341.jpg', '/home/pi/Desktop/images/23012025/17/03/image_23012025_17_04_05_9534.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_16_10366.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_25_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_35_9441.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_45_10331.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_03_56_10341.jpg
/home/pi/Desktop/images/23012025/17/03/image_23012025_17_04_05_9534.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_16_10366.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_25_9396.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":["1330859311","1330859295","1330859289","1330859298","1330859307","1330859291"],"photo_ids_order":["1330859289","1330859291","1330859295","1330859298","1330859307","1330859311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0ea978529368074d7638100a96e2de9.jpg","text":"TemporaryFile(/tmp/multipartBody9066962423388186778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660573772,"filename":"image_23012025_17_04_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a05ec4fd7db73ac9035fb8f4ce65c678.jpg","text":"TemporaryFile(/tmp/multipartBody8564760563550875921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660573772,"filename":"image_23012025_17_03_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25248b36a9e1b6c80c76b5bfb1f26f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1121516275888559224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660573772,"filename":"image_23012025_17_03_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d46e01cf7ef97dd4965274f92e44ff66.jpg","text":"TemporaryFile(/tmp/multipartBody3884488708499118406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660573772,"filename":"image_23012025_17_04_05_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9c4b1644640128b4830a935eb5b445d.jpg","text":"TemporaryFile(/tmp/multipartBody7683179612940306230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660573772,"filename":"image_23012025_17_04_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf15427d791bb9ae4cb9f07f0afe5c24.jpg","text":"TemporaryFile(/tmp/multipartBody7748976962241220004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660573772,"filename":"image_23012025_17_03_45_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859295","file1":"1330859291","file0":"1330859289","file4":"1330859307","file5":"1330859311","file3":"1330859298"},"map_files_photo_id_array":[{"photo_id":"1330859311","filename":"file5"},{"photo_id":"1330859295","filename":"file2"},{"photo_id":"1330859307","filename":"file4"},{"photo_id":"1330859291","filename":"file1"},{"photo_id":"1330859289","filename":"file0"},{"photo_id":"1330859298","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859311":["hashtag1","hashtag2"]},{"1330859295":["hashtag1","hashtag2"]},{"1330859289":["hashtag1","hashtag2"]},{"1330859298":["hashtag1","hashtag2"]},{"1330859307":["hashtag1","hashtag2"]},{"1330859291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859311, 1330859295, 1330859289, 1330859298, 1330859307, 1330859291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07009410858154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:29:32.969057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_35_10339.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_45_10031.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_56_10340.jpg', '/home/pi/Desktop/images/23012025/17/04/image_23012025_17_05_05_9353.jpg', '/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_15_10332.jpg', '/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_26_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_35_10339.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_45_10031.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_04_56_10340.jpg
/home/pi/Desktop/images/23012025/17/04/image_23012025_17_05_05_9353.jpg
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_15_10332.jpg
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_26_10339.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":["1330859377","1330859391","1330859394","1330859393","1330859395","1330859389"],"photo_ids_order":["1330859377","1330859389","1330859391","1330859393","1330859394","1330859395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61a1f400cec8f5822a1ce5848d64f538.jpg","text":"TemporaryFile(/tmp/multipartBody602604176695362871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660633950,"filename":"image_23012025_17_04_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4bb1f2b18b126d0bcd4e5d8ceca0a49.jpg","text":"TemporaryFile(/tmp/multipartBody1039053006427038724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660633950,"filename":"image_23012025_17_04_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/17ea98719f07ad11b24157c7507d3448.jpg","text":"TemporaryFile(/tmp/multipartBody4819850521766308305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660633950,"filename":"image_23012025_17_05_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f81eb5aaaf2c788c682ce0d44029f420.jpg","text":"TemporaryFile(/tmp/multipartBody8343429519175410482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660633950,"filename":"image_23012025_17_05_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18a8fa9e9028b210ab0b04945d0dbf93.jpg","text":"TemporaryFile(/tmp/multipartBody7884999423383379537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660633950,"filename":"image_23012025_17_05_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee398290aa3c78740f6a7fdf88787191.jpg","text":"TemporaryFile(/tmp/multipartBody7701685386483984616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660633950,"filename":"image_23012025_17_04_45_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859391","file1":"1330859389","file0":"1330859377","file4":"1330859394","file5":"1330859395","file3":"1330859393"},"map_files_photo_id_array":[{"photo_id":"1330859395","filename":"file5"},{"photo_id":"1330859391","filename":"file2"},{"photo_id":"1330859394","filename":"file4"},{"photo_id":"1330859389","filename":"file1"},{"photo_id":"1330859377","filename":"file0"},{"photo_id":"1330859393","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859377":["hashtag1","hashtag2"]},{"1330859391":["hashtag1","hashtag2"]},{"1330859394":["hashtag1","hashtag2"]},{"1330859393":["hashtag1","hashtag2"]},{"1330859395":["hashtag1","hashtag2"]},{"1330859389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859377, 1330859391, 1330859394, 1330859393, 1330859395, 1330859389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09161138534546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:30:33.114256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_35_9423.jpg', '/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_46_10653.jpg', '/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_56_10019.jpg', '/home/pi/Desktop/images/23012025/17/05/image_23012025_17_06_05_9322.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_16_10365.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_26_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_35_9423.jpg
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_46_10653.jpg
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_05_56_10019.jpg
/home/pi/Desktop/images/23012025/17/05/image_23012025_17_06_05_9322.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_16_10365.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_26_10335.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":["1330859437","1330859431","1330859439","1330859433","1330859441","1330859435"],"photo_ids_order":["1330859431","1330859433","1330859435","1330859437","1330859439","1330859441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f66f32a963b1aca9c179229d5b850b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6834633112209465891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660694103,"filename":"image_23012025_17_06_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70c080fda18738c57f4187f809c82c38.jpg","text":"TemporaryFile(/tmp/multipartBody9133347549714778044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660694103,"filename":"image_23012025_17_05_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/beb81200b2b3b2eb9b91053443bfc609.jpg","text":"TemporaryFile(/tmp/multipartBody2484929265302291514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660694103,"filename":"image_23012025_17_06_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e37fe18b892298c758460ac8feeff661.jpg","text":"TemporaryFile(/tmp/multipartBody5181614045692098408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660694103,"filename":"image_23012025_17_05_46_10653.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/303a63eabfb188693b4016138596f54d.jpg","text":"TemporaryFile(/tmp/multipartBody2587732645404549282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660694103,"filename":"image_23012025_17_06_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53d01838049d7e611b2cfd41632d5230.jpg","text":"TemporaryFile(/tmp/multipartBody8162103397584561107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660694103,"filename":"image_23012025_17_05_56_10019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859435","file1":"1330859433","file0":"1330859431","file4":"1330859439","file5":"1330859441","file3":"1330859437"},"map_files_photo_id_array":[{"photo_id":"1330859441","filename":"file5"},{"photo_id":"1330859435","filename":"file2"},{"photo_id":"1330859439","filename":"file4"},{"photo_id":"1330859433","filename":"file1"},{"photo_id":"1330859431","filename":"file0"},{"photo_id":"1330859437","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859437":["hashtag1","hashtag2"]},{"1330859431":["hashtag1","hashtag2"]},{"1330859439":["hashtag1","hashtag2"]},{"1330859433":["hashtag1","hashtag2"]},{"1330859441":["hashtag1","hashtag2"]},{"1330859435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859437, 1330859431, 1330859439, 1330859433, 1330859441, 1330859435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65937948226929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:31:32.320869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_35_9404.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_46_10336.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_55_9404.jpg', '/home/pi/Desktop/images/23012025/17/06/image_23012025_17_07_05_10325.jpg', '/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_25_9450.jpg', '/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_46_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_35_9404.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_46_10336.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_06_55_9404.jpg
/home/pi/Desktop/images/23012025/17/06/image_23012025_17_07_05_10325.jpg
/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_25_9450.jpg
/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_46_10337.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":["1330859482","1330859476","1330859500","1330859502","1330859492","1330859473"],"photo_ids_order":["1330859473","1330859476","1330859482","1330859492","1330859500","1330859502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fa112e15bdc69537449e8bb5e5306db.jpg","text":"TemporaryFile(/tmp/multipartBody254585887841311156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660753323,"filename":"image_23012025_17_06_55_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/326654aa79772512a4e1bf4136ab2a97.jpg","text":"TemporaryFile(/tmp/multipartBody2445136247341264337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660753323,"filename":"image_23012025_17_06_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e53406b1a8083cea738ecb7ec8fc7144.jpg","text":"TemporaryFile(/tmp/multipartBody5361456186993187981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660753323,"filename":"image_23012025_17_07_25_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/582274dca11c0075021395de1770a766.jpg","text":"TemporaryFile(/tmp/multipartBody2559284260270702721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660753323,"filename":"image_23012025_17_07_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c644551ebc5a4028a917f6148ec7eba8.jpg","text":"TemporaryFile(/tmp/multipartBody7609782694201829424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660753323,"filename":"image_23012025_17_07_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99d0785537bd2a2acc67fc0c3928691d.jpg","text":"TemporaryFile(/tmp/multipartBody3972114390549924711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660753323,"filename":"image_23012025_17_06_35_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859482","file1":"1330859476","file0":"1330859473","file4":"1330859500","file5":"1330859502","file3":"1330859492"},"map_files_photo_id_array":[{"photo_id":"1330859502","filename":"file5"},{"photo_id":"1330859482","filename":"file2"},{"photo_id":"1330859500","filename":"file4"},{"photo_id":"1330859476","filename":"file1"},{"photo_id":"1330859473","filename":"file0"},{"photo_id":"1330859492","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859482":["hashtag1","hashtag2"]},{"1330859476":["hashtag1","hashtag2"]},{"1330859500":["hashtag1","hashtag2"]},{"1330859502":["hashtag1","hashtag2"]},{"1330859492":["hashtag1","hashtag2"]},{"1330859473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859482, 1330859476, 1330859500, 1330859502, 1330859492, 1330859473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.675424098968506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:32:32.445304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_55_9405.jpg', '/home/pi/Desktop/images/23012025/17/07/image_23012025_17_08_06_10389.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_15_9496.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_26_10377.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_36_10339.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_45_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/07/image_23012025_17_07_55_9405.jpg
/home/pi/Desktop/images/23012025/17/07/image_23012025_17_08_06_10389.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_15_9496.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_26_10377.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_36_10339.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_45_9386.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":["1330859598","1330859583","1330859577","1330859594","1330859591","1330859570"],"photo_ids_order":["1330859570","1330859577","1330859583","1330859591","1330859594","1330859598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96de1a0e3756db7b382c2d0e452d9fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4815159225948439540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660813416,"filename":"image_23012025_17_08_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/388955d2480ba7aebaadc35497785767.jpg","text":"TemporaryFile(/tmp/multipartBody7615899739736247796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660813416,"filename":"image_23012025_17_08_15_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d829cfcaaa537d979f030f26ccf7484.jpg","text":"TemporaryFile(/tmp/multipartBody8770051269954620104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660813416,"filename":"image_23012025_17_08_06_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6223dbb717291b4e2ca6769ed1707b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1392432210236989875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660813416,"filename":"image_23012025_17_08_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b29966c94dbcc1e4ff11783a88a3cf0.jpg","text":"TemporaryFile(/tmp/multipartBody1427813052440292812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660813416,"filename":"image_23012025_17_08_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a01ccfeb9715960a9ef08be35035af5.jpg","text":"TemporaryFile(/tmp/multipartBody3871819824817398699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660813416,"filename":"image_23012025_17_07_55_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859583","file1":"1330859577","file0":"1330859570","file4":"1330859594","file5":"1330859598","file3":"1330859591"},"map_files_photo_id_array":[{"photo_id":"1330859598","filename":"file5"},{"photo_id":"1330859583","filename":"file2"},{"photo_id":"1330859594","filename":"file4"},{"photo_id":"1330859577","filename":"file1"},{"photo_id":"1330859570","filename":"file0"},{"photo_id":"1330859591","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859598":["hashtag1","hashtag2"]},{"1330859583":["hashtag1","hashtag2"]},{"1330859577":["hashtag1","hashtag2"]},{"1330859594":["hashtag1","hashtag2"]},{"1330859591":["hashtag1","hashtag2"]},{"1330859570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859598, 1330859583, 1330859577, 1330859594, 1330859591, 1330859570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.283384561538696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:33:32.657408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_56_10335.jpg', '/home/pi/Desktop/images/23012025/17/08/image_23012025_17_09_05_9423.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_15_10379.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_26_10339.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_35_9408.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_08_56_10335.jpg
/home/pi/Desktop/images/23012025/17/08/image_23012025_17_09_05_9423.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_15_10379.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_26_10339.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_35_9408.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_45_10343.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":["1330859650","1330859647","1330859643","1330859637","1330859622","1330859613"],"photo_ids_order":["1330859613","1330859622","1330859637","1330859643","1330859647","1330859650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01ddf780a71c87e393277a7d7ca38899.jpg","text":"TemporaryFile(/tmp/multipartBody1652398670294246603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660873629,"filename":"image_23012025_17_09_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14eddbba1fad66646a2935b0a97aeaee.jpg","text":"TemporaryFile(/tmp/multipartBody5431024726906064883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660873629,"filename":"image_23012025_17_09_35_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9cf93569d61855e28a535d30d1fad4c.jpg","text":"TemporaryFile(/tmp/multipartBody1965970438395725264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660873629,"filename":"image_23012025_17_09_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4c66dc5eba0fab6c0a27b201e226a46.jpg","text":"TemporaryFile(/tmp/multipartBody1250267285789449366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660873629,"filename":"image_23012025_17_09_15_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/522f0a688f64c32dc1c9eaa35a6cfbcb.jpg","text":"TemporaryFile(/tmp/multipartBody4473386027346107499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660873629,"filename":"image_23012025_17_09_05_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9557c82c04f5ced3a8868b09e6bed99.jpg","text":"TemporaryFile(/tmp/multipartBody2124593224395061484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660873629,"filename":"image_23012025_17_08_56_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859637","file1":"1330859622","file0":"1330859613","file4":"1330859647","file5":"1330859650","file3":"1330859643"},"map_files_photo_id_array":[{"photo_id":"1330859650","filename":"file5"},{"photo_id":"1330859637","filename":"file2"},{"photo_id":"1330859647","filename":"file4"},{"photo_id":"1330859622","filename":"file1"},{"photo_id":"1330859613","filename":"file0"},{"photo_id":"1330859643","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859650":["hashtag1","hashtag2"]},{"1330859647":["hashtag1","hashtag2"]},{"1330859643":["hashtag1","hashtag2"]},{"1330859637":["hashtag1","hashtag2"]},{"1330859622":["hashtag1","hashtag2"]},{"1330859613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859650, 1330859647, 1330859643, 1330859637, 1330859622, 1330859613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.549527645111084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:34:32.956790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_56_10331.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_10_05_9339.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_16_10406.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_25_9349.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_35_10411.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_46_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_56_10331.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_10_05_9339.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_16_10406.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_25_9349.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_35_10411.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_46_10394.jpg
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: 0.5709567070007324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:34:43.069094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_56_10331.jpg', '/home/pi/Desktop/images/23012025/17/09/image_23012025_17_10_05_9339.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_16_10406.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_25_9349.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_35_10411.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_46_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_09_56_10331.jpg
/home/pi/Desktop/images/23012025/17/09/image_23012025_17_10_05_9339.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_16_10406.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_25_9349.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_35_10411.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_46_10394.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":["1330859740","1330859743","1330859736","1330859724","1330859718","1330859732"],"photo_ids_order":["1330859718","1330859724","1330859732","1330859736","1330859740","1330859743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/546039afdca532e920b4e49609c4777e.jpg","text":"TemporaryFile(/tmp/multipartBody7064407807913400772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660943998,"filename":"image_23012025_17_10_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b096df82c02b3f7fe17b0faed583dc65.jpg","text":"TemporaryFile(/tmp/multipartBody1064675193223701220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660943998,"filename":"image_23012025_17_10_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b41acf52978a6335549d424abda1416.jpg","text":"TemporaryFile(/tmp/multipartBody3132113440108439434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660943998,"filename":"image_23012025_17_10_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc8aaa3469f8f907a19e4eeae98b5060.jpg","text":"TemporaryFile(/tmp/multipartBody7957592818026896055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660943998,"filename":"image_23012025_17_10_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2be64611dae218436b304d3944b5d299.jpg","text":"TemporaryFile(/tmp/multipartBody4916226802882718338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660943998,"filename":"image_23012025_17_09_56_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c87a588648e3ad6d25d87ac85ee14ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4655490050783900554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660943998,"filename":"image_23012025_17_10_16_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330859732","file1":"1330859724","file0":"1330859718","file4":"1330859740","file5":"1330859743","file3":"1330859736"},"map_files_photo_id_array":[{"photo_id":"1330859743","filename":"file5"},{"photo_id":"1330859732","filename":"file2"},{"photo_id":"1330859740","filename":"file4"},{"photo_id":"1330859724","filename":"file1"},{"photo_id":"1330859718","filename":"file0"},{"photo_id":"1330859736","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330859740":["hashtag1","hashtag2"]},{"1330859743":["hashtag1","hashtag2"]},{"1330859736":["hashtag1","hashtag2"]},{"1330859724":["hashtag1","hashtag2"]},{"1330859718":["hashtag1","hashtag2"]},{"1330859732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330859740, 1330859743, 1330859736, 1330859724, 1330859718, 1330859732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02619194984436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:35:32.250992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_55_9326.jpg', '/home/pi/Desktop/images/23012025/17/10/image_23012025_17_11_05_10412.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_16_10420.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_25_9423.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_36_10382.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_45_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_10_55_9326.jpg
/home/pi/Desktop/images/23012025/17/10/image_23012025_17_11_05_10412.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_16_10420.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_25_9423.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_36_10382.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_45_9367.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":["1330860320","1330859767","1330860311","1330860202","1330860300","1330859918"],"photo_ids_order":["1330859767","1330859918","1330860202","1330860300","1330860311","1330860320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74347d1ee8021cd4fb1bab1a8525eb12.jpg","text":"TemporaryFile(/tmp/multipartBody8779450857383688872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660993242,"filename":"image_23012025_17_11_45_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d663f31ce06623ae7d88c7d3a527e5ce.jpg","text":"TemporaryFile(/tmp/multipartBody624310009238961206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660993242,"filename":"image_23012025_17_10_55_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d1736f63bdd4ecbadf1d90e261cccfd.jpg","text":"TemporaryFile(/tmp/multipartBody7350019585374131911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660993242,"filename":"image_23012025_17_11_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45caad739bb89c998a2638c6701296ee.jpg","text":"TemporaryFile(/tmp/multipartBody5273057601955609676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660993242,"filename":"image_23012025_17_11_16_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a05e974a0dc13e0b1990a85f614bd10.jpg","text":"TemporaryFile(/tmp/multipartBody9176365695318746050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660993242,"filename":"image_23012025_17_11_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab37f64fd7f495acd9d1f2430704ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody8787454119082419273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737660993242,"filename":"image_23012025_17_11_05_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330860202","file1":"1330859918","file0":"1330859767","file4":"1330860311","file5":"1330860320","file3":"1330860300"},"map_files_photo_id_array":[{"photo_id":"1330860320","filename":"file5"},{"photo_id":"1330860202","filename":"file2"},{"photo_id":"1330860311","filename":"file4"},{"photo_id":"1330859918","filename":"file1"},{"photo_id":"1330859767","filename":"file0"},{"photo_id":"1330860300","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330860320":["hashtag1","hashtag2"]},{"1330859767":["hashtag1","hashtag2"]},{"1330860311":["hashtag1","hashtag2"]},{"1330860202":["hashtag1","hashtag2"]},{"1330860300":["hashtag1","hashtag2"]},{"1330859918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330860320, 1330859767, 1330860311, 1330860202, 1330860300, 1330859918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.45589566230774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:36:32.491569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_55_10350.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_12_06_10340.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_15_9372.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_25_10354.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_36_10339.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_45_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_55_10350.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_12_06_10340.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_15_9372.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_25_10354.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_36_10339.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_45_9454.jpg
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: 0.5702447891235352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:36:42.463979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_55_10350.jpg', '/home/pi/Desktop/images/23012025/17/11/image_23012025_17_12_06_10340.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_15_9372.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_25_10354.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_36_10339.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_45_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_11_55_10350.jpg
/home/pi/Desktop/images/23012025/17/11/image_23012025_17_12_06_10340.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_15_9372.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_25_10354.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_36_10339.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_45_9454.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":["1330860407","1330860716","1330860477","1330860403","1330860741","1330860411"],"photo_ids_order":["1330860403","1330860407","1330860411","1330860477","1330860716","1330860741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6493618929cebaf2a9024b62122b54e0.jpg","text":"TemporaryFile(/tmp/multipartBody6348483012627103570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661063410,"filename":"image_23012025_17_12_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4398c5c291d795d91d3168bafedfbb86.jpg","text":"TemporaryFile(/tmp/multipartBody4947836190875743834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661063410,"filename":"image_23012025_17_12_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dbe6da019595eaa633f919063d8c15e5.jpg","text":"TemporaryFile(/tmp/multipartBody6161615980001674513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661063410,"filename":"image_23012025_17_12_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e4be40ed90f30e7bafb4becf628fc9e.jpg","text":"TemporaryFile(/tmp/multipartBody1680547406903141768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661063410,"filename":"image_23012025_17_11_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b12c068fcee8172aff158e172252ca51.jpg","text":"TemporaryFile(/tmp/multipartBody3418059610327394399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661063410,"filename":"image_23012025_17_12_45_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b39cb244a6a59f6e61d88eb5ae20c6f5.jpg","text":"TemporaryFile(/tmp/multipartBody5167027199982131398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661063410,"filename":"image_23012025_17_12_15_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330860411","file1":"1330860407","file0":"1330860403","file4":"1330860716","file5":"1330860741","file3":"1330860477"},"map_files_photo_id_array":[{"photo_id":"1330860741","filename":"file5"},{"photo_id":"1330860411","filename":"file2"},{"photo_id":"1330860716","filename":"file4"},{"photo_id":"1330860407","filename":"file1"},{"photo_id":"1330860403","filename":"file0"},{"photo_id":"1330860477","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330860407":["hashtag1","hashtag2"]},{"1330860716":["hashtag1","hashtag2"]},{"1330860477":["hashtag1","hashtag2"]},{"1330860403":["hashtag1","hashtag2"]},{"1330860741":["hashtag1","hashtag2"]},{"1330860411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330860407, 1330860716, 1330860477, 1330860403, 1330860741, 1330860411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.077261447906494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:37:32.662920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_56_10460.jpg', '/home/pi/Desktop/images/23012025/17/12/image_23012025_17_13_05_9355.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_15_10333.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_26_10405.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_35_9373.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_46_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_12_56_10460.jpg
/home/pi/Desktop/images/23012025/17/12/image_23012025_17_13_05_9355.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_15_10333.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_26_10405.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_35_9373.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_46_10339.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":["1330860865","1330860924","1330860918","1330860846","1330860921","1330860920"],"photo_ids_order":["1330860846","1330860865","1330860918","1330860920","1330860921","1330860924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a13ffac6752b4caf55e2daafda100f27.jpg","text":"TemporaryFile(/tmp/multipartBody5577631186225699984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661113656,"filename":"image_23012025_17_13_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bd679a3ec616227aa1440bcd8845e20e.jpg","text":"TemporaryFile(/tmp/multipartBody1427612884232590583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661113656,"filename":"image_23012025_17_13_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3482a70d00d03510e4a8d9cd6ec7210a.jpg","text":"TemporaryFile(/tmp/multipartBody3076641136501553948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661113656,"filename":"image_23012025_17_13_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a1d4e2bf1ed0b5b86c4738a6306a88e.jpg","text":"TemporaryFile(/tmp/multipartBody6261083361432992257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661113656,"filename":"image_23012025_17_12_56_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36e23fc2a707c994e2a986568e9530d8.jpg","text":"TemporaryFile(/tmp/multipartBody877093186144757552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661113656,"filename":"image_23012025_17_13_35_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed93f5eb6f96fa49d113e13685d0940f.jpg","text":"TemporaryFile(/tmp/multipartBody3040381009199235088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661113656,"filename":"image_23012025_17_13_26_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330860918","file1":"1330860865","file0":"1330860846","file4":"1330860921","file5":"1330860924","file3":"1330860920"},"map_files_photo_id_array":[{"photo_id":"1330860924","filename":"file5"},{"photo_id":"1330860918","filename":"file2"},{"photo_id":"1330860921","filename":"file4"},{"photo_id":"1330860865","filename":"file1"},{"photo_id":"1330860846","filename":"file0"},{"photo_id":"1330860920","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330860865":["hashtag1","hashtag2"]},{"1330860924":["hashtag1","hashtag2"]},{"1330860918":["hashtag1","hashtag2"]},{"1330860846":["hashtag1","hashtag2"]},{"1330860921":["hashtag1","hashtag2"]},{"1330860920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330860865, 1330860924, 1330860918, 1330860846, 1330860921, 1330860920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35629415512085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:38:32.849882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_55_9371.jpg', '/home/pi/Desktop/images/23012025/17/13/image_23012025_17_14_05_10392.jpg', '/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_16_10346.jpg', '/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_25_9586.jpg', '/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_35_9746.jpg', '/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_56_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_13_55_9371.jpg
/home/pi/Desktop/images/23012025/17/13/image_23012025_17_14_05_10392.jpg
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_16_10346.jpg
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_25_9586.jpg
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_35_9746.jpg
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_14_56_10364.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":["1330861204","1330861221","1330861218","1330861199","1330861166","1330861223"],"photo_ids_order":["1330861166","1330861199","1330861204","1330861218","1330861221","1330861223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65dce5c44630b2d648f070f100aca3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4189215094221558749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661173826,"filename":"image_23012025_17_14_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9aac353058495a5c4a28f23bfd97a50.jpg","text":"TemporaryFile(/tmp/multipartBody4910234073761876222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661173826,"filename":"image_23012025_17_14_35_9746.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01874d5d4019b90822e7fd6385bb377d.jpg","text":"TemporaryFile(/tmp/multipartBody394594709207602056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661173826,"filename":"image_23012025_17_14_25_9586.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bcd3a3f064ee37be98014768f21b2a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4414182508917078674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661173826,"filename":"image_23012025_17_14_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85bee6922b3102a84dc95d6b1a628998.jpg","text":"TemporaryFile(/tmp/multipartBody1822903813480670657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661173826,"filename":"image_23012025_17_13_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d13aae986751cbe812c8ab3e2019f5c1.jpg","text":"TemporaryFile(/tmp/multipartBody8467299837083446284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661173826,"filename":"image_23012025_17_14_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330861204","file1":"1330861199","file0":"1330861166","file4":"1330861221","file5":"1330861223","file3":"1330861218"},"map_files_photo_id_array":[{"photo_id":"1330861223","filename":"file5"},{"photo_id":"1330861204","filename":"file2"},{"photo_id":"1330861221","filename":"file4"},{"photo_id":"1330861199","filename":"file1"},{"photo_id":"1330861166","filename":"file0"},{"photo_id":"1330861218","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330861204":["hashtag1","hashtag2"]},{"1330861221":["hashtag1","hashtag2"]},{"1330861218":["hashtag1","hashtag2"]},{"1330861199":["hashtag1","hashtag2"]},{"1330861166":["hashtag1","hashtag2"]},{"1330861223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330861204, 1330861221, 1330861218, 1330861199, 1330861166, 1330861223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78898763656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:39:33.142388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/14/image_23012025_17_15_05_9394.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_16_10358.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_25_9370.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_35_10426.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_46_10335.jpg', '/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_55_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/14/image_23012025_17_15_05_9394.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_16_10358.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_25_9370.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_35_10426.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_46_10335.jpg
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_15_55_9464.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":["1330861375","1330861386","1330861371","1330861382","1330861390","1330861378"],"photo_ids_order":["1330861371","1330861375","1330861378","1330861382","1330861386","1330861390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a260965950fc1dad6ec398f798fb208e.jpg","text":"TemporaryFile(/tmp/multipartBody5869262712137193037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661235183,"filename":"image_23012025_17_15_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28ed7305b0fcbc6662b335ba2fdd069e.jpg","text":"TemporaryFile(/tmp/multipartBody3621256867889825264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661235183,"filename":"image_23012025_17_15_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/664477a7bbc954f335f9744b0d868b9c.jpg","text":"TemporaryFile(/tmp/multipartBody6854416254170785917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661235183,"filename":"image_23012025_17_15_05_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f74c34ee60befb85845931d5dcf9f92.jpg","text":"TemporaryFile(/tmp/multipartBody180799886744620811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661235183,"filename":"image_23012025_17_15_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdcaf5ff4da97d8a11a84fca2cca44a0.jpg","text":"TemporaryFile(/tmp/multipartBody5674304283815352434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661235183,"filename":"image_23012025_17_15_55_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c5619894edc372c4fb353ef96ebae48d.jpg","text":"TemporaryFile(/tmp/multipartBody5494355247782520004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661235183,"filename":"image_23012025_17_15_25_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330861378","file1":"1330861375","file0":"1330861371","file4":"1330861386","file5":"1330861390","file3":"1330861382"},"map_files_photo_id_array":[{"photo_id":"1330861390","filename":"file5"},{"photo_id":"1330861378","filename":"file2"},{"photo_id":"1330861386","filename":"file4"},{"photo_id":"1330861375","filename":"file1"},{"photo_id":"1330861371","filename":"file0"},{"photo_id":"1330861382","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330861375":["hashtag1","hashtag2"]},{"1330861386":["hashtag1","hashtag2"]},{"1330861371":["hashtag1","hashtag2"]},{"1330861382":["hashtag1","hashtag2"]},{"1330861390":["hashtag1","hashtag2"]},{"1330861378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330861375, 1330861386, 1330861371, 1330861382, 1330861390, 1330861378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19152498245239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:40:32.185096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/15/image_23012025_17_16_05_10330.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_16_10356.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_25_9413.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_36_10346.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_45_9357.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_55_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_16_05_10330.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_16_10356.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_25_9413.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_36_10346.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_45_9357.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_55_10374.jpg
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: 0.5950181484222412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:40:42.179270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/15/image_23012025_17_16_05_10330.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_16_10356.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_25_9413.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_36_10346.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_45_9357.jpg', '/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_55_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/15/image_23012025_17_16_05_10330.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_16_10356.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_25_9413.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_36_10346.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_45_9357.jpg
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_16_55_10374.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":["1330861627","1330861618","1330861641","1330861635","1330861527","1330861614"],"photo_ids_order":["1330861527","1330861614","1330861618","1330861627","1330861635","1330861641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c83686eade7bc09c2b65deaa3a8bd1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1717384985247915994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661303097,"filename":"image_23012025_17_16_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac668c191edf2f1d85213b088522c292.jpg","text":"TemporaryFile(/tmp/multipartBody3511544348631757907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661303097,"filename":"image_23012025_17_16_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12c982e3feced59af5f0f3a14805998b.jpg","text":"TemporaryFile(/tmp/multipartBody5308947905269289545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661303097,"filename":"image_23012025_17_16_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/884ffc178a3284de5efe95fd54a6d899.jpg","text":"TemporaryFile(/tmp/multipartBody5248553379524970342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661303097,"filename":"image_23012025_17_16_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54937d390e6b438581a7914af59e14db.jpg","text":"TemporaryFile(/tmp/multipartBody5936829286734875363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661303097,"filename":"image_23012025_17_16_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19a60dc177822fe21e01f25ff1598111.jpg","text":"TemporaryFile(/tmp/multipartBody2151292915821865009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661303097,"filename":"image_23012025_17_16_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330861618","file1":"1330861614","file0":"1330861527","file4":"1330861635","file5":"1330861641","file3":"1330861627"},"map_files_photo_id_array":[{"photo_id":"1330861641","filename":"file5"},{"photo_id":"1330861618","filename":"file2"},{"photo_id":"1330861635","filename":"file4"},{"photo_id":"1330861614","filename":"file1"},{"photo_id":"1330861527","filename":"file0"},{"photo_id":"1330861627","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330861627":["hashtag1","hashtag2"]},{"1330861618":["hashtag1","hashtag2"]},{"1330861641":["hashtag1","hashtag2"]},{"1330861635":["hashtag1","hashtag2"]},{"1330861527":["hashtag1","hashtag2"]},{"1330861614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330861627, 1330861618, 1330861641, 1330861635, 1330861527, 1330861614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96608352661133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:41:32.412972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/16/image_23012025_17_17_06_10422.jpg', '/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_15_9398.jpg', '/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_25_10342.jpg', '/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_36_10418.jpg', '/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_45_9330.jpg', '/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_56_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/16/image_23012025_17_17_06_10422.jpg
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_15_9398.jpg
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_25_10342.jpg
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_36_10418.jpg
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_45_9330.jpg
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_17_56_10389.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":["1330861740","1330861709","1330861718","1330861703","1330861693","1330861712"],"photo_ids_order":["1330861693","1330861703","1330861709","1330861712","1330861718","1330861740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1194aba663e307aa099c6bc28886bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7572667383197108043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661353394,"filename":"image_23012025_17_17_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c61f20251e7533013d1e00f1dc42ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6309199169315732377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661353394,"filename":"image_23012025_17_17_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6cd61e01b1f80ed4a37f185f9bed0da.jpg","text":"TemporaryFile(/tmp/multipartBody8200026928045065604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661353394,"filename":"image_23012025_17_17_45_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5764b86b53891e57b613e9ce775eec1b.jpg","text":"TemporaryFile(/tmp/multipartBody7415986771348684414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661353394,"filename":"image_23012025_17_17_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/494c56db42566a008f5d6da16f4fbd77.jpg","text":"TemporaryFile(/tmp/multipartBody5611746039453515309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661353394,"filename":"image_23012025_17_17_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5c51db0b66e0f4014f3eea0a893fda7.jpg","text":"TemporaryFile(/tmp/multipartBody4307707397068239986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661353394,"filename":"image_23012025_17_17_36_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330861709","file1":"1330861703","file0":"1330861693","file4":"1330861718","file5":"1330861740","file3":"1330861712"},"map_files_photo_id_array":[{"photo_id":"1330861740","filename":"file5"},{"photo_id":"1330861709","filename":"file2"},{"photo_id":"1330861718","filename":"file4"},{"photo_id":"1330861703","filename":"file1"},{"photo_id":"1330861693","filename":"file0"},{"photo_id":"1330861712","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330861740":["hashtag1","hashtag2"]},{"1330861709":["hashtag1","hashtag2"]},{"1330861718":["hashtag1","hashtag2"]},{"1330861703":["hashtag1","hashtag2"]},{"1330861693":["hashtag1","hashtag2"]},{"1330861712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330861740, 1330861709, 1330861718, 1330861703, 1330861693, 1330861712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78455471992493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:42:33.458916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/17/image_23012025_17_18_05_9433.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_15_10344.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_26_10394.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_35_9397.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_45_10342.jpg', '/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_56_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/17/image_23012025_17_18_05_9433.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_15_10344.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_26_10394.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_35_9397.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_45_10342.jpg
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_18_56_10342.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":["1330861858","1330861866","1330861863","1330861778","1330861811","1330861774"],"photo_ids_order":["1330861774","1330861778","1330861811","1330861858","1330861863","1330861866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9a447bbab26e1cb8dcd96fc415623fe.jpg","text":"TemporaryFile(/tmp/multipartBody8185642818293306726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661414466,"filename":"image_23012025_17_18_35_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0928074b5e48f4b95628a1f08270d70b.jpg","text":"TemporaryFile(/tmp/multipartBody5991819797286465916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661414466,"filename":"image_23012025_17_18_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a2da6af3023cf1ae157586ec228e84a.jpg","text":"TemporaryFile(/tmp/multipartBody325699916675826894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661414466,"filename":"image_23012025_17_18_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/163a53732475cdb5dcf40219ab497565.jpg","text":"TemporaryFile(/tmp/multipartBody6731745989676844902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661414466,"filename":"image_23012025_17_18_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e2ac710b2806e75b1532caf22ea83fa.jpg","text":"TemporaryFile(/tmp/multipartBody1508724272907145412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661414466,"filename":"image_23012025_17_18_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f47b11ec7bc6849a2b26002d58047516.jpg","text":"TemporaryFile(/tmp/multipartBody4084189686381805712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661414466,"filename":"image_23012025_17_18_05_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330861811","file1":"1330861778","file0":"1330861774","file4":"1330861863","file5":"1330861866","file3":"1330861858"},"map_files_photo_id_array":[{"photo_id":"1330861866","filename":"file5"},{"photo_id":"1330861811","filename":"file2"},{"photo_id":"1330861863","filename":"file4"},{"photo_id":"1330861778","filename":"file1"},{"photo_id":"1330861774","filename":"file0"},{"photo_id":"1330861858","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330861858":["hashtag1","hashtag2"]},{"1330861866":["hashtag1","hashtag2"]},{"1330861863":["hashtag1","hashtag2"]},{"1330861778":["hashtag1","hashtag2"]},{"1330861811":["hashtag1","hashtag2"]},{"1330861774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330861858, 1330861866, 1330861863, 1330861778, 1330861811, 1330861774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.257471799850464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:43:32.787794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/18/image_23012025_17_19_05_9415.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_16_10419.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_35_10327.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_46_10404.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_55_9344.jpg', '/home/pi/Desktop/images/23012025/17/19/image_23012025_17_20_06_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/18/image_23012025_17_19_05_9415.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_16_10419.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_35_10327.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_46_10404.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_19_55_9344.jpg
/home/pi/Desktop/images/23012025/17/19/image_23012025_17_20_06_10332.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":["1330861899","1330861890","1330861911","1330861908","1330861904","1330861894"],"photo_ids_order":["1330861890","1330861894","1330861899","1330861904","1330861908","1330861911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f967c1a0864cac534d8239ab3cd9825a.jpg","text":"TemporaryFile(/tmp/multipartBody3837780420718568035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661473781,"filename":"image_23012025_17_19_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26a43a8dd1829bfb331fd4e9cf11dbf7.jpg","text":"TemporaryFile(/tmp/multipartBody120155162425714003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661473781,"filename":"image_23012025_17_19_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73caed7456834aec37673add68fc5187.jpg","text":"TemporaryFile(/tmp/multipartBody9198197480245409310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661473781,"filename":"image_23012025_17_20_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7aff1dbc41bf074afd699fafb0721423.jpg","text":"TemporaryFile(/tmp/multipartBody4161300866547214830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661473781,"filename":"image_23012025_17_19_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/591a5273fa8733a56b820cc32657bce1.jpg","text":"TemporaryFile(/tmp/multipartBody5609832332108238185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661473781,"filename":"image_23012025_17_19_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd542c5ff100d0cbd4e57a2a8edbcedd.jpg","text":"TemporaryFile(/tmp/multipartBody3465708463070466215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661473781,"filename":"image_23012025_17_19_16_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330861899","file1":"1330861894","file0":"1330861890","file4":"1330861908","file5":"1330861911","file3":"1330861904"},"map_files_photo_id_array":[{"photo_id":"1330861911","filename":"file5"},{"photo_id":"1330861899","filename":"file2"},{"photo_id":"1330861908","filename":"file4"},{"photo_id":"1330861894","filename":"file1"},{"photo_id":"1330861890","filename":"file0"},{"photo_id":"1330861904","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330861899":["hashtag1","hashtag2"]},{"1330861890":["hashtag1","hashtag2"]},{"1330861911":["hashtag1","hashtag2"]},{"1330861908":["hashtag1","hashtag2"]},{"1330861904":["hashtag1","hashtag2"]},{"1330861894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330861899, 1330861890, 1330861911, 1330861908, 1330861904, 1330861894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98657846450806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:44:32.979999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_25_10373.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_36_10323.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_45_9513.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_56_10421.jpg', '/home/pi/Desktop/images/23012025/17/20/image_23012025_17_21_05_9349.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_15_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_25_10373.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_36_10323.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_45_9513.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_20_56_10421.jpg
/home/pi/Desktop/images/23012025/17/20/image_23012025_17_21_05_9349.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_15_10359.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":["1330861957","1330861936","1330861947","1330861938","1330861943","1330861952"],"photo_ids_order":["1330861936","1330861938","1330861943","1330861947","1330861952","1330861957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26026bb60b287069c8b11a0493a399ce.jpg","text":"TemporaryFile(/tmp/multipartBody7256049767131239372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661533967,"filename":"image_23012025_17_21_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74450aba83364aa0a50e852ea0997f16.jpg","text":"TemporaryFile(/tmp/multipartBody7276913376500035349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661533967,"filename":"image_23012025_17_20_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/561211ce4b6316941054e3e9148fed1e.jpg","text":"TemporaryFile(/tmp/multipartBody2895883241208613141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661533967,"filename":"image_23012025_17_20_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7062709da9daa27aab32e2fdea0bc50b.jpg","text":"TemporaryFile(/tmp/multipartBody7022674553509378642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661533967,"filename":"image_23012025_17_20_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5cfdd5141166a64c311d2d82e55f9a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3584574744573588635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661533967,"filename":"image_23012025_17_20_45_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14cd6c9749ca578ace5a6d415cde7594.jpg","text":"TemporaryFile(/tmp/multipartBody8638503317292159816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661533967,"filename":"image_23012025_17_21_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330861943","file1":"1330861938","file0":"1330861936","file4":"1330861952","file5":"1330861957","file3":"1330861947"},"map_files_photo_id_array":[{"photo_id":"1330861957","filename":"file5"},{"photo_id":"1330861943","filename":"file2"},{"photo_id":"1330861952","filename":"file4"},{"photo_id":"1330861938","filename":"file1"},{"photo_id":"1330861936","filename":"file0"},{"photo_id":"1330861947","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330861957":["hashtag1","hashtag2"]},{"1330861936":["hashtag1","hashtag2"]},{"1330861947":["hashtag1","hashtag2"]},{"1330861938":["hashtag1","hashtag2"]},{"1330861943":["hashtag1","hashtag2"]},{"1330861952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330861957, 1330861936, 1330861947, 1330861938, 1330861943, 1330861952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.586737871170044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:45:33.228408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_26_10358.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_35_9465.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_45_10340.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_56_10323.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_22_05_9420.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_16_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_26_10358.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_35_9465.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_45_10340.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_56_10323.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_22_05_9420.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_16_10359.jpg
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: 0.609738826751709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:45:43.130110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_26_10358.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_35_9465.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_45_10340.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_56_10323.jpg', '/home/pi/Desktop/images/23012025/17/21/image_23012025_17_22_05_9420.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_16_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_26_10358.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_35_9465.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_45_10340.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_21_56_10323.jpg
/home/pi/Desktop/images/23012025/17/21/image_23012025_17_22_05_9420.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_16_10359.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":["1330862028","1330862013","1330862016","1330862010","1330862007","1330862021"],"photo_ids_order":["1330862007","1330862010","1330862013","1330862016","1330862021","1330862028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac88e52f0962104e2cf6cd6f5386f57e.jpg","text":"TemporaryFile(/tmp/multipartBody8660430020825020111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661604037,"filename":"image_23012025_17_22_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c14c7da22a776596e190c00dbb0e3e03.jpg","text":"TemporaryFile(/tmp/multipartBody3251729718017000837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661604037,"filename":"image_23012025_17_21_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed8ac5ce5499d78f565c436a9d8f31af.jpg","text":"TemporaryFile(/tmp/multipartBody8218949466921332011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661604037,"filename":"image_23012025_17_21_56_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8c36fdb550a8fe2f94fa83c1d0ac8228.jpg","text":"TemporaryFile(/tmp/multipartBody6330330089910755512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661604037,"filename":"image_23012025_17_21_35_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe9f29045581c2b0002cb0c35dde9a10.jpg","text":"TemporaryFile(/tmp/multipartBody5069235817220129258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661604037,"filename":"image_23012025_17_21_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b731a3440622d8938cd23eda93f42de.jpg","text":"TemporaryFile(/tmp/multipartBody8822854590298076561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661604037,"filename":"image_23012025_17_22_05_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862013","file1":"1330862010","file0":"1330862007","file4":"1330862021","file5":"1330862028","file3":"1330862016"},"map_files_photo_id_array":[{"photo_id":"1330862028","filename":"file5"},{"photo_id":"1330862013","filename":"file2"},{"photo_id":"1330862021","filename":"file4"},{"photo_id":"1330862010","filename":"file1"},{"photo_id":"1330862007","filename":"file0"},{"photo_id":"1330862016","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862028":["hashtag1","hashtag2"]},{"1330862013":["hashtag1","hashtag2"]},{"1330862016":["hashtag1","hashtag2"]},{"1330862010":["hashtag1","hashtag2"]},{"1330862007":["hashtag1","hashtag2"]},{"1330862021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862028, 1330862013, 1330862016, 1330862010, 1330862007, 1330862021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5350661277771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:46:32.419496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_26_10375.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_35_9321.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_46_10354.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_55_9330.jpg', '/home/pi/Desktop/images/23012025/17/22/image_23012025_17_23_05_10354.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_16_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_26_10375.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_35_9321.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_46_10354.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_22_55_9330.jpg
/home/pi/Desktop/images/23012025/17/22/image_23012025_17_23_05_10354.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_16_10344.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":["1330862172","1330862133","1330862156","1330862141","1330862105","1330862149"],"photo_ids_order":["1330862105","1330862133","1330862141","1330862149","1330862156","1330862172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/595ceab7f15c25a501d7a792dd0c32fb.jpg","text":"TemporaryFile(/tmp/multipartBody8700739846947912139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661653402,"filename":"image_23012025_17_23_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b94ae3530a7f0053d36106f998434025.jpg","text":"TemporaryFile(/tmp/multipartBody5356892944597090295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661653402,"filename":"image_23012025_17_22_35_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/115045ee51d319a9a2f92a8358e93aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4148338688908044441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661653402,"filename":"image_23012025_17_23_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9bc90317113ce21dd9f0d8e7468d5d2.jpg","text":"TemporaryFile(/tmp/multipartBody1800078635744234378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661653402,"filename":"image_23012025_17_22_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94bb1675639e03d0d55511256fced811.jpg","text":"TemporaryFile(/tmp/multipartBody8651310281365025148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661653402,"filename":"image_23012025_17_22_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c52342ce92080b635a896ef13633cd24.jpg","text":"TemporaryFile(/tmp/multipartBody9138718037405218715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661653402,"filename":"image_23012025_17_22_55_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862141","file1":"1330862133","file0":"1330862105","file4":"1330862156","file5":"1330862172","file3":"1330862149"},"map_files_photo_id_array":[{"photo_id":"1330862172","filename":"file5"},{"photo_id":"1330862141","filename":"file2"},{"photo_id":"1330862156","filename":"file4"},{"photo_id":"1330862133","filename":"file1"},{"photo_id":"1330862105","filename":"file0"},{"photo_id":"1330862149","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862172":["hashtag1","hashtag2"]},{"1330862133":["hashtag1","hashtag2"]},{"1330862156":["hashtag1","hashtag2"]},{"1330862141":["hashtag1","hashtag2"]},{"1330862105":["hashtag1","hashtag2"]},{"1330862149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862172, 1330862133, 1330862156, 1330862141, 1330862105, 1330862149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20387601852417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:47:32.547476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_25_9418.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_35_10353.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_46_10385.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_55_9367.jpg', '/home/pi/Desktop/images/23012025/17/23/image_23012025_17_24_05_10358.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_16_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_25_9418.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_35_10353.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_46_10385.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_23_55_9367.jpg
/home/pi/Desktop/images/23012025/17/23/image_23012025_17_24_05_10358.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_16_10334.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":["1330862262","1330862244","1330862205","1330862255","1330862240","1330862246"],"photo_ids_order":["1330862205","1330862240","1330862244","1330862246","1330862255","1330862262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73dbbd2f52a641cc3346195f8da88459.jpg","text":"TemporaryFile(/tmp/multipartBody1374940143258267620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661713525,"filename":"image_23012025_17_24_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f42aa84f6784696f735c0bb983d6aeca.jpg","text":"TemporaryFile(/tmp/multipartBody5658888891370961211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661713525,"filename":"image_23012025_17_23_46_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/863950f12e9116d3f28125b28bcdb91a.jpg","text":"TemporaryFile(/tmp/multipartBody5887873864932226663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661713525,"filename":"image_23012025_17_23_25_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0481a468be0ddae5e5723f0503279a91.jpg","text":"TemporaryFile(/tmp/multipartBody7888361925935399688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661713525,"filename":"image_23012025_17_24_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/19992a9c112f520594cb0a6d112bf59e.jpg","text":"TemporaryFile(/tmp/multipartBody6036770519791610081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661713525,"filename":"image_23012025_17_23_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1f90300cfe30f2c641b69f63c6bbd3f.jpg","text":"TemporaryFile(/tmp/multipartBody2308210862679816938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661713525,"filename":"image_23012025_17_23_55_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862244","file1":"1330862240","file0":"1330862205","file4":"1330862255","file5":"1330862262","file3":"1330862246"},"map_files_photo_id_array":[{"photo_id":"1330862262","filename":"file5"},{"photo_id":"1330862244","filename":"file2"},{"photo_id":"1330862255","filename":"file4"},{"photo_id":"1330862240","filename":"file1"},{"photo_id":"1330862205","filename":"file0"},{"photo_id":"1330862246","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862262":["hashtag1","hashtag2"]},{"1330862244":["hashtag1","hashtag2"]},{"1330862205":["hashtag1","hashtag2"]},{"1330862255":["hashtag1","hashtag2"]},{"1330862240":["hashtag1","hashtag2"]},{"1330862246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862262, 1330862244, 1330862205, 1330862255, 1330862240, 1330862246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80412483215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:48:32.819852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_25_9426.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_36_10408.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_45_9430.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_55_10355.jpg', '/home/pi/Desktop/images/23012025/17/24/image_23012025_17_25_06_10362.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_15_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_25_9426.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_36_10408.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_45_9430.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_24_55_10355.jpg
/home/pi/Desktop/images/23012025/17/24/image_23012025_17_25_06_10362.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_15_9418.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":["1330862356","1330862351","1330862360","1330862312","1330862309","1330862347"],"photo_ids_order":["1330862309","1330862312","1330862347","1330862351","1330862356","1330862360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eab848e543fbfa26d15be6d7c277e84d.jpg","text":"TemporaryFile(/tmp/multipartBody2867313278208682990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661773794,"filename":"image_23012025_17_25_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2908fbe2f34a6078c0a3022fee09655f.jpg","text":"TemporaryFile(/tmp/multipartBody525816623035187194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661773794,"filename":"image_23012025_17_24_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c314a0d88d5413d1faacb7ed0b2a6320.jpg","text":"TemporaryFile(/tmp/multipartBody9158033447102654296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661773794,"filename":"image_23012025_17_25_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf432172fb09afa2a192e206d2dcd235.jpg","text":"TemporaryFile(/tmp/multipartBody4362775559245921563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661773794,"filename":"image_23012025_17_24_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfa4aab3fc9bb24c07dac4ced865b873.jpg","text":"TemporaryFile(/tmp/multipartBody7040450481146630841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661773794,"filename":"image_23012025_17_24_25_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2260478b6b55cd0d5bdb9972db11244f.jpg","text":"TemporaryFile(/tmp/multipartBody5848269099570326570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661773794,"filename":"image_23012025_17_24_45_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862347","file1":"1330862312","file0":"1330862309","file4":"1330862356","file5":"1330862360","file3":"1330862351"},"map_files_photo_id_array":[{"photo_id":"1330862360","filename":"file5"},{"photo_id":"1330862347","filename":"file2"},{"photo_id":"1330862356","filename":"file4"},{"photo_id":"1330862312","filename":"file1"},{"photo_id":"1330862309","filename":"file0"},{"photo_id":"1330862351","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862356":["hashtag1","hashtag2"]},{"1330862351":["hashtag1","hashtag2"]},{"1330862360":["hashtag1","hashtag2"]},{"1330862312":["hashtag1","hashtag2"]},{"1330862309":["hashtag1","hashtag2"]},{"1330862347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862356, 1330862351, 1330862360, 1330862312, 1330862309, 1330862347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86983609199524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:49:33.003945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_26_10408.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_35_9386.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_45_10340.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_56_10339.jpg', '/home/pi/Desktop/images/23012025/17/25/image_23012025_17_26_05_9428.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_15_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_26_10408.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_35_9386.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_45_10340.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_25_56_10339.jpg
/home/pi/Desktop/images/23012025/17/25/image_23012025_17_26_05_9428.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_15_10331.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":["1330862434","1330862401","1330862436","1330862441","1330862405","1330862408"],"photo_ids_order":["1330862401","1330862405","1330862408","1330862434","1330862436","1330862441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7d32a1388ab9c8c16f3f0d421bf4aca.jpg","text":"TemporaryFile(/tmp/multipartBody1255241224456615268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661834034,"filename":"image_23012025_17_25_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d887b232c0698056816b01c4b9bf4857.jpg","text":"TemporaryFile(/tmp/multipartBody4503144538074697932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661834034,"filename":"image_23012025_17_25_26_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/531ef27c50c74deeef6f982bd8aad647.jpg","text":"TemporaryFile(/tmp/multipartBody3497385580685733409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661834034,"filename":"image_23012025_17_26_05_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/970f80f342453fa68f545bfd9414f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody6067985570395187515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661834034,"filename":"image_23012025_17_26_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74eae7678db4cb788bf32ff8137f4268.jpg","text":"TemporaryFile(/tmp/multipartBody498324323577409033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661834034,"filename":"image_23012025_17_25_35_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68a933a987bf809748b1623f44817e63.jpg","text":"TemporaryFile(/tmp/multipartBody4314604870827667034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661834034,"filename":"image_23012025_17_25_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862408","file1":"1330862405","file0":"1330862401","file4":"1330862436","file5":"1330862441","file3":"1330862434"},"map_files_photo_id_array":[{"photo_id":"1330862441","filename":"file5"},{"photo_id":"1330862408","filename":"file2"},{"photo_id":"1330862436","filename":"file4"},{"photo_id":"1330862405","filename":"file1"},{"photo_id":"1330862401","filename":"file0"},{"photo_id":"1330862434","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862434":["hashtag1","hashtag2"]},{"1330862401":["hashtag1","hashtag2"]},{"1330862436":["hashtag1","hashtag2"]},{"1330862441":["hashtag1","hashtag2"]},{"1330862405":["hashtag1","hashtag2"]},{"1330862408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862434, 1330862401, 1330862436, 1330862441, 1330862405, 1330862408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.589410066604614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:50:32.276187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_26_10366.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_35_9337.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_46_10410.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_55_9422.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_27_05_10341.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_16_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_26_10366.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_35_9337.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_46_10410.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_55_9422.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_27_05_10341.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_16_10369.jpg
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: 0.6011741161346436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:50:42.284055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_26_10366.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_35_9337.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_46_10410.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_55_9422.jpg', '/home/pi/Desktop/images/23012025/17/26/image_23012025_17_27_05_10341.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_16_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_26_10366.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_35_9337.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_46_10410.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_26_55_9422.jpg
/home/pi/Desktop/images/23012025/17/26/image_23012025_17_27_05_10341.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_16_10369.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":["1330862500","1330862520","1330862546","1330862531","1330862561","1330862516"],"photo_ids_order":["1330862500","1330862516","1330862520","1330862531","1330862546","1330862561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd7d53d729faa138b17ef934a6e651e9.jpg","text":"TemporaryFile(/tmp/multipartBody5068204871829293692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661903228,"filename":"image_23012025_17_26_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8796573afd0c0d8e53bcfedc3343c033.jpg","text":"TemporaryFile(/tmp/multipartBody1429709276054456676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661903228,"filename":"image_23012025_17_26_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ad36ca3dff595c89a8d7dc108344747.jpg","text":"TemporaryFile(/tmp/multipartBody8405611320342643644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661903228,"filename":"image_23012025_17_27_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c05a2edefeb7e51e797e4ca4bb3f2db8.jpg","text":"TemporaryFile(/tmp/multipartBody687865071846645294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661903228,"filename":"image_23012025_17_26_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1cd338875d2d7023e6571113af91945.jpg","text":"TemporaryFile(/tmp/multipartBody7178786474519918029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661903228,"filename":"image_23012025_17_27_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e465a1d1bb613f18f26a543f22d8ab8c.jpg","text":"TemporaryFile(/tmp/multipartBody107198888578279514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661903228,"filename":"image_23012025_17_26_35_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862520","file1":"1330862516","file0":"1330862500","file4":"1330862546","file5":"1330862561","file3":"1330862531"},"map_files_photo_id_array":[{"photo_id":"1330862561","filename":"file5"},{"photo_id":"1330862520","filename":"file2"},{"photo_id":"1330862546","filename":"file4"},{"photo_id":"1330862516","filename":"file1"},{"photo_id":"1330862500","filename":"file0"},{"photo_id":"1330862531","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862500":["hashtag1","hashtag2"]},{"1330862520":["hashtag1","hashtag2"]},{"1330862546":["hashtag1","hashtag2"]},{"1330862531":["hashtag1","hashtag2"]},{"1330862561":["hashtag1","hashtag2"]},{"1330862516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862500, 1330862520, 1330862546, 1330862531, 1330862561, 1330862516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27006983757019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:51:32.481807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_25_9502.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_36_10326.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_45_9391.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_55_10376.jpg', '/home/pi/Desktop/images/23012025/17/27/image_23012025_17_28_06_10360.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_15_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_25_9502.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_36_10326.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_45_9391.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_27_55_10376.jpg
/home/pi/Desktop/images/23012025/17/27/image_23012025_17_28_06_10360.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_15_9387.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":["1330862595","1330862631","1330862610","1330862633","1330862599","1330862617"],"photo_ids_order":["1330862595","1330862599","1330862610","1330862617","1330862631","1330862633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da60ee07533b7c0820c88c8cd35160b5.jpg","text":"TemporaryFile(/tmp/multipartBody3401609859443479889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661953497,"filename":"image_23012025_17_27_25_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5dc9f866ea046ac22ce6d340c90e1abf.jpg","text":"TemporaryFile(/tmp/multipartBody129140891505874365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661953497,"filename":"image_23012025_17_28_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52d4d55d954b3d14b733d446d6277f19.jpg","text":"TemporaryFile(/tmp/multipartBody1851479397047460778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661953497,"filename":"image_23012025_17_27_45_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15c0662bc70e2b3d21483a9c53a4365a.jpg","text":"TemporaryFile(/tmp/multipartBody4080028544832307041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661953497,"filename":"image_23012025_17_28_15_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5f306a37707106673a035a1dbbd2b95.jpg","text":"TemporaryFile(/tmp/multipartBody8921247914916451278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661953497,"filename":"image_23012025_17_27_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd92ee9e99f657d3e57742005a75ca6a.jpg","text":"TemporaryFile(/tmp/multipartBody7701149068003952653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737661953497,"filename":"image_23012025_17_27_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862610","file1":"1330862599","file0":"1330862595","file4":"1330862631","file5":"1330862633","file3":"1330862617"},"map_files_photo_id_array":[{"photo_id":"1330862633","filename":"file5"},{"photo_id":"1330862610","filename":"file2"},{"photo_id":"1330862631","filename":"file4"},{"photo_id":"1330862599","filename":"file1"},{"photo_id":"1330862595","filename":"file0"},{"photo_id":"1330862617","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862595":["hashtag1","hashtag2"]},{"1330862631":["hashtag1","hashtag2"]},{"1330862610":["hashtag1","hashtag2"]},{"1330862633":["hashtag1","hashtag2"]},{"1330862599":["hashtag1","hashtag2"]},{"1330862617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862595, 1330862631, 1330862610, 1330862633, 1330862599, 1330862617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72996401786804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:52:32.655062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_25_10343.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_36_10355.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_45_9349.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_55_10407.jpg', '/home/pi/Desktop/images/23012025/17/28/image_23012025_17_29_05_9405.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_25_10343.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_36_10355.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_45_9349.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_28_55_10407.jpg
/home/pi/Desktop/images/23012025/17/28/image_23012025_17_29_05_9405.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_15_10349.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":["1330862772","1330862769","1330862747","1330862674","1330862761","1330862734"],"photo_ids_order":["1330862674","1330862734","1330862747","1330862761","1330862769","1330862772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/856dacf70ed2722deb8d9d4bca3f467e.jpg","text":"TemporaryFile(/tmp/multipartBody7149960970388515862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662013640,"filename":"image_23012025_17_29_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb0c62e5c0afa9fda6e0c45286ff3dea.jpg","text":"TemporaryFile(/tmp/multipartBody1749141050524746276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662013640,"filename":"image_23012025_17_29_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d1cdaf1fc168aac9253f52914ff5887e.jpg","text":"TemporaryFile(/tmp/multipartBody6412083773119812206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662013640,"filename":"image_23012025_17_28_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/add7402c41b60d047cb653a490af885a.jpg","text":"TemporaryFile(/tmp/multipartBody7164917851313810617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662013640,"filename":"image_23012025_17_28_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba3ee6fd76087fe496c96e6b416f53eb.jpg","text":"TemporaryFile(/tmp/multipartBody6919530490429625906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662013640,"filename":"image_23012025_17_28_55_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a4c44a07d7aa3800e2295412b9ca267.jpg","text":"TemporaryFile(/tmp/multipartBody4415078064555390918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662013640,"filename":"image_23012025_17_28_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330862747","file1":"1330862734","file0":"1330862674","file4":"1330862769","file5":"1330862772","file3":"1330862761"},"map_files_photo_id_array":[{"photo_id":"1330862772","filename":"file5"},{"photo_id":"1330862747","filename":"file2"},{"photo_id":"1330862769","filename":"file4"},{"photo_id":"1330862734","filename":"file1"},{"photo_id":"1330862674","filename":"file0"},{"photo_id":"1330862761","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330862772":["hashtag1","hashtag2"]},{"1330862769":["hashtag1","hashtag2"]},{"1330862747":["hashtag1","hashtag2"]},{"1330862674":["hashtag1","hashtag2"]},{"1330862761":["hashtag1","hashtag2"]},{"1330862734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330862772, 1330862769, 1330862747, 1330862674, 1330862761, 1330862734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03901147842407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:53:32.977648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_26_10379.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_35_9436.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_45_10347.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_56_10340.jpg', '/home/pi/Desktop/images/23012025/17/29/image_23012025_17_30_05_9339.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_15_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_26_10379.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_35_9436.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_45_10347.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_29_56_10340.jpg
/home/pi/Desktop/images/23012025/17/29/image_23012025_17_30_05_9339.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_15_10402.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":["1330863450","1330863447","1330863435","1330863438","1330863443","1330863452"],"photo_ids_order":["1330863435","1330863438","1330863443","1330863447","1330863450","1330863452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/181d523d0c9e69e6cb67467bd415623d.jpg","text":"TemporaryFile(/tmp/multipartBody4467260628835744463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662074020,"filename":"image_23012025_17_30_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9798417efe9b4b927e0a1adca5859655.jpg","text":"TemporaryFile(/tmp/multipartBody20908085431319985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662074020,"filename":"image_23012025_17_29_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/884555cc673168dc4c24b43e5636e025.jpg","text":"TemporaryFile(/tmp/multipartBody4648309967574739189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662074020,"filename":"image_23012025_17_29_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a642997e7e71593b6aafe8792f966279.jpg","text":"TemporaryFile(/tmp/multipartBody3910870713664133708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662074020,"filename":"image_23012025_17_29_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2ffbdfdd6583b0ff222b0615aa66eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2159186763446261600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662074020,"filename":"image_23012025_17_29_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37efa7cceb29219638bd47dde3bffc22.jpg","text":"TemporaryFile(/tmp/multipartBody5249610051455161350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662074020,"filename":"image_23012025_17_30_15_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330863443","file1":"1330863438","file0":"1330863435","file4":"1330863450","file5":"1330863452","file3":"1330863447"},"map_files_photo_id_array":[{"photo_id":"1330863452","filename":"file5"},{"photo_id":"1330863443","filename":"file2"},{"photo_id":"1330863450","filename":"file4"},{"photo_id":"1330863438","filename":"file1"},{"photo_id":"1330863435","filename":"file0"},{"photo_id":"1330863447","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330863450":["hashtag1","hashtag2"]},{"1330863447":["hashtag1","hashtag2"]},{"1330863435":["hashtag1","hashtag2"]},{"1330863438":["hashtag1","hashtag2"]},{"1330863443":["hashtag1","hashtag2"]},{"1330863452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330863450, 1330863447, 1330863435, 1330863438, 1330863443, 1330863452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65071201324463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:54:33.065114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_25_9543.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_35_10332.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_46_10401.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_55_9340.jpg', '/home/pi/Desktop/images/23012025/17/30/image_23012025_17_31_05_10331.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_16_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_25_9543.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_35_10332.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_46_10401.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_30_55_9340.jpg
/home/pi/Desktop/images/23012025/17/30/image_23012025_17_31_05_10331.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_16_10339.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":["1330863969","1330863666","1330863977","1330863524","1330863515","1330863987"],"photo_ids_order":["1330863515","1330863524","1330863666","1330863969","1330863977","1330863987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/699dad1a512e98e0bfed4d1833b3b944.jpg","text":"TemporaryFile(/tmp/multipartBody5755121806373784584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662134062,"filename":"image_23012025_17_30_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6af01ce47c2cb57a1d889eba334d117.jpg","text":"TemporaryFile(/tmp/multipartBody7486988126925439162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662134062,"filename":"image_23012025_17_30_46_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5920ec168dcc5f0c35cdc958291b63e4.jpg","text":"TemporaryFile(/tmp/multipartBody4268882696847347212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662134062,"filename":"image_23012025_17_31_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3d2c6803ee369cc00b18baeaefda1ec.jpg","text":"TemporaryFile(/tmp/multipartBody7262040521096184492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662134062,"filename":"image_23012025_17_30_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8eebfd9ac5197428fb336a87aa64d344.jpg","text":"TemporaryFile(/tmp/multipartBody4380844762450932197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662134062,"filename":"image_23012025_17_30_25_9543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de90b48f31b0af6f9fec632113550fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2632852195708234644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662134062,"filename":"image_23012025_17_31_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330863666","file1":"1330863524","file0":"1330863515","file4":"1330863977","file5":"1330863987","file3":"1330863969"},"map_files_photo_id_array":[{"photo_id":"1330863987","filename":"file5"},{"photo_id":"1330863666","filename":"file2"},{"photo_id":"1330863977","filename":"file4"},{"photo_id":"1330863524","filename":"file1"},{"photo_id":"1330863515","filename":"file0"},{"photo_id":"1330863969","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330863969":["hashtag1","hashtag2"]},{"1330863666":["hashtag1","hashtag2"]},{"1330863977":["hashtag1","hashtag2"]},{"1330863524":["hashtag1","hashtag2"]},{"1330863515":["hashtag1","hashtag2"]},{"1330863987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330863969, 1330863666, 1330863977, 1330863524, 1330863515, 1330863987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03672432899475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:55:32.371324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_25_9346.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_35_10346.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_46_10345.jpg', '/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_55_9370.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_15_9474.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_36_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_25_9346.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_35_10346.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_46_10345.jpg
/home/pi/Desktop/images/23012025/17/31/image_23012025_17_31_55_9370.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_15_9474.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_36_10356.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":["1330864113","1330864106","1330864117","1330864126","1330864120","1330864108"],"photo_ids_order":["1330864106","1330864108","1330864113","1330864117","1330864120","1330864126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/685033d3eb44ed628ed2467a8a6ffc81.jpg","text":"TemporaryFile(/tmp/multipartBody8492289597816285483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662193483,"filename":"image_23012025_17_31_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0bb2fa5e6f5bc0a5583fed081e69579.jpg","text":"TemporaryFile(/tmp/multipartBody8189203694802865629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662193483,"filename":"image_23012025_17_31_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dac674451cdad3fcbb8024860b856b3.jpg","text":"TemporaryFile(/tmp/multipartBody8321191064565856098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662193483,"filename":"image_23012025_17_31_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d646897c540f029e5ed853f081fc79cc.jpg","text":"TemporaryFile(/tmp/multipartBody564215214848146118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662193483,"filename":"image_23012025_17_32_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b7e216c3f8f75920049b38d9d5af2279.jpg","text":"TemporaryFile(/tmp/multipartBody5652604065521417218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662193483,"filename":"image_23012025_17_32_15_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0635450db4053ea992194350bca05e71.jpg","text":"TemporaryFile(/tmp/multipartBody4793462829043956755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662193483,"filename":"image_23012025_17_31_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330864113","file1":"1330864108","file0":"1330864106","file4":"1330864120","file5":"1330864126","file3":"1330864117"},"map_files_photo_id_array":[{"photo_id":"1330864126","filename":"file5"},{"photo_id":"1330864113","filename":"file2"},{"photo_id":"1330864120","filename":"file4"},{"photo_id":"1330864108","filename":"file1"},{"photo_id":"1330864106","filename":"file0"},{"photo_id":"1330864117","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330864113":["hashtag1","hashtag2"]},{"1330864106":["hashtag1","hashtag2"]},{"1330864117":["hashtag1","hashtag2"]},{"1330864126":["hashtag1","hashtag2"]},{"1330864120":["hashtag1","hashtag2"]},{"1330864108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330864113, 1330864106, 1330864117, 1330864126, 1330864120, 1330864108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8278067111969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:56:32.575408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_45_9349.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_55_10356.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_33_06_10334.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_15_9380.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_26_10349.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_36_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_45_9349.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_55_10356.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_33_06_10334.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_15_9380.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_26_10349.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_36_10327.jpg
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: 0.604902982711792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:56:42.607335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_45_9349.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_55_10356.jpg', '/home/pi/Desktop/images/23012025/17/32/image_23012025_17_33_06_10334.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_15_9380.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_26_10349.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_36_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_45_9349.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_32_55_10356.jpg
/home/pi/Desktop/images/23012025/17/32/image_23012025_17_33_06_10334.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_15_9380.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_26_10349.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_36_10327.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":["1330864503","1330864457","1330864495","1330864486","1330864468","1330864441"],"photo_ids_order":["1330864441","1330864457","1330864468","1330864486","1330864495","1330864503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7fe30b2d857dbbd4c2d6f666a71e21bd.jpg","text":"TemporaryFile(/tmp/multipartBody2208824540287146730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662263522,"filename":"image_23012025_17_33_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb9bcac216700d6a23318b2ed35de5de.jpg","text":"TemporaryFile(/tmp/multipartBody4279051142132396315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662263522,"filename":"image_23012025_17_32_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d23cd5fa14b6c9f1f0d1fe44d97511b7.jpg","text":"TemporaryFile(/tmp/multipartBody7317111224276134730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662263522,"filename":"image_23012025_17_33_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f616ddd01383068c8c61fe91db8514d.jpg","text":"TemporaryFile(/tmp/multipartBody3707546398468530798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662263522,"filename":"image_23012025_17_33_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ea89fda420cf4e991253f169b42cfe3.jpg","text":"TemporaryFile(/tmp/multipartBody2213958214458708198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662263522,"filename":"image_23012025_17_33_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20cf1ce85aa59111d4cd2a4e2de1e4ac.jpg","text":"TemporaryFile(/tmp/multipartBody6932296028320567496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662263522,"filename":"image_23012025_17_32_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330864468","file1":"1330864457","file0":"1330864441","file4":"1330864495","file5":"1330864503","file3":"1330864486"},"map_files_photo_id_array":[{"photo_id":"1330864503","filename":"file5"},{"photo_id":"1330864468","filename":"file2"},{"photo_id":"1330864495","filename":"file4"},{"photo_id":"1330864457","filename":"file1"},{"photo_id":"1330864441","filename":"file0"},{"photo_id":"1330864486","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330864503":["hashtag1","hashtag2"]},{"1330864457":["hashtag1","hashtag2"]},{"1330864495":["hashtag1","hashtag2"]},{"1330864486":["hashtag1","hashtag2"]},{"1330864468":["hashtag1","hashtag2"]},{"1330864441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330864503, 1330864457, 1330864495, 1330864486, 1330864468, 1330864441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18261766433716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 20:57:32.766559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_45_9453.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_56_10357.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_34_05_9430.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_15_10337.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_26_10358.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_35_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_45_9453.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_56_10357.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_34_05_9430.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_15_10337.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_26_10358.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_35_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 20:59:03.693747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_45_9453.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_56_10357.jpg', '/home/pi/Desktop/images/23012025/17/33/image_23012025_17_34_05_9430.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_15_10337.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_26_10358.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_35_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_45_9453.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_33_56_10357.jpg
/home/pi/Desktop/images/23012025/17/33/image_23012025_17_34_05_9430.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_15_10337.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_26_10358.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_35_9338.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":["1330864790","1330864763","1330864774","1330864768","1330864783","1330864747"],"photo_ids_order":["1330864747","1330864763","1330864768","1330864774","1330864783","1330864790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d4a17a019ec8a0b8fb1a64cc71f4957.jpg","text":"TemporaryFile(/tmp/multipartBody7930999232927514447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662404698,"filename":"image_23012025_17_34_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ab978559b972e484fe11ca8445718dc.jpg","text":"TemporaryFile(/tmp/multipartBody1164974682180001170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662404698,"filename":"image_23012025_17_33_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91faa0d6d72e057baa6c7b6cb55c3155.jpg","text":"TemporaryFile(/tmp/multipartBody3447562905546179225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662404698,"filename":"image_23012025_17_34_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d8e091413d0b423c54c01459f6fb7a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4625017054705677566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662404698,"filename":"image_23012025_17_34_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68383204a83e20f7cbd8a63dbe33e646.jpg","text":"TemporaryFile(/tmp/multipartBody4861483478191224386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662404698,"filename":"image_23012025_17_34_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0b4cebc9de891f578df8841ccdd95e6.jpg","text":"TemporaryFile(/tmp/multipartBody9207275051198743616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662404698,"filename":"image_23012025_17_33_45_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330864768","file1":"1330864763","file0":"1330864747","file4":"1330864783","file5":"1330864790","file3":"1330864774"},"map_files_photo_id_array":[{"photo_id":"1330864790","filename":"file5"},{"photo_id":"1330864768","filename":"file2"},{"photo_id":"1330864783","filename":"file4"},{"photo_id":"1330864763","filename":"file1"},{"photo_id":"1330864747","filename":"file0"},{"photo_id":"1330864774","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330864790":["hashtag1","hashtag2"]},{"1330864763":["hashtag1","hashtag2"]},{"1330864774":["hashtag1","hashtag2"]},{"1330864768":["hashtag1","hashtag2"]},{"1330864783":["hashtag1","hashtag2"]},{"1330864747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330864790, 1330864763, 1330864774, 1330864768, 1330864783, 1330864747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19530725479126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 20:59:52.408441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_35_10348.jpg', '/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_44_9339.jpg', '/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_55_10421.jpg', '/home/pi/Desktop/images/20012025/08/38/image_20012025_08_39_04_9351.jpg', '/home/pi/Desktop/images/20012025/08/39/image_20012025_08_39_25_10392.jpg', '/home/pi/Desktop/images/20012025/08/39/image_20012025_08_39_34_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_35_10348.jpg
/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_44_9339.jpg
/home/pi/Desktop/images/20012025/08/38/image_20012025_08_38_55_10421.jpg
/home/pi/Desktop/images/20012025/08/38/image_20012025_08_39_04_9351.jpg
/home/pi/Desktop/images/20012025/08/39/image_20012025_08_39_25_10392.jpg
/home/pi/Desktop/images/20012025/08/39/image_20012025_08_39_34_9326.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":["1330864841","1330864805","1330864852","1330864846","1330864825","1330864809"],"photo_ids_order":["1330864805","1330864809","1330864825","1330864841","1330864846","1330864852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7dda5760a4e553b4329dc3a7b20b7cb4.jpg","text":"TemporaryFile(/tmp/multipartBody5106107184286929309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662454748,"filename":"image_20012025_08_39_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b3f58ca40e33683a10b3668329a1b57.jpg","text":"TemporaryFile(/tmp/multipartBody484330646669776118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662454748,"filename":"image_20012025_08_38_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/523ed179d81bcb06a8edd2a5323e736d.jpg","text":"TemporaryFile(/tmp/multipartBody5476327752652862936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662454748,"filename":"image_20012025_08_39_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ded949877f4f5b348fd006c6311fe67.jpg","text":"TemporaryFile(/tmp/multipartBody8101420586267103643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662454748,"filename":"image_20012025_08_39_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/77d90664516b2c2e422ba2df1b734269.jpg","text":"TemporaryFile(/tmp/multipartBody3231327184799821269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662454748,"filename":"image_20012025_08_38_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acbbbd36952cbbb9cfafeb95bb2d3bde.jpg","text":"TemporaryFile(/tmp/multipartBody6781422990050218782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662454748,"filename":"image_20012025_08_38_44_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330864825","file1":"1330864809","file0":"1330864805","file4":"1330864846","file5":"1330864852","file3":"1330864841"},"map_files_photo_id_array":[{"photo_id":"1330864852","filename":"file5"},{"photo_id":"1330864825","filename":"file2"},{"photo_id":"1330864846","filename":"file4"},{"photo_id":"1330864809","filename":"file1"},{"photo_id":"1330864805","filename":"file0"},{"photo_id":"1330864841","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330864841":["hashtag1","hashtag2"]},{"1330864805":["hashtag1","hashtag2"]},{"1330864852":["hashtag1","hashtag2"]},{"1330864846":["hashtag1","hashtag2"]},{"1330864825":["hashtag1","hashtag2"]},{"1330864809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330864841, 1330864805, 1330864852, 1330864846, 1330864825, 1330864809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.451414346694946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:00:44.243699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_45_10351.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_56_10349.jpg', '/home/pi/Desktop/images/23012025/17/34/image_23012025_17_35_05_9426.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_16_10472.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_25_9434.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_36_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_45_10351.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_34_56_10349.jpg
/home/pi/Desktop/images/23012025/17/34/image_23012025_17_35_05_9426.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_16_10472.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_25_9434.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_36_10427.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":["1330864892","1330864905","1330864895","1330864901","1330864885","1330864896"],"photo_ids_order":["1330864885","1330864892","1330864895","1330864896","1330864901","1330864905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b31152e2b19b1dcb4641afc2622e6ba6.jpg","text":"TemporaryFile(/tmp/multipartBody6919571111195532195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662505546,"filename":"image_23012025_17_34_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc818bbcee4fe9c300fbaa8e3dbc97c7.jpg","text":"TemporaryFile(/tmp/multipartBody5875940614897762983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662505546,"filename":"image_23012025_17_35_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0381be5f3e8b3571acbb1df264aa41d.jpg","text":"TemporaryFile(/tmp/multipartBody3936944814401094248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662505546,"filename":"image_23012025_17_35_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b782d13f91a7c80b65702d83f04415b.jpg","text":"TemporaryFile(/tmp/multipartBody4312774302193360100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662505546,"filename":"image_23012025_17_35_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e24a3550704d71169b465aa39b6283ed.jpg","text":"TemporaryFile(/tmp/multipartBody7805745824301619033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662505546,"filename":"image_23012025_17_34_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f13c64ef5035dc8c46928857bbcf9766.jpg","text":"TemporaryFile(/tmp/multipartBody2567534215517234710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662505546,"filename":"image_23012025_17_35_16_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330864895","file1":"1330864892","file0":"1330864885","file4":"1330864901","file5":"1330864905","file3":"1330864896"},"map_files_photo_id_array":[{"photo_id":"1330864905","filename":"file5"},{"photo_id":"1330864895","filename":"file2"},{"photo_id":"1330864901","filename":"file4"},{"photo_id":"1330864892","filename":"file1"},{"photo_id":"1330864885","filename":"file0"},{"photo_id":"1330864896","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330864892":["hashtag1","hashtag2"]},{"1330864905":["hashtag1","hashtag2"]},{"1330864895":["hashtag1","hashtag2"]},{"1330864901":["hashtag1","hashtag2"]},{"1330864885":["hashtag1","hashtag2"]},{"1330864896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330864892, 1330864905, 1330864895, 1330864901, 1330864885, 1330864896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89063596725464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:01:32.821433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_45_9407.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_55_10443.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_36_06_10360.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_15_9448.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_26_10422.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_35_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_45_9407.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_55_10443.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_36_06_10360.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_15_9448.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_26_10422.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_35_9396.jpg
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: 0.6101417541503906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:01:42.899595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_45_9407.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_55_10443.jpg', '/home/pi/Desktop/images/23012025/17/35/image_23012025_17_36_06_10360.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_15_9448.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_26_10422.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_35_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_45_9407.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_35_55_10443.jpg
/home/pi/Desktop/images/23012025/17/35/image_23012025_17_36_06_10360.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_15_9448.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_26_10422.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_35_9396.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":["1330864967","1330864978","1330864972","1330864963","1330864942","1330864932"],"photo_ids_order":["1330864932","1330864942","1330864963","1330864967","1330864972","1330864978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/206836ba71df852465fd4986527753a3.jpg","text":"TemporaryFile(/tmp/multipartBody2625009084924664207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662563828,"filename":"image_23012025_17_36_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6999664404ee4358ece1f8cc216ba418.jpg","text":"TemporaryFile(/tmp/multipartBody4454805397387370091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662563828,"filename":"image_23012025_17_36_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45d3311e7f2dc84468015e729f51c2ea.jpg","text":"TemporaryFile(/tmp/multipartBody6879587051733573397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662563828,"filename":"image_23012025_17_36_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5207258dab9b88afffa4014377fceaf0.jpg","text":"TemporaryFile(/tmp/multipartBody1892751794782994982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662563828,"filename":"image_23012025_17_36_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2079568088b4fe1c44d4936303ad7084.jpg","text":"TemporaryFile(/tmp/multipartBody3376625567120606214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662563828,"filename":"image_23012025_17_35_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ca500e92dc32d839b438437f99b34b9.jpg","text":"TemporaryFile(/tmp/multipartBody5074456954980631915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662563828,"filename":"image_23012025_17_35_45_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330864963","file1":"1330864942","file0":"1330864932","file4":"1330864972","file5":"1330864978","file3":"1330864967"},"map_files_photo_id_array":[{"photo_id":"1330864978","filename":"file5"},{"photo_id":"1330864963","filename":"file2"},{"photo_id":"1330864972","filename":"file4"},{"photo_id":"1330864942","filename":"file1"},{"photo_id":"1330864932","filename":"file0"},{"photo_id":"1330864967","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330864967":["hashtag1","hashtag2"]},{"1330864978":["hashtag1","hashtag2"]},{"1330864972":["hashtag1","hashtag2"]},{"1330864963":["hashtag1","hashtag2"]},{"1330864942":["hashtag1","hashtag2"]},{"1330864932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330864967, 1330864978, 1330864972, 1330864963, 1330864942, 1330864932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58674335479736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:02:33.055997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_45_10339.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_56_10357.jpg', '/home/pi/Desktop/images/23012025/17/36/image_23012025_17_37_05_9329.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_25_9377.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_35_10427.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_46_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_45_10339.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_36_56_10357.jpg
/home/pi/Desktop/images/23012025/17/36/image_23012025_17_37_05_9329.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_25_9377.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_35_10427.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_46_10344.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":["1330865156","1330865159","1330865164","1330865003","1330864999","1330865008"],"photo_ids_order":["1330864999","1330865003","1330865008","1330865156","1330865159","1330865164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/41322c4c8842a17fdc17cc96b36778bf.jpg","text":"TemporaryFile(/tmp/multipartBody938580547146060859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662614099,"filename":"image_23012025_17_37_25_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52a81a53511772d6119fe0719064c960.jpg","text":"TemporaryFile(/tmp/multipartBody4599788116812016803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662614099,"filename":"image_23012025_17_37_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c92c3c88d969298658b45881b5dbb451.jpg","text":"TemporaryFile(/tmp/multipartBody2147911071813879198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662614099,"filename":"image_23012025_17_37_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3425e8808de421bc466639f8e37b5214.jpg","text":"TemporaryFile(/tmp/multipartBody9182820866987348379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662614099,"filename":"image_23012025_17_36_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b127c53e061e91ebfc3ab593c6250654.jpg","text":"TemporaryFile(/tmp/multipartBody37748248023779482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662614099,"filename":"image_23012025_17_36_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86433e02a94ec4c60a6335565263e0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1663091850209232811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662614099,"filename":"image_23012025_17_37_05_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330865008","file1":"1330865003","file0":"1330864999","file4":"1330865159","file5":"1330865164","file3":"1330865156"},"map_files_photo_id_array":[{"photo_id":"1330865164","filename":"file5"},{"photo_id":"1330865008","filename":"file2"},{"photo_id":"1330865159","filename":"file4"},{"photo_id":"1330865003","filename":"file1"},{"photo_id":"1330864999","filename":"file0"},{"photo_id":"1330865156","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330865156":["hashtag1","hashtag2"]},{"1330865159":["hashtag1","hashtag2"]},{"1330865164":["hashtag1","hashtag2"]},{"1330865003":["hashtag1","hashtag2"]},{"1330864999":["hashtag1","hashtag2"]},{"1330865008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330865156, 1330865159, 1330865164, 1330865003, 1330864999, 1330865008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88921642303467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:03:32.399333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_55_9470.jpg', '/home/pi/Desktop/images/23012025/17/37/image_23012025_17_38_06_10383.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_15_9513.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_25_10343.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_36_10339.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_45_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_37_55_9470.jpg
/home/pi/Desktop/images/23012025/17/37/image_23012025_17_38_06_10383.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_15_9513.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_25_10343.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_36_10339.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_45_9407.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":["1330865228","1330865212","1330865215","1330865224","1330865196","1330865190"],"photo_ids_order":["1330865190","1330865196","1330865212","1330865215","1330865224","1330865228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b89928da11a075f3f3f98ba072536e93.jpg","text":"TemporaryFile(/tmp/multipartBody5783065059247808738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662673396,"filename":"image_23012025_17_38_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/32a5e03043e978f006fba7b4e0524848.jpg","text":"TemporaryFile(/tmp/multipartBody3939629334185518534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662673396,"filename":"image_23012025_17_38_15_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92d80097e38aa060318bd7659840e9d3.jpg","text":"TemporaryFile(/tmp/multipartBody1576739474534778494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662673396,"filename":"image_23012025_17_38_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1f8d6372a9ae92bef0a16e9c216c3cb.jpg","text":"TemporaryFile(/tmp/multipartBody606804461522801596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662673396,"filename":"image_23012025_17_38_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8ace66da69b37d607c4a9c96a0522de.jpg","text":"TemporaryFile(/tmp/multipartBody2543242466605963165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662673396,"filename":"image_23012025_17_38_06_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a4e6dd6c3d9bfa4caab946ac5cce5786.jpg","text":"TemporaryFile(/tmp/multipartBody8850914762014858609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662673396,"filename":"image_23012025_17_37_55_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330865212","file1":"1330865196","file0":"1330865190","file4":"1330865224","file5":"1330865228","file3":"1330865215"},"map_files_photo_id_array":[{"photo_id":"1330865228","filename":"file5"},{"photo_id":"1330865212","filename":"file2"},{"photo_id":"1330865224","filename":"file4"},{"photo_id":"1330865196","filename":"file1"},{"photo_id":"1330865190","filename":"file0"},{"photo_id":"1330865215","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330865228":["hashtag1","hashtag2"]},{"1330865212":["hashtag1","hashtag2"]},{"1330865215":["hashtag1","hashtag2"]},{"1330865224":["hashtag1","hashtag2"]},{"1330865196":["hashtag1","hashtag2"]},{"1330865190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330865228, 1330865212, 1330865215, 1330865224, 1330865196, 1330865190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74853754043579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:04:32.546867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_55_10360.jpg', '/home/pi/Desktop/images/23012025/17/38/image_23012025_17_39_06_10371.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_15_9408.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_26_10356.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_35_9405.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_45_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_38_55_10360.jpg
/home/pi/Desktop/images/23012025/17/38/image_23012025_17_39_06_10371.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_15_9408.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_26_10356.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_35_9405.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_45_10394.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":["1330865309","1330865303","1330865320","1330865289","1330865283","1330865277"],"photo_ids_order":["1330865277","1330865283","1330865289","1330865303","1330865309","1330865320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7244b78290fc501feebe8aba88129c36.jpg","text":"TemporaryFile(/tmp/multipartBody5232549422778720584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662733538,"filename":"image_23012025_17_39_35_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/369b9bd7333882f88f5b93bc1852f7e3.jpg","text":"TemporaryFile(/tmp/multipartBody971697711431800339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662733538,"filename":"image_23012025_17_39_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33e0c880bb71b871dda5b3e3c8044e35.jpg","text":"TemporaryFile(/tmp/multipartBody6357022476165314525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662733538,"filename":"image_23012025_17_39_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a45349cf7ea248f1880515908275900f.jpg","text":"TemporaryFile(/tmp/multipartBody482461925297954707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662733538,"filename":"image_23012025_17_39_15_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1eccc14f8e864b23354dd2b5f635c5e.jpg","text":"TemporaryFile(/tmp/multipartBody5630225217323846453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662733538,"filename":"image_23012025_17_39_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13e82d28f5af614e9814cdec3f957d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3939729954146316452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662733538,"filename":"image_23012025_17_38_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330865289","file1":"1330865283","file0":"1330865277","file4":"1330865309","file5":"1330865320","file3":"1330865303"},"map_files_photo_id_array":[{"photo_id":"1330865320","filename":"file5"},{"photo_id":"1330865289","filename":"file2"},{"photo_id":"1330865309","filename":"file4"},{"photo_id":"1330865283","filename":"file1"},{"photo_id":"1330865277","filename":"file0"},{"photo_id":"1330865303","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330865309":["hashtag1","hashtag2"]},{"1330865303":["hashtag1","hashtag2"]},{"1330865320":["hashtag1","hashtag2"]},{"1330865289":["hashtag1","hashtag2"]},{"1330865283":["hashtag1","hashtag2"]},{"1330865277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330865309, 1330865303, 1330865320, 1330865289, 1330865283, 1330865277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7093346118927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:05:32.769479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_56_10417.jpg', '/home/pi/Desktop/images/23012025/17/39/image_23012025_17_40_05_9405.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_16_10373.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_25_9459.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_35_10342.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_46_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_39_56_10417.jpg
/home/pi/Desktop/images/23012025/17/39/image_23012025_17_40_05_9405.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_16_10373.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_25_9459.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_35_10342.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_46_10347.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":["1330865447","1330865456","1330865357","1330865438","1330865440","1330865436"],"photo_ids_order":["1330865357","1330865436","1330865438","1330865440","1330865447","1330865456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f31a66311496ec5da81ecd3f3c8c3de.jpg","text":"TemporaryFile(/tmp/multipartBody5364149407267971902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662793786,"filename":"image_23012025_17_40_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5e591cc0a37ad79d759a2e3528ff928.jpg","text":"TemporaryFile(/tmp/multipartBody2190715980249564222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662793786,"filename":"image_23012025_17_40_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ad0096a62b85c2a00c0b2ddcef2dac8.jpg","text":"TemporaryFile(/tmp/multipartBody3399528933518219686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662793786,"filename":"image_23012025_17_39_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d630048a794c01125717e6091a10774f.jpg","text":"TemporaryFile(/tmp/multipartBody2940214091311044053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662793786,"filename":"image_23012025_17_40_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c70805b702c00fd35ae05782e08e65dc.jpg","text":"TemporaryFile(/tmp/multipartBody77507933272786288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662793786,"filename":"image_23012025_17_40_25_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1f6e4b43bc04c3d3a3ffcaf22f8961d.jpg","text":"TemporaryFile(/tmp/multipartBody2547932739628404493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662793786,"filename":"image_23012025_17_40_05_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330865438","file1":"1330865436","file0":"1330865357","file4":"1330865447","file5":"1330865456","file3":"1330865440"},"map_files_photo_id_array":[{"photo_id":"1330865456","filename":"file5"},{"photo_id":"1330865438","filename":"file2"},{"photo_id":"1330865447","filename":"file4"},{"photo_id":"1330865436","filename":"file1"},{"photo_id":"1330865357","filename":"file0"},{"photo_id":"1330865440","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330865447":["hashtag1","hashtag2"]},{"1330865456":["hashtag1","hashtag2"]},{"1330865357":["hashtag1","hashtag2"]},{"1330865438":["hashtag1","hashtag2"]},{"1330865440":["hashtag1","hashtag2"]},{"1330865436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330865447, 1330865456, 1330865357, 1330865438, 1330865440, 1330865436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.6589241027832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:06:32.872701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_55_9433.jpg', '/home/pi/Desktop/images/23012025/17/40/image_23012025_17_41_06_10337.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_16_10339.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_25_9337.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_36_10342.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_40_55_9433.jpg
/home/pi/Desktop/images/23012025/17/40/image_23012025_17_41_06_10337.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_16_10339.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_25_9337.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_36_10342.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_45_9354.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":["1330865501","1330865510","1330865515","1330865547","1330865523","1330865505"],"photo_ids_order":["1330865501","1330865505","1330865510","1330865515","1330865523","1330865547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f30398dee4da45907db12d1ef5b6bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody2687578753384140934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662853866,"filename":"image_23012025_17_40_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cefc2703c2ea4607973b8e14ad2af786.jpg","text":"TemporaryFile(/tmp/multipartBody1706966415617538039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662853866,"filename":"image_23012025_17_41_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40d1eef7611e6e23ada651adf597afe8.jpg","text":"TemporaryFile(/tmp/multipartBody7408433073248371644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662853866,"filename":"image_23012025_17_41_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bef29057ce042381f32a9717477fde1c.jpg","text":"TemporaryFile(/tmp/multipartBody3372621917730445485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662853866,"filename":"image_23012025_17_41_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ceacbf1839adbe975de083131149540b.jpg","text":"TemporaryFile(/tmp/multipartBody394255758704996715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662853866,"filename":"image_23012025_17_41_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21b4e45d3e9b43924d83494910b84402.jpg","text":"TemporaryFile(/tmp/multipartBody6380100752032600128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662853866,"filename":"image_23012025_17_41_06_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330865510","file1":"1330865505","file0":"1330865501","file4":"1330865523","file5":"1330865547","file3":"1330865515"},"map_files_photo_id_array":[{"photo_id":"1330865547","filename":"file5"},{"photo_id":"1330865510","filename":"file2"},{"photo_id":"1330865523","filename":"file4"},{"photo_id":"1330865505","filename":"file1"},{"photo_id":"1330865501","filename":"file0"},{"photo_id":"1330865515","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330865501":["hashtag1","hashtag2"]},{"1330865510":["hashtag1","hashtag2"]},{"1330865515":["hashtag1","hashtag2"]},{"1330865547":["hashtag1","hashtag2"]},{"1330865523":["hashtag1","hashtag2"]},{"1330865505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330865501, 1330865510, 1330865515, 1330865547, 1330865523, 1330865505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26668930053711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:07:33.062823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_55_10349.jpg', '/home/pi/Desktop/images/23012025/17/41/image_23012025_17_42_06_10346.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_15_9397.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_25_10372.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_36_10363.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_45_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_41_55_10349.jpg
/home/pi/Desktop/images/23012025/17/41/image_23012025_17_42_06_10346.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_15_9397.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_25_10372.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_36_10363.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_45_9424.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":["1330865723","1330865606","1330865600","1330865593","1330865589","1330865687"],"photo_ids_order":["1330865589","1330865593","1330865600","1330865606","1330865687","1330865723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4fe04e28031bd95719b0909d13a3c7cf.jpg","text":"TemporaryFile(/tmp/multipartBody8163278610535290722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662914080,"filename":"image_23012025_17_42_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3762037ed723272d04fa371e20dc41b1.jpg","text":"TemporaryFile(/tmp/multipartBody4770626830421774803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662914080,"filename":"image_23012025_17_42_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ff2fb49c00c30a0cd8bfda080b1cceb.jpg","text":"TemporaryFile(/tmp/multipartBody1420823346584598793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662914080,"filename":"image_23012025_17_42_15_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b0d104c5f976ec448dcbddee5ad7146.jpg","text":"TemporaryFile(/tmp/multipartBody2485111940541207069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662914080,"filename":"image_23012025_17_42_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbcc7a1c28b96a173a7292f0f0c1bb39.jpg","text":"TemporaryFile(/tmp/multipartBody848851059525308035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662914080,"filename":"image_23012025_17_41_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e3a339c926ad8a4c9b5d0f0f57b94ef.jpg","text":"TemporaryFile(/tmp/multipartBody7780214787238927108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662914080,"filename":"image_23012025_17_42_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330865600","file1":"1330865593","file0":"1330865589","file4":"1330865687","file5":"1330865723","file3":"1330865606"},"map_files_photo_id_array":[{"photo_id":"1330865723","filename":"file5"},{"photo_id":"1330865600","filename":"file2"},{"photo_id":"1330865687","filename":"file4"},{"photo_id":"1330865593","filename":"file1"},{"photo_id":"1330865589","filename":"file0"},{"photo_id":"1330865606","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330865723":["hashtag1","hashtag2"]},{"1330865606":["hashtag1","hashtag2"]},{"1330865600":["hashtag1","hashtag2"]},{"1330865593":["hashtag1","hashtag2"]},{"1330865589":["hashtag1","hashtag2"]},{"1330865687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330865723, 1330865606, 1330865600, 1330865593, 1330865589, 1330865687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.17917084693909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:08:32.286177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_56_10359.jpg', '/home/pi/Desktop/images/23012025/17/42/image_23012025_17_43_05_9354.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_15_10355.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_26_10414.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_35_9456.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_42_56_10359.jpg
/home/pi/Desktop/images/23012025/17/42/image_23012025_17_43_05_9354.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_15_10355.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_26_10414.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_35_9456.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_45_10355.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":["1330866751","1330866735","1330866746","1330866755","1330866740","1330866656"],"photo_ids_order":["1330866656","1330866735","1330866740","1330866746","1330866751","1330866755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5a0da940e569674a4d81a07e89c2189.jpg","text":"TemporaryFile(/tmp/multipartBody3634686732076433844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662973280,"filename":"image_23012025_17_43_35_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b783515591516b59bcdcf298cb0cc268.jpg","text":"TemporaryFile(/tmp/multipartBody4491815274717092415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662973280,"filename":"image_23012025_17_43_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5f0a27e0f895b61ccb712ca2040ea0c.jpg","text":"TemporaryFile(/tmp/multipartBody8172721906099482091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662973280,"filename":"image_23012025_17_43_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83f81869e699cc51153ab7f1bfa20547.jpg","text":"TemporaryFile(/tmp/multipartBody8869244415283111626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662973280,"filename":"image_23012025_17_43_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/894611c630b577a418fb4a410dc8792b.jpg","text":"TemporaryFile(/tmp/multipartBody7850044787493435114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662973280,"filename":"image_23012025_17_43_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e81382af75ddbe879747a53c62ff2b19.jpg","text":"TemporaryFile(/tmp/multipartBody4093680868931779429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737662973280,"filename":"image_23012025_17_42_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330866740","file1":"1330866735","file0":"1330866656","file4":"1330866751","file5":"1330866755","file3":"1330866746"},"map_files_photo_id_array":[{"photo_id":"1330866755","filename":"file5"},{"photo_id":"1330866740","filename":"file2"},{"photo_id":"1330866751","filename":"file4"},{"photo_id":"1330866735","filename":"file1"},{"photo_id":"1330866656","filename":"file0"},{"photo_id":"1330866746","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330866751":["hashtag1","hashtag2"]},{"1330866735":["hashtag1","hashtag2"]},{"1330866746":["hashtag1","hashtag2"]},{"1330866755":["hashtag1","hashtag2"]},{"1330866740":["hashtag1","hashtag2"]},{"1330866656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330866751, 1330866735, 1330866746, 1330866755, 1330866740, 1330866656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12264823913574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:09:32.483609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_56_10359.jpg', '/home/pi/Desktop/images/23012025/17/43/image_23012025_17_44_05_9332.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_16_10344.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_26_10364.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_35_9317.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_43_56_10359.jpg
/home/pi/Desktop/images/23012025/17/43/image_23012025_17_44_05_9332.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_16_10344.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_26_10364.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_35_9317.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_46_10353.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":["1330866787","1330866795","1330866780","1330866804","1330866801","1330867103"],"photo_ids_order":["1330866780","1330866787","1330866795","1330866801","1330866804","1330867103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c981063a259f188c227dbf4b28cf136.jpg","text":"TemporaryFile(/tmp/multipartBody5380900656605480140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663033519,"filename":"image_23012025_17_44_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31588ec5d8e5ef2b2d3c8c97f910d7ee.jpg","text":"TemporaryFile(/tmp/multipartBody8702589395485015699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663033519,"filename":"image_23012025_17_44_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/48649273f64710e40a44ce6baed32e83.jpg","text":"TemporaryFile(/tmp/multipartBody120891992850206471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663033519,"filename":"image_23012025_17_43_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/062ce82fa80e2e26f5d8a72a84f2df30.jpg","text":"TemporaryFile(/tmp/multipartBody1658035158645492049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663033519,"filename":"image_23012025_17_44_35_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1f43e89923e4fb82f7ed0c615e8521c.jpg","text":"TemporaryFile(/tmp/multipartBody8582446278394004869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663033519,"filename":"image_23012025_17_44_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9899382e676222b0e1650ba06780e80a.jpg","text":"TemporaryFile(/tmp/multipartBody405850624822590616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663033519,"filename":"image_23012025_17_44_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330866795","file1":"1330866787","file0":"1330866780","file4":"1330866804","file5":"1330867103","file3":"1330866801"},"map_files_photo_id_array":[{"photo_id":"1330867103","filename":"file5"},{"photo_id":"1330866795","filename":"file2"},{"photo_id":"1330866804","filename":"file4"},{"photo_id":"1330866787","filename":"file1"},{"photo_id":"1330866780","filename":"file0"},{"photo_id":"1330866801","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330866787":["hashtag1","hashtag2"]},{"1330866795":["hashtag1","hashtag2"]},{"1330866780":["hashtag1","hashtag2"]},{"1330866804":["hashtag1","hashtag2"]},{"1330866801":["hashtag1","hashtag2"]},{"1330867103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330866787, 1330866795, 1330866780, 1330866804, 1330866801, 1330867103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78850817680359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:10:32.693324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_55_9568.jpg', '/home/pi/Desktop/images/23012025/17/44/image_23012025_17_45_05_10351.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_16_10358.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_25_9394.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_36_10334.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_45_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_44_55_9568.jpg
/home/pi/Desktop/images/23012025/17/44/image_23012025_17_45_05_10351.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_16_10358.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_25_9394.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_36_10334.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_45_9337.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":["1330867306","1330867296","1330867272","1330867311","1330867302","1330867291"],"photo_ids_order":["1330867272","1330867291","1330867296","1330867302","1330867306","1330867311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d79c33143e6a43f1042e791406a499e.jpg","text":"TemporaryFile(/tmp/multipartBody2369797777504598548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663093700,"filename":"image_23012025_17_45_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b6d42e786bed0a294e5e0ef3737d108.jpg","text":"TemporaryFile(/tmp/multipartBody6035266676670582021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663093700,"filename":"image_23012025_17_45_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b52d50c4f698a5b14219741f86353e7.jpg","text":"TemporaryFile(/tmp/multipartBody5441516249359996384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663093700,"filename":"image_23012025_17_44_55_9568.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/096beadbafd2de67302e10563dc0e931.jpg","text":"TemporaryFile(/tmp/multipartBody3857697468631502637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663093700,"filename":"image_23012025_17_45_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/039e2040a9fc406f46bdfba17230a5ad.jpg","text":"TemporaryFile(/tmp/multipartBody8899065754696389253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663093700,"filename":"image_23012025_17_45_25_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/671f20d2d1f0ef664e4f3860b760f40b.jpg","text":"TemporaryFile(/tmp/multipartBody5702634717661739208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663093700,"filename":"image_23012025_17_45_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330867296","file1":"1330867291","file0":"1330867272","file4":"1330867306","file5":"1330867311","file3":"1330867302"},"map_files_photo_id_array":[{"photo_id":"1330867311","filename":"file5"},{"photo_id":"1330867296","filename":"file2"},{"photo_id":"1330867306","filename":"file4"},{"photo_id":"1330867291","filename":"file1"},{"photo_id":"1330867272","filename":"file0"},{"photo_id":"1330867302","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330867306":["hashtag1","hashtag2"]},{"1330867296":["hashtag1","hashtag2"]},{"1330867272":["hashtag1","hashtag2"]},{"1330867311":["hashtag1","hashtag2"]},{"1330867302":["hashtag1","hashtag2"]},{"1330867291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330867306, 1330867296, 1330867272, 1330867311, 1330867302, 1330867291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25832509994507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:11:32.825355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_55_10429.jpg', '/home/pi/Desktop/images/23012025/17/45/image_23012025_17_46_06_10346.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_15_9394.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_25_10368.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_36_10373.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_45_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_45_55_10429.jpg
/home/pi/Desktop/images/23012025/17/45/image_23012025_17_46_06_10346.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_15_9394.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_25_10368.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_36_10373.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_45_9332.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":["1330867357","1330867336","1330867386","1330867361","1330867349","1330867343"],"photo_ids_order":["1330867336","1330867343","1330867349","1330867357","1330867361","1330867386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91f0a93452956ea872ebf4dab7ef831e.jpg","text":"TemporaryFile(/tmp/multipartBody5695578472536357763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663153984,"filename":"image_23012025_17_46_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/011f9f8b3695271c0259200caaff7762.jpg","text":"TemporaryFile(/tmp/multipartBody3296065764790582950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663153984,"filename":"image_23012025_17_45_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/85ca54048134f34628d4f321ca4e00e8.jpg","text":"TemporaryFile(/tmp/multipartBody5893126769051529280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663153984,"filename":"image_23012025_17_46_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94f2e0f1d00bbd8a294cfa437121c4f8.jpg","text":"TemporaryFile(/tmp/multipartBody905747337190041730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663153984,"filename":"image_23012025_17_46_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7ea128056300503694677937790f6c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4309528608914052852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663153984,"filename":"image_23012025_17_46_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6811d10a336ffba84b249d2724780fd.jpg","text":"TemporaryFile(/tmp/multipartBody5977558821845803293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663153984,"filename":"image_23012025_17_46_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330867349","file1":"1330867343","file0":"1330867336","file4":"1330867361","file5":"1330867386","file3":"1330867357"},"map_files_photo_id_array":[{"photo_id":"1330867386","filename":"file5"},{"photo_id":"1330867349","filename":"file2"},{"photo_id":"1330867361","filename":"file4"},{"photo_id":"1330867343","filename":"file1"},{"photo_id":"1330867336","filename":"file0"},{"photo_id":"1330867357","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330867357":["hashtag1","hashtag2"]},{"1330867336":["hashtag1","hashtag2"]},{"1330867386":["hashtag1","hashtag2"]},{"1330867361":["hashtag1","hashtag2"]},{"1330867349":["hashtag1","hashtag2"]},{"1330867343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330867357, 1330867336, 1330867386, 1330867361, 1330867349, 1330867343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.581562757492065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:12:33.127056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_55_10338.jpg', '/home/pi/Desktop/images/23012025/17/46/image_23012025_17_47_05_9419.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_15_10403.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_26_10385.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_35_9394.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_46_55_10338.jpg
/home/pi/Desktop/images/23012025/17/46/image_23012025_17_47_05_9419.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_15_10403.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_26_10385.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_35_9394.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_45_10353.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":["1330867468","1330867513","1330867503","1330867478","1330867463","1330867498"],"photo_ids_order":["1330867463","1330867468","1330867478","1330867498","1330867503","1330867513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c5c5ed557f251bf41abc36909dd7cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2496901310976159202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663214126,"filename":"image_23012025_17_47_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50f207869bb2f47eb6a69223f9ace2ae.jpg","text":"TemporaryFile(/tmp/multipartBody791715749891099183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663214126,"filename":"image_23012025_17_47_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebca4ff596c72c48fb0688e48316ba29.jpg","text":"TemporaryFile(/tmp/multipartBody1589551827365649563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663214126,"filename":"image_23012025_17_47_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af2e0af57f97bb50bffc100b99d8d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7995050029068563970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663214126,"filename":"image_23012025_17_47_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed8533d088889b58109b5e7441b39ea4.jpg","text":"TemporaryFile(/tmp/multipartBody9214268738305438287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663214126,"filename":"image_23012025_17_46_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e736d466821c048ef6e5149feaf96db8.jpg","text":"TemporaryFile(/tmp/multipartBody1190138138990104342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663214126,"filename":"image_23012025_17_47_26_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330867478","file1":"1330867468","file0":"1330867463","file4":"1330867503","file5":"1330867513","file3":"1330867498"},"map_files_photo_id_array":[{"photo_id":"1330867513","filename":"file5"},{"photo_id":"1330867478","filename":"file2"},{"photo_id":"1330867503","filename":"file4"},{"photo_id":"1330867468","filename":"file1"},{"photo_id":"1330867463","filename":"file0"},{"photo_id":"1330867498","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330867468":["hashtag1","hashtag2"]},{"1330867513":["hashtag1","hashtag2"]},{"1330867503":["hashtag1","hashtag2"]},{"1330867478":["hashtag1","hashtag2"]},{"1330867463":["hashtag1","hashtag2"]},{"1330867498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330867468, 1330867513, 1330867503, 1330867478, 1330867463, 1330867498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14011526107788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:13:32.394933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_56_10358.jpg', '/home/pi/Desktop/images/23012025/17/47/image_23012025_17_48_05_9350.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_16_10382.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_25_9386.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_35_10348.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_46_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_47_56_10358.jpg
/home/pi/Desktop/images/23012025/17/47/image_23012025_17_48_05_9350.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_16_10382.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_25_9386.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_35_10348.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_46_10381.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":["1330867579","1330867620","1330867602","1330867611","1330867574","1330867619"],"photo_ids_order":["1330867574","1330867579","1330867602","1330867611","1330867619","1330867620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4636ec838b698b97c11455f6c623a621.jpg","text":"TemporaryFile(/tmp/multipartBody6147481566339539281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663273419,"filename":"image_23012025_17_48_05_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ddb9874ec4fae5adc475c10cb7b9679.jpg","text":"TemporaryFile(/tmp/multipartBody390811396580813410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663273419,"filename":"image_23012025_17_48_46_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9238ae804b58129d4331430ef97cc008.jpg","text":"TemporaryFile(/tmp/multipartBody7458915581739347419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663273419,"filename":"image_23012025_17_48_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46b11fb42aa08a7266a1344a1f0716c6.jpg","text":"TemporaryFile(/tmp/multipartBody2954112267775160808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663273419,"filename":"image_23012025_17_48_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c84a611a3688df43f8dd15d264c0e1a7.jpg","text":"TemporaryFile(/tmp/multipartBody3187171267677105539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663273419,"filename":"image_23012025_17_47_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3002fad7ce9b08c878cadf1511cf686b.jpg","text":"TemporaryFile(/tmp/multipartBody54525415565239555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663273419,"filename":"image_23012025_17_48_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330867602","file1":"1330867579","file0":"1330867574","file4":"1330867619","file5":"1330867620","file3":"1330867611"},"map_files_photo_id_array":[{"photo_id":"1330867620","filename":"file5"},{"photo_id":"1330867602","filename":"file2"},{"photo_id":"1330867619","filename":"file4"},{"photo_id":"1330867579","filename":"file1"},{"photo_id":"1330867574","filename":"file0"},{"photo_id":"1330867611","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330867579":["hashtag1","hashtag2"]},{"1330867620":["hashtag1","hashtag2"]},{"1330867602":["hashtag1","hashtag2"]},{"1330867611":["hashtag1","hashtag2"]},{"1330867574":["hashtag1","hashtag2"]},{"1330867619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330867579, 1330867620, 1330867602, 1330867611, 1330867574, 1330867619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93742775917053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:14:32.690707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_55_9420.jpg', '/home/pi/Desktop/images/23012025/17/48/image_23012025_17_49_05_10364.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_16_10413.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_25_9353.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_36_10361.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_45_9495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_48_55_9420.jpg
/home/pi/Desktop/images/23012025/17/48/image_23012025_17_49_05_10364.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_16_10413.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_25_9353.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_36_10361.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_45_9495.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":["1330867692","1330867685","1330867679","1330867673","1330867667","1330867661"],"photo_ids_order":["1330867661","1330867667","1330867673","1330867679","1330867685","1330867692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8647ba98ac66e4ca723d8ba27ef1fc59.jpg","text":"TemporaryFile(/tmp/multipartBody8476745516226924506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663333706,"filename":"image_23012025_17_49_45_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/92e412c342bf995f023e3f053c539db2.jpg","text":"TemporaryFile(/tmp/multipartBody6314451047218568338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663333706,"filename":"image_23012025_17_49_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06abfa7723021ce1574dfe0baf157a49.jpg","text":"TemporaryFile(/tmp/multipartBody6407914904153693453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663333706,"filename":"image_23012025_17_49_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79021f2d830375560465f421b6dcf655.jpg","text":"TemporaryFile(/tmp/multipartBody427640165763036865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663333706,"filename":"image_23012025_17_49_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/550f79222225d38f14604e999c24e1db.jpg","text":"TemporaryFile(/tmp/multipartBody7355861296232831028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663333706,"filename":"image_23012025_17_49_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a2184f209b8e14545b1a143efc8d049.jpg","text":"TemporaryFile(/tmp/multipartBody4232799239120705282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663333706,"filename":"image_23012025_17_48_55_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330867673","file1":"1330867667","file0":"1330867661","file4":"1330867685","file5":"1330867692","file3":"1330867679"},"map_files_photo_id_array":[{"photo_id":"1330867692","filename":"file5"},{"photo_id":"1330867673","filename":"file2"},{"photo_id":"1330867685","filename":"file4"},{"photo_id":"1330867667","filename":"file1"},{"photo_id":"1330867661","filename":"file0"},{"photo_id":"1330867679","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330867692":["hashtag1","hashtag2"]},{"1330867685":["hashtag1","hashtag2"]},{"1330867679":["hashtag1","hashtag2"]},{"1330867673":["hashtag1","hashtag2"]},{"1330867667":["hashtag1","hashtag2"]},{"1330867661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330867692, 1330867685, 1330867679, 1330867673, 1330867667, 1330867661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.124484062194824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:15:32.789385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_55_10347.jpg', '/home/pi/Desktop/images/23012025/17/49/image_23012025_17_50_06_10340.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_15_9353.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_25_10352.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_36_10328.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_45_9376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_49_55_10347.jpg
/home/pi/Desktop/images/23012025/17/49/image_23012025_17_50_06_10340.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_15_9353.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_25_10352.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_36_10328.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_45_9376.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":["1330867726","1330867713","1330867730","1330867733","1330867721","1330867709"],"photo_ids_order":["1330867709","1330867713","1330867721","1330867726","1330867730","1330867733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b028d5c79b7d175bf11ed9bc838335d.jpg","text":"TemporaryFile(/tmp/multipartBody3775943930933752809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663393806,"filename":"image_23012025_17_50_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa2b3ba1a5c3cf8594b64cc01eced388.jpg","text":"TemporaryFile(/tmp/multipartBody8082496395942645919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663393806,"filename":"image_23012025_17_50_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc91f7808c1744e363c513f02edeea5d.jpg","text":"TemporaryFile(/tmp/multipartBody5023229495463881695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663393806,"filename":"image_23012025_17_50_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/15ca6b0368bd1f319664507d4d8c1fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7869481220515880829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663393806,"filename":"image_23012025_17_50_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d43c7beb34ec9860630e395cd63fa777.jpg","text":"TemporaryFile(/tmp/multipartBody2348005524441348250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663393806,"filename":"image_23012025_17_50_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db37d7d94e7ea13ec24404885158308b.jpg","text":"TemporaryFile(/tmp/multipartBody3196639384191218513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663393806,"filename":"image_23012025_17_49_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330867721","file1":"1330867713","file0":"1330867709","file4":"1330867730","file5":"1330867733","file3":"1330867726"},"map_files_photo_id_array":[{"photo_id":"1330867733","filename":"file5"},{"photo_id":"1330867721","filename":"file2"},{"photo_id":"1330867730","filename":"file4"},{"photo_id":"1330867713","filename":"file1"},{"photo_id":"1330867709","filename":"file0"},{"photo_id":"1330867726","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330867726":["hashtag1","hashtag2"]},{"1330867713":["hashtag1","hashtag2"]},{"1330867730":["hashtag1","hashtag2"]},{"1330867733":["hashtag1","hashtag2"]},{"1330867721":["hashtag1","hashtag2"]},{"1330867709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330867726, 1330867713, 1330867730, 1330867733, 1330867721, 1330867709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08066701889038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:16:32.954977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_56_10395.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_51_06_10332.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_15_9349.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_26_10344.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_35_9495.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_45_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_56_10395.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_51_06_10332.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_15_9349.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_26_10344.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_35_9495.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_45_10338.jpg
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: 0.6084864139556885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:16:43.077193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_56_10395.jpg', '/home/pi/Desktop/images/23012025/17/50/image_23012025_17_51_06_10332.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_15_9349.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_26_10344.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_35_9495.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_45_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_50_56_10395.jpg
/home/pi/Desktop/images/23012025/17/50/image_23012025_17_51_06_10332.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_15_9349.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_26_10344.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_35_9495.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_45_10338.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":["1330867762","1330867816","1330867773","1330867787","1330867901","1330867792"],"photo_ids_order":["1330867762","1330867773","1330867787","1330867792","1330867816","1330867901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13e1af707f0c065f3ab86bc7c098ee57.jpg","text":"TemporaryFile(/tmp/multipartBody3791567069145757829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663464006,"filename":"image_23012025_17_50_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55c37cff25fe12edbb45d4a95bf2187a.jpg","text":"TemporaryFile(/tmp/multipartBody7889573837106947548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663464006,"filename":"image_23012025_17_51_35_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6062543f5cd376011c0a2995b893b483.jpg","text":"TemporaryFile(/tmp/multipartBody4660542069307890148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663464006,"filename":"image_23012025_17_51_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d8a8fbee27c503256a626d26c1271d8.jpg","text":"TemporaryFile(/tmp/multipartBody2624509151649047031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663464006,"filename":"image_23012025_17_51_15_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6bd2ceb13696c13fd26c741a237be562.jpg","text":"TemporaryFile(/tmp/multipartBody2633418658872261494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663464006,"filename":"image_23012025_17_51_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a2168af870c1e0622167636239df03b.jpg","text":"TemporaryFile(/tmp/multipartBody696699580081558611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663464006,"filename":"image_23012025_17_51_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330867787","file1":"1330867773","file0":"1330867762","file4":"1330867816","file5":"1330867901","file3":"1330867792"},"map_files_photo_id_array":[{"photo_id":"1330867901","filename":"file5"},{"photo_id":"1330867787","filename":"file2"},{"photo_id":"1330867816","filename":"file4"},{"photo_id":"1330867773","filename":"file1"},{"photo_id":"1330867762","filename":"file0"},{"photo_id":"1330867792","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330867762":["hashtag1","hashtag2"]},{"1330867816":["hashtag1","hashtag2"]},{"1330867773":["hashtag1","hashtag2"]},{"1330867787":["hashtag1","hashtag2"]},{"1330867901":["hashtag1","hashtag2"]},{"1330867792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330867762, 1330867816, 1330867773, 1330867787, 1330867901, 1330867792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.064746379852295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:17:32.280262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_56_10353.jpg', '/home/pi/Desktop/images/23012025/17/51/image_23012025_17_52_05_9338.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_15_10386.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_26_10364.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_35_9435.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_51_56_10353.jpg
/home/pi/Desktop/images/23012025/17/51/image_23012025_17_52_05_9338.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_15_10386.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_26_10364.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_35_9435.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_46_10355.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":["1330868187","1330868268","1330868181","1330868124","1330868127","1330868254"],"photo_ids_order":["1330868124","1330868127","1330868181","1330868187","1330868254","1330868268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29b9ad9482be0eac73e4ec25bc4ff0b2.jpg","text":"TemporaryFile(/tmp/multipartBody1145028676901296391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663513289,"filename":"image_23012025_17_52_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/430dce2002e4c6760b421241a7313342.jpg","text":"TemporaryFile(/tmp/multipartBody6438074426510452265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663513289,"filename":"image_23012025_17_52_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ce41cfd9cd3e22f278602f4baf0b123.jpg","text":"TemporaryFile(/tmp/multipartBody9206118754331264663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663513289,"filename":"image_23012025_17_52_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b19f6a9e5d70ecc06d20df3a8a92d32.jpg","text":"TemporaryFile(/tmp/multipartBody5068401103024503341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663513289,"filename":"image_23012025_17_51_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/958a14ac55703a80fa08344a5ef64950.jpg","text":"TemporaryFile(/tmp/multipartBody7084656588024690075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663513289,"filename":"image_23012025_17_52_05_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ef8dafb10143b6c08d0b81f2ba99966.jpg","text":"TemporaryFile(/tmp/multipartBody3131040465938338293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663513289,"filename":"image_23012025_17_52_35_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868181","file1":"1330868127","file0":"1330868124","file4":"1330868254","file5":"1330868268","file3":"1330868187"},"map_files_photo_id_array":[{"photo_id":"1330868268","filename":"file5"},{"photo_id":"1330868181","filename":"file2"},{"photo_id":"1330868254","filename":"file4"},{"photo_id":"1330868127","filename":"file1"},{"photo_id":"1330868124","filename":"file0"},{"photo_id":"1330868187","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868187":["hashtag1","hashtag2"]},{"1330868268":["hashtag1","hashtag2"]},{"1330868181":["hashtag1","hashtag2"]},{"1330868124":["hashtag1","hashtag2"]},{"1330868127":["hashtag1","hashtag2"]},{"1330868254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868187, 1330868268, 1330868181, 1330868124, 1330868127, 1330868254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.813799142837524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:18:32.426257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_55_9399.jpg', '/home/pi/Desktop/images/23012025/17/52/image_23012025_17_53_05_10465.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_15_9396.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_25_10349.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_36_10337.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_45_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_52_55_9399.jpg
/home/pi/Desktop/images/23012025/17/52/image_23012025_17_53_05_10465.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_15_9396.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_25_10349.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_36_10337.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_45_9332.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":["1330868308","1330868289","1330868291","1330868360","1330868303","1330868296"],"photo_ids_order":["1330868289","1330868291","1330868296","1330868303","1330868308","1330868360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dfd1fb25242ef8ceb355bf0b53055d8.jpg","text":"TemporaryFile(/tmp/multipartBody6609951133320679861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663573435,"filename":"image_23012025_17_53_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4395d96913744ffbe75ecaaeba6e523c.jpg","text":"TemporaryFile(/tmp/multipartBody2492255835353570415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663573435,"filename":"image_23012025_17_52_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63062a3efb35a904c271fd0553649f56.jpg","text":"TemporaryFile(/tmp/multipartBody4416259101212456362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663573435,"filename":"image_23012025_17_53_05_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dec727858e38ff2930b1bf63501548f5.jpg","text":"TemporaryFile(/tmp/multipartBody7853587393743455968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663573435,"filename":"image_23012025_17_53_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79b162cca516b6c45b6df280144a491f.jpg","text":"TemporaryFile(/tmp/multipartBody2901325737249723982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663573435,"filename":"image_23012025_17_53_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a80b22b9c1090294d787f066a297831d.jpg","text":"TemporaryFile(/tmp/multipartBody2344586110825972838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663573435,"filename":"image_23012025_17_53_15_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868296","file1":"1330868291","file0":"1330868289","file4":"1330868308","file5":"1330868360","file3":"1330868303"},"map_files_photo_id_array":[{"photo_id":"1330868360","filename":"file5"},{"photo_id":"1330868296","filename":"file2"},{"photo_id":"1330868308","filename":"file4"},{"photo_id":"1330868291","filename":"file1"},{"photo_id":"1330868289","filename":"file0"},{"photo_id":"1330868303","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868308":["hashtag1","hashtag2"]},{"1330868289":["hashtag1","hashtag2"]},{"1330868291":["hashtag1","hashtag2"]},{"1330868360":["hashtag1","hashtag2"]},{"1330868303":["hashtag1","hashtag2"]},{"1330868296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868308, 1330868289, 1330868291, 1330868360, 1330868303, 1330868296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.555718660354614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:19:32.691019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_55_10457.jpg', '/home/pi/Desktop/images/23012025/17/53/image_23012025_17_54_06_10381.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_15_9343.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_25_10370.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_35_9430.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_45_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_53_55_10457.jpg
/home/pi/Desktop/images/23012025/17/53/image_23012025_17_54_06_10381.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_15_9343.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_25_10370.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_35_9430.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_45_10326.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":["1330868416","1330868412","1330868406","1330868396","1330868399","1330868402"],"photo_ids_order":["1330868396","1330868399","1330868402","1330868406","1330868412","1330868416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fa9049edf46ad388bec1e478793dafd.jpg","text":"TemporaryFile(/tmp/multipartBody7154824088815438442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663633711,"filename":"image_23012025_17_54_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8e71e984fbdf50b388c56b66cd47e11c.jpg","text":"TemporaryFile(/tmp/multipartBody7867967281560415197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663633711,"filename":"image_23012025_17_54_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb7ce169f54ae80fa02cca110ff6d56f.jpg","text":"TemporaryFile(/tmp/multipartBody7695541754687827422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663633711,"filename":"image_23012025_17_54_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52636d91863626f0a6f6521a5d572e1d.jpg","text":"TemporaryFile(/tmp/multipartBody9012962490544422331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663633711,"filename":"image_23012025_17_53_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9e18c3c94b101b138964e4dfe878198.jpg","text":"TemporaryFile(/tmp/multipartBody7784706640345214260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663633711,"filename":"image_23012025_17_54_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cee6c6493d9610eb24d27c539027acd.jpg","text":"TemporaryFile(/tmp/multipartBody6063662159355048401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663633711,"filename":"image_23012025_17_54_15_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868402","file1":"1330868399","file0":"1330868396","file4":"1330868412","file5":"1330868416","file3":"1330868406"},"map_files_photo_id_array":[{"photo_id":"1330868416","filename":"file5"},{"photo_id":"1330868402","filename":"file2"},{"photo_id":"1330868412","filename":"file4"},{"photo_id":"1330868399","filename":"file1"},{"photo_id":"1330868396","filename":"file0"},{"photo_id":"1330868406","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868416":["hashtag1","hashtag2"]},{"1330868412":["hashtag1","hashtag2"]},{"1330868406":["hashtag1","hashtag2"]},{"1330868396":["hashtag1","hashtag2"]},{"1330868399":["hashtag1","hashtag2"]},{"1330868402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868416, 1330868412, 1330868406, 1330868396, 1330868399, 1330868402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93700075149536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:20:32.849855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_56_10380.jpg', '/home/pi/Desktop/images/23012025/17/54/image_23012025_17_55_05_9416.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_15_10341.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_26_10345.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_35_9421.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_45_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_54_56_10380.jpg
/home/pi/Desktop/images/23012025/17/54/image_23012025_17_55_05_9416.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_15_10341.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_26_10345.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_35_9421.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_45_10333.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":["1330868500","1330868492","1330868526","1330868504","1330868497","1330868524"],"photo_ids_order":["1330868492","1330868497","1330868500","1330868504","1330868524","1330868526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99d0d82315b09e0fa64954509f0f029b.jpg","text":"TemporaryFile(/tmp/multipartBody6243306793709319172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663693880,"filename":"image_23012025_17_55_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c99e29a28783c2bbe144b6a067a5d228.jpg","text":"TemporaryFile(/tmp/multipartBody6942186134700316887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663693880,"filename":"image_23012025_17_54_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbacf1866963d3b4a3352e2178175df3.jpg","text":"TemporaryFile(/tmp/multipartBody1860460303591269245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663693880,"filename":"image_23012025_17_55_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7233534af1d4a4b29f7df525f20002d6.jpg","text":"TemporaryFile(/tmp/multipartBody1455901984211616274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663693880,"filename":"image_23012025_17_55_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec774b094e061d3bc8d11a50fb83da62.jpg","text":"TemporaryFile(/tmp/multipartBody3311364409423237011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663693880,"filename":"image_23012025_17_55_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c4bcf0362f29e122a3785d543f15e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2225380046401580166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663693880,"filename":"image_23012025_17_55_35_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868500","file1":"1330868497","file0":"1330868492","file4":"1330868524","file5":"1330868526","file3":"1330868504"},"map_files_photo_id_array":[{"photo_id":"1330868526","filename":"file5"},{"photo_id":"1330868500","filename":"file2"},{"photo_id":"1330868524","filename":"file4"},{"photo_id":"1330868497","filename":"file1"},{"photo_id":"1330868492","filename":"file0"},{"photo_id":"1330868504","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868500":["hashtag1","hashtag2"]},{"1330868492":["hashtag1","hashtag2"]},{"1330868526":["hashtag1","hashtag2"]},{"1330868504":["hashtag1","hashtag2"]},{"1330868497":["hashtag1","hashtag2"]},{"1330868524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868500, 1330868492, 1330868526, 1330868504, 1330868497, 1330868524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.948118686676025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:21:33.090610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_56_10381.jpg', '/home/pi/Desktop/images/23012025/17/55/image_23012025_17_56_05_9447.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_16_10335.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_25_9474.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_35_10329.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_46_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_55_56_10381.jpg
/home/pi/Desktop/images/23012025/17/55/image_23012025_17_56_05_9447.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_16_10335.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_25_9474.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_35_10329.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_46_10356.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":["1330868608","1330868598","1330868647","1330868641","1330868644","1330868623"],"photo_ids_order":["1330868598","1330868608","1330868623","1330868641","1330868644","1330868647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de474891ea0f08d074d38b051dc512fe.jpg","text":"TemporaryFile(/tmp/multipartBody2660051684628040554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663754592,"filename":"image_23012025_17_56_05_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9c804327c4bdaccabd564f0ab5f8b3f.jpg","text":"TemporaryFile(/tmp/multipartBody4081655092275753024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663754592,"filename":"image_23012025_17_55_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adfb9522c8a05eca649b3fdf00643dcb.jpg","text":"TemporaryFile(/tmp/multipartBody4601782208523720504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663754592,"filename":"image_23012025_17_56_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2c65ce04a9a47cd13f4646bdeed35d6.jpg","text":"TemporaryFile(/tmp/multipartBody555898458948424597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663754592,"filename":"image_23012025_17_56_25_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/155b16365951da62b1d8e914dd870845.jpg","text":"TemporaryFile(/tmp/multipartBody2371693818037341078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663754592,"filename":"image_23012025_17_56_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e6efb5986a66c30e2fb3b5dce28179f7.jpg","text":"TemporaryFile(/tmp/multipartBody2974831818666810056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663754592,"filename":"image_23012025_17_56_16_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868623","file1":"1330868608","file0":"1330868598","file4":"1330868644","file5":"1330868647","file3":"1330868641"},"map_files_photo_id_array":[{"photo_id":"1330868647","filename":"file5"},{"photo_id":"1330868623","filename":"file2"},{"photo_id":"1330868644","filename":"file4"},{"photo_id":"1330868608","filename":"file1"},{"photo_id":"1330868598","filename":"file0"},{"photo_id":"1330868641","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868608":["hashtag1","hashtag2"]},{"1330868598":["hashtag1","hashtag2"]},{"1330868647":["hashtag1","hashtag2"]},{"1330868641":["hashtag1","hashtag2"]},{"1330868644":["hashtag1","hashtag2"]},{"1330868623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868608, 1330868598, 1330868647, 1330868641, 1330868644, 1330868623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.036667346954346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:22:32.249135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_55_9356.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_57_05_10344.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_16_10339.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_25_9355.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_36_10345.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_55_9356.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_57_05_10344.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_16_10339.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_25_9355.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_36_10345.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_45_9360.jpg
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: 0.643002986907959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:22:42.297865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_55_9356.jpg', '/home/pi/Desktop/images/23012025/17/56/image_23012025_17_57_05_10344.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_16_10339.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_25_9355.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_36_10345.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_45_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_56_55_9356.jpg
/home/pi/Desktop/images/23012025/17/56/image_23012025_17_57_05_10344.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_16_10339.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_25_9355.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_36_10345.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_45_9360.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":["1330868724","1330868733","1330868738","1330868695","1330868689","1330868701"],"photo_ids_order":["1330868689","1330868695","1330868701","1330868724","1330868733","1330868738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3928958b788548a1060cc59d838510d0.jpg","text":"TemporaryFile(/tmp/multipartBody4746966770819942978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663823322,"filename":"image_23012025_17_57_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c799e57f37f563d8e0b6752d9482b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1379815260235557897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663823322,"filename":"image_23012025_17_57_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62a7d4cb396a740228e475ab1e5a3292.jpg","text":"TemporaryFile(/tmp/multipartBody2971227301443478136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663823322,"filename":"image_23012025_17_57_45_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88d87c28c7388c0243ccc928c001278d.jpg","text":"TemporaryFile(/tmp/multipartBody8226158096165841855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663823322,"filename":"image_23012025_17_57_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45fee8083c2b1c067364e5a32c9603f7.jpg","text":"TemporaryFile(/tmp/multipartBody8848556881150058304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663823322,"filename":"image_23012025_17_56_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59ebe74454ef191ba666fec3622005a1.jpg","text":"TemporaryFile(/tmp/multipartBody2834449286995487240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663823322,"filename":"image_23012025_17_57_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868701","file1":"1330868695","file0":"1330868689","file4":"1330868733","file5":"1330868738","file3":"1330868724"},"map_files_photo_id_array":[{"photo_id":"1330868738","filename":"file5"},{"photo_id":"1330868701","filename":"file2"},{"photo_id":"1330868733","filename":"file4"},{"photo_id":"1330868695","filename":"file1"},{"photo_id":"1330868689","filename":"file0"},{"photo_id":"1330868724","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868724":["hashtag1","hashtag2"]},{"1330868733":["hashtag1","hashtag2"]},{"1330868738":["hashtag1","hashtag2"]},{"1330868695":["hashtag1","hashtag2"]},{"1330868689":["hashtag1","hashtag2"]},{"1330868701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868724, 1330868733, 1330868738, 1330868695, 1330868689, 1330868701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.477325677871704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:23:32.526349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_55_10416.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_58_06_10406.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_15_9414.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_25_9838.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_35_10377.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_46_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_55_10416.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_58_06_10406.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_15_9414.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_25_9838.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_35_10377.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_46_10453.jpg
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: 0.6048934459686279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:23:42.424547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_55_10416.jpg', '/home/pi/Desktop/images/23012025/17/57/image_23012025_17_58_06_10406.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_15_9414.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_25_9838.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_35_10377.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_46_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_57_55_10416.jpg
/home/pi/Desktop/images/23012025/17/57/image_23012025_17_58_06_10406.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_15_9414.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_25_9838.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_35_10377.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_46_10453.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":["1330868824","1330868818","1330868805","1330868814","1330868831","1330868810"],"photo_ids_order":["1330868805","1330868810","1330868814","1330868818","1330868824","1330868831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27430459d4fbd96362a65c735a87926b.jpg","text":"TemporaryFile(/tmp/multipartBody1721440473468983117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663883354,"filename":"image_23012025_17_58_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31c1f7e3bbeee6c27e93fc6cb1dee7c2.jpg","text":"TemporaryFile(/tmp/multipartBody8366823831087501065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663883354,"filename":"image_23012025_17_58_25_9838.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/005839bb15dc53c0d54cfcbc40fe401d.jpg","text":"TemporaryFile(/tmp/multipartBody7370092748742415816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663883354,"filename":"image_23012025_17_57_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dbb4a8659bc9458c4c0d8998ccb3d93.jpg","text":"TemporaryFile(/tmp/multipartBody7026418310367118534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663883354,"filename":"image_23012025_17_58_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3e98bd88b3552d45f806069aa452054.jpg","text":"TemporaryFile(/tmp/multipartBody1971441398006776535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663883354,"filename":"image_23012025_17_58_46_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc0dbfcb8a8c39c775fccb7baefde7f5.jpg","text":"TemporaryFile(/tmp/multipartBody8896179007233558218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663883354,"filename":"image_23012025_17_58_06_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868814","file1":"1330868810","file0":"1330868805","file4":"1330868824","file5":"1330868831","file3":"1330868818"},"map_files_photo_id_array":[{"photo_id":"1330868831","filename":"file5"},{"photo_id":"1330868814","filename":"file2"},{"photo_id":"1330868824","filename":"file4"},{"photo_id":"1330868810","filename":"file1"},{"photo_id":"1330868805","filename":"file0"},{"photo_id":"1330868818","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868824":["hashtag1","hashtag2"]},{"1330868818":["hashtag1","hashtag2"]},{"1330868805":["hashtag1","hashtag2"]},{"1330868814":["hashtag1","hashtag2"]},{"1330868831":["hashtag1","hashtag2"]},{"1330868810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868824, 1330868818, 1330868805, 1330868814, 1330868831, 1330868810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62729001045227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:24:32.505381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_55_9479.jpg', '/home/pi/Desktop/images/23012025/17/58/image_23012025_17_59_06_10349.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_15_9484.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_26_10436.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_35_9350.jpg', '/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_58_55_9479.jpg
/home/pi/Desktop/images/23012025/17/58/image_23012025_17_59_06_10349.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_15_9484.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_26_10436.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_35_9350.jpg
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_45_10342.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":["1330868862","1330868865","1330868859","1330868867","1330868851","1330868854"],"photo_ids_order":["1330868851","1330868854","1330868859","1330868862","1330868865","1330868867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45d0aebd907b54e9e87a9ac838452682.jpg","text":"TemporaryFile(/tmp/multipartBody1859351089553264132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663933506,"filename":"image_23012025_17_59_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df06cefe7c53047359e5031844864266.jpg","text":"TemporaryFile(/tmp/multipartBody4863824649702401617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663933506,"filename":"image_23012025_17_59_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/006b09f18d5135017063d31aa7ab0824.jpg","text":"TemporaryFile(/tmp/multipartBody6259929267160162397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663933506,"filename":"image_23012025_17_59_15_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b9cbdcb9eeeebba271e279e94d4f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody9039851463760389214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663933506,"filename":"image_23012025_17_59_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9f80eb75fff788086809e719e5dcdc18.jpg","text":"TemporaryFile(/tmp/multipartBody1265580708448291518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663933506,"filename":"image_23012025_17_58_55_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/659bed63cb3a7cd7a227a04db5744a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8953993013351924602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663933506,"filename":"image_23012025_17_59_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868859","file1":"1330868854","file0":"1330868851","file4":"1330868865","file5":"1330868867","file3":"1330868862"},"map_files_photo_id_array":[{"photo_id":"1330868867","filename":"file5"},{"photo_id":"1330868859","filename":"file2"},{"photo_id":"1330868865","filename":"file4"},{"photo_id":"1330868854","filename":"file1"},{"photo_id":"1330868851","filename":"file0"},{"photo_id":"1330868862","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868862":["hashtag1","hashtag2"]},{"1330868865":["hashtag1","hashtag2"]},{"1330868859":["hashtag1","hashtag2"]},{"1330868867":["hashtag1","hashtag2"]},{"1330868851":["hashtag1","hashtag2"]},{"1330868854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868862, 1330868865, 1330868859, 1330868867, 1330868851, 1330868854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14719748497009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:25:32.725290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_56_10359.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_14_10074.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_25_10398.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_35_10426.jpg', '/home/pi/Desktop/images/23012025/18/01/image_23012025_18_02_04_9450.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_15_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/17/59/image_23012025_17_59_56_10359.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_14_10074.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_25_10398.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_01_35_10426.jpg
/home/pi/Desktop/images/23012025/18/01/image_23012025_18_02_04_9450.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_15_10434.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":["1330868904","1330868909","1330868903","1330868906","1330868920","1330868914"],"photo_ids_order":["1330868903","1330868904","1330868906","1330868909","1330868914","1330868920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e95bb0dcda183ba4d476ed66e539a978.jpg","text":"TemporaryFile(/tmp/multipartBody3982455884815469259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663993741,"filename":"image_23012025_18_01_14_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8dba54568fb90df19ba1621ce85161b6.jpg","text":"TemporaryFile(/tmp/multipartBody6857896430002140445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663993741,"filename":"image_23012025_18_01_35_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca0f10acd2a7b1c4c7efbebab31e9680.jpg","text":"TemporaryFile(/tmp/multipartBody8796006355523295963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663993741,"filename":"image_23012025_17_59_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a99307029b7cb53c7da4d3ce2524198.jpg","text":"TemporaryFile(/tmp/multipartBody7325519100622523973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663993741,"filename":"image_23012025_18_01_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98d95ba88562e18add5f5666297bc47a.jpg","text":"TemporaryFile(/tmp/multipartBody1079464628710127025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663993741,"filename":"image_23012025_18_02_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/172872a9e40bb51794c3356a9325c010.jpg","text":"TemporaryFile(/tmp/multipartBody1720374262103923399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737663993741,"filename":"image_23012025_18_02_04_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330868906","file1":"1330868904","file0":"1330868903","file4":"1330868914","file5":"1330868920","file3":"1330868909"},"map_files_photo_id_array":[{"photo_id":"1330868920","filename":"file5"},{"photo_id":"1330868906","filename":"file2"},{"photo_id":"1330868914","filename":"file4"},{"photo_id":"1330868904","filename":"file1"},{"photo_id":"1330868903","filename":"file0"},{"photo_id":"1330868909","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330868904":["hashtag1","hashtag2"]},{"1330868909":["hashtag1","hashtag2"]},{"1330868903":["hashtag1","hashtag2"]},{"1330868906":["hashtag1","hashtag2"]},{"1330868920":["hashtag1","hashtag2"]},{"1330868914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330868904, 1330868909, 1330868903, 1330868906, 1330868920, 1330868914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48193311691284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:26:32.995692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_25_10364.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_35_9328.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_45_10341.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_54_9357.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_03_05_10359.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_15_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_25_10364.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_35_9328.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_45_10341.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_54_9357.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_03_05_10359.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_15_10432.jpg
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: 0.6589064598083496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:26:43.054152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_25_10364.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_35_9328.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_45_10341.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_54_9357.jpg', '/home/pi/Desktop/images/23012025/18/02/image_23012025_18_03_05_10359.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_15_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_25_10364.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_35_9328.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_45_10341.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_02_54_9357.jpg
/home/pi/Desktop/images/23012025/18/02/image_23012025_18_03_05_10359.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_15_10432.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":["1330869006","1330868958","1330869015","1330869023","1330869002","1330868975"],"photo_ids_order":["1330868958","1330868975","1330869002","1330869006","1330869015","1330869023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a68448fd8f271eca946599f26da16a4.jpg","text":"TemporaryFile(/tmp/multipartBody2477345447109894463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664063985,"filename":"image_23012025_18_02_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/879ed400a8b2f0d0c22fb46a35f2d630.jpg","text":"TemporaryFile(/tmp/multipartBody234483635142918922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664063985,"filename":"image_23012025_18_02_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad1f0fb45d99ecef1dd4045ec1cccdff.jpg","text":"TemporaryFile(/tmp/multipartBody5965354566690219138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664063985,"filename":"image_23012025_18_03_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49d0b5d9a7490d951060d1f711368287.jpg","text":"TemporaryFile(/tmp/multipartBody5189687941188892632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664063985,"filename":"image_23012025_18_03_15_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4d209999be68b544d32f39c54a773d9.jpg","text":"TemporaryFile(/tmp/multipartBody7675807408821395563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664063985,"filename":"image_23012025_18_02_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11184e182c969432bfd8019cc6317bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6448232158612057163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664063985,"filename":"image_23012025_18_02_35_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869002","file1":"1330868975","file0":"1330868958","file4":"1330869015","file5":"1330869023","file3":"1330869006"},"map_files_photo_id_array":[{"photo_id":"1330869023","filename":"file5"},{"photo_id":"1330869002","filename":"file2"},{"photo_id":"1330869015","filename":"file4"},{"photo_id":"1330868975","filename":"file1"},{"photo_id":"1330868958","filename":"file0"},{"photo_id":"1330869006","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869006":["hashtag1","hashtag2"]},{"1330868958":["hashtag1","hashtag2"]},{"1330869015":["hashtag1","hashtag2"]},{"1330869023":["hashtag1","hashtag2"]},{"1330869002":["hashtag1","hashtag2"]},{"1330868975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869006, 1330868958, 1330869015, 1330869023, 1330869002, 1330868975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47822690010071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:27:33.219645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_24_9360.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_35_10399.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_45_10411.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_55_9355.jpg', '/home/pi/Desktop/images/23012025/18/03/image_23012025_18_04_05_10449.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_25_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_24_9360.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_35_10399.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_45_10411.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_03_55_9355.jpg
/home/pi/Desktop/images/23012025/18/03/image_23012025_18_04_05_10449.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_25_10371.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":["1330869201","1330869204","1330869197","1330869065","1330869181","1330869178"],"photo_ids_order":["1330869065","1330869178","1330869181","1330869197","1330869201","1330869204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b798a866a18d7e601fc0ad2dd196bb0.jpg","text":"TemporaryFile(/tmp/multipartBody7078473084639594628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664114247,"filename":"image_23012025_18_04_05_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d35e48fcc74b2d46d13d0782031441e0.jpg","text":"TemporaryFile(/tmp/multipartBody2379959950653134941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664114247,"filename":"image_23012025_18_04_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cea34ec951d4b8d3ed6fafbbba4ba6ea.jpg","text":"TemporaryFile(/tmp/multipartBody7504490533589773888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664114247,"filename":"image_23012025_18_03_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/270d261904b4da21e4bf6f3c8645fccc.jpg","text":"TemporaryFile(/tmp/multipartBody3583049547672259611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664114247,"filename":"image_23012025_18_03_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d05e95f49575bb1981cdee73549008cb.jpg","text":"TemporaryFile(/tmp/multipartBody8484049569395055097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664114247,"filename":"image_23012025_18_03_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ad9de6f549a49cf62cacc5e5fcd67ac.jpg","text":"TemporaryFile(/tmp/multipartBody2314740344420748405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664114247,"filename":"image_23012025_18_03_35_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869181","file1":"1330869178","file0":"1330869065","file4":"1330869201","file5":"1330869204","file3":"1330869197"},"map_files_photo_id_array":[{"photo_id":"1330869204","filename":"file5"},{"photo_id":"1330869181","filename":"file2"},{"photo_id":"1330869201","filename":"file4"},{"photo_id":"1330869178","filename":"file1"},{"photo_id":"1330869065","filename":"file0"},{"photo_id":"1330869197","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869201":["hashtag1","hashtag2"]},{"1330869204":["hashtag1","hashtag2"]},{"1330869197":["hashtag1","hashtag2"]},{"1330869065":["hashtag1","hashtag2"]},{"1330869181":["hashtag1","hashtag2"]},{"1330869178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869201, 1330869204, 1330869197, 1330869065, 1330869181, 1330869178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07627630233765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:28:32.562774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_35_10386.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_45_9372.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_55_10412.jpg', '/home/pi/Desktop/images/23012025/18/04/image_23012025_18_05_05_10337.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_15_9356.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_25_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_35_10386.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_45_9372.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_04_55_10412.jpg
/home/pi/Desktop/images/23012025/18/04/image_23012025_18_05_05_10337.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_15_9356.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_25_10453.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":["1330869249","1330869240","1330869234","1330869237","1330869257","1330869253"],"photo_ids_order":["1330869234","1330869237","1330869240","1330869249","1330869253","1330869257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/019d6000c78f746b0dcae558117df5f5.jpg","text":"TemporaryFile(/tmp/multipartBody287815272259172214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664173565,"filename":"image_23012025_18_05_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c3c2ea6f89e5e3a89dbae7104c73659.jpg","text":"TemporaryFile(/tmp/multipartBody6217209046232182105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664173565,"filename":"image_23012025_18_04_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aca892025a182356bcfbbb4a6c232cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4862084112870093172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664173565,"filename":"image_23012025_18_04_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61ba5f7a31792a9ab8803fd0406e945b.jpg","text":"TemporaryFile(/tmp/multipartBody1268157920031035338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664173565,"filename":"image_23012025_18_04_45_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/670490000da44d976f5ee5f79c5523b9.jpg","text":"TemporaryFile(/tmp/multipartBody4778557383563085468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664173565,"filename":"image_23012025_18_05_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c49a3c610e8ce70ed36872da078040b3.jpg","text":"TemporaryFile(/tmp/multipartBody1229800723462867984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664173565,"filename":"image_23012025_18_05_15_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869240","file1":"1330869237","file0":"1330869234","file4":"1330869253","file5":"1330869257","file3":"1330869249"},"map_files_photo_id_array":[{"photo_id":"1330869257","filename":"file5"},{"photo_id":"1330869240","filename":"file2"},{"photo_id":"1330869253","filename":"file4"},{"photo_id":"1330869237","filename":"file1"},{"photo_id":"1330869234","filename":"file0"},{"photo_id":"1330869249","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869249":["hashtag1","hashtag2"]},{"1330869240":["hashtag1","hashtag2"]},{"1330869234":["hashtag1","hashtag2"]},{"1330869237":["hashtag1","hashtag2"]},{"1330869257":["hashtag1","hashtag2"]},{"1330869253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869249, 1330869240, 1330869234, 1330869237, 1330869257, 1330869253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88043141365051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:29:32.724110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_34_9349.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_45_10333.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_55_10376.jpg', '/home/pi/Desktop/images/23012025/18/05/image_23012025_18_06_05_9417.jpg', '/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_15_10357.jpg', '/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_24_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_34_9349.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_45_10333.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_05_55_10376.jpg
/home/pi/Desktop/images/23012025/18/05/image_23012025_18_06_05_9417.jpg
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_15_10357.jpg
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_24_9423.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":["1330869309","1330869312","1330869305","1330869298","1330869301","1330869291"],"photo_ids_order":["1330869291","1330869298","1330869301","1330869305","1330869309","1330869312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be631c02178b3f74403398b6e04fa9a0.jpg","text":"TemporaryFile(/tmp/multipartBody1439820853886493055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664233733,"filename":"image_23012025_18_06_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9e76fafa05e78f0937c381118bd8f34.jpg","text":"TemporaryFile(/tmp/multipartBody4067800626186932885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664233733,"filename":"image_23012025_18_06_24_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6a004eef5a96c95f9da2103a05c0f9d4.jpg","text":"TemporaryFile(/tmp/multipartBody7328716350435705303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664233733,"filename":"image_23012025_18_06_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc8769f5ed4f94b1ccf8b99a51d317f9.jpg","text":"TemporaryFile(/tmp/multipartBody5011689602295703373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664233733,"filename":"image_23012025_18_05_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84d25c5a14b97cb7087e02d46d766a9c.jpg","text":"TemporaryFile(/tmp/multipartBody8516620687775833259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664233733,"filename":"image_23012025_18_05_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3df9e1ea2e0171202d4844e47c839022.jpg","text":"TemporaryFile(/tmp/multipartBody763582414167248516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664233733,"filename":"image_23012025_18_05_34_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869301","file1":"1330869298","file0":"1330869291","file4":"1330869309","file5":"1330869312","file3":"1330869305"},"map_files_photo_id_array":[{"photo_id":"1330869312","filename":"file5"},{"photo_id":"1330869301","filename":"file2"},{"photo_id":"1330869309","filename":"file4"},{"photo_id":"1330869298","filename":"file1"},{"photo_id":"1330869291","filename":"file0"},{"photo_id":"1330869305","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869309":["hashtag1","hashtag2"]},{"1330869312":["hashtag1","hashtag2"]},{"1330869305":["hashtag1","hashtag2"]},{"1330869298":["hashtag1","hashtag2"]},{"1330869301":["hashtag1","hashtag2"]},{"1330869291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869309, 1330869312, 1330869305, 1330869298, 1330869301, 1330869291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01595497131348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:30:33.006615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_35_10341.jpg', '/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_55_9412.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_15_10354.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_25_9414.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_35_10404.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_35_10341.jpg
/home/pi/Desktop/images/23012025/18/06/image_23012025_18_06_55_9412.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_15_10354.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_25_9414.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_35_10404.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_44_9341.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":["1330869351","1330869360","1330869350","1330869353","1330869370","1330869355"],"photo_ids_order":["1330869350","1330869351","1330869353","1330869355","1330869360","1330869370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c1cc30898106101a052ff2b509eb40d.jpg","text":"TemporaryFile(/tmp/multipartBody2200366676151331397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664294006,"filename":"image_23012025_18_06_55_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b1e77a0b50db60f50f7de6c7c6e7678.jpg","text":"TemporaryFile(/tmp/multipartBody8115590523659703325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664294006,"filename":"image_23012025_18_07_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd6bd12f78056122016d8dac736f4cff.jpg","text":"TemporaryFile(/tmp/multipartBody3452170858654594791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664294006,"filename":"image_23012025_18_06_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5b82a0a06b79df1a803e39d3174b348a.jpg","text":"TemporaryFile(/tmp/multipartBody9105147003482620443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664294006,"filename":"image_23012025_18_07_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20443c30b527fe0ca499f8973756c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8399850842155108182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664294006,"filename":"image_23012025_18_07_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef871ed53adfb9cc03f57a8e4dc3d7c6.jpg","text":"TemporaryFile(/tmp/multipartBody8685200841340946503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664294006,"filename":"image_23012025_18_07_25_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869353","file1":"1330869351","file0":"1330869350","file4":"1330869360","file5":"1330869370","file3":"1330869355"},"map_files_photo_id_array":[{"photo_id":"1330869370","filename":"file5"},{"photo_id":"1330869353","filename":"file2"},{"photo_id":"1330869360","filename":"file4"},{"photo_id":"1330869351","filename":"file1"},{"photo_id":"1330869350","filename":"file0"},{"photo_id":"1330869355","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869351":["hashtag1","hashtag2"]},{"1330869360":["hashtag1","hashtag2"]},{"1330869350":["hashtag1","hashtag2"]},{"1330869353":["hashtag1","hashtag2"]},{"1330869370":["hashtag1","hashtag2"]},{"1330869355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869351, 1330869360, 1330869350, 1330869353, 1330869370, 1330869355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.276697397232056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:31:33.062783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_55_10363.jpg', '/home/pi/Desktop/images/23012025/18/07/image_23012025_18_08_05_10351.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_14_9326.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_25_10337.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_35_10349.jpg', '/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_44_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_07_55_10363.jpg
/home/pi/Desktop/images/23012025/18/07/image_23012025_18_08_05_10351.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_14_9326.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_25_10337.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_35_10349.jpg
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_44_9390.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":["1330869450","1330869423","1330869419","1330869448","1330869442","1330869409"],"photo_ids_order":["1330869409","1330869419","1330869423","1330869442","1330869448","1330869450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e3d9bf469b888b070f4e26e6e9b4ced.jpg","text":"TemporaryFile(/tmp/multipartBody7389728868122969125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664354256,"filename":"image_23012025_18_08_44_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b5a9ac74d31d1d6f4005932ccf0a186.jpg","text":"TemporaryFile(/tmp/multipartBody3555467277720287582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664354256,"filename":"image_23012025_18_08_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4413cae3929cbc7ea3cf997c1c676b4.jpg","text":"TemporaryFile(/tmp/multipartBody8169346302703631509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664354256,"filename":"image_23012025_18_08_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/959bb259a8007cc7a6ad5b79cbcec16b.jpg","text":"TemporaryFile(/tmp/multipartBody2593782138934023643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664354256,"filename":"image_23012025_18_08_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef77f78249b6cb489d0547c2930af998.jpg","text":"TemporaryFile(/tmp/multipartBody8669660868946588045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664354256,"filename":"image_23012025_18_08_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98faa76ede108eb563d298b4471fc409.jpg","text":"TemporaryFile(/tmp/multipartBody1714574261075372059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664354256,"filename":"image_23012025_18_07_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869423","file1":"1330869419","file0":"1330869409","file4":"1330869448","file5":"1330869450","file3":"1330869442"},"map_files_photo_id_array":[{"photo_id":"1330869450","filename":"file5"},{"photo_id":"1330869423","filename":"file2"},{"photo_id":"1330869448","filename":"file4"},{"photo_id":"1330869419","filename":"file1"},{"photo_id":"1330869409","filename":"file0"},{"photo_id":"1330869442","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869450":["hashtag1","hashtag2"]},{"1330869423":["hashtag1","hashtag2"]},{"1330869419":["hashtag1","hashtag2"]},{"1330869448":["hashtag1","hashtag2"]},{"1330869442":["hashtag1","hashtag2"]},{"1330869409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869450, 1330869423, 1330869419, 1330869448, 1330869442, 1330869409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85628032684326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:32:33.122166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_55_10364.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_15_9460.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_25_10558.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_35_9357.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_45_10441.jpg', '/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/08/image_23012025_18_08_55_10364.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_15_9460.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_25_10558.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_35_9357.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_45_10441.jpg
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_09_54_9433.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":["1330869819","1330869746","1330869869","1330869760","1330869823","1330869754"],"photo_ids_order":["1330869746","1330869754","1330869760","1330869819","1330869823","1330869869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8acc903daa52d1ba45b50506ce8b144.jpg","text":"TemporaryFile(/tmp/multipartBody5956053720067152936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664414137,"filename":"image_23012025_18_09_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa72055cb4d08e935fad32d195af6725.jpg","text":"TemporaryFile(/tmp/multipartBody4378279584854126109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664414137,"filename":"image_23012025_18_08_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8157079d8f9cda68fe893bdfa99e3b36.jpg","text":"TemporaryFile(/tmp/multipartBody6749961000154562378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664414137,"filename":"image_23012025_18_09_54_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b370f88b7c8734b9ab2133a82aceade2.jpg","text":"TemporaryFile(/tmp/multipartBody3280495264576795757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664414137,"filename":"image_23012025_18_09_25_10558.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbd2eb5f50314add1c7c7ea9253de100.jpg","text":"TemporaryFile(/tmp/multipartBody8301845589938411677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664414137,"filename":"image_23012025_18_09_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/adf0cae3b8a8c8f7c03a0817df01cabe.jpg","text":"TemporaryFile(/tmp/multipartBody8473858687472771728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664414137,"filename":"image_23012025_18_09_15_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869760","file1":"1330869754","file0":"1330869746","file4":"1330869823","file5":"1330869869","file3":"1330869819"},"map_files_photo_id_array":[{"photo_id":"1330869869","filename":"file5"},{"photo_id":"1330869760","filename":"file2"},{"photo_id":"1330869823","filename":"file4"},{"photo_id":"1330869754","filename":"file1"},{"photo_id":"1330869746","filename":"file0"},{"photo_id":"1330869819","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869819":["hashtag1","hashtag2"]},{"1330869746":["hashtag1","hashtag2"]},{"1330869869":["hashtag1","hashtag2"]},{"1330869760":["hashtag1","hashtag2"]},{"1330869823":["hashtag1","hashtag2"]},{"1330869754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869819, 1330869746, 1330869869, 1330869760, 1330869823, 1330869754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38181471824646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:33:32.533613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/09/image_23012025_18_10_05_10339.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_14_9455.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_25_10342.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_35_10465.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_44_9333.jpg', '/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_55_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/09/image_23012025_18_10_05_10339.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_14_9455.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_25_10342.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_35_10465.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_44_9333.jpg
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_10_55_10358.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":["1330869920","1330869917","1330869905","1330869913","1330869897","1330869894"],"photo_ids_order":["1330869894","1330869897","1330869905","1330869913","1330869917","1330869920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/419c84b216cfbcd3874d9b30f436721d.jpg","text":"TemporaryFile(/tmp/multipartBody4567488455364561629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664473575,"filename":"image_23012025_18_10_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2543505f431355eb67eb6fc194ba774.jpg","text":"TemporaryFile(/tmp/multipartBody8116838871614927939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664473575,"filename":"image_23012025_18_10_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b2de221d4b0ec14d81f962229eb3713.jpg","text":"TemporaryFile(/tmp/multipartBody7209613647606284915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664473575,"filename":"image_23012025_18_10_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6122fd55fb7d9e5d095c21b94d1d54ab.jpg","text":"TemporaryFile(/tmp/multipartBody6347132927332161941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664473575,"filename":"image_23012025_18_10_35_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea643503adcf920dcb57e5349432e931.jpg","text":"TemporaryFile(/tmp/multipartBody2714590231145628230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664473575,"filename":"image_23012025_18_10_14_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b9a9a0b8b992e856d197c4847e941a6.jpg","text":"TemporaryFile(/tmp/multipartBody3648559230094077963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664473575,"filename":"image_23012025_18_10_05_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330869905","file1":"1330869897","file0":"1330869894","file4":"1330869917","file5":"1330869920","file3":"1330869913"},"map_files_photo_id_array":[{"photo_id":"1330869920","filename":"file5"},{"photo_id":"1330869905","filename":"file2"},{"photo_id":"1330869917","filename":"file4"},{"photo_id":"1330869897","filename":"file1"},{"photo_id":"1330869894","filename":"file0"},{"photo_id":"1330869913","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330869920":["hashtag1","hashtag2"]},{"1330869917":["hashtag1","hashtag2"]},{"1330869905":["hashtag1","hashtag2"]},{"1330869913":["hashtag1","hashtag2"]},{"1330869897":["hashtag1","hashtag2"]},{"1330869894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330869920, 1330869917, 1330869905, 1330869913, 1330869897, 1330869894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.988125801086426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:34:32.534297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/10/image_23012025_18_11_05_10397.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_14_9328.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_25_10413.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_34_9408.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_45_10352.jpg', '/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_55_10491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/10/image_23012025_18_11_05_10397.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_14_9328.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_25_10413.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_34_9408.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_45_10352.jpg
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_11_55_10491.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":["1330870041","1330870023","1330870026","1330870040","1330870037","1330870039"],"photo_ids_order":["1330870023","1330870026","1330870037","1330870039","1330870040","1330870041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c470aa08352edc872beb18b195b537d8.jpg","text":"TemporaryFile(/tmp/multipartBody5945251027652579454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664533568,"filename":"image_23012025_18_11_55_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e59b1d3e641ee690edd81c4f02a799d3.jpg","text":"TemporaryFile(/tmp/multipartBody8164238191920850009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664533568,"filename":"image_23012025_18_11_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40c3f15585670be11cc3471194d992c5.jpg","text":"TemporaryFile(/tmp/multipartBody8191531027768158846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664533568,"filename":"image_23012025_18_11_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/834e2f5da66b4c9d7f70cbd036448383.jpg","text":"TemporaryFile(/tmp/multipartBody3485172409953659044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664533568,"filename":"image_23012025_18_11_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73c64e9e38410a7850af64b22de7906e.jpg","text":"TemporaryFile(/tmp/multipartBody6410775893823874154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664533568,"filename":"image_23012025_18_11_25_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/786f0ae134f15746079a3e04e1ad685d.jpg","text":"TemporaryFile(/tmp/multipartBody8150867603353101843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664533568,"filename":"image_23012025_18_11_34_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870037","file1":"1330870026","file0":"1330870023","file4":"1330870040","file5":"1330870041","file3":"1330870039"},"map_files_photo_id_array":[{"photo_id":"1330870041","filename":"file5"},{"photo_id":"1330870037","filename":"file2"},{"photo_id":"1330870040","filename":"file4"},{"photo_id":"1330870026","filename":"file1"},{"photo_id":"1330870023","filename":"file0"},{"photo_id":"1330870039","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870041":["hashtag1","hashtag2"]},{"1330870023":["hashtag1","hashtag2"]},{"1330870026":["hashtag1","hashtag2"]},{"1330870040":["hashtag1","hashtag2"]},{"1330870037":["hashtag1","hashtag2"]},{"1330870039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870041, 1330870023, 1330870026, 1330870040, 1330870037, 1330870039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.524285554885864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:35:32.883406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/11/image_23012025_18_12_05_9356.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_15_10519.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_24_9378.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_35_10370.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_45_10370.jpg', '/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_54_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/11/image_23012025_18_12_05_9356.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_15_10519.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_24_9378.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_35_10370.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_45_10370.jpg
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_12_54_9350.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":["1330870105","1330870095","1330870077","1330870089","1330870080","1330870103"],"photo_ids_order":["1330870077","1330870080","1330870089","1330870095","1330870103","1330870105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/328e4a8813e7dbf2add60de3fbe77150.jpg","text":"TemporaryFile(/tmp/multipartBody4086957542160989013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664593928,"filename":"image_23012025_18_12_54_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68454ff53451eb1caa1e0cce55f3118c.jpg","text":"TemporaryFile(/tmp/multipartBody7710014178329536622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664593928,"filename":"image_23012025_18_12_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2e214893ee0c686ba2af84e7aa761f9a.jpg","text":"TemporaryFile(/tmp/multipartBody2519017243101687554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664593928,"filename":"image_23012025_18_12_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6f2b5e18a827f53f3f864c4d2066c38b.jpg","text":"TemporaryFile(/tmp/multipartBody5006026600058315463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664593928,"filename":"image_23012025_18_12_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/985e16ddd9b37cc4fdfae978c0f7f470.jpg","text":"TemporaryFile(/tmp/multipartBody4570978813196111969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664593928,"filename":"image_23012025_18_12_15_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/60bfdff2647bbb8e2c1d38516d7bf3e0.jpg","text":"TemporaryFile(/tmp/multipartBody1355403693587106229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664593928,"filename":"image_23012025_18_12_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870089","file1":"1330870080","file0":"1330870077","file4":"1330870103","file5":"1330870105","file3":"1330870095"},"map_files_photo_id_array":[{"photo_id":"1330870105","filename":"file5"},{"photo_id":"1330870089","filename":"file2"},{"photo_id":"1330870103","filename":"file4"},{"photo_id":"1330870080","filename":"file1"},{"photo_id":"1330870077","filename":"file0"},{"photo_id":"1330870095","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870105":["hashtag1","hashtag2"]},{"1330870095":["hashtag1","hashtag2"]},{"1330870077":["hashtag1","hashtag2"]},{"1330870089":["hashtag1","hashtag2"]},{"1330870080":["hashtag1","hashtag2"]},{"1330870103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870105, 1330870095, 1330870077, 1330870089, 1330870080, 1330870103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36863994598389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:36:32.991043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/12/image_23012025_18_13_05_10332.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_15_10361.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_25_9358.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_35_10354.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_44_9401.jpg', '/home/pi/Desktop/images/23012025/18/13/image_23012025_18_14_05_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/12/image_23012025_18_13_05_10332.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_15_10361.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_25_9358.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_35_10354.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_13_44_9401.jpg
/home/pi/Desktop/images/23012025/18/13/image_23012025_18_14_05_10424.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":["1330870210","1330870164","1330870200","1330870241","1330870205","1330870258"],"photo_ids_order":["1330870164","1330870200","1330870205","1330870210","1330870241","1330870258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb7d1f72ee6b3a2178d5c0539a2e54c9.jpg","text":"TemporaryFile(/tmp/multipartBody6142359805341161494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664654000,"filename":"image_23012025_18_13_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f26b3ce76d8fd703d04952d02e824910.jpg","text":"TemporaryFile(/tmp/multipartBody872029666292318175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664654000,"filename":"image_23012025_18_13_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ceb54c0d63194b51dee90630c87fdf48.jpg","text":"TemporaryFile(/tmp/multipartBody4954606220015004982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664654000,"filename":"image_23012025_18_13_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dfe88db29da5dfe9c1da08d636f5a43f.jpg","text":"TemporaryFile(/tmp/multipartBody3866397994019205958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664654000,"filename":"image_23012025_18_13_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40fb1922fa392e841b05f292312f663b.jpg","text":"TemporaryFile(/tmp/multipartBody927093269473627539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664654000,"filename":"image_23012025_18_13_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/405b28de4c6551821f8ec67ae667cc0c.jpg","text":"TemporaryFile(/tmp/multipartBody1420752430595371562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664654000,"filename":"image_23012025_18_14_05_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870205","file1":"1330870200","file0":"1330870164","file4":"1330870241","file5":"1330870258","file3":"1330870210"},"map_files_photo_id_array":[{"photo_id":"1330870258","filename":"file5"},{"photo_id":"1330870205","filename":"file2"},{"photo_id":"1330870241","filename":"file4"},{"photo_id":"1330870200","filename":"file1"},{"photo_id":"1330870164","filename":"file0"},{"photo_id":"1330870210","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870210":["hashtag1","hashtag2"]},{"1330870164":["hashtag1","hashtag2"]},{"1330870200":["hashtag1","hashtag2"]},{"1330870241":["hashtag1","hashtag2"]},{"1330870205":["hashtag1","hashtag2"]},{"1330870258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870210, 1330870164, 1330870200, 1330870241, 1330870205, 1330870258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.996666431427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:37:33.182645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_14_9332.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_25_10396.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_34_9473.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_45_10355.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_55_10416.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_15_04_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_14_9332.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_25_10396.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_34_9473.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_45_10355.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_55_10416.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_15_04_9353.jpg
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: 0.6355268955230713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:37:43.305530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_14_9332.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_25_10396.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_34_9473.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_45_10355.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_55_10416.jpg', '/home/pi/Desktop/images/23012025/18/14/image_23012025_18_15_04_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_14_9332.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_25_10396.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_34_9473.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_45_10355.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_14_55_10416.jpg
/home/pi/Desktop/images/23012025/18/14/image_23012025_18_15_04_9353.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":["1330870392","1330870405","1330870377","1330870413","1330870396","1330870384"],"photo_ids_order":["1330870377","1330870384","1330870392","1330870396","1330870405","1330870413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bac84089a3f2f8a37f24405734fca001.jpg","text":"TemporaryFile(/tmp/multipartBody4565590204737910221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664724261,"filename":"image_23012025_18_14_34_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7cc8e628e62f6714a21bc34c3978ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6672640153120362793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664724261,"filename":"image_23012025_18_14_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f36ba145e5c7972ffc24e17dcee68be.jpg","text":"TemporaryFile(/tmp/multipartBody1525027661293837573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664724261,"filename":"image_23012025_18_14_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99692aa07a891e81d1ac58b01c9254d5.jpg","text":"TemporaryFile(/tmp/multipartBody6860056372781241709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664724261,"filename":"image_23012025_18_15_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7b6576f372b2e819d70d8b20e7c4f322.jpg","text":"TemporaryFile(/tmp/multipartBody2458463939227682827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664724261,"filename":"image_23012025_18_14_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5893c5e6cc5aba4d40d833cc8c6c4979.jpg","text":"TemporaryFile(/tmp/multipartBody6258698291074925223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664724261,"filename":"image_23012025_18_14_25_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870392","file1":"1330870384","file0":"1330870377","file4":"1330870405","file5":"1330870413","file3":"1330870396"},"map_files_photo_id_array":[{"photo_id":"1330870413","filename":"file5"},{"photo_id":"1330870392","filename":"file2"},{"photo_id":"1330870405","filename":"file4"},{"photo_id":"1330870384","filename":"file1"},{"photo_id":"1330870377","filename":"file0"},{"photo_id":"1330870396","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870392":["hashtag1","hashtag2"]},{"1330870405":["hashtag1","hashtag2"]},{"1330870377":["hashtag1","hashtag2"]},{"1330870413":["hashtag1","hashtag2"]},{"1330870396":["hashtag1","hashtag2"]},{"1330870384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870392, 1330870405, 1330870377, 1330870413, 1330870396, 1330870384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69513940811157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:38:34.014141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_15_10410.jpg', '/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_25_10359.jpg', '/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_35_9390.jpg', '/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_45_10500.jpg', '/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_54_9336.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_15_10410.jpg
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_25_10359.jpg
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_35_9390.jpg
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_45_10500.jpg
/home/pi/Desktop/images/23012025/18/15/image_23012025_18_15_54_9336.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_15_10349.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":["1330870488","1330870452","1330870493","1330870445","1330870439","1330870456"],"photo_ids_order":["1330870439","1330870445","1330870452","1330870456","1330870488","1330870493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/62d746b0983a38014c245357ec55aab4.jpg","text":"TemporaryFile(/tmp/multipartBody1290730896107650795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664775049,"filename":"image_23012025_18_15_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aa3a03b15479515787c19c2a1cec29fe.jpg","text":"TemporaryFile(/tmp/multipartBody8222764214840583514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664775049,"filename":"image_23012025_18_15_35_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/900d5d4bf1b321deaf254567871e7b70.jpg","text":"TemporaryFile(/tmp/multipartBody7166745922721911422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664775049,"filename":"image_23012025_18_16_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f89c9dd39689b422e210627c669d4c0.jpg","text":"TemporaryFile(/tmp/multipartBody8979617184298671459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664775049,"filename":"image_23012025_18_15_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02b14c3f0802283cf32ea72492618783.jpg","text":"TemporaryFile(/tmp/multipartBody6773855082602579432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664775049,"filename":"image_23012025_18_15_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff13799d48caee85cf8f4a8af06188e6.jpg","text":"TemporaryFile(/tmp/multipartBody8338166564266318518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664775049,"filename":"image_23012025_18_15_45_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870452","file1":"1330870445","file0":"1330870439","file4":"1330870488","file5":"1330870493","file3":"1330870456"},"map_files_photo_id_array":[{"photo_id":"1330870493","filename":"file5"},{"photo_id":"1330870452","filename":"file2"},{"photo_id":"1330870488","filename":"file4"},{"photo_id":"1330870445","filename":"file1"},{"photo_id":"1330870439","filename":"file0"},{"photo_id":"1330870456","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870488":["hashtag1","hashtag2"]},{"1330870452":["hashtag1","hashtag2"]},{"1330870493":["hashtag1","hashtag2"]},{"1330870445":["hashtag1","hashtag2"]},{"1330870439":["hashtag1","hashtag2"]},{"1330870456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870488, 1330870452, 1330870493, 1330870445, 1330870439, 1330870456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79049468040466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:39:32.911360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_35_10466.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_44_9324.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_55_10365.jpg', '/home/pi/Desktop/images/23012025/18/16/image_23012025_18_17_05_10355.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_14_9343.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_35_10466.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_44_9324.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_16_55_10365.jpg
/home/pi/Desktop/images/23012025/18/16/image_23012025_18_17_05_10355.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_14_9343.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_25_10351.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":["1330870590","1330870581","1330870586","1330870571","1330870576","1330870549"],"photo_ids_order":["1330870549","1330870571","1330870576","1330870581","1330870586","1330870590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ea9d6ccc17818406e1e321b6333d37f.jpg","text":"TemporaryFile(/tmp/multipartBody4408908286347390616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664833935,"filename":"image_23012025_18_17_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e61cf7d0cc6c38aebd3b78dc8651d42.jpg","text":"TemporaryFile(/tmp/multipartBody4630968658980276357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664833935,"filename":"image_23012025_18_17_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7d9b07e61aedd473806f2527faff5af.jpg","text":"TemporaryFile(/tmp/multipartBody7811439381533368710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664833935,"filename":"image_23012025_18_17_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d17de8ba7af0d4286960f6a605c805db.jpg","text":"TemporaryFile(/tmp/multipartBody3554474404629416445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664833935,"filename":"image_23012025_18_16_44_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5ebee815bd4034e2edda6bce11c0443.jpg","text":"TemporaryFile(/tmp/multipartBody7068272678126070666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664833935,"filename":"image_23012025_18_16_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dc564b519e88908dc6bba3059326e25.jpg","text":"TemporaryFile(/tmp/multipartBody5999446055116355454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664833935,"filename":"image_23012025_18_16_35_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870576","file1":"1330870571","file0":"1330870549","file4":"1330870586","file5":"1330870590","file3":"1330870581"},"map_files_photo_id_array":[{"photo_id":"1330870590","filename":"file5"},{"photo_id":"1330870576","filename":"file2"},{"photo_id":"1330870586","filename":"file4"},{"photo_id":"1330870571","filename":"file1"},{"photo_id":"1330870549","filename":"file0"},{"photo_id":"1330870581","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870590":["hashtag1","hashtag2"]},{"1330870581":["hashtag1","hashtag2"]},{"1330870586":["hashtag1","hashtag2"]},{"1330870571":["hashtag1","hashtag2"]},{"1330870576":["hashtag1","hashtag2"]},{"1330870549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870590, 1330870581, 1330870586, 1330870571, 1330870576, 1330870549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.814138889312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:40:33.103447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_35_10432.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_45_9357.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_55_10362.jpg', '/home/pi/Desktop/images/23012025/18/17/image_23012025_18_18_04_9338.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_15_10333.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_25_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_35_10432.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_45_9357.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_17_55_10362.jpg
/home/pi/Desktop/images/23012025/18/17/image_23012025_18_18_04_9338.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_15_10333.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_25_10449.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":["1330870644","1330870670","1330870640","1330870654","1330870636","1330870627"],"photo_ids_order":["1330870627","1330870636","1330870640","1330870644","1330870654","1330870670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e70de8c44b4d3ab7f5a5b5e908448be.jpg","text":"TemporaryFile(/tmp/multipartBody6082490743298632727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664894229,"filename":"image_23012025_18_18_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/527eaadc12cc19affd69a17876f6a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody627645947472997085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664894229,"filename":"image_23012025_18_18_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57cc96e3ff1b1d77e9c0f03ba91ee178.jpg","text":"TemporaryFile(/tmp/multipartBody5463591899108098216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664894229,"filename":"image_23012025_18_17_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2d2cdf4f870233f01c6fe54afbdff79.jpg","text":"TemporaryFile(/tmp/multipartBody4948667043975186721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664894229,"filename":"image_23012025_18_18_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8a5c7200321757605b29057c0285692e.jpg","text":"TemporaryFile(/tmp/multipartBody64895428594420138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664894229,"filename":"image_23012025_18_17_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f0fed3dc0ce233549c0f8c5f3b55c963.jpg","text":"TemporaryFile(/tmp/multipartBody3282689978503026501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664894229,"filename":"image_23012025_18_17_35_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870640","file1":"1330870636","file0":"1330870627","file4":"1330870654","file5":"1330870670","file3":"1330870644"},"map_files_photo_id_array":[{"photo_id":"1330870670","filename":"file5"},{"photo_id":"1330870640","filename":"file2"},{"photo_id":"1330870654","filename":"file4"},{"photo_id":"1330870636","filename":"file1"},{"photo_id":"1330870627","filename":"file0"},{"photo_id":"1330870644","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870644":["hashtag1","hashtag2"]},{"1330870670":["hashtag1","hashtag2"]},{"1330870640":["hashtag1","hashtag2"]},{"1330870654":["hashtag1","hashtag2"]},{"1330870636":["hashtag1","hashtag2"]},{"1330870627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870644, 1330870670, 1330870640, 1330870654, 1330870636, 1330870627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26674556732178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:41:32.363590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_34_9343.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_45_10331.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_55_10393.jpg', '/home/pi/Desktop/images/23012025/18/18/image_23012025_18_19_04_9377.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_15_10338.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_35_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_34_9343.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_45_10331.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_18_55_10393.jpg
/home/pi/Desktop/images/23012025/18/18/image_23012025_18_19_04_9377.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_15_10338.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_35_9345.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":["1330870770","1330870761","1330870758","1330870757","1330870766","1330870777"],"photo_ids_order":["1330870757","1330870758","1330870761","1330870766","1330870770","1330870777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8a9ad8a88b406e9b1dd1da4b9be6f18.jpg","text":"TemporaryFile(/tmp/multipartBody2132554780777207218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664953390,"filename":"image_23012025_18_19_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12d56103b640ab57f798ca2382a50cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3299993980883366774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664953390,"filename":"image_23012025_18_18_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ac4b4dae72898f78969bc25ffa2e342.jpg","text":"TemporaryFile(/tmp/multipartBody4314970750517353925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664953390,"filename":"image_23012025_18_18_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6722e717f60331e82ac54401fe25b5f0.jpg","text":"TemporaryFile(/tmp/multipartBody2187364960910939799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664953390,"filename":"image_23012025_18_18_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/13773494520fe0c03ce9c6b36fa0276e.jpg","text":"TemporaryFile(/tmp/multipartBody604136377583812192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664953390,"filename":"image_23012025_18_19_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaaf34ed6d79325809217c29a0877e0a.jpg","text":"TemporaryFile(/tmp/multipartBody3067537814823714994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737664953390,"filename":"image_23012025_18_19_35_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870761","file1":"1330870758","file0":"1330870757","file4":"1330870770","file5":"1330870777","file3":"1330870766"},"map_files_photo_id_array":[{"photo_id":"1330870777","filename":"file5"},{"photo_id":"1330870761","filename":"file2"},{"photo_id":"1330870770","filename":"file4"},{"photo_id":"1330870758","filename":"file1"},{"photo_id":"1330870757","filename":"file0"},{"photo_id":"1330870766","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870770":["hashtag1","hashtag2"]},{"1330870761":["hashtag1","hashtag2"]},{"1330870758":["hashtag1","hashtag2"]},{"1330870757":["hashtag1","hashtag2"]},{"1330870766":["hashtag1","hashtag2"]},{"1330870777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870770, 1330870761, 1330870758, 1330870757, 1330870766, 1330870777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.250652551651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:42:32.425616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_45_10332.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_54_9415.jpg', '/home/pi/Desktop/images/23012025/18/19/image_23012025_18_20_05_10356.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_15_10440.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_24_9348.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_45_10332.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_19_54_9415.jpg
/home/pi/Desktop/images/23012025/18/19/image_23012025_18_20_05_10356.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_15_10440.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_24_9348.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_35_10349.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":["1330870878","1330870866","1330870859","1330870907","1330870870","1330870903"],"photo_ids_order":["1330870859","1330870866","1330870870","1330870878","1330870903","1330870907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a8f5cdf41f1927aa8eba91ad2ea15565.jpg","text":"TemporaryFile(/tmp/multipartBody7771508640302581372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665013426,"filename":"image_23012025_18_20_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d822a44d722e8957bba7788aea4b5e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5626126698527636276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665013426,"filename":"image_23012025_18_19_54_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb752091b29ed579c83b813fa61b0a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8735695433348585206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665013426,"filename":"image_23012025_18_19_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e750c0773a70aa077ce72f715f77b9a.jpg","text":"TemporaryFile(/tmp/multipartBody5464056489416197691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665013426,"filename":"image_23012025_18_20_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c675ae3fbe8c18cf3afa47ec76a4b3ad.jpg","text":"TemporaryFile(/tmp/multipartBody5452734274977146450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665013426,"filename":"image_23012025_18_20_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab29b296dfddb9d04b305def69f6f56f.jpg","text":"TemporaryFile(/tmp/multipartBody990368843265773934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665013426,"filename":"image_23012025_18_20_24_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870870","file1":"1330870866","file0":"1330870859","file4":"1330870903","file5":"1330870907","file3":"1330870878"},"map_files_photo_id_array":[{"photo_id":"1330870907","filename":"file5"},{"photo_id":"1330870870","filename":"file2"},{"photo_id":"1330870903","filename":"file4"},{"photo_id":"1330870866","filename":"file1"},{"photo_id":"1330870859","filename":"file0"},{"photo_id":"1330870878","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870878":["hashtag1","hashtag2"]},{"1330870866":["hashtag1","hashtag2"]},{"1330870859":["hashtag1","hashtag2"]},{"1330870907":["hashtag1","hashtag2"]},{"1330870870":["hashtag1","hashtag2"]},{"1330870903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870878, 1330870866, 1330870859, 1330870907, 1330870870, 1330870903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21633315086365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:43:32.722998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_45_10381.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_55_9342.jpg', '/home/pi/Desktop/images/23012025/18/20/image_23012025_18_21_05_10339.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_15_10353.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_25_9353.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_35_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_45_10381.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_20_55_9342.jpg
/home/pi/Desktop/images/23012025/18/20/image_23012025_18_21_05_10339.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_15_10353.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_25_9353.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_35_10359.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":["1330870968","1330870953","1330870970","1330870966","1330870975","1330870957"],"photo_ids_order":["1330870953","1330870957","1330870966","1330870968","1330870970","1330870975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f532aa86a88b638fa427ac234c966b1.jpg","text":"TemporaryFile(/tmp/multipartBody5497241032159594956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665073742,"filename":"image_23012025_18_21_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc4e1b832bccdff994983d07819373bd.jpg","text":"TemporaryFile(/tmp/multipartBody4658087101049086005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665073742,"filename":"image_23012025_18_20_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/418c86e018ebd1a0c9a838de6483b7eb.jpg","text":"TemporaryFile(/tmp/multipartBody5692591982662595447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665073742,"filename":"image_23012025_18_21_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05f7b654f8a5647ea649eecc2e12be78.jpg","text":"TemporaryFile(/tmp/multipartBody3080078774777054347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665073742,"filename":"image_23012025_18_21_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba8ad1c9f32e885ed38ece970eae667e.jpg","text":"TemporaryFile(/tmp/multipartBody1608376530020416376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665073742,"filename":"image_23012025_18_21_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e44e8ec20b12870051d3c0b8d555b351.jpg","text":"TemporaryFile(/tmp/multipartBody8899068144305200707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665073742,"filename":"image_23012025_18_20_55_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330870966","file1":"1330870957","file0":"1330870953","file4":"1330870970","file5":"1330870975","file3":"1330870968"},"map_files_photo_id_array":[{"photo_id":"1330870975","filename":"file5"},{"photo_id":"1330870966","filename":"file2"},{"photo_id":"1330870970","filename":"file4"},{"photo_id":"1330870957","filename":"file1"},{"photo_id":"1330870953","filename":"file0"},{"photo_id":"1330870968","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330870968":["hashtag1","hashtag2"]},{"1330870953":["hashtag1","hashtag2"]},{"1330870970":["hashtag1","hashtag2"]},{"1330870966":["hashtag1","hashtag2"]},{"1330870975":["hashtag1","hashtag2"]},{"1330870957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330870968, 1330870953, 1330870970, 1330870966, 1330870975, 1330870957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80527448654175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:44:32.784761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_44_9428.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_55_10423.jpg', '/home/pi/Desktop/images/23012025/18/21/image_23012025_18_22_05_10465.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_15_9362.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_25_10447.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_34_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_44_9428.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_21_55_10423.jpg
/home/pi/Desktop/images/23012025/18/21/image_23012025_18_22_05_10465.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_15_9362.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_25_10447.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_34_9339.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":["1330871031","1330871040","1330871078","1330871045","1330871050","1330871026"],"photo_ids_order":["1330871026","1330871031","1330871040","1330871045","1330871050","1330871078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4bc2bdb2aff301bdebfe295877dc37fe.jpg","text":"TemporaryFile(/tmp/multipartBody7696408274839658052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665133786,"filename":"image_23012025_18_21_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b1b1f58213013cb31ab00534eae7e78.jpg","text":"TemporaryFile(/tmp/multipartBody1508810213704597855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665133786,"filename":"image_23012025_18_22_05_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5504204f3855172bde4a37ce9fb85553.jpg","text":"TemporaryFile(/tmp/multipartBody7876638324713240263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665133786,"filename":"image_23012025_18_22_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2ec5ce53b9914ec177aa4eb3c8e3a22.jpg","text":"TemporaryFile(/tmp/multipartBody6409682782907914675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665133786,"filename":"image_23012025_18_22_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9f961754acf9cf8e950dd32fca8dcdb.jpg","text":"TemporaryFile(/tmp/multipartBody7513563173804389933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665133786,"filename":"image_23012025_18_22_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e026f0c868cce95b04b9eac4bab7fd73.jpg","text":"TemporaryFile(/tmp/multipartBody527569779996761516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665133786,"filename":"image_23012025_18_21_44_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330871040","file1":"1330871031","file0":"1330871026","file4":"1330871050","file5":"1330871078","file3":"1330871045"},"map_files_photo_id_array":[{"photo_id":"1330871078","filename":"file5"},{"photo_id":"1330871040","filename":"file2"},{"photo_id":"1330871050","filename":"file4"},{"photo_id":"1330871031","filename":"file1"},{"photo_id":"1330871026","filename":"file0"},{"photo_id":"1330871045","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330871031":["hashtag1","hashtag2"]},{"1330871040":["hashtag1","hashtag2"]},{"1330871078":["hashtag1","hashtag2"]},{"1330871045":["hashtag1","hashtag2"]},{"1330871050":["hashtag1","hashtag2"]},{"1330871026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330871031, 1330871040, 1330871078, 1330871045, 1330871050, 1330871026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.944995403289795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:45:33.088800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_45_10373.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_55_10451.jpg', '/home/pi/Desktop/images/23012025/18/22/image_23012025_18_23_05_9350.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_24_9425.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_35_10401.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_45_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_45_10373.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_22_55_10451.jpg
/home/pi/Desktop/images/23012025/18/22/image_23012025_18_23_05_9350.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_24_9425.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_35_10401.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_45_10395.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":["1330871262","1330871228","1330871123","1330871132","1330871260","1330871143"],"photo_ids_order":["1330871123","1330871132","1330871143","1330871228","1330871260","1330871262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38a168882f790be0bf698a74c84dcbb8.jpg","text":"TemporaryFile(/tmp/multipartBody5123875547513848213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665194121,"filename":"image_23012025_18_23_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fd84a4889a3db62aef51f0dc8c0bd42.jpg","text":"TemporaryFile(/tmp/multipartBody2208439234318642374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665194121,"filename":"image_23012025_18_23_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2a45671a5fa80c0a8b89d70f2d868e6.jpg","text":"TemporaryFile(/tmp/multipartBody8760057247204468060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665194121,"filename":"image_23012025_18_22_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42660de52fa9f4d3d63fa101c6bfee9d.jpg","text":"TemporaryFile(/tmp/multipartBody9115748848660259964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665194121,"filename":"image_23012025_18_22_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/650776fbbc7ead40322cdf555f527c54.jpg","text":"TemporaryFile(/tmp/multipartBody7257089429643456432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665194121,"filename":"image_23012025_18_23_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7a689d19f1fe22edcfec9a8d725249f.jpg","text":"TemporaryFile(/tmp/multipartBody6627157604848170044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665194121,"filename":"image_23012025_18_23_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330871143","file1":"1330871132","file0":"1330871123","file4":"1330871260","file5":"1330871262","file3":"1330871228"},"map_files_photo_id_array":[{"photo_id":"1330871262","filename":"file5"},{"photo_id":"1330871143","filename":"file2"},{"photo_id":"1330871260","filename":"file4"},{"photo_id":"1330871132","filename":"file1"},{"photo_id":"1330871123","filename":"file0"},{"photo_id":"1330871228","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330871262":["hashtag1","hashtag2"]},{"1330871228":["hashtag1","hashtag2"]},{"1330871123":["hashtag1","hashtag2"]},{"1330871132":["hashtag1","hashtag2"]},{"1330871260":["hashtag1","hashtag2"]},{"1330871143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330871262, 1330871228, 1330871123, 1330871132, 1330871260, 1330871143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46705436706543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:46:33.160080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_54_9363.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_24_05_10353.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_14_9442.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_25_10344.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_35_10421.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_44_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_54_9363.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_24_05_10353.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_14_9442.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_25_10344.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_35_10421.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_44_9338.jpg
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: 0.6579344272613525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:46:43.203419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_54_9363.jpg', '/home/pi/Desktop/images/23012025/18/23/image_23012025_18_24_05_10353.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_14_9442.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_25_10344.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_35_10421.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_44_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_23_54_9363.jpg
/home/pi/Desktop/images/23012025/18/23/image_23012025_18_24_05_10353.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_14_9442.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_25_10344.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_35_10421.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_44_9338.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":["1330871544","1330871424","1330871576","1330871537","1330871528","1330871569"],"photo_ids_order":["1330871424","1330871528","1330871537","1330871544","1330871569","1330871576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/301abe0c482cc9989ae23e440fbd97dd.jpg","text":"TemporaryFile(/tmp/multipartBody1313522162082564389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665264130,"filename":"image_23012025_18_24_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c5eb8e02ee5475bd18c551f7babd537.jpg","text":"TemporaryFile(/tmp/multipartBody4415312118362141447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665264130,"filename":"image_23012025_18_23_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3aa6bce6b0e709625f9bc4d56338f759.jpg","text":"TemporaryFile(/tmp/multipartBody7151378137647474474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665264130,"filename":"image_23012025_18_24_44_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5661ffe4a139a82fa44fdb2d5b2d1e1.jpg","text":"TemporaryFile(/tmp/multipartBody2416522755843210618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665264130,"filename":"image_23012025_18_24_14_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/30f7ba6216ae5be468fd45fd3dea4df6.jpg","text":"TemporaryFile(/tmp/multipartBody6275262551276353973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665264130,"filename":"image_23012025_18_24_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f156130d981a9bf8b486a57e9e8c4c0f.jpg","text":"TemporaryFile(/tmp/multipartBody2802529411122720057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665264130,"filename":"image_23012025_18_24_35_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330871537","file1":"1330871528","file0":"1330871424","file4":"1330871569","file5":"1330871576","file3":"1330871544"},"map_files_photo_id_array":[{"photo_id":"1330871576","filename":"file5"},{"photo_id":"1330871537","filename":"file2"},{"photo_id":"1330871569","filename":"file4"},{"photo_id":"1330871528","filename":"file1"},{"photo_id":"1330871424","filename":"file0"},{"photo_id":"1330871544","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330871544":["hashtag1","hashtag2"]},{"1330871424":["hashtag1","hashtag2"]},{"1330871576":["hashtag1","hashtag2"]},{"1330871537":["hashtag1","hashtag2"]},{"1330871528":["hashtag1","hashtag2"]},{"1330871569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330871544, 1330871424, 1330871576, 1330871537, 1330871528, 1330871569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.30631375312805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:47:32.412629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_55_10346.jpg', '/home/pi/Desktop/images/23012025/18/24/image_23012025_18_25_05_10335.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_14_9355.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_34_9412.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_45_10349.jpg', '/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_55_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_24_55_10346.jpg
/home/pi/Desktop/images/23012025/18/24/image_23012025_18_25_05_10335.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_14_9355.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_34_9412.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_45_10349.jpg
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_25_55_10469.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":["1330871681","1330871663","1330871606","1330871653","1330871629","1330871632"],"photo_ids_order":["1330871606","1330871629","1330871632","1330871653","1330871663","1330871681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc70a7185ecde163ccf58fd4c2985dbd.jpg","text":"TemporaryFile(/tmp/multipartBody9126726068907708492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665313416,"filename":"image_23012025_18_25_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/198f248f306611920862f4045bffb03a.jpg","text":"TemporaryFile(/tmp/multipartBody814890931732377675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665313416,"filename":"image_23012025_18_25_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f2046f33bfeeee16fe5901e6e239ec5c.jpg","text":"TemporaryFile(/tmp/multipartBody1366696947568968976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665313416,"filename":"image_23012025_18_24_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3200d514fb310b3b06d27546b46f495d.jpg","text":"TemporaryFile(/tmp/multipartBody4610345850547111064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665313416,"filename":"image_23012025_18_25_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea789e1486c698820d419a058f4336b1.jpg","text":"TemporaryFile(/tmp/multipartBody4273910163021469934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665313416,"filename":"image_23012025_18_25_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaef5e7e364107bcd4fa504662f899f7.jpg","text":"TemporaryFile(/tmp/multipartBody2188393788418777961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665313416,"filename":"image_23012025_18_25_14_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330871632","file1":"1330871629","file0":"1330871606","file4":"1330871663","file5":"1330871681","file3":"1330871653"},"map_files_photo_id_array":[{"photo_id":"1330871681","filename":"file5"},{"photo_id":"1330871632","filename":"file2"},{"photo_id":"1330871663","filename":"file4"},{"photo_id":"1330871629","filename":"file1"},{"photo_id":"1330871606","filename":"file0"},{"photo_id":"1330871653","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330871681":["hashtag1","hashtag2"]},{"1330871663":["hashtag1","hashtag2"]},{"1330871606":["hashtag1","hashtag2"]},{"1330871653":["hashtag1","hashtag2"]},{"1330871629":["hashtag1","hashtag2"]},{"1330871632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330871681, 1330871663, 1330871606, 1330871653, 1330871629, 1330871632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00926613807678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:48:32.560899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/25/image_23012025_18_26_04_9354.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_15_10353.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_25_10444.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_35_9380.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_45_10473.jpg', '/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_55_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/25/image_23012025_18_26_04_9354.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_15_10353.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_25_10444.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_35_9380.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_45_10473.jpg
/home/pi/Desktop/images/23012025/18/26/image_23012025_18_26_55_9422.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":["1330871835","1330871829","1330871808","1330871822","1330871833","1330871815"],"photo_ids_order":["1330871808","1330871815","1330871822","1330871829","1330871833","1330871835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f0bbc7aa43783702937f74dc86cbd8c.jpg","text":"TemporaryFile(/tmp/multipartBody9194591499195504871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665373580,"filename":"image_23012025_18_26_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b4bd1c0ac17110cb2a0d15aad1c4ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6480909841581043602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665373580,"filename":"image_23012025_18_26_35_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ea9c03823315c2172dfe5f8414805b77.jpg","text":"TemporaryFile(/tmp/multipartBody74102293763668006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665373580,"filename":"image_23012025_18_26_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/203f6b800bb31616a4e15a9bee950280.jpg","text":"TemporaryFile(/tmp/multipartBody5013829518464427495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665373580,"filename":"image_23012025_18_26_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7845fce8322b901930a96d0b5f51d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1324535238467274272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665373580,"filename":"image_23012025_18_26_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95381b90c782a0f028bc3a7b0a5f455a.jpg","text":"TemporaryFile(/tmp/multipartBody3175776510170559214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665373580,"filename":"image_23012025_18_26_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330871822","file1":"1330871815","file0":"1330871808","file4":"1330871833","file5":"1330871835","file3":"1330871829"},"map_files_photo_id_array":[{"photo_id":"1330871835","filename":"file5"},{"photo_id":"1330871822","filename":"file2"},{"photo_id":"1330871833","filename":"file4"},{"photo_id":"1330871815","filename":"file1"},{"photo_id":"1330871808","filename":"file0"},{"photo_id":"1330871829","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330871835":["hashtag1","hashtag2"]},{"1330871829":["hashtag1","hashtag2"]},{"1330871808":["hashtag1","hashtag2"]},{"1330871822":["hashtag1","hashtag2"]},{"1330871833":["hashtag1","hashtag2"]},{"1330871815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330871835, 1330871829, 1330871808, 1330871822, 1330871833, 1330871815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.031534910202026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:49:32.769556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_15_10344.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_25_9355.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_35_10355.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_44_9366.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_55_10360.jpg', '/home/pi/Desktop/images/23012025/18/27/image_23012025_18_28_05_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_15_10344.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_25_9355.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_35_10355.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_44_9366.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_27_55_10360.jpg
/home/pi/Desktop/images/23012025/18/27/image_23012025_18_28_05_10429.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":["1330871859","1330871867","1330871863","1330871887","1330871872","1330871854"],"photo_ids_order":["1330871854","1330871859","1330871863","1330871867","1330871872","1330871887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65c461405a299736a37b6d5177350390.jpg","text":"TemporaryFile(/tmp/multipartBody1826687835022927846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665433771,"filename":"image_23012025_18_27_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/831d0ee3da9b770006d233b6d5bf6183.jpg","text":"TemporaryFile(/tmp/multipartBody7594347260283374368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665433771,"filename":"image_23012025_18_27_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5beb31810112cc12bb12fcab57c31485.jpg","text":"TemporaryFile(/tmp/multipartBody890916373580549619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665433771,"filename":"image_23012025_18_27_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/430d003bd37eecc5c733854c325551b5.jpg","text":"TemporaryFile(/tmp/multipartBody7818224643582352361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665433771,"filename":"image_23012025_18_28_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6de2e225ded94e50f41411c83b43f64.jpg","text":"TemporaryFile(/tmp/multipartBody3914545944432808094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665433771,"filename":"image_23012025_18_27_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89d1aef3c6ecf9c32923a0e7c0c13d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5119003283315570779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665433771,"filename":"image_23012025_18_27_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330871863","file1":"1330871859","file0":"1330871854","file4":"1330871872","file5":"1330871887","file3":"1330871867"},"map_files_photo_id_array":[{"photo_id":"1330871887","filename":"file5"},{"photo_id":"1330871863","filename":"file2"},{"photo_id":"1330871872","filename":"file4"},{"photo_id":"1330871859","filename":"file1"},{"photo_id":"1330871854","filename":"file0"},{"photo_id":"1330871867","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330871859":["hashtag1","hashtag2"]},{"1330871867":["hashtag1","hashtag2"]},{"1330871863":["hashtag1","hashtag2"]},{"1330871887":["hashtag1","hashtag2"]},{"1330871872":["hashtag1","hashtag2"]},{"1330871854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330871859, 1330871867, 1330871863, 1330871887, 1330871872, 1330871854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19576382637024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:50:32.880974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_14_9358.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_25_10416.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_35_10340.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_45_9365.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_55_10362.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_29_04_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_14_9358.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_25_10416.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_35_10340.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_45_9365.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_55_10362.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_29_04_9350.jpg
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: 0.6041569709777832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:50:42.982954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_14_9358.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_25_10416.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_35_10340.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_45_9365.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_55_10362.jpg', '/home/pi/Desktop/images/23012025/18/28/image_23012025_18_29_04_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_14_9358.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_25_10416.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_35_10340.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_45_9365.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_28_55_10362.jpg
/home/pi/Desktop/images/23012025/18/28/image_23012025_18_29_04_9350.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":["1330871958","1330871975","1330871969","1330871963","1330871939","1330871950"],"photo_ids_order":["1330871939","1330871950","1330871958","1330871963","1330871969","1330871975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/822e468c72f72f0bac2069c45e867b92.jpg","text":"TemporaryFile(/tmp/multipartBody4626727196150306941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665503920,"filename":"image_23012025_18_28_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4cd5ed8ec4d8bf7783d6537b59405e94.jpg","text":"TemporaryFile(/tmp/multipartBody7944364617014887880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665503920,"filename":"image_23012025_18_29_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25e627e59b67e51c09d0f1ff2574c405.jpg","text":"TemporaryFile(/tmp/multipartBody6546994768807474250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665503920,"filename":"image_23012025_18_28_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1ad9fab73dcb4f0d376ff384c287d1b0.jpg","text":"TemporaryFile(/tmp/multipartBody250187830880453840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665503920,"filename":"image_23012025_18_28_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f4640f8c4bc847a8937b0ec912620556.jpg","text":"TemporaryFile(/tmp/multipartBody3363945872396074341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665503920,"filename":"image_23012025_18_28_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05a0b65b60b60565a34a459560926016.jpg","text":"TemporaryFile(/tmp/multipartBody7748722767273380323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665503920,"filename":"image_23012025_18_28_25_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330871958","file1":"1330871950","file0":"1330871939","file4":"1330871969","file5":"1330871975","file3":"1330871963"},"map_files_photo_id_array":[{"photo_id":"1330871975","filename":"file5"},{"photo_id":"1330871958","filename":"file2"},{"photo_id":"1330871969","filename":"file4"},{"photo_id":"1330871950","filename":"file1"},{"photo_id":"1330871939","filename":"file0"},{"photo_id":"1330871963","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330871958":["hashtag1","hashtag2"]},{"1330871975":["hashtag1","hashtag2"]},{"1330871969":["hashtag1","hashtag2"]},{"1330871963":["hashtag1","hashtag2"]},{"1330871939":["hashtag1","hashtag2"]},{"1330871950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330871958, 1330871975, 1330871969, 1330871963, 1330871939, 1330871950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.81273055076599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:51:33.098088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_15_10327.jpg', '/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_25_10405.jpg', '/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_34_9441.jpg', '/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_55_10458.jpg', '/home/pi/Desktop/images/23012025/18/29/image_23012025_18_30_05_9355.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_15_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_15_10327.jpg
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_25_10405.jpg
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_34_9441.jpg
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_29_55_10458.jpg
/home/pi/Desktop/images/23012025/18/29/image_23012025_18_30_05_9355.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_15_10465.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":["1330872006","1330872023","1330872017","1330872052","1330872010","1330871997"],"photo_ids_order":["1330871997","1330872006","1330872010","1330872017","1330872023","1330872052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/061356e80487251a9e07c15a2c66db4e.jpg","text":"TemporaryFile(/tmp/multipartBody707196963588420089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665554242,"filename":"image_23012025_18_29_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/792c6ce4b851c629857fcec37b99df20.jpg","text":"TemporaryFile(/tmp/multipartBody2120566959808022280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665554242,"filename":"image_23012025_18_30_05_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a2b95200c55cfd405dbf0b2e2a617d47.jpg","text":"TemporaryFile(/tmp/multipartBody6389503664443579231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665554242,"filename":"image_23012025_18_29_55_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5f5f3c49756a65d6cdfb73e5d4439ac.jpg","text":"TemporaryFile(/tmp/multipartBody7547045124077760258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665554242,"filename":"image_23012025_18_30_15_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9430056c105a72b515a9348212f410e9.jpg","text":"TemporaryFile(/tmp/multipartBody4363338990733869610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665554242,"filename":"image_23012025_18_29_34_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c611fdf9acc3c891d63b781ba1464f57.jpg","text":"TemporaryFile(/tmp/multipartBody6913556997122599317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665554242,"filename":"image_23012025_18_29_15_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872010","file1":"1330872006","file0":"1330871997","file4":"1330872023","file5":"1330872052","file3":"1330872017"},"map_files_photo_id_array":[{"photo_id":"1330872052","filename":"file5"},{"photo_id":"1330872010","filename":"file2"},{"photo_id":"1330872023","filename":"file4"},{"photo_id":"1330872006","filename":"file1"},{"photo_id":"1330871997","filename":"file0"},{"photo_id":"1330872017","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330872006":["hashtag1","hashtag2"]},{"1330872023":["hashtag1","hashtag2"]},{"1330872017":["hashtag1","hashtag2"]},{"1330872052":["hashtag1","hashtag2"]},{"1330872010":["hashtag1","hashtag2"]},{"1330871997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330872006, 1330872023, 1330872017, 1330872052, 1330872010, 1330871997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.00597786903381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:52:32.192736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_24_9349.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_35_10340.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_45_10430.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_55_9412.jpg', '/home/pi/Desktop/images/23012025/18/30/image_23012025_18_31_05_10337.jpg', '/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_14_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_24_9349.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_35_10340.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_45_10430.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_30_55_9412.jpg
/home/pi/Desktop/images/23012025/18/30/image_23012025_18_31_05_10337.jpg
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_14_9360.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":["1330872108","1330872134","1330872128","1330872101","1330872104","1330872117"],"photo_ids_order":["1330872101","1330872104","1330872108","1330872117","1330872128","1330872134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc24cde91c5145be11fdb2613c026f4e.jpg","text":"TemporaryFile(/tmp/multipartBody857730442779065794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665613195,"filename":"image_23012025_18_30_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c18bbf1f63298739b156673ffef4db3c.jpg","text":"TemporaryFile(/tmp/multipartBody6987195445038391125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665613195,"filename":"image_23012025_18_31_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/094b8fd64840055955d22ec54a650839.jpg","text":"TemporaryFile(/tmp/multipartBody6155505314757075408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665613195,"filename":"image_23012025_18_31_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfc118be7881d8ce515546f8a41c7560.jpg","text":"TemporaryFile(/tmp/multipartBody1362110272521044079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665613195,"filename":"image_23012025_18_30_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee7bb8297c6130e71fc06434d75a818b.jpg","text":"TemporaryFile(/tmp/multipartBody1837519502561174253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665613195,"filename":"image_23012025_18_30_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/478035dfe482fb86c92ed85a50e89b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6652951817829256346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665613195,"filename":"image_23012025_18_30_55_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872108","file1":"1330872104","file0":"1330872101","file4":"1330872128","file5":"1330872134","file3":"1330872117"},"map_files_photo_id_array":[{"photo_id":"1330872134","filename":"file5"},{"photo_id":"1330872108","filename":"file2"},{"photo_id":"1330872128","filename":"file4"},{"photo_id":"1330872104","filename":"file1"},{"photo_id":"1330872101","filename":"file0"},{"photo_id":"1330872117","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330872108":["hashtag1","hashtag2"]},{"1330872134":["hashtag1","hashtag2"]},{"1330872128":["hashtag1","hashtag2"]},{"1330872101":["hashtag1","hashtag2"]},{"1330872104":["hashtag1","hashtag2"]},{"1330872117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330872108, 1330872134, 1330872128, 1330872101, 1330872104, 1330872117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.173848390579224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:53:32.329365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_44_9368.jpg', '/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_55_10427.jpg', '/home/pi/Desktop/images/23012025/18/31/image_23012025_18_32_04_9380.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_25_10422.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_34_9341.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_45_10312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_44_9368.jpg
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_31_55_10427.jpg
/home/pi/Desktop/images/23012025/18/31/image_23012025_18_32_04_9380.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_25_10422.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_34_9341.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_45_10312.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":["1330872210","1330872188","1330872213","1330872206","1330872217","1330872183"],"photo_ids_order":["1330872183","1330872188","1330872206","1330872210","1330872213","1330872217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbeac4b8f3d1b749242baee4cc7b9129.jpg","text":"TemporaryFile(/tmp/multipartBody6009772725150098650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665673345,"filename":"image_23012025_18_32_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c36ab2b76a7c8472bf3956e14cb95f11.jpg","text":"TemporaryFile(/tmp/multipartBody5667531864068966571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665673345,"filename":"image_23012025_18_31_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7868c1b1f4e614891d9f07b966c6b568.jpg","text":"TemporaryFile(/tmp/multipartBody4176268100502514255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665673345,"filename":"image_23012025_18_32_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b14a8c9991c032614f6adb7c706ee7c.jpg","text":"TemporaryFile(/tmp/multipartBody7802425594797806555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665673345,"filename":"image_23012025_18_32_04_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/405e6a51eb0acc05669a592f57799a43.jpg","text":"TemporaryFile(/tmp/multipartBody797395400702749718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665673345,"filename":"image_23012025_18_32_45_10312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3282c40409cb918e1f98f4fd337adf5.jpg","text":"TemporaryFile(/tmp/multipartBody8891300399794470925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665673345,"filename":"image_23012025_18_31_44_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872206","file1":"1330872188","file0":"1330872183","file4":"1330872213","file5":"1330872217","file3":"1330872210"},"map_files_photo_id_array":[{"photo_id":"1330872217","filename":"file5"},{"photo_id":"1330872206","filename":"file2"},{"photo_id":"1330872213","filename":"file4"},{"photo_id":"1330872188","filename":"file1"},{"photo_id":"1330872183","filename":"file0"},{"photo_id":"1330872210","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330872210":["hashtag1","hashtag2"]},{"1330872188":["hashtag1","hashtag2"]},{"1330872213":["hashtag1","hashtag2"]},{"1330872206":["hashtag1","hashtag2"]},{"1330872217":["hashtag1","hashtag2"]},{"1330872183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330872210, 1330872188, 1330872213, 1330872206, 1330872217, 1330872183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37382626533508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:54:32.472178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_55_10482.jpg', '/home/pi/Desktop/images/23012025/18/32/image_23012025_18_33_05_9339.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_15_10361.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_24_9440.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_35_10354.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_45_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_32_55_10482.jpg
/home/pi/Desktop/images/23012025/18/32/image_23012025_18_33_05_9339.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_15_10361.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_24_9440.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_35_10354.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_45_10454.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":["1330872284","1330872278","1330872272","1330872295","1330872291","1330872267"],"photo_ids_order":["1330872267","1330872272","1330872278","1330872284","1330872291","1330872295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/297c4f9c86c18ed1fbc7b17c52da6653.jpg","text":"TemporaryFile(/tmp/multipartBody1057616238588407906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665733481,"filename":"image_23012025_18_33_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/082628dc69baefd6fbbfc4331d99144d.jpg","text":"TemporaryFile(/tmp/multipartBody7165921374541112094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665733481,"filename":"image_23012025_18_33_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/da16ff8b98e2396136543deeb179ce9d.jpg","text":"TemporaryFile(/tmp/multipartBody4098425822918874473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665733481,"filename":"image_23012025_18_33_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a04850de516ea231d9f89f02ed34e50d.jpg","text":"TemporaryFile(/tmp/multipartBody4120068429000120640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665733481,"filename":"image_23012025_18_33_45_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0289c94dd435e2ba0826af43b09a9d30.jpg","text":"TemporaryFile(/tmp/multipartBody4322043668013525398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665733481,"filename":"image_23012025_18_33_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25f416f68610fa72f05287b0b4c0a9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7482923243143705596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665733481,"filename":"image_23012025_18_32_55_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872278","file1":"1330872272","file0":"1330872267","file4":"1330872291","file5":"1330872295","file3":"1330872284"},"map_files_photo_id_array":[{"photo_id":"1330872295","filename":"file5"},{"photo_id":"1330872278","filename":"file2"},{"photo_id":"1330872291","filename":"file4"},{"photo_id":"1330872272","filename":"file1"},{"photo_id":"1330872267","filename":"file0"},{"photo_id":"1330872284","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330872284":["hashtag1","hashtag2"]},{"1330872278":["hashtag1","hashtag2"]},{"1330872272":["hashtag1","hashtag2"]},{"1330872295":["hashtag1","hashtag2"]},{"1330872291":["hashtag1","hashtag2"]},{"1330872267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330872284, 1330872278, 1330872272, 1330872295, 1330872291, 1330872267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46639823913574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:55:32.617777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_55_9448.jpg', '/home/pi/Desktop/images/23012025/18/33/image_23012025_18_34_05_10434.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_14_9388.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_25_10359.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_35_10416.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_45_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_33_55_9448.jpg
/home/pi/Desktop/images/23012025/18/33/image_23012025_18_34_05_10434.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_14_9388.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_25_10359.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_35_10416.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_45_9431.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":["1330872389","1330872393","1330872384","1330872372","1330872360","1330872348"],"photo_ids_order":["1330872348","1330872360","1330872372","1330872384","1330872389","1330872393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7e45a0d70a636d4fd011f9ee166a12cd.jpg","text":"TemporaryFile(/tmp/multipartBody3644814846039915915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665793634,"filename":"image_23012025_18_34_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/50f58b47687b269cff5dfe9e8e1c5a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1643643897702413280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665793634,"filename":"image_23012025_18_34_45_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c10b34286b5ba821a642f604c0c54627.jpg","text":"TemporaryFile(/tmp/multipartBody8789566048065128415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665793634,"filename":"image_23012025_18_34_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd9abd4215c56175ea5c23d69df17283.jpg","text":"TemporaryFile(/tmp/multipartBody2539006502354994007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665793634,"filename":"image_23012025_18_34_14_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd89260983ff426ac485adb84762e951.jpg","text":"TemporaryFile(/tmp/multipartBody7918555663462632323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665793634,"filename":"image_23012025_18_34_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88144819e188aa80d5efc3f7bfe7e6db.jpg","text":"TemporaryFile(/tmp/multipartBody4423955805446139009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665793634,"filename":"image_23012025_18_33_55_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872372","file1":"1330872360","file0":"1330872348","file4":"1330872389","file5":"1330872393","file3":"1330872384"},"map_files_photo_id_array":[{"photo_id":"1330872393","filename":"file5"},{"photo_id":"1330872372","filename":"file2"},{"photo_id":"1330872389","filename":"file4"},{"photo_id":"1330872360","filename":"file1"},{"photo_id":"1330872348","filename":"file0"},{"photo_id":"1330872384","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330872389":["hashtag1","hashtag2"]},{"1330872393":["hashtag1","hashtag2"]},{"1330872384":["hashtag1","hashtag2"]},{"1330872372":["hashtag1","hashtag2"]},{"1330872360":["hashtag1","hashtag2"]},{"1330872348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330872389, 1330872393, 1330872384, 1330872372, 1330872360, 1330872348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50918197631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:56:32.836305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_55_10485.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_35_04_9359.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_15_10419.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_24_9416.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_35_10369.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_45_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_55_10485.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_35_04_9359.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_15_10419.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_24_9416.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_35_10369.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_45_10429.jpg
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: 0.6580328941345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:56:42.970606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_55_10485.jpg', '/home/pi/Desktop/images/23012025/18/34/image_23012025_18_35_04_9359.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_15_10419.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_24_9416.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_35_10369.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_45_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_34_55_10485.jpg
/home/pi/Desktop/images/23012025/18/34/image_23012025_18_35_04_9359.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_15_10419.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_24_9416.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_35_10369.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_45_10429.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":["1330872557","1330872638","1330872617","1330872539","1330872585","1330872528"],"photo_ids_order":["1330872528","1330872539","1330872557","1330872585","1330872617","1330872638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cfa355c249a02a99048888ac3d7e352.jpg","text":"TemporaryFile(/tmp/multipartBody4814783604839030445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665863909,"filename":"image_23012025_18_35_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a17782cc1faa450da1868f8aed280710.jpg","text":"TemporaryFile(/tmp/multipartBody5871511447229217236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665863909,"filename":"image_23012025_18_35_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9891579b46444461d4844051ab5e8597.jpg","text":"TemporaryFile(/tmp/multipartBody6329807291040302986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665863909,"filename":"image_23012025_18_35_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2dcbf5b8ffae113781555a59365b7991.jpg","text":"TemporaryFile(/tmp/multipartBody3837339741929371343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665863909,"filename":"image_23012025_18_35_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33fae8513263a43310a5c9acd2b3afb8.jpg","text":"TemporaryFile(/tmp/multipartBody6203005487717490896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665863909,"filename":"image_23012025_18_35_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fabd03ce6db8e7aa5676f4e1630a0d56.jpg","text":"TemporaryFile(/tmp/multipartBody1150782222720919532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737665863909,"filename":"image_23012025_18_34_55_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872557","file1":"1330872539","file0":"1330872528","file4":"1330872617","file5":"1330872638","file3":"1330872585"},"map_files_photo_id_array":[{"photo_id":"1330872638","filename":"file5"},{"photo_id":"1330872557","filename":"file2"},{"photo_id":"1330872617","filename":"file4"},{"photo_id":"1330872539","filename":"file1"},{"photo_id":"1330872528","filename":"file0"},{"photo_id":"1330872585","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330872557":["hashtag1","hashtag2"]},{"1330872638":["hashtag1","hashtag2"]},{"1330872617":["hashtag1","hashtag2"]},{"1330872539":["hashtag1","hashtag2"]},{"1330872585":["hashtag1","hashtag2"]},{"1330872528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330872557, 1330872638, 1330872617, 1330872539, 1330872585, 1330872528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37165188789368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 21:57:33.004595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_55_9387.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_36_05_10345.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_15_10387.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_25_9359.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_35_10425.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_44_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_55_9387.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_36_05_10345.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_15_10387.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_25_9359.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_35_10425.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_44_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 21:59:04.252344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_55_9387.jpg', '/home/pi/Desktop/images/23012025/18/35/image_23012025_18_36_05_10345.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_15_10387.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_25_9359.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_35_10425.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_44_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_35_55_9387.jpg
/home/pi/Desktop/images/23012025/18/35/image_23012025_18_36_05_10345.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_15_10387.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_25_9359.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_35_10425.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_44_9364.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":["1330872878","1330872857","1330872803","1330872850","1330872838","1330872918"],"photo_ids_order":["1330872803","1330872838","1330872850","1330872857","1330872878","1330872918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a07005f580fcfb5a8fe5a1fed703e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody190055090420275243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666005724,"filename":"image_23012025_18_36_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9858609b6ed2139dfc987ad388a6df3f.jpg","text":"TemporaryFile(/tmp/multipartBody4567513794680687187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666005724,"filename":"image_23012025_18_36_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3fc780cc3d3c3d21719229fb78dc924.jpg","text":"TemporaryFile(/tmp/multipartBody1784481203812291544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666005724,"filename":"image_23012025_18_35_55_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd44ffbd7e0506290a05a1a5af6f63f2.jpg","text":"TemporaryFile(/tmp/multipartBody8618417540312215254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666005724,"filename":"image_23012025_18_36_15_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0dd1cd237161941fa7c3806e95f48f41.jpg","text":"TemporaryFile(/tmp/multipartBody4772541843603012102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666005724,"filename":"image_23012025_18_36_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9247050e6ffd5d8d12598103494b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody6225881954923214864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666005724,"filename":"image_23012025_18_36_44_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872850","file1":"1330872838","file0":"1330872803","file4":"1330872878","file5":"1330872918","file3":"1330872857"},"map_files_photo_id_array":[{"photo_id":"1330872918","filename":"file5"},{"photo_id":"1330872850","filename":"file2"},{"photo_id":"1330872878","filename":"file4"},{"photo_id":"1330872838","filename":"file1"},{"photo_id":"1330872803","filename":"file0"},{"photo_id":"1330872857","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330872878":["hashtag1","hashtag2"]},{"1330872857":["hashtag1","hashtag2"]},{"1330872803":["hashtag1","hashtag2"]},{"1330872850":["hashtag1","hashtag2"]},{"1330872838":["hashtag1","hashtag2"]},{"1330872918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330872878, 1330872857, 1330872803, 1330872850, 1330872838, 1330872918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.897294998168945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:00:03.493379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_55_10460.jpg', '/home/pi/Desktop/images/23012025/18/36/image_23012025_18_37_04_9420.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_15_10341.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_25_10396.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_34_9403.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_45_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_36_55_10460.jpg
/home/pi/Desktop/images/23012025/18/36/image_23012025_18_37_04_9420.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_15_10341.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_25_10396.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_34_9403.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_45_10351.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":["1330873010","1330873007","1330872986","1330873001","1330872991","1330872996"],"photo_ids_order":["1330872986","1330872991","1330872996","1330873001","1330873007","1330873010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0fc1d434357c856a0ac2e8d03a4d632d.jpg","text":"TemporaryFile(/tmp/multipartBody4494342406846584487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666064537,"filename":"image_23012025_18_37_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0c192278480ae7e2ad88f4e77f96e9e.jpg","text":"TemporaryFile(/tmp/multipartBody703846076718715464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666064537,"filename":"image_23012025_18_37_34_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ccbde8025eb82eeebbec3cd4837ddeb.jpg","text":"TemporaryFile(/tmp/multipartBody1156395355255856097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666064537,"filename":"image_23012025_18_36_55_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7edbd6256bfaf9a0fcbb198f7f799d8c.jpg","text":"TemporaryFile(/tmp/multipartBody5436995156814704264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666064537,"filename":"image_23012025_18_37_25_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7d284bd3afa08d37a8d301b5e34a8bf.jpg","text":"TemporaryFile(/tmp/multipartBody5358705988737816742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666064537,"filename":"image_23012025_18_37_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3fff8d7b78cf3a1bc778576ae405c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6578313124799982474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666064537,"filename":"image_23012025_18_37_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330872996","file1":"1330872991","file0":"1330872986","file4":"1330873007","file5":"1330873010","file3":"1330873001"},"map_files_photo_id_array":[{"photo_id":"1330873010","filename":"file5"},{"photo_id":"1330872996","filename":"file2"},{"photo_id":"1330873007","filename":"file4"},{"photo_id":"1330872991","filename":"file1"},{"photo_id":"1330872986","filename":"file0"},{"photo_id":"1330873001","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330873010":["hashtag1","hashtag2"]},{"1330873007":["hashtag1","hashtag2"]},{"1330872986":["hashtag1","hashtag2"]},{"1330873001":["hashtag1","hashtag2"]},{"1330872991":["hashtag1","hashtag2"]},{"1330872996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330873010, 1330873007, 1330872986, 1330873001, 1330872991, 1330872996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75641465187073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 22:00:52.950299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/40/image_20012025_08_40_25_10349.jpg', '/home/pi/Desktop/images/20012025/08/40/image_20012025_08_40_45_10332.jpg', '/home/pi/Desktop/images/20012025/08/41/image_20012025_08_41_34_9344.jpg', '/home/pi/Desktop/images/20012025/08/41/image_20012025_08_42_05_10423.jpg', '/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_14_9363.jpg', '/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_25_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/40/image_20012025_08_40_25_10349.jpg
/home/pi/Desktop/images/20012025/08/40/image_20012025_08_40_45_10332.jpg
/home/pi/Desktop/images/20012025/08/41/image_20012025_08_41_34_9344.jpg
/home/pi/Desktop/images/20012025/08/41/image_20012025_08_42_05_10423.jpg
/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_14_9363.jpg
/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_25_10411.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":["1330873049","1330873040","1330873028","1330873024","1330873033","1330873044"],"photo_ids_order":["1330873024","1330873028","1330873033","1330873040","1330873044","1330873049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b32000fb9474c69fcb771099651df6a.jpg","text":"TemporaryFile(/tmp/multipartBody8303089609278575751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666115297,"filename":"image_20012025_08_43_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a09fdc8951f9686d80a40195488a1572.jpg","text":"TemporaryFile(/tmp/multipartBody5812505524760539656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666115297,"filename":"image_20012025_08_42_05_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61cb4a66f65197f7c5180c9a64b3656f.jpg","text":"TemporaryFile(/tmp/multipartBody1233929185664481795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666115297,"filename":"image_20012025_08_40_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23cbfc5b52529a9e00bf89e65f26b08a.jpg","text":"TemporaryFile(/tmp/multipartBody646181532167289258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666115297,"filename":"image_20012025_08_40_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f87c22438f6be4735cfb12cacc813db.jpg","text":"TemporaryFile(/tmp/multipartBody3283944539859509550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666115297,"filename":"image_20012025_08_41_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45c075cd963f8f764c392022b1f65a4e.jpg","text":"TemporaryFile(/tmp/multipartBody2266011982043303739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666115297,"filename":"image_20012025_08_43_14_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330873033","file1":"1330873028","file0":"1330873024","file4":"1330873044","file5":"1330873049","file3":"1330873040"},"map_files_photo_id_array":[{"photo_id":"1330873049","filename":"file5"},{"photo_id":"1330873033","filename":"file2"},{"photo_id":"1330873044","filename":"file4"},{"photo_id":"1330873028","filename":"file1"},{"photo_id":"1330873024","filename":"file0"},{"photo_id":"1330873040","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330873049":["hashtag1","hashtag2"]},{"1330873040":["hashtag1","hashtag2"]},{"1330873028":["hashtag1","hashtag2"]},{"1330873024":["hashtag1","hashtag2"]},{"1330873033":["hashtag1","hashtag2"]},{"1330873044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330873049, 1330873040, 1330873028, 1330873024, 1330873033, 1330873044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.252721071243286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:01:42.182500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_55_10373.jpg', '/home/pi/Desktop/images/23012025/18/37/image_23012025_18_38_04_9336.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_15_10370.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_25_10314.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_35_9363.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_45_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_37_55_10373.jpg
/home/pi/Desktop/images/23012025/18/37/image_23012025_18_38_04_9336.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_15_10370.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_25_10314.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_35_9363.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_45_10332.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":["1330873085","1330873079","1330873067","1330873062","1330873071","1330873074"],"photo_ids_order":["1330873062","1330873067","1330873071","1330873074","1330873079","1330873085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f2be3119326e9a8b70e0b5ef0b8b905.jpg","text":"TemporaryFile(/tmp/multipartBody7574502351666889920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666163228,"filename":"image_23012025_18_38_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b35fa40a23f868ebd9a1c261fda27c7d.jpg","text":"TemporaryFile(/tmp/multipartBody2470586830710744604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666163228,"filename":"image_23012025_18_38_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfa7cb207c20aab566fa4ed9b9ef4480.jpg","text":"TemporaryFile(/tmp/multipartBody6060038722344128122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666163228,"filename":"image_23012025_18_38_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7a604d53daff49530144dfea9ae0d7e.jpg","text":"TemporaryFile(/tmp/multipartBody2774652539749299109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666163228,"filename":"image_23012025_18_37_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/922ed80c540dabcdf045aa02194d1d57.jpg","text":"TemporaryFile(/tmp/multipartBody5194696384865891265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666163228,"filename":"image_23012025_18_38_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28f4be59ca97e80e9e26d5547b419619.jpg","text":"TemporaryFile(/tmp/multipartBody242552908235336093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666163228,"filename":"image_23012025_18_38_25_10314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330873071","file1":"1330873067","file0":"1330873062","file4":"1330873079","file5":"1330873085","file3":"1330873074"},"map_files_photo_id_array":[{"photo_id":"1330873085","filename":"file5"},{"photo_id":"1330873071","filename":"file2"},{"photo_id":"1330873079","filename":"file4"},{"photo_id":"1330873067","filename":"file1"},{"photo_id":"1330873062","filename":"file0"},{"photo_id":"1330873074","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330873085":["hashtag1","hashtag2"]},{"1330873079":["hashtag1","hashtag2"]},{"1330873067":["hashtag1","hashtag2"]},{"1330873062":["hashtag1","hashtag2"]},{"1330873071":["hashtag1","hashtag2"]},{"1330873074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330873085, 1330873079, 1330873067, 1330873062, 1330873071, 1330873074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.44246816635132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:02:32.291383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_54_9416.jpg', '/home/pi/Desktop/images/23012025/18/38/image_23012025_18_39_05_10363.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_15_10483.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_25_9415.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_35_10345.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_38_54_9416.jpg
/home/pi/Desktop/images/23012025/18/38/image_23012025_18_39_05_10363.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_15_10483.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_25_9415.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_35_10345.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_45_10343.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":["1330873145","1330873202","1330873213","1330873182","1330873224","1330873199"],"photo_ids_order":["1330873145","1330873182","1330873199","1330873202","1330873213","1330873224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f490f8b007ac72ac12f6e39f4d229079.jpg","text":"TemporaryFile(/tmp/multipartBody7876477669869362717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666213300,"filename":"image_23012025_18_38_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61dd7dc0d2cfda8f0a83053ed6d728d3.jpg","text":"TemporaryFile(/tmp/multipartBody767413749149759190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666213300,"filename":"image_23012025_18_39_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0227977e49b94e9c9ae6fd28e97ec02.jpg","text":"TemporaryFile(/tmp/multipartBody1501324677168973072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666213300,"filename":"image_23012025_18_39_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47ce1790cd16f4b275dfda2bf978973d.jpg","text":"TemporaryFile(/tmp/multipartBody5217940065753518534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666213300,"filename":"image_23012025_18_39_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6d57b82be58dce0d03c7a1610ede7195.jpg","text":"TemporaryFile(/tmp/multipartBody1604286675924283938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666213300,"filename":"image_23012025_18_39_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c501b7e71189d82e5007de9c49f5116.jpg","text":"TemporaryFile(/tmp/multipartBody5350628315336122173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666213300,"filename":"image_23012025_18_39_15_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330873199","file1":"1330873182","file0":"1330873145","file4":"1330873213","file5":"1330873224","file3":"1330873202"},"map_files_photo_id_array":[{"photo_id":"1330873224","filename":"file5"},{"photo_id":"1330873199","filename":"file2"},{"photo_id":"1330873213","filename":"file4"},{"photo_id":"1330873182","filename":"file1"},{"photo_id":"1330873145","filename":"file0"},{"photo_id":"1330873202","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330873145":["hashtag1","hashtag2"]},{"1330873202":["hashtag1","hashtag2"]},{"1330873213":["hashtag1","hashtag2"]},{"1330873182":["hashtag1","hashtag2"]},{"1330873224":["hashtag1","hashtag2"]},{"1330873199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330873145, 1330873202, 1330873213, 1330873182, 1330873224, 1330873199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53173112869263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:03:32.594847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_55_9454.jpg', '/home/pi/Desktop/images/23012025/18/39/image_23012025_18_40_05_10391.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_14_9395.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_25_10359.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_35_10417.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_39_55_9454.jpg
/home/pi/Desktop/images/23012025/18/39/image_23012025_18_40_05_10391.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_14_9395.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_25_10359.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_35_10417.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_45_9356.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":["1330873327","1330873315","1330873324","1330873296","1330873290","1330873320"],"photo_ids_order":["1330873290","1330873296","1330873315","1330873320","1330873324","1330873327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80166c80f6f93c947e14f2ada9ce0cf7.jpg","text":"TemporaryFile(/tmp/multipartBody5515529841662700573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666273630,"filename":"image_23012025_18_40_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25f7a702c66f6a17a15221347ae2b25a.jpg","text":"TemporaryFile(/tmp/multipartBody7203394748095076388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666273630,"filename":"image_23012025_18_40_14_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46bceffa9405e6fa2665b57073782cff.jpg","text":"TemporaryFile(/tmp/multipartBody3923747999510463078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666273630,"filename":"image_23012025_18_40_35_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d92c63371f83bb930581bfb6ea6ac81.jpg","text":"TemporaryFile(/tmp/multipartBody5980986860733552474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666273630,"filename":"image_23012025_18_40_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f5ff29363be0065f9a430c9ac5c92725.jpg","text":"TemporaryFile(/tmp/multipartBody7778504369875870583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666273630,"filename":"image_23012025_18_39_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fee9d9b34e278c2223adcb7afacaad4e.jpg","text":"TemporaryFile(/tmp/multipartBody2243566613071906436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666273630,"filename":"image_23012025_18_40_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330873315","file1":"1330873296","file0":"1330873290","file4":"1330873324","file5":"1330873327","file3":"1330873320"},"map_files_photo_id_array":[{"photo_id":"1330873327","filename":"file5"},{"photo_id":"1330873315","filename":"file2"},{"photo_id":"1330873324","filename":"file4"},{"photo_id":"1330873296","filename":"file1"},{"photo_id":"1330873290","filename":"file0"},{"photo_id":"1330873320","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330873327":["hashtag1","hashtag2"]},{"1330873315":["hashtag1","hashtag2"]},{"1330873324":["hashtag1","hashtag2"]},{"1330873296":["hashtag1","hashtag2"]},{"1330873290":["hashtag1","hashtag2"]},{"1330873320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330873327, 1330873315, 1330873324, 1330873296, 1330873290, 1330873320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.200783014297485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:04:32.636652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_55_10417.jpg', '/home/pi/Desktop/images/23012025/18/40/image_23012025_18_41_04_9375.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_15_10371.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_25_10355.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_34_9317.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_40_55_10417.jpg
/home/pi/Desktop/images/23012025/18/40/image_23012025_18_41_04_9375.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_15_10371.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_25_10355.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_34_9317.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_45_10359.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":["1330873433","1330873442","1330873456","1330873447","1330873437","1330873466"],"photo_ids_order":["1330873433","1330873437","1330873442","1330873447","1330873456","1330873466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/faa9d43318394573f5682ce751c8580c.jpg","text":"TemporaryFile(/tmp/multipartBody3742755547888825550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666333603,"filename":"image_23012025_18_40_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5865f0037be5403c0be5da467e3ba6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6417208808454960474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666333603,"filename":"image_23012025_18_41_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/798a8f961ba4914d8c529add77c5188c.jpg","text":"TemporaryFile(/tmp/multipartBody2467556056613908042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666333603,"filename":"image_23012025_18_41_34_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df94ec718ea49465afd9899aa22afe0a.jpg","text":"TemporaryFile(/tmp/multipartBody6136865792277874046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666333603,"filename":"image_23012025_18_41_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd3f5f46efc207e63d5b43f08e5d69da.jpg","text":"TemporaryFile(/tmp/multipartBody8348820021823332088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666333603,"filename":"image_23012025_18_41_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/024fffa4dfe571910e1e5fa70bbc964a.jpg","text":"TemporaryFile(/tmp/multipartBody8761781691388465054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666333603,"filename":"image_23012025_18_41_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330873442","file1":"1330873437","file0":"1330873433","file4":"1330873456","file5":"1330873466","file3":"1330873447"},"map_files_photo_id_array":[{"photo_id":"1330873466","filename":"file5"},{"photo_id":"1330873442","filename":"file2"},{"photo_id":"1330873456","filename":"file4"},{"photo_id":"1330873437","filename":"file1"},{"photo_id":"1330873433","filename":"file0"},{"photo_id":"1330873447","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330873433":["hashtag1","hashtag2"]},{"1330873442":["hashtag1","hashtag2"]},{"1330873456":["hashtag1","hashtag2"]},{"1330873447":["hashtag1","hashtag2"]},{"1330873437":["hashtag1","hashtag2"]},{"1330873466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330873433, 1330873442, 1330873456, 1330873447, 1330873437, 1330873466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88122034072876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:05:32.774758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_55_10346.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_42_05_9365.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_15_10323.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_24_9444.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_35_10312.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_45_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_55_10346.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_42_05_9365.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_15_10323.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_24_9444.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_35_10312.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_45_10394.jpg
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: 0.5703029632568359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:05:42.775903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_55_10346.jpg', '/home/pi/Desktop/images/23012025/18/41/image_23012025_18_42_05_9365.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_15_10323.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_24_9444.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_35_10312.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_45_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_41_55_10346.jpg
/home/pi/Desktop/images/23012025/18/41/image_23012025_18_42_05_9365.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_15_10323.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_24_9444.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_35_10312.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_45_10394.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":["1330873519","1330873510","1330873534","1330873522","1330873527","1330873515"],"photo_ids_order":["1330873510","1330873515","1330873519","1330873522","1330873527","1330873534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6386e3b97b4745fa00db4556ac017fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2925459110044441771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666404123,"filename":"image_23012025_18_42_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a52622eee9b6a36599e31421876885a5.jpg","text":"TemporaryFile(/tmp/multipartBody8285654255627925678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666404123,"filename":"image_23012025_18_41_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/491fe9d9ed08b7a65c6100ef34a93fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8311531406132382108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666404123,"filename":"image_23012025_18_42_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1598b405ef42b892f92e8ce964c64b32.jpg","text":"TemporaryFile(/tmp/multipartBody2375236063185849170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666404123,"filename":"image_23012025_18_42_24_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb5ebc371bf7936a7da49d58ee6802ff.jpg","text":"TemporaryFile(/tmp/multipartBody1646578993370744580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666404123,"filename":"image_23012025_18_42_35_10312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ff1dcc29eeb6cb8a4c01013b47a63d2.jpg","text":"TemporaryFile(/tmp/multipartBody6737242304603112111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666404123,"filename":"image_23012025_18_42_05_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330873519","file1":"1330873515","file0":"1330873510","file4":"1330873527","file5":"1330873534","file3":"1330873522"},"map_files_photo_id_array":[{"photo_id":"1330873534","filename":"file5"},{"photo_id":"1330873519","filename":"file2"},{"photo_id":"1330873527","filename":"file4"},{"photo_id":"1330873515","filename":"file1"},{"photo_id":"1330873510","filename":"file0"},{"photo_id":"1330873522","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330873519":["hashtag1","hashtag2"]},{"1330873510":["hashtag1","hashtag2"]},{"1330873534":["hashtag1","hashtag2"]},{"1330873522":["hashtag1","hashtag2"]},{"1330873527":["hashtag1","hashtag2"]},{"1330873515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330873519, 1330873510, 1330873534, 1330873522, 1330873527, 1330873515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51433968544006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:06:33.033596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_54_9333.jpg', '/home/pi/Desktop/images/23012025/18/42/image_23012025_18_43_05_10317.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_15_10445.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_24_9324.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_35_10326.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_45_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_42_54_9333.jpg
/home/pi/Desktop/images/23012025/18/42/image_23012025_18_43_05_10317.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_15_10445.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_24_9324.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_35_10326.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_45_10440.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":["1330873568","1330874047","1330873750","1330873562","1330873565","1330873559"],"photo_ids_order":["1330873559","1330873562","1330873565","1330873568","1330873750","1330874047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/850a71dab9657cb519e4fe8b08f19af5.jpg","text":"TemporaryFile(/tmp/multipartBody8030450642463513560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666453977,"filename":"image_23012025_18_43_24_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8a1c5908705d6c7f94bddf7fba58b49.jpg","text":"TemporaryFile(/tmp/multipartBody539897868825819939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666453977,"filename":"image_23012025_18_43_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/190d558ebd217a55e33d002a3a5a474b.jpg","text":"TemporaryFile(/tmp/multipartBody1279670540055323223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666453977,"filename":"image_23012025_18_43_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5c8bd71d386b02cd371ef2740b898c9.jpg","text":"TemporaryFile(/tmp/multipartBody3151910314881895218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666453977,"filename":"image_23012025_18_43_05_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff6d3878fc20bf834ba62e36f61ac241.jpg","text":"TemporaryFile(/tmp/multipartBody5604404951848780122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666453977,"filename":"image_23012025_18_43_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/684a0412616f8af3aefc424bbfba5d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7875922152904651251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666453977,"filename":"image_23012025_18_42_54_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330873565","file1":"1330873562","file0":"1330873559","file4":"1330873750","file5":"1330874047","file3":"1330873568"},"map_files_photo_id_array":[{"photo_id":"1330874047","filename":"file5"},{"photo_id":"1330873565","filename":"file2"},{"photo_id":"1330873750","filename":"file4"},{"photo_id":"1330873562","filename":"file1"},{"photo_id":"1330873559","filename":"file0"},{"photo_id":"1330873568","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330873568":["hashtag1","hashtag2"]},{"1330874047":["hashtag1","hashtag2"]},{"1330873750":["hashtag1","hashtag2"]},{"1330873562":["hashtag1","hashtag2"]},{"1330873565":["hashtag1","hashtag2"]},{"1330873559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330873568, 1330874047, 1330873750, 1330873562, 1330873565, 1330873559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.595152139663696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:07:32.193405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_55_9348.jpg', '/home/pi/Desktop/images/23012025/18/43/image_23012025_18_44_05_10336.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_14_9419.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_25_10351.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_35_10449.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_44_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_43_55_9348.jpg
/home/pi/Desktop/images/23012025/18/43/image_23012025_18_44_05_10336.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_14_9419.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_25_10351.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_35_10449.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_44_9331.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":["1330874745","1330874748","1330874721","1330874741","1330874729","1330874750"],"photo_ids_order":["1330874721","1330874729","1330874741","1330874745","1330874748","1330874750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a134c1fa45b165c7523df5d3c2149edf.jpg","text":"TemporaryFile(/tmp/multipartBody5185087513974776850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666513160,"filename":"image_23012025_18_44_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab974534d991ea0410116e4ea8e2baa2.jpg","text":"TemporaryFile(/tmp/multipartBody8889315322768184184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666513160,"filename":"image_23012025_18_44_35_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b425554bcbf58b7271e3c0b8a480f138.jpg","text":"TemporaryFile(/tmp/multipartBody8533304172536007121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666513160,"filename":"image_23012025_18_43_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/275975c52927d408b7bd497bb4cf46ed.jpg","text":"TemporaryFile(/tmp/multipartBody2139859972924024940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666513160,"filename":"image_23012025_18_44_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0b03fd1d24d0c741b3b3aa87e99e3420.jpg","text":"TemporaryFile(/tmp/multipartBody5094730276671372111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666513160,"filename":"image_23012025_18_44_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9907720680c162ca8ff3a7eb3b700df0.jpg","text":"TemporaryFile(/tmp/multipartBody3363744271732393243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666513160,"filename":"image_23012025_18_44_44_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330874741","file1":"1330874729","file0":"1330874721","file4":"1330874748","file5":"1330874750","file3":"1330874745"},"map_files_photo_id_array":[{"photo_id":"1330874750","filename":"file5"},{"photo_id":"1330874741","filename":"file2"},{"photo_id":"1330874748","filename":"file4"},{"photo_id":"1330874729","filename":"file1"},{"photo_id":"1330874721","filename":"file0"},{"photo_id":"1330874745","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330874745":["hashtag1","hashtag2"]},{"1330874748":["hashtag1","hashtag2"]},{"1330874721":["hashtag1","hashtag2"]},{"1330874741":["hashtag1","hashtag2"]},{"1330874729":["hashtag1","hashtag2"]},{"1330874750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330874745, 1330874748, 1330874721, 1330874741, 1330874729, 1330874750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.331559896469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:08:32.306910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_55_10360.jpg', '/home/pi/Desktop/images/23012025/18/44/image_23012025_18_45_05_10428.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_15_9329.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_25_10361.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_34_9420.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_44_55_10360.jpg
/home/pi/Desktop/images/23012025/18/44/image_23012025_18_45_05_10428.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_15_9329.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_25_10361.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_34_9420.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_45_10343.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":["1330875262","1330875202","1330875013","1330875198","1330875189","1330874826"],"photo_ids_order":["1330874826","1330875013","1330875189","1330875198","1330875202","1330875262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65b180d8b87483228bb39edcf5c78360.jpg","text":"TemporaryFile(/tmp/multipartBody8586712696002167507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666573279,"filename":"image_23012025_18_45_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c46ab80764ad6990364d5ccdb9a8533a.jpg","text":"TemporaryFile(/tmp/multipartBody4537268174345962761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666573279,"filename":"image_23012025_18_45_34_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3a7e86287accffd431bbad6cf34dcf1.jpg","text":"TemporaryFile(/tmp/multipartBody6292857877954022914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666573279,"filename":"image_23012025_18_45_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/27c851ea609ddedea64f35a3e1764da3.jpg","text":"TemporaryFile(/tmp/multipartBody8029281275223717563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666573279,"filename":"image_23012025_18_45_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35027f1ed426adf288d13c91171d6792.jpg","text":"TemporaryFile(/tmp/multipartBody1273187675426423822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666573279,"filename":"image_23012025_18_45_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23c2d2d2ea438311383785c0dddb8356.jpg","text":"TemporaryFile(/tmp/multipartBody7800508356304604618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666573279,"filename":"image_23012025_18_44_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875189","file1":"1330875013","file0":"1330874826","file4":"1330875202","file5":"1330875262","file3":"1330875198"},"map_files_photo_id_array":[{"photo_id":"1330875262","filename":"file5"},{"photo_id":"1330875189","filename":"file2"},{"photo_id":"1330875202","filename":"file4"},{"photo_id":"1330875013","filename":"file1"},{"photo_id":"1330874826","filename":"file0"},{"photo_id":"1330875198","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875262":["hashtag1","hashtag2"]},{"1330875202":["hashtag1","hashtag2"]},{"1330875013":["hashtag1","hashtag2"]},{"1330875198":["hashtag1","hashtag2"]},{"1330875189":["hashtag1","hashtag2"]},{"1330874826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875262, 1330875202, 1330875013, 1330875198, 1330875189, 1330874826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92966890335083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:09:32.552129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_55_10409.jpg', '/home/pi/Desktop/images/23012025/18/45/image_23012025_18_46_04_9345.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_15_10429.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_25_10422.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_35_9345.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_45_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_45_55_10409.jpg
/home/pi/Desktop/images/23012025/18/45/image_23012025_18_46_04_9345.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_15_10429.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_25_10422.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_35_9345.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_45_10397.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":["1330875376","1330875349","1330875342","1330875338","1330875370","1330875346"],"photo_ids_order":["1330875338","1330875342","1330875346","1330875349","1330875370","1330875376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e78b5b230acae827d5735c6fa5c91459.jpg","text":"TemporaryFile(/tmp/multipartBody4403783683489951071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666633551,"filename":"image_23012025_18_46_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23c4208331f16cf0aa8e3a0ff09c302a.jpg","text":"TemporaryFile(/tmp/multipartBody5442147053941001451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666633551,"filename":"image_23012025_18_46_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/78513a0a50e2e1d5c44c3aae9abcaf46.jpg","text":"TemporaryFile(/tmp/multipartBody4631183425207279554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666633551,"filename":"image_23012025_18_46_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25368bf8745d89f338d8cbf21150caa3.jpg","text":"TemporaryFile(/tmp/multipartBody5492486997011855848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666633551,"filename":"image_23012025_18_45_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbf7217fafed7e0f0cb59c1fb2ab9434.jpg","text":"TemporaryFile(/tmp/multipartBody5777340377513464904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666633551,"filename":"image_23012025_18_46_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a0430fa129e654bfc5d958958b74b91.jpg","text":"TemporaryFile(/tmp/multipartBody4225590995245989446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666633551,"filename":"image_23012025_18_46_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875346","file1":"1330875342","file0":"1330875338","file4":"1330875370","file5":"1330875376","file3":"1330875349"},"map_files_photo_id_array":[{"photo_id":"1330875376","filename":"file5"},{"photo_id":"1330875346","filename":"file2"},{"photo_id":"1330875370","filename":"file4"},{"photo_id":"1330875342","filename":"file1"},{"photo_id":"1330875338","filename":"file0"},{"photo_id":"1330875349","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875376":["hashtag1","hashtag2"]},{"1330875349":["hashtag1","hashtag2"]},{"1330875342":["hashtag1","hashtag2"]},{"1330875338":["hashtag1","hashtag2"]},{"1330875370":["hashtag1","hashtag2"]},{"1330875346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875376, 1330875349, 1330875342, 1330875338, 1330875370, 1330875346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47474384307861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:10:32.774420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_54_9432.jpg', '/home/pi/Desktop/images/23012025/18/46/image_23012025_18_47_05_10334.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_15_10403.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_25_9354.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_35_10347.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_44_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_46_54_9432.jpg
/home/pi/Desktop/images/23012025/18/46/image_23012025_18_47_05_10334.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_15_10403.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_25_9354.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_35_10347.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_44_9390.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":["1330875427","1330875415","1330875422","1330875431","1330875404","1330875407"],"photo_ids_order":["1330875404","1330875407","1330875415","1330875422","1330875427","1330875431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2103d402c12ae1080a144fe267270dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8614134329795415810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666693770,"filename":"image_23012025_18_47_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7e72d9a7979ccacda926432f2982320.jpg","text":"TemporaryFile(/tmp/multipartBody3597068258598328549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666693770,"filename":"image_23012025_18_47_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0c2d5f384ef374a348ff57c604bdcfa.jpg","text":"TemporaryFile(/tmp/multipartBody5625823391738947390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666693770,"filename":"image_23012025_18_47_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df61f3a87c423e5e8c77f7d0739088b2.jpg","text":"TemporaryFile(/tmp/multipartBody8054748138815184162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666693770,"filename":"image_23012025_18_47_44_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/125b7b4ca576b813ddad6dc18cbc9d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6589309400241094290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666693770,"filename":"image_23012025_18_46_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c68fd9c8241151b58aaa59b99c91cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7693169649656432106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666693770,"filename":"image_23012025_18_47_05_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875415","file1":"1330875407","file0":"1330875404","file4":"1330875427","file5":"1330875431","file3":"1330875422"},"map_files_photo_id_array":[{"photo_id":"1330875431","filename":"file5"},{"photo_id":"1330875415","filename":"file2"},{"photo_id":"1330875427","filename":"file4"},{"photo_id":"1330875407","filename":"file1"},{"photo_id":"1330875404","filename":"file0"},{"photo_id":"1330875422","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875427":["hashtag1","hashtag2"]},{"1330875415":["hashtag1","hashtag2"]},{"1330875422":["hashtag1","hashtag2"]},{"1330875431":["hashtag1","hashtag2"]},{"1330875404":["hashtag1","hashtag2"]},{"1330875407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875427, 1330875415, 1330875422, 1330875431, 1330875404, 1330875407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39303016662598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:11:32.916123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_55_10399.jpg', '/home/pi/Desktop/images/23012025/18/47/image_23012025_18_48_05_10392.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_14_9346.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_25_10441.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_35_10360.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_45_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_47_55_10399.jpg
/home/pi/Desktop/images/23012025/18/47/image_23012025_18_48_05_10392.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_14_9346.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_25_10441.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_35_10360.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_45_9316.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":["1330875529","1330875492","1330875482","1330875512","1330875506","1330875496"],"photo_ids_order":["1330875482","1330875492","1330875496","1330875506","1330875512","1330875529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/243dfcc32e417db0c7a78c804597a709.jpg","text":"TemporaryFile(/tmp/multipartBody5746018769000863333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666753932,"filename":"image_23012025_18_48_45_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/076d33e3ec9778df1b6fb147927beca1.jpg","text":"TemporaryFile(/tmp/multipartBody6178741724906405463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666753932,"filename":"image_23012025_18_48_05_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/372d1da3805bcbb644ff201e13996df8.jpg","text":"TemporaryFile(/tmp/multipartBody7006825622636344184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666753932,"filename":"image_23012025_18_47_55_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a9c8827c1d0d32f516f2ca095d7f31f.jpg","text":"TemporaryFile(/tmp/multipartBody7087960655934904487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666753932,"filename":"image_23012025_18_48_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/320010a721e94dcf00279a3197e18b6c.jpg","text":"TemporaryFile(/tmp/multipartBody582496942668231100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666753932,"filename":"image_23012025_18_48_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63bde18295b5c705aa75653368df9d61.jpg","text":"TemporaryFile(/tmp/multipartBody1104878038185151146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666753932,"filename":"image_23012025_18_48_14_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875496","file1":"1330875492","file0":"1330875482","file4":"1330875512","file5":"1330875529","file3":"1330875506"},"map_files_photo_id_array":[{"photo_id":"1330875529","filename":"file5"},{"photo_id":"1330875496","filename":"file2"},{"photo_id":"1330875512","filename":"file4"},{"photo_id":"1330875492","filename":"file1"},{"photo_id":"1330875482","filename":"file0"},{"photo_id":"1330875506","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875529":["hashtag1","hashtag2"]},{"1330875492":["hashtag1","hashtag2"]},{"1330875482":["hashtag1","hashtag2"]},{"1330875512":["hashtag1","hashtag2"]},{"1330875506":["hashtag1","hashtag2"]},{"1330875496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875529, 1330875492, 1330875482, 1330875512, 1330875506, 1330875496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65696883201599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:12:33.081152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_55_10344.jpg', '/home/pi/Desktop/images/23012025/18/48/image_23012025_18_49_04_9462.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_15_10322.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_25_10525.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_35_9415.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_45_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_48_55_10344.jpg
/home/pi/Desktop/images/23012025/18/48/image_23012025_18_49_04_9462.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_15_10322.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_25_10525.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_35_9415.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_45_10433.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":["1330875574","1330875584","1330875593","1330875587","1330875569","1330875565"],"photo_ids_order":["1330875565","1330875569","1330875574","1330875584","1330875587","1330875593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9e33fa90022d2208056c8ac90c28623e.jpg","text":"TemporaryFile(/tmp/multipartBody1364198168626485477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666814083,"filename":"image_23012025_18_49_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/86c1c1feb29ba35cd579848b156dc322.jpg","text":"TemporaryFile(/tmp/multipartBody9004899263707802802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666814083,"filename":"image_23012025_18_49_25_10525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2ce478660e7276bf147204ca2a11a4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6731274376762735080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666814083,"filename":"image_23012025_18_49_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/266af66769b145d24aa22455df87cf97.jpg","text":"TemporaryFile(/tmp/multipartBody5823522071209470790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666814083,"filename":"image_23012025_18_49_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9fc69268e5083791cd3e30e0a9ca887a.jpg","text":"TemporaryFile(/tmp/multipartBody3971782183500963070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666814083,"filename":"image_23012025_18_49_04_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/713af72ac265aa21209c83c28c5cd6df.jpg","text":"TemporaryFile(/tmp/multipartBody2844431475582031471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666814083,"filename":"image_23012025_18_48_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875574","file1":"1330875569","file0":"1330875565","file4":"1330875587","file5":"1330875593","file3":"1330875584"},"map_files_photo_id_array":[{"photo_id":"1330875593","filename":"file5"},{"photo_id":"1330875574","filename":"file2"},{"photo_id":"1330875587","filename":"file4"},{"photo_id":"1330875569","filename":"file1"},{"photo_id":"1330875565","filename":"file0"},{"photo_id":"1330875584","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875574":["hashtag1","hashtag2"]},{"1330875584":["hashtag1","hashtag2"]},{"1330875593":["hashtag1","hashtag2"]},{"1330875587":["hashtag1","hashtag2"]},{"1330875569":["hashtag1","hashtag2"]},{"1330875565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875574, 1330875584, 1330875593, 1330875587, 1330875569, 1330875565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.613760232925415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:13:32.228237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_54_9348.jpg', '/home/pi/Desktop/images/23012025/18/49/image_23012025_18_50_05_10337.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_15_10416.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_24_9346.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_35_10346.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_45_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_49_54_9348.jpg
/home/pi/Desktop/images/23012025/18/49/image_23012025_18_50_05_10337.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_15_10416.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_24_9346.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_35_10346.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_45_10429.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":["1330875622","1330875654","1330875648","1330875651","1330875627","1330875641"],"photo_ids_order":["1330875622","1330875627","1330875641","1330875648","1330875651","1330875654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d22c5f563571ccd5bb6769e114f8d99.jpg","text":"TemporaryFile(/tmp/multipartBody3842695954240158919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666873288,"filename":"image_23012025_18_49_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9117c9b76dc25d59619cd20e69c166c.jpg","text":"TemporaryFile(/tmp/multipartBody1788018668499748551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666873288,"filename":"image_23012025_18_50_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d4d9b35ce49c407085c636ab90a5a7c.jpg","text":"TemporaryFile(/tmp/multipartBody4184549696078159524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666873288,"filename":"image_23012025_18_50_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37b3f2fb114ad86d433abca32bc3aef0.jpg","text":"TemporaryFile(/tmp/multipartBody76577198677187308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666873288,"filename":"image_23012025_18_50_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/160eef338b772fd5e930c69ac95433d5.jpg","text":"TemporaryFile(/tmp/multipartBody6969782723011526606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666873288,"filename":"image_23012025_18_50_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/84bd7d1872604073cb26dd0f8d27ef0f.jpg","text":"TemporaryFile(/tmp/multipartBody1947015640887069919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666873288,"filename":"image_23012025_18_50_15_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875641","file1":"1330875627","file0":"1330875622","file4":"1330875651","file5":"1330875654","file3":"1330875648"},"map_files_photo_id_array":[{"photo_id":"1330875654","filename":"file5"},{"photo_id":"1330875641","filename":"file2"},{"photo_id":"1330875651","filename":"file4"},{"photo_id":"1330875627","filename":"file1"},{"photo_id":"1330875622","filename":"file0"},{"photo_id":"1330875648","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875622":["hashtag1","hashtag2"]},{"1330875654":["hashtag1","hashtag2"]},{"1330875648":["hashtag1","hashtag2"]},{"1330875651":["hashtag1","hashtag2"]},{"1330875627":["hashtag1","hashtag2"]},{"1330875641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875622, 1330875654, 1330875648, 1330875651, 1330875627, 1330875641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47954273223877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:14:32.397204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_55_9350.jpg', '/home/pi/Desktop/images/23012025/18/50/image_23012025_18_51_05_10398.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_14_9351.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_25_10352.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_35_10468.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_50_55_9350.jpg
/home/pi/Desktop/images/23012025/18/50/image_23012025_18_51_05_10398.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_14_9351.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_25_10352.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_35_10468.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_45_9341.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":["1330875712","1330875687","1330875681","1330875692","1330875701","1330875697"],"photo_ids_order":["1330875681","1330875687","1330875692","1330875697","1330875701","1330875712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c01f6b04afb664d9ddcb9a9171f63b68.jpg","text":"TemporaryFile(/tmp/multipartBody7521763813576488952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666933395,"filename":"image_23012025_18_51_45_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e56e70980064664ab56d7ccfec3ea0f0.jpg","text":"TemporaryFile(/tmp/multipartBody510151239070996023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666933395,"filename":"image_23012025_18_51_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2c69ec1408fb23522698e1089ee7fb9.jpg","text":"TemporaryFile(/tmp/multipartBody936089319778967348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666933395,"filename":"image_23012025_18_50_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e8c8835a5b5b6551dc00509de2535f94.jpg","text":"TemporaryFile(/tmp/multipartBody2635503471510985819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666933395,"filename":"image_23012025_18_51_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d60f42819d19fc5dcdd4f50df91caebf.jpg","text":"TemporaryFile(/tmp/multipartBody2694435619797309617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666933395,"filename":"image_23012025_18_51_35_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b5b79764c7b90ea6c7d9e02152190f5.jpg","text":"TemporaryFile(/tmp/multipartBody124036144054533125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666933395,"filename":"image_23012025_18_51_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875692","file1":"1330875687","file0":"1330875681","file4":"1330875701","file5":"1330875712","file3":"1330875697"},"map_files_photo_id_array":[{"photo_id":"1330875712","filename":"file5"},{"photo_id":"1330875692","filename":"file2"},{"photo_id":"1330875701","filename":"file4"},{"photo_id":"1330875687","filename":"file1"},{"photo_id":"1330875681","filename":"file0"},{"photo_id":"1330875697","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875712":["hashtag1","hashtag2"]},{"1330875687":["hashtag1","hashtag2"]},{"1330875681":["hashtag1","hashtag2"]},{"1330875692":["hashtag1","hashtag2"]},{"1330875701":["hashtag1","hashtag2"]},{"1330875697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875712, 1330875687, 1330875681, 1330875692, 1330875701, 1330875697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34620499610901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:15:32.660810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_55_10359.jpg', '/home/pi/Desktop/images/23012025/18/51/image_23012025_18_52_04_9429.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_15_10375.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_25_10387.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_34_9343.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_45_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_51_55_10359.jpg
/home/pi/Desktop/images/23012025/18/51/image_23012025_18_52_04_9429.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_15_10375.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_25_10387.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_34_9343.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_45_10327.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":["1330875844","1330875733","1330875882","1330875735","1330875738","1330875878"],"photo_ids_order":["1330875733","1330875735","1330875738","1330875844","1330875878","1330875882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/368f98407db0e53c7a34f9cb5648a0bb.jpg","text":"TemporaryFile(/tmp/multipartBody2062391020530142364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666993667,"filename":"image_23012025_18_52_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8fa2a5cfc41404cb1266a6a57c34cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2732616844228535390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666993667,"filename":"image_23012025_18_51_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08190f29f46d8aec331c2cccf9249ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2864765594465377302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666993667,"filename":"image_23012025_18_52_45_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fbf74577b47fc543ffe4f16fd48fe60b.jpg","text":"TemporaryFile(/tmp/multipartBody6825542453557895515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666993667,"filename":"image_23012025_18_52_04_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6a7a89e5f9b9a76c605d72bc0f2e47d.jpg","text":"TemporaryFile(/tmp/multipartBody7285940254766534000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666993667,"filename":"image_23012025_18_52_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bb39f26a15c513b6e4ba1864604f2cb.jpg","text":"TemporaryFile(/tmp/multipartBody319629453785657817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737666993667,"filename":"image_23012025_18_52_34_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875738","file1":"1330875735","file0":"1330875733","file4":"1330875878","file5":"1330875882","file3":"1330875844"},"map_files_photo_id_array":[{"photo_id":"1330875882","filename":"file5"},{"photo_id":"1330875738","filename":"file2"},{"photo_id":"1330875878","filename":"file4"},{"photo_id":"1330875735","filename":"file1"},{"photo_id":"1330875733","filename":"file0"},{"photo_id":"1330875844","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875844":["hashtag1","hashtag2"]},{"1330875733":["hashtag1","hashtag2"]},{"1330875882":["hashtag1","hashtag2"]},{"1330875735":["hashtag1","hashtag2"]},{"1330875738":["hashtag1","hashtag2"]},{"1330875878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875844, 1330875733, 1330875882, 1330875735, 1330875738, 1330875878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16475462913513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:16:32.833904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_55_10359.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_53_04_9360.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_15_10334.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_25_10359.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_35_9372.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_45_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_55_10359.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_53_04_9360.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_15_10334.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_25_10359.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_35_9372.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_45_10332.jpg
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: 0.621851921081543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:16:42.796547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_55_10359.jpg', '/home/pi/Desktop/images/23012025/18/52/image_23012025_18_53_04_9360.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_15_10334.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_25_10359.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_35_9372.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_45_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_52_55_10359.jpg
/home/pi/Desktop/images/23012025/18/52/image_23012025_18_53_04_9360.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_15_10334.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_25_10359.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_35_9372.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_45_10332.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":["1330875916","1330875945","1330875957","1330875939","1330875924","1330875950"],"photo_ids_order":["1330875916","1330875924","1330875939","1330875945","1330875950","1330875957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9644a064c61abce06c90f408f1ce2f4.jpg","text":"TemporaryFile(/tmp/multipartBody4748050641641768741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667063728,"filename":"image_23012025_18_52_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9b818e4c600bb72eca1e0e658018f80.jpg","text":"TemporaryFile(/tmp/multipartBody7596809314112585402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667063728,"filename":"image_23012025_18_53_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c3c47d08da24db4474efc434838e7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7988205848197048708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667063728,"filename":"image_23012025_18_53_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4431f5619f4c0f64502573fc1f73e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4008159902518926258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667063728,"filename":"image_23012025_18_53_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e92c7e54bade5ec59d0d864791d411a.jpg","text":"TemporaryFile(/tmp/multipartBody9075596895355584669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667063728,"filename":"image_23012025_18_53_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c21be4713d6d2649fe9c99d1f098531e.jpg","text":"TemporaryFile(/tmp/multipartBody8508181574216801489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667063728,"filename":"image_23012025_18_53_35_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875939","file1":"1330875924","file0":"1330875916","file4":"1330875950","file5":"1330875957","file3":"1330875945"},"map_files_photo_id_array":[{"photo_id":"1330875957","filename":"file5"},{"photo_id":"1330875939","filename":"file2"},{"photo_id":"1330875950","filename":"file4"},{"photo_id":"1330875924","filename":"file1"},{"photo_id":"1330875916","filename":"file0"},{"photo_id":"1330875945","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875916":["hashtag1","hashtag2"]},{"1330875945":["hashtag1","hashtag2"]},{"1330875957":["hashtag1","hashtag2"]},{"1330875939":["hashtag1","hashtag2"]},{"1330875924":["hashtag1","hashtag2"]},{"1330875950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875916, 1330875945, 1330875957, 1330875939, 1330875924, 1330875950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38626766204834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:17:33.037301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_54_9440.jpg', '/home/pi/Desktop/images/23012025/18/53/image_23012025_18_54_05_10350.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_15_10493.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_25_9399.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_35_10360.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_45_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_53_54_9440.jpg
/home/pi/Desktop/images/23012025/18/53/image_23012025_18_54_05_10350.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_15_10493.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_25_9399.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_35_10360.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_45_10338.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":["1330875981","1330875978","1330875995","1330875983","1330876001","1330875985"],"photo_ids_order":["1330875978","1330875981","1330875983","1330875985","1330875995","1330876001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb5894fdde48181a14b4f69849948198.jpg","text":"TemporaryFile(/tmp/multipartBody2890487513424557677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667114174,"filename":"image_23012025_18_54_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd717a30b8ee6fdef5bc229b3a9e5793.jpg","text":"TemporaryFile(/tmp/multipartBody8789068017883868558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667114174,"filename":"image_23012025_18_53_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6335a65bc4c7fec5e8e77a75e05eb47c.jpg","text":"TemporaryFile(/tmp/multipartBody7766813667056699604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667114174,"filename":"image_23012025_18_54_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3a3271a63f51356ae94ea53a772b4160.jpg","text":"TemporaryFile(/tmp/multipartBody63011952806452574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667114174,"filename":"image_23012025_18_54_15_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0775c46cb898c408a155c7eab6f277b1.jpg","text":"TemporaryFile(/tmp/multipartBody6583907545868038099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667114174,"filename":"image_23012025_18_54_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b60179183119e4bcc34007149235029.jpg","text":"TemporaryFile(/tmp/multipartBody2225981753841856286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667114174,"filename":"image_23012025_18_54_25_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330875983","file1":"1330875981","file0":"1330875978","file4":"1330875995","file5":"1330876001","file3":"1330875985"},"map_files_photo_id_array":[{"photo_id":"1330876001","filename":"file5"},{"photo_id":"1330875983","filename":"file2"},{"photo_id":"1330875995","filename":"file4"},{"photo_id":"1330875981","filename":"file1"},{"photo_id":"1330875978","filename":"file0"},{"photo_id":"1330875985","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330875981":["hashtag1","hashtag2"]},{"1330875978":["hashtag1","hashtag2"]},{"1330875995":["hashtag1","hashtag2"]},{"1330875983":["hashtag1","hashtag2"]},{"1330876001":["hashtag1","hashtag2"]},{"1330875985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330875981, 1330875978, 1330875995, 1330875983, 1330876001, 1330875985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87494444847107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:18:33.132930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_55_9373.jpg', '/home/pi/Desktop/images/23012025/18/54/image_23012025_18_55_05_10485.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_14_9333.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_25_10388.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_34_9464.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_45_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_54_55_9373.jpg
/home/pi/Desktop/images/23012025/18/54/image_23012025_18_55_05_10485.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_14_9333.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_25_10388.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_34_9464.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_45_10436.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":["1330876038","1330876127","1330876034","1330876072","1330876051","1330876045"],"photo_ids_order":["1330876034","1330876038","1330876045","1330876051","1330876072","1330876127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b779481c0ad9513721771216c1d10d5.jpg","text":"TemporaryFile(/tmp/multipartBody1298285109090160629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667174144,"filename":"image_23012025_18_55_05_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/512da819ad654991fff7c41a430d2b33.jpg","text":"TemporaryFile(/tmp/multipartBody5405027545557204729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667174144,"filename":"image_23012025_18_55_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9b4923b2d8c66ec4467f69a457dd7e04.jpg","text":"TemporaryFile(/tmp/multipartBody8113463891546907696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667174144,"filename":"image_23012025_18_54_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b87052a36a1f1fc3685066b701a9447.jpg","text":"TemporaryFile(/tmp/multipartBody3450134930313258118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667174144,"filename":"image_23012025_18_55_34_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8f84dcc14d8a5784de3953d5295fefc.jpg","text":"TemporaryFile(/tmp/multipartBody4535906190323421913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667174144,"filename":"image_23012025_18_55_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5d597e0878573f7a0b3076530b35ff76.jpg","text":"TemporaryFile(/tmp/multipartBody795346992442305050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667174144,"filename":"image_23012025_18_55_14_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330876045","file1":"1330876038","file0":"1330876034","file4":"1330876072","file5":"1330876127","file3":"1330876051"},"map_files_photo_id_array":[{"photo_id":"1330876127","filename":"file5"},{"photo_id":"1330876045","filename":"file2"},{"photo_id":"1330876072","filename":"file4"},{"photo_id":"1330876038","filename":"file1"},{"photo_id":"1330876034","filename":"file0"},{"photo_id":"1330876051","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330876038":["hashtag1","hashtag2"]},{"1330876127":["hashtag1","hashtag2"]},{"1330876034":["hashtag1","hashtag2"]},{"1330876072":["hashtag1","hashtag2"]},{"1330876051":["hashtag1","hashtag2"]},{"1330876045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330876038, 1330876127, 1330876034, 1330876072, 1330876051, 1330876045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60875225067139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:19:32.365294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_55_10374.jpg', '/home/pi/Desktop/images/23012025/18/55/image_23012025_18_56_04_9354.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_15_10336.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_25_10406.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_35_9360.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_45_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_55_55_10374.jpg
/home/pi/Desktop/images/23012025/18/55/image_23012025_18_56_04_9354.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_15_10336.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_25_10406.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_35_9360.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_45_10329.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":["1330876194","1330876200","1330876190","1330876181","1330876198","1330876177"],"photo_ids_order":["1330876177","1330876181","1330876190","1330876194","1330876198","1330876200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79c076819eefc61206b3c1b12add95db.jpg","text":"TemporaryFile(/tmp/multipartBody1039794590027396374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667233385,"filename":"image_23012025_18_56_25_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c37d76e070a2b184c985c7ac1c7cec1.jpg","text":"TemporaryFile(/tmp/multipartBody6899455783860617126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667233385,"filename":"image_23012025_18_56_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffbbf208f29e2fa9909be685ef0c7d80.jpg","text":"TemporaryFile(/tmp/multipartBody1280235112521459624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667233385,"filename":"image_23012025_18_56_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/afc849fe86a67aca1e1e5441b903caea.jpg","text":"TemporaryFile(/tmp/multipartBody1920094391201682782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667233385,"filename":"image_23012025_18_56_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c7811ab2ce11b3e522182b7a8009b7b.jpg","text":"TemporaryFile(/tmp/multipartBody3098841840889972036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667233385,"filename":"image_23012025_18_56_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef98129564da2b0abeb69bfaf52addf2.jpg","text":"TemporaryFile(/tmp/multipartBody1529375636828920130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667233385,"filename":"image_23012025_18_55_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330876190","file1":"1330876181","file0":"1330876177","file4":"1330876198","file5":"1330876200","file3":"1330876194"},"map_files_photo_id_array":[{"photo_id":"1330876200","filename":"file5"},{"photo_id":"1330876190","filename":"file2"},{"photo_id":"1330876198","filename":"file4"},{"photo_id":"1330876181","filename":"file1"},{"photo_id":"1330876177","filename":"file0"},{"photo_id":"1330876194","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330876194":["hashtag1","hashtag2"]},{"1330876200":["hashtag1","hashtag2"]},{"1330876190":["hashtag1","hashtag2"]},{"1330876181":["hashtag1","hashtag2"]},{"1330876198":["hashtag1","hashtag2"]},{"1330876177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330876194, 1330876200, 1330876190, 1330876181, 1330876198, 1330876177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08894085884094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:20:32.500755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_54_9422.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_57_05_10341.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_15_10472.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_24_9339.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_35_10350.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_45_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_54_9422.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_57_05_10341.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_15_10472.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_24_9339.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_35_10350.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_45_10331.jpg
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: 0.6139853000640869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:20:42.503857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_54_9422.jpg', '/home/pi/Desktop/images/23012025/18/56/image_23012025_18_57_05_10341.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_15_10472.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_24_9339.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_35_10350.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_45_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_56_54_9422.jpg
/home/pi/Desktop/images/23012025/18/56/image_23012025_18_57_05_10341.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_15_10472.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_24_9339.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_35_10350.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_45_10331.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":["1330876395","1330876247","1330876376","1330876381","1330876384","1330876366"],"photo_ids_order":["1330876247","1330876366","1330876376","1330876381","1330876384","1330876395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22685a8bd16ee01c6fd8acb378051a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3614823550517644805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667303437,"filename":"image_23012025_18_57_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/25d9206a2b51119c209bea40b5671514.jpg","text":"TemporaryFile(/tmp/multipartBody4047409110723612666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667303437,"filename":"image_23012025_18_56_54_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42a56d775751f5c271b122249d1314ac.jpg","text":"TemporaryFile(/tmp/multipartBody8212983911746882063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667303437,"filename":"image_23012025_18_57_15_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b69393d98b61847ed016f36976e5446.jpg","text":"TemporaryFile(/tmp/multipartBody7146971798269714882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667303437,"filename":"image_23012025_18_57_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7939d0e6dc8741566acdef2393b261f9.jpg","text":"TemporaryFile(/tmp/multipartBody5180993215879189713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667303437,"filename":"image_23012025_18_57_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6ff56ae45f6180d71b3b517356d5ef54.jpg","text":"TemporaryFile(/tmp/multipartBody3405524262495865883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667303437,"filename":"image_23012025_18_57_05_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330876376","file1":"1330876366","file0":"1330876247","file4":"1330876384","file5":"1330876395","file3":"1330876381"},"map_files_photo_id_array":[{"photo_id":"1330876395","filename":"file5"},{"photo_id":"1330876376","filename":"file2"},{"photo_id":"1330876384","filename":"file4"},{"photo_id":"1330876366","filename":"file1"},{"photo_id":"1330876247","filename":"file0"},{"photo_id":"1330876381","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330876395":["hashtag1","hashtag2"]},{"1330876247":["hashtag1","hashtag2"]},{"1330876376":["hashtag1","hashtag2"]},{"1330876381":["hashtag1","hashtag2"]},{"1330876384":["hashtag1","hashtag2"]},{"1330876366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330876395, 1330876247, 1330876376, 1330876381, 1330876384, 1330876366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15016436576843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:21:32.912050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_54_9348.jpg', '/home/pi/Desktop/images/23012025/18/57/image_23012025_18_58_05_10397.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_14_9437.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_25_10364.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_35_10477.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_45_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_57_54_9348.jpg
/home/pi/Desktop/images/23012025/18/57/image_23012025_18_58_05_10397.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_14_9437.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_25_10364.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_35_10477.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_45_9351.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":["1330876548","1330876539","1330876508","1330876502","1330876558","1330876497"],"photo_ids_order":["1330876497","1330876502","1330876508","1330876539","1330876548","1330876558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ae5dc4f1fcf0b5d3d2adeb02e119d23.jpg","text":"TemporaryFile(/tmp/multipartBody4441548139928094395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667353928,"filename":"image_23012025_18_58_35_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9f33ee5e17d3582f73bc33778f7e413.jpg","text":"TemporaryFile(/tmp/multipartBody8378830684612483259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667353928,"filename":"image_23012025_18_58_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/088b801b0e8c73b0a6a02191954bf5c1.jpg","text":"TemporaryFile(/tmp/multipartBody1583870939297648602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667353928,"filename":"image_23012025_18_58_14_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/35b5fb96dc0d80294ba3507440a3d720.jpg","text":"TemporaryFile(/tmp/multipartBody8118711505440224543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667353928,"filename":"image_23012025_18_58_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/797df9bd7c82fa8773fa67cfeb25a377.jpg","text":"TemporaryFile(/tmp/multipartBody7417273285826695285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667353928,"filename":"image_23012025_18_58_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1e4b56076b9dd97e60275416c48ed60a.jpg","text":"TemporaryFile(/tmp/multipartBody2296616894927910497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667353928,"filename":"image_23012025_18_57_54_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330876508","file1":"1330876502","file0":"1330876497","file4":"1330876548","file5":"1330876558","file3":"1330876539"},"map_files_photo_id_array":[{"photo_id":"1330876558","filename":"file5"},{"photo_id":"1330876508","filename":"file2"},{"photo_id":"1330876548","filename":"file4"},{"photo_id":"1330876502","filename":"file1"},{"photo_id":"1330876497","filename":"file0"},{"photo_id":"1330876539","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330876548":["hashtag1","hashtag2"]},{"1330876539":["hashtag1","hashtag2"]},{"1330876508":["hashtag1","hashtag2"]},{"1330876502":["hashtag1","hashtag2"]},{"1330876558":["hashtag1","hashtag2"]},{"1330876497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330876548, 1330876539, 1330876508, 1330876502, 1330876558, 1330876497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34772491455078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:22:32.888983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_55_10347.jpg', '/home/pi/Desktop/images/23012025/18/58/image_23012025_18_59_05_10378.jpg', '/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_15_9412.jpg', '/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_25_10485.jpg', '/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_34_9355.jpg', '/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_58_55_10347.jpg
/home/pi/Desktop/images/23012025/18/58/image_23012025_18_59_05_10378.jpg
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_15_9412.jpg
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_25_10485.jpg
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_34_9355.jpg
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_45_10356.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":["1330877441","1330877504","1330877429","1330877479","1330877515","1330877512"],"photo_ids_order":["1330877429","1330877441","1330877479","1330877504","1330877512","1330877515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68a54aed63ac53ae38cd6f6b6cbeea75.jpg","text":"TemporaryFile(/tmp/multipartBody7128526891168395876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667413897,"filename":"image_23012025_18_59_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/022639447d4dce5682be923123b1d429.jpg","text":"TemporaryFile(/tmp/multipartBody3991886985029276588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667413897,"filename":"image_23012025_18_59_25_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/738279a789cd44c621618949cfd42ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5376096862855261521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667413897,"filename":"image_23012025_18_58_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/98747694162bd71ab84b048fa6031959.jpg","text":"TemporaryFile(/tmp/multipartBody1924415747341471198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667413897,"filename":"image_23012025_18_59_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dbb61aaac3eb1fec55e5a6e63a08bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7676980117153616805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667413897,"filename":"image_23012025_18_59_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a696ce8b26edfd8535955e4fe6e3fa5f.jpg","text":"TemporaryFile(/tmp/multipartBody3303942673409782791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667413897,"filename":"image_23012025_18_59_34_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330877479","file1":"1330877441","file0":"1330877429","file4":"1330877512","file5":"1330877515","file3":"1330877504"},"map_files_photo_id_array":[{"photo_id":"1330877515","filename":"file5"},{"photo_id":"1330877479","filename":"file2"},{"photo_id":"1330877512","filename":"file4"},{"photo_id":"1330877441","filename":"file1"},{"photo_id":"1330877429","filename":"file0"},{"photo_id":"1330877504","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330877441":["hashtag1","hashtag2"]},{"1330877504":["hashtag1","hashtag2"]},{"1330877429":["hashtag1","hashtag2"]},{"1330877479":["hashtag1","hashtag2"]},{"1330877515":["hashtag1","hashtag2"]},{"1330877512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330877441, 1330877504, 1330877429, 1330877479, 1330877515, 1330877512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82645511627197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:23:33.039551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_54_9440.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_14_10068.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_24_10367.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_35_10396.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_44_9346.jpg', '/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_54_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/18/59/image_23012025_18_59_54_9440.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_14_10068.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_24_10367.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_35_10396.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_44_9346.jpg
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_01_54_10365.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":["1330877893","1330877869","1330877923","1330877620","1330877920","1330877836"],"photo_ids_order":["1330877620","1330877836","1330877869","1330877893","1330877920","1330877923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a7013bc53ae747286bea039e81a094a.jpg","text":"TemporaryFile(/tmp/multipartBody1887216476298228917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667474064,"filename":"image_23012025_19_01_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/71a5900cb6304650fc1034d6a8997d67.jpg","text":"TemporaryFile(/tmp/multipartBody8747238641858469604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667474064,"filename":"image_23012025_19_01_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/816ec6f03e7c651df0c9e297c8a783b0.jpg","text":"TemporaryFile(/tmp/multipartBody2735155101900830837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667474064,"filename":"image_23012025_19_01_54_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8101aa4d133150cefd7c6dc0e05245fb.jpg","text":"TemporaryFile(/tmp/multipartBody6597933592211802644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667474064,"filename":"image_23012025_18_59_54_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7f7c2e1aca06220dbb84543159d75d86.jpg","text":"TemporaryFile(/tmp/multipartBody1262956948054833355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667474064,"filename":"image_23012025_19_01_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad1714314f0d0bea5b9fe67950f4de4b.jpg","text":"TemporaryFile(/tmp/multipartBody4925965254000520222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667474064,"filename":"image_23012025_19_01_14_10068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330877869","file1":"1330877836","file0":"1330877620","file4":"1330877920","file5":"1330877923","file3":"1330877893"},"map_files_photo_id_array":[{"photo_id":"1330877923","filename":"file5"},{"photo_id":"1330877869","filename":"file2"},{"photo_id":"1330877920","filename":"file4"},{"photo_id":"1330877836","filename":"file1"},{"photo_id":"1330877620","filename":"file0"},{"photo_id":"1330877893","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330877893":["hashtag1","hashtag2"]},{"1330877869":["hashtag1","hashtag2"]},{"1330877923":["hashtag1","hashtag2"]},{"1330877620":["hashtag1","hashtag2"]},{"1330877920":["hashtag1","hashtag2"]},{"1330877836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330877893, 1330877869, 1330877923, 1330877620, 1330877920, 1330877836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47644591331482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:24:33.152290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/01/image_23012025_19_02_05_10393.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_14_9350.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_24_10350.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_35_10336.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_44_9353.jpg', '/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_55_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/01/image_23012025_19_02_05_10393.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_14_9350.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_24_10350.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_35_10336.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_44_9353.jpg
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_02_55_10350.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":["1330878062","1330878044","1330878053","1330878047","1330878058","1330878066"],"photo_ids_order":["1330878044","1330878047","1330878053","1330878058","1330878062","1330878066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7273afbbb7f99f8305999519881d73b.jpg","text":"TemporaryFile(/tmp/multipartBody5481187996322514948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667534198,"filename":"image_23012025_19_02_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0e901f3cfcd847358037b53335ac412.jpg","text":"TemporaryFile(/tmp/multipartBody3460938547634840366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667534198,"filename":"image_23012025_19_02_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef871db24a836a5b98e5544ef5859deb.jpg","text":"TemporaryFile(/tmp/multipartBody4771666882442339597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667534198,"filename":"image_23012025_19_02_24_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8299c5b3c5fe81601676c216d9c83e99.jpg","text":"TemporaryFile(/tmp/multipartBody2557477696853304833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667534198,"filename":"image_23012025_19_02_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/729db1d9e2b213d4eec04e41623bb2c1.jpg","text":"TemporaryFile(/tmp/multipartBody6212002986716343466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667534198,"filename":"image_23012025_19_02_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3734eb6dd7c105f0032d6d660c4b447f.jpg","text":"TemporaryFile(/tmp/multipartBody447751566801113113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667534198,"filename":"image_23012025_19_02_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878053","file1":"1330878047","file0":"1330878044","file4":"1330878062","file5":"1330878066","file3":"1330878058"},"map_files_photo_id_array":[{"photo_id":"1330878066","filename":"file5"},{"photo_id":"1330878053","filename":"file2"},{"photo_id":"1330878062","filename":"file4"},{"photo_id":"1330878047","filename":"file1"},{"photo_id":"1330878044","filename":"file0"},{"photo_id":"1330878058","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878062":["hashtag1","hashtag2"]},{"1330878044":["hashtag1","hashtag2"]},{"1330878053":["hashtag1","hashtag2"]},{"1330878047":["hashtag1","hashtag2"]},{"1330878058":["hashtag1","hashtag2"]},{"1330878066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878062, 1330878044, 1330878053, 1330878047, 1330878058, 1330878066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.83124923706055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:25:32.442088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/02/image_23012025_19_03_04_9330.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_14_10409.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_25_10351.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_34_9453.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_44_10337.jpg', '/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_55_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/02/image_23012025_19_03_04_9330.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_14_10409.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_25_10351.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_34_9453.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_44_10337.jpg
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_03_55_10361.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":["1330878121","1330878118","1330878127","1330878135","1330878138","1330878123"],"photo_ids_order":["1330878118","1330878121","1330878123","1330878127","1330878135","1330878138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af808c03be69994fbdb0905e6ad44d50.jpg","text":"TemporaryFile(/tmp/multipartBody4799468110749412916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667593494,"filename":"image_23012025_19_03_14_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/084a0522f9077c4a72dfb6c702cafa8e.jpg","text":"TemporaryFile(/tmp/multipartBody8829816537740657732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667593494,"filename":"image_23012025_19_03_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83c98390b338daca20600c4722c03b8e.jpg","text":"TemporaryFile(/tmp/multipartBody5555343808599792482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667593494,"filename":"image_23012025_19_03_34_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/36df3821073ea4a45c90ac391213281f.jpg","text":"TemporaryFile(/tmp/multipartBody2126844868064399568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667593494,"filename":"image_23012025_19_03_44_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51b9c10e1b3b89aa2f10a92a0bb8be58.jpg","text":"TemporaryFile(/tmp/multipartBody2847826347573052457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667593494,"filename":"image_23012025_19_03_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9be07e15d0cd996a1a940b1f0752663.jpg","text":"TemporaryFile(/tmp/multipartBody7695909777668057771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667593494,"filename":"image_23012025_19_03_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878123","file1":"1330878121","file0":"1330878118","file4":"1330878135","file5":"1330878138","file3":"1330878127"},"map_files_photo_id_array":[{"photo_id":"1330878138","filename":"file5"},{"photo_id":"1330878123","filename":"file2"},{"photo_id":"1330878135","filename":"file4"},{"photo_id":"1330878121","filename":"file1"},{"photo_id":"1330878118","filename":"file0"},{"photo_id":"1330878127","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878121":["hashtag1","hashtag2"]},{"1330878118":["hashtag1","hashtag2"]},{"1330878127":["hashtag1","hashtag2"]},{"1330878135":["hashtag1","hashtag2"]},{"1330878138":["hashtag1","hashtag2"]},{"1330878123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878121, 1330878118, 1330878127, 1330878135, 1330878138, 1330878123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32381772994995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:26:32.578313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/03/image_23012025_19_04_04_9461.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_15_10332.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_24_9407.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_34_10409.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_45_10371.jpg', '/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_54_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/03/image_23012025_19_04_04_9461.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_15_10332.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_24_9407.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_34_10409.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_45_10371.jpg
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_04_54_9369.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":["1330878188","1330878184","1330878195","1330878180","1330878177","1330878191"],"photo_ids_order":["1330878177","1330878180","1330878184","1330878188","1330878191","1330878195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3a18f52262e7d957f5abf926c2c18cc.jpg","text":"TemporaryFile(/tmp/multipartBody5612184803843935238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667653586,"filename":"image_23012025_19_04_34_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/256f204256cf59a811c69656b3e5b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3139458207434477233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667653586,"filename":"image_23012025_19_04_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05acf7f0998281742f6c948d1d065a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8501794481933618278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667653586,"filename":"image_23012025_19_04_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd7c74e586294fc01b99dd680ff3ae66.jpg","text":"TemporaryFile(/tmp/multipartBody4335313396953974240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667653586,"filename":"image_23012025_19_04_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b407a4eb6f96f556102e64482a29af98.jpg","text":"TemporaryFile(/tmp/multipartBody8681529519616625050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667653586,"filename":"image_23012025_19_04_04_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb4d8c9ad7677fd04f2026bf1de44da4.jpg","text":"TemporaryFile(/tmp/multipartBody2148567218938971601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667653586,"filename":"image_23012025_19_04_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878184","file1":"1330878180","file0":"1330878177","file4":"1330878191","file5":"1330878195","file3":"1330878188"},"map_files_photo_id_array":[{"photo_id":"1330878195","filename":"file5"},{"photo_id":"1330878184","filename":"file2"},{"photo_id":"1330878191","filename":"file4"},{"photo_id":"1330878180","filename":"file1"},{"photo_id":"1330878177","filename":"file0"},{"photo_id":"1330878188","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878188":["hashtag1","hashtag2"]},{"1330878184":["hashtag1","hashtag2"]},{"1330878195":["hashtag1","hashtag2"]},{"1330878180":["hashtag1","hashtag2"]},{"1330878177":["hashtag1","hashtag2"]},{"1330878191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878188, 1330878184, 1330878195, 1330878180, 1330878177, 1330878191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99136471748352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:27:32.658240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/04/image_23012025_19_05_04_10358.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_15_10339.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_24_9457.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_35_10344.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_44_9398.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_54_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_05_04_10358.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_15_10339.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_24_9457.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_35_10344.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_44_9398.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_54_10374.jpg
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: 0.6136825084686279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:27:42.740220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/04/image_23012025_19_05_04_10358.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_15_10339.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_24_9457.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_35_10344.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_44_9398.jpg', '/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_54_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/04/image_23012025_19_05_04_10358.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_15_10339.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_24_9457.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_35_10344.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_44_9398.jpg
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_05_54_10374.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":["1330878449","1330878536","1330878530","1330878454","1330878442","1330878513"],"photo_ids_order":["1330878442","1330878449","1330878454","1330878513","1330878530","1330878536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22f6d9feebbebd2fccd4e72af51508c3.jpg","text":"TemporaryFile(/tmp/multipartBody2024490953678942665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667724196,"filename":"image_23012025_19_05_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9084a1c8dc9e44f1b1318a01d924635b.jpg","text":"TemporaryFile(/tmp/multipartBody4487610555094795446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667724196,"filename":"image_23012025_19_05_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21dc85afc08edc3582ea85e637cabfc7.jpg","text":"TemporaryFile(/tmp/multipartBody6895673345243409272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667724196,"filename":"image_23012025_19_05_44_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0950762f707e3e9dc7663f810c3da75.jpg","text":"TemporaryFile(/tmp/multipartBody528219449611550578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667724196,"filename":"image_23012025_19_05_24_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4e1e07e22d32b60777bebc368742be10.jpg","text":"TemporaryFile(/tmp/multipartBody8356438553724324689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667724196,"filename":"image_23012025_19_05_04_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f9326ed4d47a82a1f84ec9e2227d4420.jpg","text":"TemporaryFile(/tmp/multipartBody4275234996445020843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667724196,"filename":"image_23012025_19_05_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878454","file1":"1330878449","file0":"1330878442","file4":"1330878530","file5":"1330878536","file3":"1330878513"},"map_files_photo_id_array":[{"photo_id":"1330878536","filename":"file5"},{"photo_id":"1330878454","filename":"file2"},{"photo_id":"1330878530","filename":"file4"},{"photo_id":"1330878449","filename":"file1"},{"photo_id":"1330878442","filename":"file0"},{"photo_id":"1330878513","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878449":["hashtag1","hashtag2"]},{"1330878536":["hashtag1","hashtag2"]},{"1330878530":["hashtag1","hashtag2"]},{"1330878454":["hashtag1","hashtag2"]},{"1330878442":["hashtag1","hashtag2"]},{"1330878513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878449, 1330878536, 1330878530, 1330878454, 1330878442, 1330878513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30128526687622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:28:32.912093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/05/image_23012025_19_06_05_10355.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_14_9447.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_25_10458.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_34_9378.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_44_10349.jpg', '/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_55_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/05/image_23012025_19_06_05_10355.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_14_9447.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_25_10458.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_34_9378.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_44_10349.jpg
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_06_55_10348.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":["1330878563","1330878551","1330878560","1330878556","1330878553","1330878558"],"photo_ids_order":["1330878551","1330878553","1330878556","1330878558","1330878560","1330878563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/74d89f1c4f761632242dc650432c8bfb.jpg","text":"TemporaryFile(/tmp/multipartBody5486754857986120639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667773929,"filename":"image_23012025_19_06_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a46d675ac9b67c9b8550a8e6995bc081.jpg","text":"TemporaryFile(/tmp/multipartBody7701352618830337854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667773929,"filename":"image_23012025_19_06_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a9957d957b056d64f89f248f7fd7772a.jpg","text":"TemporaryFile(/tmp/multipartBody5690479312868605612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667773929,"filename":"image_23012025_19_06_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b023ca5051259102a8b8b19e07030066.jpg","text":"TemporaryFile(/tmp/multipartBody7181775581209477009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667773929,"filename":"image_23012025_19_06_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcda4cfcd4ac889a91cebd36664f27d9.jpg","text":"TemporaryFile(/tmp/multipartBody2012498328183540562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667773929,"filename":"image_23012025_19_06_14_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c421e4f0f1ca37bc6e05ac3b4614b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody1907271383565018160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667773929,"filename":"image_23012025_19_06_34_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878556","file1":"1330878553","file0":"1330878551","file4":"1330878560","file5":"1330878563","file3":"1330878558"},"map_files_photo_id_array":[{"photo_id":"1330878563","filename":"file5"},{"photo_id":"1330878556","filename":"file2"},{"photo_id":"1330878560","filename":"file4"},{"photo_id":"1330878553","filename":"file1"},{"photo_id":"1330878551","filename":"file0"},{"photo_id":"1330878558","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878563":["hashtag1","hashtag2"]},{"1330878551":["hashtag1","hashtag2"]},{"1330878560":["hashtag1","hashtag2"]},{"1330878556":["hashtag1","hashtag2"]},{"1330878553":["hashtag1","hashtag2"]},{"1330878558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878563, 1330878551, 1330878560, 1330878556, 1330878553, 1330878558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.919421672821045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:29:32.235872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/06/image_23012025_19_07_04_9341.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_14_10330.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_25_10363.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_34_9339.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_44_10332.jpg', '/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_55_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/06/image_23012025_19_07_04_9341.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_14_10330.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_25_10363.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_34_9339.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_44_10332.jpg
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_07_55_10369.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":["1330878626","1330878629","1330878620","1330878623","1330878631","1330878633"],"photo_ids_order":["1330878620","1330878623","1330878626","1330878629","1330878631","1330878633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd7ccfbf0c5ab510ce5c91026461c123.jpg","text":"TemporaryFile(/tmp/multipartBody4129183014778003113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667833254,"filename":"image_23012025_19_07_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59d1110ae273ec514f8fca720735acb3.jpg","text":"TemporaryFile(/tmp/multipartBody5327398978026760441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667833254,"filename":"image_23012025_19_07_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcec0a40fc6b94e28fe61c97bae37926.jpg","text":"TemporaryFile(/tmp/multipartBody8645604505960789186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667833254,"filename":"image_23012025_19_07_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e109fa504c94b2d2b4ea77245aded8f2.jpg","text":"TemporaryFile(/tmp/multipartBody2349369628066092828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667833254,"filename":"image_23012025_19_07_14_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1df00ebd4ff4fadec5f2effca296619.jpg","text":"TemporaryFile(/tmp/multipartBody5615644959772138069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667833254,"filename":"image_23012025_19_07_44_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ac8ab4883847ebb843104ec1ee0bfe4d.jpg","text":"TemporaryFile(/tmp/multipartBody3806970667154699068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667833254,"filename":"image_23012025_19_07_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878626","file1":"1330878623","file0":"1330878620","file4":"1330878631","file5":"1330878633","file3":"1330878629"},"map_files_photo_id_array":[{"photo_id":"1330878633","filename":"file5"},{"photo_id":"1330878626","filename":"file2"},{"photo_id":"1330878631","filename":"file4"},{"photo_id":"1330878623","filename":"file1"},{"photo_id":"1330878620","filename":"file0"},{"photo_id":"1330878629","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878626":["hashtag1","hashtag2"]},{"1330878629":["hashtag1","hashtag2"]},{"1330878620":["hashtag1","hashtag2"]},{"1330878623":["hashtag1","hashtag2"]},{"1330878631":["hashtag1","hashtag2"]},{"1330878633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878626, 1330878629, 1330878620, 1330878623, 1330878631, 1330878633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.813581228256226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:30:32.417703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/07/image_23012025_19_08_04_9467.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_15_10324.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_24_9399.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_34_10439.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_45_10345.jpg', '/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_54_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/07/image_23012025_19_08_04_9467.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_15_10324.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_24_9399.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_34_10439.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_45_10345.jpg
/home/pi/Desktop/images/23012025/19/08/image_23012025_19_08_54_9365.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":["1330878743","1330878731","1330878737","1330878724","1330878741","1330878744"],"photo_ids_order":["1330878724","1330878731","1330878737","1330878741","1330878743","1330878744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/627f0d2eb4561c854950ce2223a30642.jpg","text":"TemporaryFile(/tmp/multipartBody5870605857024052779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667893420,"filename":"image_23012025_19_08_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73d69b2d80800bd030c9d92409a73f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2366745383294406935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667893420,"filename":"image_23012025_19_08_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed0a317667cd5bf01ca3798d66ab0eac.jpg","text":"TemporaryFile(/tmp/multipartBody2694559104287791198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667893420,"filename":"image_23012025_19_08_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b4b2aafa82c85d18b04b5b2820fe8536.jpg","text":"TemporaryFile(/tmp/multipartBody992335082326690165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667893420,"filename":"image_23012025_19_08_04_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b506d2cfe5ce59d3f0a6566f3901cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8683680775938177500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667893420,"filename":"image_23012025_19_08_34_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/242a3804c238ca5615fe0633b60d3722.jpg","text":"TemporaryFile(/tmp/multipartBody6271199845714366221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667893420,"filename":"image_23012025_19_08_54_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878737","file1":"1330878731","file0":"1330878724","file4":"1330878743","file5":"1330878744","file3":"1330878741"},"map_files_photo_id_array":[{"photo_id":"1330878744","filename":"file5"},{"photo_id":"1330878737","filename":"file2"},{"photo_id":"1330878743","filename":"file4"},{"photo_id":"1330878731","filename":"file1"},{"photo_id":"1330878724","filename":"file0"},{"photo_id":"1330878741","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878743":["hashtag1","hashtag2"]},{"1330878731":["hashtag1","hashtag2"]},{"1330878737":["hashtag1","hashtag2"]},{"1330878724":["hashtag1","hashtag2"]},{"1330878741":["hashtag1","hashtag2"]},{"1330878744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878743, 1330878731, 1330878737, 1330878724, 1330878741, 1330878744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.215890884399414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:31:32.591762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_15_10348.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_54_10370.jpg', '/home/pi/Desktop/images/23012025/19/09/image_23012025_19_10_05_10353.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_14_9356.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_24_10349.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_34_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_15_10348.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_09_54_10370.jpg
/home/pi/Desktop/images/23012025/19/09/image_23012025_19_10_05_10353.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_14_9356.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_24_10349.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_34_9455.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":["1330878983","1330879013","1330878994","1330878967","1330878952","1330878957"],"photo_ids_order":["1330878952","1330878957","1330878967","1330878983","1330878994","1330879013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd91f9884008b650963648acfa19bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody1725359452068926122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667953609,"filename":"image_23012025_19_10_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fcb928cf3a348e1168278750db89f1c5.jpg","text":"TemporaryFile(/tmp/multipartBody2980446385985621913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667953609,"filename":"image_23012025_19_10_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/595b61d23fb86c810a4b9e8be9f404c2.jpg","text":"TemporaryFile(/tmp/multipartBody5865641324997316122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667953609,"filename":"image_23012025_19_10_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9b726e324030787250ecd3d9fccffc9.jpg","text":"TemporaryFile(/tmp/multipartBody3069435198276674424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667953609,"filename":"image_23012025_19_10_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b727de8856735298550dbd4e7956d1db.jpg","text":"TemporaryFile(/tmp/multipartBody7677624639777488301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667953609,"filename":"image_23012025_19_09_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b64e3959ff55ef42841053d3b8a7d4ce.jpg","text":"TemporaryFile(/tmp/multipartBody4106674299830387476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737667953609,"filename":"image_23012025_19_09_54_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330878967","file1":"1330878957","file0":"1330878952","file4":"1330878994","file5":"1330879013","file3":"1330878983"},"map_files_photo_id_array":[{"photo_id":"1330879013","filename":"file5"},{"photo_id":"1330878967","filename":"file2"},{"photo_id":"1330878994","filename":"file4"},{"photo_id":"1330878957","filename":"file1"},{"photo_id":"1330878952","filename":"file0"},{"photo_id":"1330878983","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330878983":["hashtag1","hashtag2"]},{"1330879013":["hashtag1","hashtag2"]},{"1330878994":["hashtag1","hashtag2"]},{"1330878967":["hashtag1","hashtag2"]},{"1330878952":["hashtag1","hashtag2"]},{"1330878957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330878983, 1330879013, 1330878994, 1330878967, 1330878952, 1330878957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08159351348877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:32:32.741307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_44_10462.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_55_10381.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_11_04_9339.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_14_10335.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_25_10334.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_34_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_44_10462.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_55_10381.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_11_04_9339.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_14_10335.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_25_10334.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_34_9408.jpg
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: 0.624244213104248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:32:42.717317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_44_10462.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_55_10381.jpg', '/home/pi/Desktop/images/23012025/19/10/image_23012025_19_11_04_9339.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_14_10335.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_25_10334.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_34_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_44_10462.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_10_55_10381.jpg
/home/pi/Desktop/images/23012025/19/10/image_23012025_19_11_04_9339.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_14_10335.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_25_10334.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_34_9408.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":["1330879634","1330879572","1330879626","1330879554","1330879641","1330879598"],"photo_ids_order":["1330879554","1330879572","1330879598","1330879626","1330879634","1330879641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24ec3c68cae8b5aac47b1910c5e4a7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6236044840525413444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668023659,"filename":"image_23012025_19_11_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab318ee0375d3dc2eba0385bdf4293cd.jpg","text":"TemporaryFile(/tmp/multipartBody5491052243293209765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668023659,"filename":"image_23012025_19_10_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1cb3d3eb03ebd95e1091ba027a59fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody3184026849199809085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668023659,"filename":"image_23012025_19_11_14_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/64cbc4d7732c48531fe1c68fc2bf886a.jpg","text":"TemporaryFile(/tmp/multipartBody5402610705331743275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668023659,"filename":"image_23012025_19_10_44_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3df59840ad96a5100798f8e49d9ad463.jpg","text":"TemporaryFile(/tmp/multipartBody4722572275487115542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668023659,"filename":"image_23012025_19_11_34_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c881f32a50be4b10df023c4e7469ecbe.jpg","text":"TemporaryFile(/tmp/multipartBody4702579745896157030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668023659,"filename":"image_23012025_19_11_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330879598","file1":"1330879572","file0":"1330879554","file4":"1330879634","file5":"1330879641","file3":"1330879626"},"map_files_photo_id_array":[{"photo_id":"1330879641","filename":"file5"},{"photo_id":"1330879598","filename":"file2"},{"photo_id":"1330879634","filename":"file4"},{"photo_id":"1330879572","filename":"file1"},{"photo_id":"1330879554","filename":"file0"},{"photo_id":"1330879626","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330879634":["hashtag1","hashtag2"]},{"1330879572":["hashtag1","hashtag2"]},{"1330879626":["hashtag1","hashtag2"]},{"1330879554":["hashtag1","hashtag2"]},{"1330879641":["hashtag1","hashtag2"]},{"1330879598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330879634, 1330879572, 1330879626, 1330879554, 1330879641, 1330879598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38023495674133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:33:32.856041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_44_10341.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_55_10354.jpg', '/home/pi/Desktop/images/23012025/19/11/image_23012025_19_12_04_9344.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_15_10327.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_25_10331.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_34_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_44_10341.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_11_55_10354.jpg
/home/pi/Desktop/images/23012025/19/11/image_23012025_19_12_04_9344.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_15_10327.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_25_10331.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_34_9364.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":["1330879672","1330879681","1330879685","1330879667","1330879661","1330879664"],"photo_ids_order":["1330879661","1330879664","1330879667","1330879672","1330879681","1330879685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47b7a801744184af1d1d551f5d5e4dff.jpg","text":"TemporaryFile(/tmp/multipartBody2748664710271136667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668073881,"filename":"image_23012025_19_12_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a5d4744c5845f4d9482dcd4875ab381e.jpg","text":"TemporaryFile(/tmp/multipartBody592031622750812952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668073881,"filename":"image_23012025_19_12_25_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab378430efe3f755427704b483c8186c.jpg","text":"TemporaryFile(/tmp/multipartBody3877733733840358710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668073881,"filename":"image_23012025_19_12_34_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b751a53e056fa595a4471b809c8c7320.jpg","text":"TemporaryFile(/tmp/multipartBody5924573835850917206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668073881,"filename":"image_23012025_19_12_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a06dc8aee0b9ec2ef558ef023606f629.jpg","text":"TemporaryFile(/tmp/multipartBody1150454636161669230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668073881,"filename":"image_23012025_19_11_44_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20d959fba1263bcfc2833d8b19d187b7.jpg","text":"TemporaryFile(/tmp/multipartBody3618361992735241369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668073881,"filename":"image_23012025_19_11_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330879667","file1":"1330879664","file0":"1330879661","file4":"1330879681","file5":"1330879685","file3":"1330879672"},"map_files_photo_id_array":[{"photo_id":"1330879685","filename":"file5"},{"photo_id":"1330879667","filename":"file2"},{"photo_id":"1330879681","filename":"file4"},{"photo_id":"1330879664","filename":"file1"},{"photo_id":"1330879661","filename":"file0"},{"photo_id":"1330879672","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330879672":["hashtag1","hashtag2"]},{"1330879681":["hashtag1","hashtag2"]},{"1330879685":["hashtag1","hashtag2"]},{"1330879667":["hashtag1","hashtag2"]},{"1330879661":["hashtag1","hashtag2"]},{"1330879664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330879672, 1330879681, 1330879685, 1330879667, 1330879661, 1330879664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12156534194946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:34:33.074619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_45_10341.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_54_9339.jpg', '/home/pi/Desktop/images/23012025/19/12/image_23012025_19_13_04_10444.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_15_10347.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_24_9478.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_44_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_45_10341.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_12_54_9339.jpg
/home/pi/Desktop/images/23012025/19/12/image_23012025_19_13_04_10444.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_15_10347.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_24_9478.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_44_9350.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":["1330879724","1330879718","1330879721","1330879731","1330879749","1330879742"],"photo_ids_order":["1330879718","1330879721","1330879724","1330879731","1330879742","1330879749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e20f9e9103b8954f71a064e375968c06.jpg","text":"TemporaryFile(/tmp/multipartBody3999896976578081826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668134083,"filename":"image_23012025_19_13_04_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb3bbba8d7fcde230ca4542bdc68fd79.jpg","text":"TemporaryFile(/tmp/multipartBody1691104049019001536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668134083,"filename":"image_23012025_19_12_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4add81ad8e376ddc4481bdfa8e7f4ce.jpg","text":"TemporaryFile(/tmp/multipartBody483736656709121748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668134083,"filename":"image_23012025_19_12_54_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eb63761d39902bc0504089140ec66b8d.jpg","text":"TemporaryFile(/tmp/multipartBody8752346522219052023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668134083,"filename":"image_23012025_19_13_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03d812a6cb4757047944f794d1cce71a.jpg","text":"TemporaryFile(/tmp/multipartBody6979828017397386055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668134083,"filename":"image_23012025_19_13_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0794ef915c97c1f1d0668913df6db78.jpg","text":"TemporaryFile(/tmp/multipartBody3987247009776219550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668134083,"filename":"image_23012025_19_13_24_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330879724","file1":"1330879721","file0":"1330879718","file4":"1330879742","file5":"1330879749","file3":"1330879731"},"map_files_photo_id_array":[{"photo_id":"1330879749","filename":"file5"},{"photo_id":"1330879724","filename":"file2"},{"photo_id":"1330879742","filename":"file4"},{"photo_id":"1330879721","filename":"file1"},{"photo_id":"1330879718","filename":"file0"},{"photo_id":"1330879731","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330879724":["hashtag1","hashtag2"]},{"1330879718":["hashtag1","hashtag2"]},{"1330879721":["hashtag1","hashtag2"]},{"1330879731":["hashtag1","hashtag2"]},{"1330879749":["hashtag1","hashtag2"]},{"1330879742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330879724, 1330879718, 1330879721, 1330879731, 1330879749, 1330879742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.240137577056885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:35:32.293292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_54_10368.jpg', '/home/pi/Desktop/images/23012025/19/13/image_23012025_19_14_05_10354.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_14_9495.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_24_10361.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_34_9401.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_44_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_13_54_10368.jpg
/home/pi/Desktop/images/23012025/19/13/image_23012025_19_14_05_10354.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_14_9495.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_24_10361.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_34_9401.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_44_10450.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":["1330879802","1330879805","1330879799","1330879790","1330879793","1330879796"],"photo_ids_order":["1330879790","1330879793","1330879796","1330879799","1330879802","1330879805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acb145832909a4fd6e9e0e093b7dc070.jpg","text":"TemporaryFile(/tmp/multipartBody7380475199938908506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668193299,"filename":"image_23012025_19_14_34_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a93366788546333b22c3650be70aeb68.jpg","text":"TemporaryFile(/tmp/multipartBody2921627150063622319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668193299,"filename":"image_23012025_19_14_44_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/67762fe1b08091449d781acd97549928.jpg","text":"TemporaryFile(/tmp/multipartBody7297699679701172004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668193299,"filename":"image_23012025_19_14_24_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/012469ea6834d04c295f174208f3cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody6218433479983872854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668193299,"filename":"image_23012025_19_13_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e985e7bbccd4929fda30a57b1d3072a0.jpg","text":"TemporaryFile(/tmp/multipartBody1965531718086751781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668193299,"filename":"image_23012025_19_14_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe752631291d0e2ee3e97238a55e7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody8866017182914790353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668193299,"filename":"image_23012025_19_14_14_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330879796","file1":"1330879793","file0":"1330879790","file4":"1330879802","file5":"1330879805","file3":"1330879799"},"map_files_photo_id_array":[{"photo_id":"1330879805","filename":"file5"},{"photo_id":"1330879796","filename":"file2"},{"photo_id":"1330879802","filename":"file4"},{"photo_id":"1330879793","filename":"file1"},{"photo_id":"1330879790","filename":"file0"},{"photo_id":"1330879799","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330879802":["hashtag1","hashtag2"]},{"1330879805":["hashtag1","hashtag2"]},{"1330879799":["hashtag1","hashtag2"]},{"1330879790":["hashtag1","hashtag2"]},{"1330879793":["hashtag1","hashtag2"]},{"1330879796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330879802, 1330879805, 1330879799, 1330879790, 1330879793, 1330879796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.03871178627014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:36:32.450311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_55_10368.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_15_04_9425.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_24_9367.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_34_10350.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_45_10410.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_54_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_55_10368.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_15_04_9425.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_24_9367.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_34_10350.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_45_10410.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_54_9430.jpg
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: 0.608494758605957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:36:42.489254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_55_10368.jpg', '/home/pi/Desktop/images/23012025/19/14/image_23012025_19_15_04_9425.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_24_9367.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_34_10350.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_45_10410.jpg', '/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_54_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_14_55_10368.jpg
/home/pi/Desktop/images/23012025/19/14/image_23012025_19_15_04_9425.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_24_9367.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_34_10350.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_45_10410.jpg
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_15_54_9430.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":["1330879843","1330879906","1330879878","1330879857","1330879871","1330879847"],"photo_ids_order":["1330879843","1330879847","1330879857","1330879871","1330879878","1330879906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bee6b367994aee0f4e5d5cb061c6fddf.jpg","text":"TemporaryFile(/tmp/multipartBody6345299875570768559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668263419,"filename":"image_23012025_19_14_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8fbdd39fd9377b938bfa926370d1b56d.jpg","text":"TemporaryFile(/tmp/multipartBody1915042268726125513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668263419,"filename":"image_23012025_19_15_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/245a7c2ad716851869f1b8803ac40d66.jpg","text":"TemporaryFile(/tmp/multipartBody9173333988599632688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668263419,"filename":"image_23012025_19_15_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1921f056cf1b7c54f12fecb6bec8ede4.jpg","text":"TemporaryFile(/tmp/multipartBody1514479574666087052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668263419,"filename":"image_23012025_19_15_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/256f82b9e5c4b4004994e7daf8583b72.jpg","text":"TemporaryFile(/tmp/multipartBody7244565412698249382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668263419,"filename":"image_23012025_19_15_34_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efe1bc2f51da163c27a8962e8ada06d2.jpg","text":"TemporaryFile(/tmp/multipartBody5236501655423825797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668263419,"filename":"image_23012025_19_15_04_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330879857","file1":"1330879847","file0":"1330879843","file4":"1330879878","file5":"1330879906","file3":"1330879871"},"map_files_photo_id_array":[{"photo_id":"1330879906","filename":"file5"},{"photo_id":"1330879857","filename":"file2"},{"photo_id":"1330879878","filename":"file4"},{"photo_id":"1330879847","filename":"file1"},{"photo_id":"1330879843","filename":"file0"},{"photo_id":"1330879871","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330879843":["hashtag1","hashtag2"]},{"1330879906":["hashtag1","hashtag2"]},{"1330879878":["hashtag1","hashtag2"]},{"1330879857":["hashtag1","hashtag2"]},{"1330879871":["hashtag1","hashtag2"]},{"1330879847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330879843, 1330879906, 1330879878, 1330879857, 1330879871, 1330879847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.53572082519531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:37:32.711617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/15/image_23012025_19_16_05_10420.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_24_9361.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_35_10355.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_44_9314.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_54_10449.jpg', '/home/pi/Desktop/images/23012025/19/16/image_23012025_19_17_05_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/15/image_23012025_19_16_05_10420.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_24_9361.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_35_10355.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_44_9314.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_16_54_10449.jpg
/home/pi/Desktop/images/23012025/19/16/image_23012025_19_17_05_10347.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":["1330879937","1330879922","1330879916","1330879919","1330879941","1330879926"],"photo_ids_order":["1330879916","1330879919","1330879922","1330879926","1330879937","1330879941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/849523dcf08ae5d9073223693accc569.jpg","text":"TemporaryFile(/tmp/multipartBody172221012934114521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668313721,"filename":"image_23012025_19_16_54_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/719b8d739918c3beeeac6ee457e447a6.jpg","text":"TemporaryFile(/tmp/multipartBody2983961869347643953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668313721,"filename":"image_23012025_19_16_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2c1974bb22dd788a8359c373783dafe1.jpg","text":"TemporaryFile(/tmp/multipartBody789684050375111787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668313721,"filename":"image_23012025_19_16_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55085762c6c36bdbad5f63630ab59bb7.jpg","text":"TemporaryFile(/tmp/multipartBody8952201508820642495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668313721,"filename":"image_23012025_19_16_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94e398aa43e558eecf5e1dd4cae17789.jpg","text":"TemporaryFile(/tmp/multipartBody5130328946528152093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668313721,"filename":"image_23012025_19_17_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9c881de0c09fc38a09f36aab1b6fc2a.jpg","text":"TemporaryFile(/tmp/multipartBody2471884997381997788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668313721,"filename":"image_23012025_19_16_44_9314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330879922","file1":"1330879919","file0":"1330879916","file4":"1330879937","file5":"1330879941","file3":"1330879926"},"map_files_photo_id_array":[{"photo_id":"1330879941","filename":"file5"},{"photo_id":"1330879922","filename":"file2"},{"photo_id":"1330879937","filename":"file4"},{"photo_id":"1330879919","filename":"file1"},{"photo_id":"1330879916","filename":"file0"},{"photo_id":"1330879926","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330879937":["hashtag1","hashtag2"]},{"1330879922":["hashtag1","hashtag2"]},{"1330879916":["hashtag1","hashtag2"]},{"1330879919":["hashtag1","hashtag2"]},{"1330879941":["hashtag1","hashtag2"]},{"1330879926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330879937, 1330879922, 1330879916, 1330879919, 1330879941, 1330879926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.95069360733032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:38:32.791995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_14_9488.jpg', '/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_25_10360.jpg', '/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_44_10355.jpg', '/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_55_10340.jpg', '/home/pi/Desktop/images/23012025/19/17/image_23012025_19_18_04_9387.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_14_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_14_9488.jpg
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_25_10360.jpg
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_44_10355.jpg
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_17_55_10340.jpg
/home/pi/Desktop/images/23012025/19/17/image_23012025_19_18_04_9387.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_14_10366.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":["1330879987","1330879984","1330879978","1330879974","1330879982","1330879970"],"photo_ids_order":["1330879970","1330879974","1330879978","1330879982","1330879984","1330879987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ebe4724190388ed997deb0a79ab5f02.jpg","text":"TemporaryFile(/tmp/multipartBody2600822886464550520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668373783,"filename":"image_23012025_19_18_14_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5d175aa53bb8d30a7615143c900db74.jpg","text":"TemporaryFile(/tmp/multipartBody6556618079762160047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668373783,"filename":"image_23012025_19_18_04_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f97386ba4e6a3a4276f8a36fd713ce51.jpg","text":"TemporaryFile(/tmp/multipartBody6749488663311225482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668373783,"filename":"image_23012025_19_17_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8bc6e88f9ab125b5fc796ded53c0f69c.jpg","text":"TemporaryFile(/tmp/multipartBody1473972755503489707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668373783,"filename":"image_23012025_19_17_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff68914abeed4eaa5caebef942399137.jpg","text":"TemporaryFile(/tmp/multipartBody7284995994194688585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668373783,"filename":"image_23012025_19_17_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf5450ef30d75d578ad13cc58be85ac6.jpg","text":"TemporaryFile(/tmp/multipartBody3861883033697374283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668373783,"filename":"image_23012025_19_17_14_9488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330879978","file1":"1330879974","file0":"1330879970","file4":"1330879984","file5":"1330879987","file3":"1330879982"},"map_files_photo_id_array":[{"photo_id":"1330879987","filename":"file5"},{"photo_id":"1330879978","filename":"file2"},{"photo_id":"1330879984","filename":"file4"},{"photo_id":"1330879974","filename":"file1"},{"photo_id":"1330879970","filename":"file0"},{"photo_id":"1330879982","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330879987":["hashtag1","hashtag2"]},{"1330879984":["hashtag1","hashtag2"]},{"1330879978":["hashtag1","hashtag2"]},{"1330879974":["hashtag1","hashtag2"]},{"1330879982":["hashtag1","hashtag2"]},{"1330879970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330879987, 1330879984, 1330879978, 1330879974, 1330879982, 1330879970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82657837867737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:39:33.101299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_25_10367.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_34_9362.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_44_10347.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_55_10366.jpg', '/home/pi/Desktop/images/23012025/19/18/image_23012025_19_19_04_9410.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_15_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_25_10367.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_34_9362.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_44_10347.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_18_55_10366.jpg
/home/pi/Desktop/images/23012025/19/18/image_23012025_19_19_04_9410.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_15_10342.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":["1330880069","1330880033","1330880071","1330880049","1330880064","1330880028"],"photo_ids_order":["1330880028","1330880033","1330880049","1330880064","1330880069","1330880071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0f9907402275a47080328fd72e4df275.jpg","text":"TemporaryFile(/tmp/multipartBody8163012821201597967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668434406,"filename":"image_23012025_19_19_04_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0784ea623896ff7d2b673901b2f6a5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7881191500369710611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668434406,"filename":"image_23012025_19_18_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f773de5105186dcf5b20c7e90a262fc.jpg","text":"TemporaryFile(/tmp/multipartBody730171402640365988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668434406,"filename":"image_23012025_19_19_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed6a03a570dfdb7b01d4421543683470.jpg","text":"TemporaryFile(/tmp/multipartBody7618632157260296896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668434406,"filename":"image_23012025_19_18_44_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6b1c2f58c77ad1d8c2aec9c92ee6e24.jpg","text":"TemporaryFile(/tmp/multipartBody737099952568933292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668434406,"filename":"image_23012025_19_18_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd4fc3b17ffc77208f2d646270a91ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3266838076558718300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668434406,"filename":"image_23012025_19_18_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330880049","file1":"1330880033","file0":"1330880028","file4":"1330880069","file5":"1330880071","file3":"1330880064"},"map_files_photo_id_array":[{"photo_id":"1330880071","filename":"file5"},{"photo_id":"1330880049","filename":"file2"},{"photo_id":"1330880069","filename":"file4"},{"photo_id":"1330880033","filename":"file1"},{"photo_id":"1330880028","filename":"file0"},{"photo_id":"1330880064","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330880069":["hashtag1","hashtag2"]},{"1330880033":["hashtag1","hashtag2"]},{"1330880071":["hashtag1","hashtag2"]},{"1330880049":["hashtag1","hashtag2"]},{"1330880064":["hashtag1","hashtag2"]},{"1330880028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330880069, 1330880033, 1330880071, 1330880049, 1330880064, 1330880028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19015288352966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:40:33.118963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_24_9357.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_34_10357.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_45_10323.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_54_9435.jpg', '/home/pi/Desktop/images/23012025/19/19/image_23012025_19_20_04_10356.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_15_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_24_9357.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_34_10357.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_45_10323.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_19_54_9435.jpg
/home/pi/Desktop/images/23012025/19/19/image_23012025_19_20_04_10356.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_15_10455.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":["1330880087","1330880089","1330880098","1330880113","1330880101","1330880094"],"photo_ids_order":["1330880087","1330880089","1330880094","1330880098","1330880101","1330880113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efacb5ca664c7b5dc5c66bfa50ceb16f.jpg","text":"TemporaryFile(/tmp/multipartBody1226729965708095023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668494123,"filename":"image_23012025_19_19_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f09ff034ddd6698eaa9dacb69fe3c87c.jpg","text":"TemporaryFile(/tmp/multipartBody3333982805750803980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668494123,"filename":"image_23012025_19_19_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3f3abff778fe66916d34d70643dddf2.jpg","text":"TemporaryFile(/tmp/multipartBody8268127230730808596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668494123,"filename":"image_23012025_19_19_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6110d15432561042cd7b71dca8089c64.jpg","text":"TemporaryFile(/tmp/multipartBody3380686216427256892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668494123,"filename":"image_23012025_19_20_15_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42b77ec5dd452821c7a70256c03e0560.jpg","text":"TemporaryFile(/tmp/multipartBody2847912166633113934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668494123,"filename":"image_23012025_19_20_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2dcdd0176e3daae295e1a25063fec63.jpg","text":"TemporaryFile(/tmp/multipartBody1887372877412766122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668494123,"filename":"image_23012025_19_19_45_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330880094","file1":"1330880089","file0":"1330880087","file4":"1330880101","file5":"1330880113","file3":"1330880098"},"map_files_photo_id_array":[{"photo_id":"1330880113","filename":"file5"},{"photo_id":"1330880094","filename":"file2"},{"photo_id":"1330880101","filename":"file4"},{"photo_id":"1330880089","filename":"file1"},{"photo_id":"1330880087","filename":"file0"},{"photo_id":"1330880098","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330880087":["hashtag1","hashtag2"]},{"1330880089":["hashtag1","hashtag2"]},{"1330880098":["hashtag1","hashtag2"]},{"1330880113":["hashtag1","hashtag2"]},{"1330880101":["hashtag1","hashtag2"]},{"1330880094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330880087, 1330880089, 1330880098, 1330880113, 1330880101, 1330880094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16115665435791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:41:32.274716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_24_9460.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_35_10401.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_44_9451.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_54_10363.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_21_05_10343.jpg', '/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_14_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_24_9460.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_35_10401.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_44_9451.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_54_10363.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_21_05_10343.jpg
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_14_9337.jpg
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: 0.6210300922393799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:41:42.288699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_24_9460.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_35_10401.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_44_9451.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_54_10363.jpg', '/home/pi/Desktop/images/23012025/19/20/image_23012025_19_21_05_10343.jpg', '/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_14_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_24_9460.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_35_10401.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_44_9451.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_20_54_10363.jpg
/home/pi/Desktop/images/23012025/19/20/image_23012025_19_21_05_10343.jpg
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_14_9337.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":["1330880345","1330880348","1330880333","1330880237","1330880269","1330880341"],"photo_ids_order":["1330880237","1330880269","1330880333","1330880341","1330880345","1330880348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1a8dedc174c35ea89f7b84b42bb1d4dd.jpg","text":"TemporaryFile(/tmp/multipartBody6123481874851438513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668563234,"filename":"image_23012025_19_21_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc6dda50604ad55f7f4be2002aed1bae.jpg","text":"TemporaryFile(/tmp/multipartBody3253013868794091338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668563234,"filename":"image_23012025_19_21_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/94e2f80aada4477fd6ee3ffe40e1483f.jpg","text":"TemporaryFile(/tmp/multipartBody346939394656128999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668563234,"filename":"image_23012025_19_20_44_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8cb86d13529e4735ae331f8907305baf.jpg","text":"TemporaryFile(/tmp/multipartBody2367360471407889577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668563234,"filename":"image_23012025_19_20_24_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/63a441ff45763c11697942ed0829eee7.jpg","text":"TemporaryFile(/tmp/multipartBody2875014972555350340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668563234,"filename":"image_23012025_19_20_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/166686a581cdb927341e3106d118b29b.jpg","text":"TemporaryFile(/tmp/multipartBody2692537124276814528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668563234,"filename":"image_23012025_19_20_54_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330880333","file1":"1330880269","file0":"1330880237","file4":"1330880345","file5":"1330880348","file3":"1330880341"},"map_files_photo_id_array":[{"photo_id":"1330880348","filename":"file5"},{"photo_id":"1330880333","filename":"file2"},{"photo_id":"1330880345","filename":"file4"},{"photo_id":"1330880269","filename":"file1"},{"photo_id":"1330880237","filename":"file0"},{"photo_id":"1330880341","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330880345":["hashtag1","hashtag2"]},{"1330880348":["hashtag1","hashtag2"]},{"1330880333":["hashtag1","hashtag2"]},{"1330880237":["hashtag1","hashtag2"]},{"1330880269":["hashtag1","hashtag2"]},{"1330880341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330880345, 1330880348, 1330880333, 1330880237, 1330880269, 1330880341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.60185647010803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:42:32.441873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_44_10342.jpg', '/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_55_10359.jpg', '/home/pi/Desktop/images/23012025/19/21/image_23012025_19_22_04_9425.jpg', '/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_34_9376.jpg', '/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_45_10326.jpg', '/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_54_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_44_10342.jpg
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_21_55_10359.jpg
/home/pi/Desktop/images/23012025/19/21/image_23012025_19_22_04_9425.jpg
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_34_9376.jpg
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_45_10326.jpg
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_22_54_9349.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":["1330880371","1330880362","1330880364","1330880373","1330880367","1330880358"],"photo_ids_order":["1330880358","1330880362","1330880364","1330880367","1330880371","1330880373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/588798fd39c4352acc8b8476b696c772.jpg","text":"TemporaryFile(/tmp/multipartBody2216117992762031022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668613424,"filename":"image_23012025_19_22_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/843cb3e82e6a8d7cb5ce73a889aa65c4.jpg","text":"TemporaryFile(/tmp/multipartBody7870869257971748466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668613424,"filename":"image_23012025_19_21_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04b2795695ab4536806e26b4c6f488b0.jpg","text":"TemporaryFile(/tmp/multipartBody3083399810965548689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668613424,"filename":"image_23012025_19_22_04_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f911afedfba733918986e8e2dc48399a.jpg","text":"TemporaryFile(/tmp/multipartBody8884996778440673611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668613424,"filename":"image_23012025_19_22_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/669f2636229433780192b441753cf35c.jpg","text":"TemporaryFile(/tmp/multipartBody8373100251393417356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668613424,"filename":"image_23012025_19_22_34_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db9ffdca2b854c36b1e563688d7b9ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8798240862000846660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668613424,"filename":"image_23012025_19_21_44_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330880364","file1":"1330880362","file0":"1330880358","file4":"1330880371","file5":"1330880373","file3":"1330880367"},"map_files_photo_id_array":[{"photo_id":"1330880373","filename":"file5"},{"photo_id":"1330880364","filename":"file2"},{"photo_id":"1330880371","filename":"file4"},{"photo_id":"1330880362","filename":"file1"},{"photo_id":"1330880358","filename":"file0"},{"photo_id":"1330880367","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330880371":["hashtag1","hashtag2"]},{"1330880362":["hashtag1","hashtag2"]},{"1330880364":["hashtag1","hashtag2"]},{"1330880373":["hashtag1","hashtag2"]},{"1330880367":["hashtag1","hashtag2"]},{"1330880358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330880371, 1330880362, 1330880364, 1330880373, 1330880367, 1330880358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.535056591033936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:43:32.605740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/22/image_23012025_19_23_04_10335.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_15_10352.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_34_10336.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_45_10375.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_54_9486.jpg', '/home/pi/Desktop/images/23012025/19/23/image_23012025_19_24_04_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/22/image_23012025_19_23_04_10335.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_15_10352.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_34_10336.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_45_10375.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_23_54_9486.jpg
/home/pi/Desktop/images/23012025/19/23/image_23012025_19_24_04_10348.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":["1330880564","1330880584","1330880587","1330880589","1330880490","1330880559"],"photo_ids_order":["1330880490","1330880559","1330880564","1330880584","1330880587","1330880589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09bd2424f5fcf439f585118841a3fb07.jpg","text":"TemporaryFile(/tmp/multipartBody2832829688295613951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668673599,"filename":"image_23012025_19_23_34_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/18e574a3a6b8d8da3e722c95f5f91d02.jpg","text":"TemporaryFile(/tmp/multipartBody7161253986844249668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668673599,"filename":"image_23012025_19_23_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f20d86c866f99436e5a28ef907bc3e89.jpg","text":"TemporaryFile(/tmp/multipartBody5050603523453065420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668673599,"filename":"image_23012025_19_23_54_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1964b786f4d5010423f9459b42417d39.jpg","text":"TemporaryFile(/tmp/multipartBody885939785448207615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668673599,"filename":"image_23012025_19_24_04_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/79d19c1b9eedc7dd45a153f937726d9d.jpg","text":"TemporaryFile(/tmp/multipartBody4338539121646313374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668673599,"filename":"image_23012025_19_23_04_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7c255a93ed7f0455f209a8911d3fc1d6.jpg","text":"TemporaryFile(/tmp/multipartBody101967474132722892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668673599,"filename":"image_23012025_19_23_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330880564","file1":"1330880559","file0":"1330880490","file4":"1330880587","file5":"1330880589","file3":"1330880584"},"map_files_photo_id_array":[{"photo_id":"1330880589","filename":"file5"},{"photo_id":"1330880564","filename":"file2"},{"photo_id":"1330880587","filename":"file4"},{"photo_id":"1330880559","filename":"file1"},{"photo_id":"1330880490","filename":"file0"},{"photo_id":"1330880584","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330880564":["hashtag1","hashtag2"]},{"1330880584":["hashtag1","hashtag2"]},{"1330880587":["hashtag1","hashtag2"]},{"1330880589":["hashtag1","hashtag2"]},{"1330880490":["hashtag1","hashtag2"]},{"1330880559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330880564, 1330880584, 1330880587, 1330880589, 1330880490, 1330880559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14771342277527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:44:32.787443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_15_10365.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_24_9472.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_44_9377.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_54_10352.jpg', '/home/pi/Desktop/images/23012025/19/24/image_23012025_19_25_05_10349.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_14_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_15_10365.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_24_9472.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_44_9377.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_24_54_10352.jpg
/home/pi/Desktop/images/23012025/19/24/image_23012025_19_25_05_10349.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_14_9375.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":["1330880705","1330880725","1330880728","1330880667","1330880715","1330880700"],"photo_ids_order":["1330880667","1330880700","1330880705","1330880715","1330880725","1330880728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b54f6344fcdf4626c40ad588afc9e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3887941501588573440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668733791,"filename":"image_23012025_19_24_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c41fda584900a25c5be656a43666113e.jpg","text":"TemporaryFile(/tmp/multipartBody7190980040158823432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668733791,"filename":"image_23012025_19_25_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb785d990efa6847aebaf7831e779437.jpg","text":"TemporaryFile(/tmp/multipartBody6691066159211088360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668733791,"filename":"image_23012025_19_25_14_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b0c5679056fdba19bed96ae1dcb5786a.jpg","text":"TemporaryFile(/tmp/multipartBody7175836107245118134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668733791,"filename":"image_23012025_19_24_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1938d6262adf7b466f6718735401e153.jpg","text":"TemporaryFile(/tmp/multipartBody1571777260710469975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668733791,"filename":"image_23012025_19_24_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95d35eb201a87f5140de245611b1fae3.jpg","text":"TemporaryFile(/tmp/multipartBody1466417744800867102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668733791,"filename":"image_23012025_19_24_24_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330880705","file1":"1330880700","file0":"1330880667","file4":"1330880725","file5":"1330880728","file3":"1330880715"},"map_files_photo_id_array":[{"photo_id":"1330880728","filename":"file5"},{"photo_id":"1330880705","filename":"file2"},{"photo_id":"1330880725","filename":"file4"},{"photo_id":"1330880700","filename":"file1"},{"photo_id":"1330880667","filename":"file0"},{"photo_id":"1330880715","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330880705":["hashtag1","hashtag2"]},{"1330880725":["hashtag1","hashtag2"]},{"1330880728":["hashtag1","hashtag2"]},{"1330880667":["hashtag1","hashtag2"]},{"1330880715":["hashtag1","hashtag2"]},{"1330880700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330880705, 1330880725, 1330880728, 1330880667, 1330880715, 1330880700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.212517499923706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:45:32.916869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_35_10349.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_44_9432.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_55_10352.jpg', '/home/pi/Desktop/images/23012025/19/25/image_23012025_19_26_04_9377.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_14_10330.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_25_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_35_10349.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_44_9432.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_25_55_10352.jpg
/home/pi/Desktop/images/23012025/19/25/image_23012025_19_26_04_9377.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_14_10330.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_25_10356.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":["1330880802","1330880759","1330880788","1330880779","1330880796","1330880766"],"photo_ids_order":["1330880759","1330880766","1330880779","1330880788","1330880796","1330880802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/efd9759e491b1547bdb0427a5e99189f.jpg","text":"TemporaryFile(/tmp/multipartBody143973495383395279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668793965,"filename":"image_23012025_19_26_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07a6127999d3cdfa7cae9e937c396fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5163992200462062171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668793965,"filename":"image_23012025_19_25_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3b3c5a7670c4be590a3cd3d292a9e640.jpg","text":"TemporaryFile(/tmp/multipartBody5109157119429468279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668793965,"filename":"image_23012025_19_26_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bc0d4daf549b4b5bc0f6cd9e0f198627.jpg","text":"TemporaryFile(/tmp/multipartBody6317703467175515495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668793965,"filename":"image_23012025_19_25_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c97b3f78815e8728ac44bfbdabc8414.jpg","text":"TemporaryFile(/tmp/multipartBody6796305836696470871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668793965,"filename":"image_23012025_19_26_14_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5de6aa6ec357c19e202ba2549c8fe4d.jpg","text":"TemporaryFile(/tmp/multipartBody8126492320966120858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668793965,"filename":"image_23012025_19_25_44_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330880779","file1":"1330880766","file0":"1330880759","file4":"1330880796","file5":"1330880802","file3":"1330880788"},"map_files_photo_id_array":[{"photo_id":"1330880802","filename":"file5"},{"photo_id":"1330880779","filename":"file2"},{"photo_id":"1330880796","filename":"file4"},{"photo_id":"1330880766","filename":"file1"},{"photo_id":"1330880759","filename":"file0"},{"photo_id":"1330880788","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330880802":["hashtag1","hashtag2"]},{"1330880759":["hashtag1","hashtag2"]},{"1330880788":["hashtag1","hashtag2"]},{"1330880779":["hashtag1","hashtag2"]},{"1330880796":["hashtag1","hashtag2"]},{"1330880766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330880802, 1330880759, 1330880788, 1330880779, 1330880796, 1330880766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64902472496033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:46:33.170915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_34_9472.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_44_10362.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_54_9394.jpg', '/home/pi/Desktop/images/23012025/19/26/image_23012025_19_27_04_10324.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_15_10360.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_24_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_34_9472.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_44_10362.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_26_54_9394.jpg
/home/pi/Desktop/images/23012025/19/26/image_23012025_19_27_04_10324.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_15_10360.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_24_9408.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":["1330881233","1330881268","1330881262","1330881219","1330881105","1330881185"],"photo_ids_order":["1330881105","1330881185","1330881219","1330881233","1330881262","1330881268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd59f3711682a273b2a987b43eb890e8.jpg","text":"TemporaryFile(/tmp/multipartBody4737406001186845222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668854159,"filename":"image_23012025_19_27_04_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e65387130bd83b200298fc7e7e18aa2.jpg","text":"TemporaryFile(/tmp/multipartBody9178090939041845001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668854159,"filename":"image_23012025_19_27_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/814a942acc3aadc0ee4a44a3422dc45c.jpg","text":"TemporaryFile(/tmp/multipartBody8699934370890714261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668854159,"filename":"image_23012025_19_27_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f7eea0e12e04279f167bcc2e4da4f996.jpg","text":"TemporaryFile(/tmp/multipartBody606412971385340489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668854159,"filename":"image_23012025_19_26_54_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55e065c804b22541434bd76464565552.jpg","text":"TemporaryFile(/tmp/multipartBody4029643328451293374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668854159,"filename":"image_23012025_19_26_34_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cb798e02b596fe8cb96eb7a905d0fc43.jpg","text":"TemporaryFile(/tmp/multipartBody7019690063685904545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668854159,"filename":"image_23012025_19_26_44_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881219","file1":"1330881185","file0":"1330881105","file4":"1330881262","file5":"1330881268","file3":"1330881233"},"map_files_photo_id_array":[{"photo_id":"1330881268","filename":"file5"},{"photo_id":"1330881219","filename":"file2"},{"photo_id":"1330881262","filename":"file4"},{"photo_id":"1330881185","filename":"file1"},{"photo_id":"1330881105","filename":"file0"},{"photo_id":"1330881233","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881233":["hashtag1","hashtag2"]},{"1330881268":["hashtag1","hashtag2"]},{"1330881262":["hashtag1","hashtag2"]},{"1330881219":["hashtag1","hashtag2"]},{"1330881105":["hashtag1","hashtag2"]},{"1330881185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881233, 1330881268, 1330881262, 1330881219, 1330881105, 1330881185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.363502979278564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:47:32.424426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_34_10429.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_45_10330.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_54_9381.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_28_04_10338.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_15_10319.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_24_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_34_10429.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_45_10330.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_54_9381.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_28_04_10338.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_15_10319.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_24_9441.jpg
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: 0.5995557308197021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:47:42.431970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_34_10429.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_45_10330.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_54_9381.jpg', '/home/pi/Desktop/images/23012025/19/27/image_23012025_19_28_04_10338.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_15_10319.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_24_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_34_10429.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_45_10330.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_27_54_9381.jpg
/home/pi/Desktop/images/23012025/19/27/image_23012025_19_28_04_10338.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_15_10319.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_24_9441.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":["1330881425","1330881370","1330881415","1330881411","1330881405","1330881420"],"photo_ids_order":["1330881370","1330881405","1330881411","1330881415","1330881420","1330881425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/70d95049408822864169266499f18da6.jpg","text":"TemporaryFile(/tmp/multipartBody4691155963211466685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668923370,"filename":"image_23012025_19_28_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b1f74251975537b15b2b24b86926afe9.jpg","text":"TemporaryFile(/tmp/multipartBody8997148732035201360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668923370,"filename":"image_23012025_19_27_34_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fe1cf29831e79652e6ec247e18cd06d5.jpg","text":"TemporaryFile(/tmp/multipartBody3375843824216330554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668923370,"filename":"image_23012025_19_28_04_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11be9f6af8059f50aa270b5e5b6aee94.jpg","text":"TemporaryFile(/tmp/multipartBody940394328956631438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668923370,"filename":"image_23012025_19_27_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/96eeeeade8657610a30c58ca7236b13c.jpg","text":"TemporaryFile(/tmp/multipartBody7284851488286464888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668923370,"filename":"image_23012025_19_27_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bae3437ac38ceb0ea1ccbd1ce2c675b7.jpg","text":"TemporaryFile(/tmp/multipartBody1714097470320052864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668923370,"filename":"image_23012025_19_28_15_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881411","file1":"1330881405","file0":"1330881370","file4":"1330881420","file5":"1330881425","file3":"1330881415"},"map_files_photo_id_array":[{"photo_id":"1330881425","filename":"file5"},{"photo_id":"1330881411","filename":"file2"},{"photo_id":"1330881420","filename":"file4"},{"photo_id":"1330881405","filename":"file1"},{"photo_id":"1330881370","filename":"file0"},{"photo_id":"1330881415","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881425":["hashtag1","hashtag2"]},{"1330881370":["hashtag1","hashtag2"]},{"1330881415":["hashtag1","hashtag2"]},{"1330881411":["hashtag1","hashtag2"]},{"1330881405":["hashtag1","hashtag2"]},{"1330881420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881425, 1330881370, 1330881415, 1330881411, 1330881405, 1330881420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22045540809631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:48:32.494932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_35_10392.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_44_9511.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_54_10331.jpg', '/home/pi/Desktop/images/23012025/19/28/image_23012025_19_29_05_10391.jpg', '/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_14_9390.jpg', '/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_25_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_35_10392.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_44_9511.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_28_54_10331.jpg
/home/pi/Desktop/images/23012025/19/28/image_23012025_19_29_05_10391.jpg
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_14_9390.jpg
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_25_10432.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":["1330881443","1330881484","1330881448","1330881441","1330881470","1330881461"],"photo_ids_order":["1330881441","1330881443","1330881448","1330881461","1330881470","1330881484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87982a2676927be4691f0244e1f7e818.jpg","text":"TemporaryFile(/tmp/multipartBody5356904801296408063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668973512,"filename":"image_23012025_19_28_44_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e70b5ebc2438d33d9d50ba58def64ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3699956597279549949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668973512,"filename":"image_23012025_19_29_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8104803bd50bde324e14902f5e345c47.jpg","text":"TemporaryFile(/tmp/multipartBody199760008020319426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668973512,"filename":"image_23012025_19_28_54_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ba3009013ac0b8dc0f87afa933a50e0.jpg","text":"TemporaryFile(/tmp/multipartBody4180962533542404825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668973512,"filename":"image_23012025_19_28_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/851e024f5aaca6f2148f061e0a74cf26.jpg","text":"TemporaryFile(/tmp/multipartBody4101299705164634659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668973512,"filename":"image_23012025_19_29_14_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4c088b3d8cdeb40cf0f79e9c6bc49321.jpg","text":"TemporaryFile(/tmp/multipartBody716184812568985178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737668973512,"filename":"image_23012025_19_29_05_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881448","file1":"1330881443","file0":"1330881441","file4":"1330881470","file5":"1330881484","file3":"1330881461"},"map_files_photo_id_array":[{"photo_id":"1330881484","filename":"file5"},{"photo_id":"1330881448","filename":"file2"},{"photo_id":"1330881470","filename":"file4"},{"photo_id":"1330881443","filename":"file1"},{"photo_id":"1330881441","filename":"file0"},{"photo_id":"1330881461","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881443":["hashtag1","hashtag2"]},{"1330881484":["hashtag1","hashtag2"]},{"1330881448":["hashtag1","hashtag2"]},{"1330881441":["hashtag1","hashtag2"]},{"1330881470":["hashtag1","hashtag2"]},{"1330881461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881443, 1330881484, 1330881448, 1330881441, 1330881470, 1330881461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48904204368591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:49:33.004986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_34_9444.jpg', '/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_44_10359.jpg', '/home/pi/Desktop/images/23012025/19/29/image_23012025_19_30_04_9397.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_15_10354.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_44_9406.jpg', '/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_55_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_34_9444.jpg
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_29_44_10359.jpg
/home/pi/Desktop/images/23012025/19/29/image_23012025_19_30_04_9397.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_15_10354.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_44_9406.jpg
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_31_55_10414.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":["1330881629","1330881623","1330881583","1330881610","1330881531","1330881627"],"photo_ids_order":["1330881531","1330881583","1330881610","1330881623","1330881627","1330881629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/290a81b962531457ce9d1311c59cd955.jpg","text":"TemporaryFile(/tmp/multipartBody1797564721964049994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669034033,"filename":"image_23012025_19_31_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b6e5d93047956ac0e1a65e396e451435.jpg","text":"TemporaryFile(/tmp/multipartBody7524563679895091035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669034033,"filename":"image_23012025_19_31_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6da542f18c0c0616e28c9b8a5c09437.jpg","text":"TemporaryFile(/tmp/multipartBody571763607091043814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669034033,"filename":"image_23012025_19_29_44_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20cc80f3ca08c7e8cafbb318bcdb2c94.jpg","text":"TemporaryFile(/tmp/multipartBody5814102651868480049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669034033,"filename":"image_23012025_19_30_04_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e0f43cdf79b6e13562d570426004241a.jpg","text":"TemporaryFile(/tmp/multipartBody5836069290429540130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669034033,"filename":"image_23012025_19_29_34_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f12d0c466e30bc0c66d0a6aaef0b0f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2512234180902649829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669034033,"filename":"image_23012025_19_31_44_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881610","file1":"1330881583","file0":"1330881531","file4":"1330881627","file5":"1330881629","file3":"1330881623"},"map_files_photo_id_array":[{"photo_id":"1330881629","filename":"file5"},{"photo_id":"1330881610","filename":"file2"},{"photo_id":"1330881627","filename":"file4"},{"photo_id":"1330881583","filename":"file1"},{"photo_id":"1330881531","filename":"file0"},{"photo_id":"1330881623","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881629":["hashtag1","hashtag2"]},{"1330881623":["hashtag1","hashtag2"]},{"1330881583":["hashtag1","hashtag2"]},{"1330881610":["hashtag1","hashtag2"]},{"1330881531":["hashtag1","hashtag2"]},{"1330881627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881629, 1330881623, 1330881583, 1330881610, 1330881531, 1330881627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.115360498428345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:50:32.908673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/31/image_23012025_19_32_04_9375.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_25_10373.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_34_9399.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_44_10354.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_55_10368.jpg', '/home/pi/Desktop/images/23012025/19/32/image_23012025_19_33_04_9463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/31/image_23012025_19_32_04_9375.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_25_10373.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_34_9399.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_44_10354.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_32_55_10368.jpg
/home/pi/Desktop/images/23012025/19/32/image_23012025_19_33_04_9463.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":["1330881661","1330881658","1330881649","1330881640","1330881645","1330881665"],"photo_ids_order":["1330881640","1330881645","1330881649","1330881658","1330881661","1330881665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8fc417dd7aee01f424b7defe9a320ec.jpg","text":"TemporaryFile(/tmp/multipartBody6055679168574434912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669093918,"filename":"image_23012025_19_32_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/acf599f434e48e7e5b95d65fc5d969cf.jpg","text":"TemporaryFile(/tmp/multipartBody8265841313149548950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669093918,"filename":"image_23012025_19_32_44_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b9178839da9a8d2f175e582e911dd37.jpg","text":"TemporaryFile(/tmp/multipartBody2877821962022824523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669093918,"filename":"image_23012025_19_32_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c21a3adaa01e460a0bf4e6c81806543.jpg","text":"TemporaryFile(/tmp/multipartBody8637985456695050169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669093918,"filename":"image_23012025_19_32_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/501189a135ac985f84f56e7568fbcb6d.jpg","text":"TemporaryFile(/tmp/multipartBody8328772455811115249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669093918,"filename":"image_23012025_19_32_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3d5c10e18fa79107cee13dded863853.jpg","text":"TemporaryFile(/tmp/multipartBody5133100240242753592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669093918,"filename":"image_23012025_19_33_04_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881649","file1":"1330881645","file0":"1330881640","file4":"1330881661","file5":"1330881665","file3":"1330881658"},"map_files_photo_id_array":[{"photo_id":"1330881665","filename":"file5"},{"photo_id":"1330881649","filename":"file2"},{"photo_id":"1330881661","filename":"file4"},{"photo_id":"1330881645","filename":"file1"},{"photo_id":"1330881640","filename":"file0"},{"photo_id":"1330881658","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881661":["hashtag1","hashtag2"]},{"1330881658":["hashtag1","hashtag2"]},{"1330881649":["hashtag1","hashtag2"]},{"1330881640":["hashtag1","hashtag2"]},{"1330881645":["hashtag1","hashtag2"]},{"1330881665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881661, 1330881658, 1330881649, 1330881640, 1330881645, 1330881665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.076695680618286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:51:33.150773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_15_10346.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_24_9433.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_34_10356.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_45_10347.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_54_9380.jpg', '/home/pi/Desktop/images/23012025/19/33/image_23012025_19_34_05_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_15_10346.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_24_9433.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_34_10356.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_45_10347.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_33_54_9380.jpg
/home/pi/Desktop/images/23012025/19/33/image_23012025_19_34_05_10436.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":["1330881737","1330881716","1330881701","1330881733","1330881703","1330881705"],"photo_ids_order":["1330881701","1330881703","1330881705","1330881716","1330881733","1330881737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/51c732d6501798e9eeffecac8c9f963f.jpg","text":"TemporaryFile(/tmp/multipartBody894818106472443791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669154173,"filename":"image_23012025_19_34_05_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/533e851e9f05e54190cbbff64715b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4070663867064524421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669154173,"filename":"image_23012025_19_33_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd20edaf47fce8b976b0fc229fc00657.jpg","text":"TemporaryFile(/tmp/multipartBody4176951635647098050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669154173,"filename":"image_23012025_19_33_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4f91cb6875b17a45ce20833ceda0d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody1840782940573827847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669154173,"filename":"image_23012025_19_33_54_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/153fe909084b2ed720f349515856c12d.jpg","text":"TemporaryFile(/tmp/multipartBody5625423540151259316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669154173,"filename":"image_23012025_19_33_24_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af33fce724bf7102b253bfa45ccf3f1e.jpg","text":"TemporaryFile(/tmp/multipartBody5411506236603806073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669154173,"filename":"image_23012025_19_33_34_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881705","file1":"1330881703","file0":"1330881701","file4":"1330881733","file5":"1330881737","file3":"1330881716"},"map_files_photo_id_array":[{"photo_id":"1330881737","filename":"file5"},{"photo_id":"1330881705","filename":"file2"},{"photo_id":"1330881733","filename":"file4"},{"photo_id":"1330881703","filename":"file1"},{"photo_id":"1330881701","filename":"file0"},{"photo_id":"1330881716","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881737":["hashtag1","hashtag2"]},{"1330881716":["hashtag1","hashtag2"]},{"1330881701":["hashtag1","hashtag2"]},{"1330881733":["hashtag1","hashtag2"]},{"1330881703":["hashtag1","hashtag2"]},{"1330881705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881737, 1330881716, 1330881701, 1330881733, 1330881703, 1330881705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3001446723938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:52:32.211477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_15_10341.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_24_9454.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_35_10361.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_44_9501.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_55_10346.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_35_05_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_15_10341.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_24_9454.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_35_10361.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_44_9501.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_55_10346.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_35_05_10347.jpg
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: 0.6087279319763184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:52:42.178997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_15_10341.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_24_9454.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_35_10361.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_44_9501.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_55_10346.jpg', '/home/pi/Desktop/images/23012025/19/34/image_23012025_19_35_05_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_15_10341.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_24_9454.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_35_10361.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_44_9501.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_34_55_10346.jpg
/home/pi/Desktop/images/23012025/19/34/image_23012025_19_35_05_10347.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":["1330881783","1330881765","1330881762","1330881788","1330881776","1330881779"],"photo_ids_order":["1330881762","1330881765","1330881776","1330881779","1330881783","1330881788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4d7000a3cdf51a9d7954d093be9fc14.jpg","text":"TemporaryFile(/tmp/multipartBody8614533045561293298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669223115,"filename":"image_23012025_19_34_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e4191d52356a4a9d669c80715ee64aa8.jpg","text":"TemporaryFile(/tmp/multipartBody45152518960828289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669223115,"filename":"image_23012025_19_34_24_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a279daeea0e66110e9fa4734595b885.jpg","text":"TemporaryFile(/tmp/multipartBody5524043193314843844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669223115,"filename":"image_23012025_19_34_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b22e13beeeb51ae8d5bef3cf0a07a9d3.jpg","text":"TemporaryFile(/tmp/multipartBody2024305267834359893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669223115,"filename":"image_23012025_19_35_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdb8a637162f913a55923a14c050f5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6653364154892270177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669223115,"filename":"image_23012025_19_34_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11e315e51eec97ac141a351bc9f4ae13.jpg","text":"TemporaryFile(/tmp/multipartBody694045742467818348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669223115,"filename":"image_23012025_19_34_44_9501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881776","file1":"1330881765","file0":"1330881762","file4":"1330881783","file5":"1330881788","file3":"1330881779"},"map_files_photo_id_array":[{"photo_id":"1330881788","filename":"file5"},{"photo_id":"1330881776","filename":"file2"},{"photo_id":"1330881783","filename":"file4"},{"photo_id":"1330881765","filename":"file1"},{"photo_id":"1330881762","filename":"file0"},{"photo_id":"1330881779","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881783":["hashtag1","hashtag2"]},{"1330881765":["hashtag1","hashtag2"]},{"1330881762":["hashtag1","hashtag2"]},{"1330881788":["hashtag1","hashtag2"]},{"1330881776":["hashtag1","hashtag2"]},{"1330881779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881783, 1330881765, 1330881762, 1330881788, 1330881776, 1330881779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.855427265167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:53:32.332565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_14_9406.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_25_10368.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_34_9492.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_44_10356.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_54_9420.jpg', '/home/pi/Desktop/images/23012025/19/35/image_23012025_19_36_04_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_14_9406.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_25_10368.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_34_9492.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_44_10356.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_35_54_9420.jpg
/home/pi/Desktop/images/23012025/19/35/image_23012025_19_36_04_10449.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":["1330881850","1330881838","1330881823","1330881829","1330881864","1330881846"],"photo_ids_order":["1330881823","1330881829","1330881838","1330881846","1330881850","1330881864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/38e069c073f20eebc99aae2061c25a52.jpg","text":"TemporaryFile(/tmp/multipartBody2035415044142601913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669273345,"filename":"image_23012025_19_35_54_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/22e085fdefc108a4080266bd5da08f28.jpg","text":"TemporaryFile(/tmp/multipartBody7331285428633943364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669273345,"filename":"image_23012025_19_35_34_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3fc0c57136110780d05827e122fa4023.jpg","text":"TemporaryFile(/tmp/multipartBody3195703563321728485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669273345,"filename":"image_23012025_19_35_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba5b6383fc5a9005daf4f5088137efe4.jpg","text":"TemporaryFile(/tmp/multipartBody2554154409912882899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669273345,"filename":"image_23012025_19_35_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c3531280da60d91af985913117e8cab.jpg","text":"TemporaryFile(/tmp/multipartBody6185529560517344647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669273345,"filename":"image_23012025_19_36_04_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/797d5a9438e1b9c46fdf40c1bbf69dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5605420710713756935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669273345,"filename":"image_23012025_19_35_44_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881838","file1":"1330881829","file0":"1330881823","file4":"1330881850","file5":"1330881864","file3":"1330881846"},"map_files_photo_id_array":[{"photo_id":"1330881864","filename":"file5"},{"photo_id":"1330881838","filename":"file2"},{"photo_id":"1330881850","filename":"file4"},{"photo_id":"1330881829","filename":"file1"},{"photo_id":"1330881823","filename":"file0"},{"photo_id":"1330881846","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881850":["hashtag1","hashtag2"]},{"1330881838":["hashtag1","hashtag2"]},{"1330881823":["hashtag1","hashtag2"]},{"1330881829":["hashtag1","hashtag2"]},{"1330881864":["hashtag1","hashtag2"]},{"1330881846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881850, 1330881838, 1330881823, 1330881829, 1330881864, 1330881846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71458339691162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:54:32.568457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_15_10343.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_24_9424.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_35_10458.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_44_9468.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_54_10341.jpg', '/home/pi/Desktop/images/23012025/19/36/image_23012025_19_37_05_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_15_10343.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_24_9424.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_35_10458.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_44_9468.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_36_54_10341.jpg
/home/pi/Desktop/images/23012025/19/36/image_23012025_19_37_05_10352.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":["1330881883","1330881902","1330881925","1330881897","1330881876","1330881921"],"photo_ids_order":["1330881876","1330881883","1330881897","1330881902","1330881921","1330881925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c1910ac151495d3a281010c31b5556c4.jpg","text":"TemporaryFile(/tmp/multipartBody6354477720981349961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669334569,"filename":"image_23012025_19_36_24_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/554a42cd0d313317d3ebf39a4f7e9d54.jpg","text":"TemporaryFile(/tmp/multipartBody4482904745873393169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669334569,"filename":"image_23012025_19_36_44_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3dd4eab47e9a74abf378ff61d9d44d86.jpg","text":"TemporaryFile(/tmp/multipartBody2486737904025868249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669334569,"filename":"image_23012025_19_37_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8ad519f2d30ed368024e57fd22cd9a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2590139834904218615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669334569,"filename":"image_23012025_19_36_35_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ebc5df105ca189279242903c605d1308.jpg","text":"TemporaryFile(/tmp/multipartBody5540011535802940416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669334569,"filename":"image_23012025_19_36_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/af245303db1a9d011d043336f19a78d8.jpg","text":"TemporaryFile(/tmp/multipartBody1827030028899774068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669334569,"filename":"image_23012025_19_36_54_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881897","file1":"1330881883","file0":"1330881876","file4":"1330881921","file5":"1330881925","file3":"1330881902"},"map_files_photo_id_array":[{"photo_id":"1330881925","filename":"file5"},{"photo_id":"1330881897","filename":"file2"},{"photo_id":"1330881921","filename":"file4"},{"photo_id":"1330881883","filename":"file1"},{"photo_id":"1330881876","filename":"file0"},{"photo_id":"1330881902","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881883":["hashtag1","hashtag2"]},{"1330881902":["hashtag1","hashtag2"]},{"1330881925":["hashtag1","hashtag2"]},{"1330881897":["hashtag1","hashtag2"]},{"1330881876":["hashtag1","hashtag2"]},{"1330881921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881883, 1330881902, 1330881925, 1330881897, 1330881876, 1330881921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3996000289917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:55:32.697511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_14_9326.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_24_10362.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_35_10339.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_44_9353.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_54_10346.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_38_04_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_14_9326.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_24_10362.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_35_10339.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_44_9353.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_54_10346.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_38_04_9394.jpg
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: 0.6097419261932373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:55:42.750883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_14_9326.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_24_10362.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_35_10339.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_44_9353.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_54_10346.jpg', '/home/pi/Desktop/images/23012025/19/37/image_23012025_19_38_04_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_14_9326.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_24_10362.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_35_10339.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_44_9353.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_37_54_10346.jpg
/home/pi/Desktop/images/23012025/19/37/image_23012025_19_38_04_9394.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":["1330881997","1330881970","1330881988","1330881993","1330881984","1330881974"],"photo_ids_order":["1330881970","1330881974","1330881984","1330881988","1330881993","1330881997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7d76ccd6302d9d88346f266b972dff78.jpg","text":"TemporaryFile(/tmp/multipartBody1234329728221818308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669403711,"filename":"image_23012025_19_38_04_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/714c3dfcb711e1d63ca8dc3d4ff4d6ec.jpg","text":"TemporaryFile(/tmp/multipartBody5368876669940625834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669403711,"filename":"image_23012025_19_37_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6912af9ec4b379c41730e94b8305924f.jpg","text":"TemporaryFile(/tmp/multipartBody2352153064014479097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669403711,"filename":"image_23012025_19_37_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/663c77ddcb528edb3f0476f3c3a6921e.jpg","text":"TemporaryFile(/tmp/multipartBody7891296407327830433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669403711,"filename":"image_23012025_19_37_54_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/eed7a8dcf7efeac16550c4b3d6bb0e07.jpg","text":"TemporaryFile(/tmp/multipartBody6230474146763435617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669403711,"filename":"image_23012025_19_37_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/066e5de09621f7f1cfa7d4b41792df38.jpg","text":"TemporaryFile(/tmp/multipartBody9098257283964807960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669403711,"filename":"image_23012025_19_37_24_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330881984","file1":"1330881974","file0":"1330881970","file4":"1330881993","file5":"1330881997","file3":"1330881988"},"map_files_photo_id_array":[{"photo_id":"1330881997","filename":"file5"},{"photo_id":"1330881984","filename":"file2"},{"photo_id":"1330881993","filename":"file4"},{"photo_id":"1330881974","filename":"file1"},{"photo_id":"1330881970","filename":"file0"},{"photo_id":"1330881988","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330881997":["hashtag1","hashtag2"]},{"1330881970":["hashtag1","hashtag2"]},{"1330881988":["hashtag1","hashtag2"]},{"1330881993":["hashtag1","hashtag2"]},{"1330881984":["hashtag1","hashtag2"]},{"1330881974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330881997, 1330881970, 1330881988, 1330881993, 1330881984, 1330881974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35912489891052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:56:32.900477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_14_10434.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_25_10399.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_34_9466.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_44_10330.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_55_10361.jpg', '/home/pi/Desktop/images/23012025/19/38/image_23012025_19_39_04_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_14_10434.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_25_10399.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_34_9466.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_44_10330.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_38_55_10361.jpg
/home/pi/Desktop/images/23012025/19/38/image_23012025_19_39_04_9396.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":["1330882063","1330882027","1330882141","1330882024","1330882076","1330882031"],"photo_ids_order":["1330882024","1330882027","1330882031","1330882063","1330882076","1330882141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29665d4276ef27eb157869d05f5e9aad.jpg","text":"TemporaryFile(/tmp/multipartBody2824486484909566141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669453900,"filename":"image_23012025_19_38_44_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/227ce9fdd6e0e627d974932a436f92c2.jpg","text":"TemporaryFile(/tmp/multipartBody6858326897760510640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669453900,"filename":"image_23012025_19_38_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/91a8f809790a01ce90aaf50d840c3140.jpg","text":"TemporaryFile(/tmp/multipartBody9163142057381533335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669453900,"filename":"image_23012025_19_39_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/83ca719b4efbb594c5db18cb537b3c53.jpg","text":"TemporaryFile(/tmp/multipartBody3806174173830339470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669453900,"filename":"image_23012025_19_38_14_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfe2660759670048e8e644cabc9fcc5b.jpg","text":"TemporaryFile(/tmp/multipartBody7439337109012111903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669453900,"filename":"image_23012025_19_38_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/519c35bd2ff612897c8c6443d5b0a924.jpg","text":"TemporaryFile(/tmp/multipartBody905339054290534497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669453900,"filename":"image_23012025_19_38_34_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882031","file1":"1330882027","file0":"1330882024","file4":"1330882076","file5":"1330882141","file3":"1330882063"},"map_files_photo_id_array":[{"photo_id":"1330882141","filename":"file5"},{"photo_id":"1330882031","filename":"file2"},{"photo_id":"1330882076","filename":"file4"},{"photo_id":"1330882027","filename":"file1"},{"photo_id":"1330882024","filename":"file0"},{"photo_id":"1330882063","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882063":["hashtag1","hashtag2"]},{"1330882027":["hashtag1","hashtag2"]},{"1330882141":["hashtag1","hashtag2"]},{"1330882024":["hashtag1","hashtag2"]},{"1330882076":["hashtag1","hashtag2"]},{"1330882031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882063, 1330882027, 1330882141, 1330882024, 1330882076, 1330882031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.310171604156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 22:57:33.109719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_15_10337.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_24_9450.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_34_10342.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_45_10354.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_54_9351.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_40_04_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_15_10337.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_24_9450.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_34_10342.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_45_10354.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_54_9351.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_40_04_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 22:59:04.141444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_15_10337.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_24_9450.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_34_10342.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_45_10354.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_54_9351.jpg', '/home/pi/Desktop/images/23012025/19/39/image_23012025_19_40_04_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_15_10337.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_24_9450.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_34_10342.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_45_10354.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_39_54_9351.jpg
/home/pi/Desktop/images/23012025/19/39/image_23012025_19_40_04_10356.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":["1330882208","1330882225","1330882218","1330882212","1330882203","1330882229"],"photo_ids_order":["1330882203","1330882208","1330882212","1330882218","1330882225","1330882229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdae658e6863b1d0d2496e736f741278.jpg","text":"TemporaryFile(/tmp/multipartBody6084155097795197996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669605280,"filename":"image_23012025_19_39_24_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b34ff7c67c822d1a7622e701990efd83.jpg","text":"TemporaryFile(/tmp/multipartBody8473428119892298780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669605280,"filename":"image_23012025_19_39_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/723a7f9e8c93d12cf21e9beeda5dadf2.jpg","text":"TemporaryFile(/tmp/multipartBody8050808821930040673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669605280,"filename":"image_23012025_19_39_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4f77c6fb3737b98b4efb3fa98569ae4.jpg","text":"TemporaryFile(/tmp/multipartBody4720587844442653976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669605280,"filename":"image_23012025_19_39_34_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/024f45224836c485d99b7a4fe4754678.jpg","text":"TemporaryFile(/tmp/multipartBody8786379404442141327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669605280,"filename":"image_23012025_19_39_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfd6d3e5828582bde95ac68ab653b7d1.jpg","text":"TemporaryFile(/tmp/multipartBody9026715354652987896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669605280,"filename":"image_23012025_19_40_04_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882212","file1":"1330882208","file0":"1330882203","file4":"1330882225","file5":"1330882229","file3":"1330882218"},"map_files_photo_id_array":[{"photo_id":"1330882229","filename":"file5"},{"photo_id":"1330882212","filename":"file2"},{"photo_id":"1330882225","filename":"file4"},{"photo_id":"1330882208","filename":"file1"},{"photo_id":"1330882203","filename":"file0"},{"photo_id":"1330882218","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882208":["hashtag1","hashtag2"]},{"1330882225":["hashtag1","hashtag2"]},{"1330882218":["hashtag1","hashtag2"]},{"1330882212":["hashtag1","hashtag2"]},{"1330882203":["hashtag1","hashtag2"]},{"1330882229":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882208, 1330882225, 1330882218, 1330882212, 1330882203, 1330882229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58405613899231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-23 22:59:52.529614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 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 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 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 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 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;
  port_id : 19747569
  datou_current_id : 2495588
in upload_from_sqlite, uploading in 19747569
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_35_10353.jpg', '/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_55_10342.jpg', '/home/pi/Desktop/images/20012025/08/43/image_20012025_08_44_05_10367.jpg', '/home/pi/Desktop/images/20012025/08/44/image_20012025_08_44_14_9330.jpg', '/home/pi/Desktop/images/20012025/08/44/image_20012025_08_44_25_10335.jpg', '/home/pi/Desktop/images/20012025/08/44/image_20012025_08_45_05_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2495588&datou=0
/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_35_10353.jpg
/home/pi/Desktop/images/20012025/08/43/image_20012025_08_43_55_10342.jpg
/home/pi/Desktop/images/20012025/08/43/image_20012025_08_44_05_10367.jpg
/home/pi/Desktop/images/20012025/08/44/image_20012025_08_44_14_9330.jpg
/home/pi/Desktop/images/20012025/08/44/image_20012025_08_44_25_10335.jpg
/home/pi/Desktop/images/20012025/08/44/image_20012025_08_45_05_10400.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":["1330882258","1330882240","1330882254","1330882241","1330882250","1330882244"],"photo_ids_order":["1330882240","1330882241","1330882244","1330882250","1330882254","1330882258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a32111c50e47487866d2544c94a30918.jpg","text":"TemporaryFile(/tmp/multipartBody5353106698331881977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669654888,"filename":"image_20012025_08_45_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f43d1697815062a09e18ffd972e05f24.jpg","text":"TemporaryFile(/tmp/multipartBody6740426995613269227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669654888,"filename":"image_20012025_08_43_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b77cb9a394452dd970bf5db98911597a.jpg","text":"TemporaryFile(/tmp/multipartBody4962799755622950442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669654888,"filename":"image_20012025_08_44_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/82fb5ab54879d3214d93b992933f261b.jpg","text":"TemporaryFile(/tmp/multipartBody8546369947024947636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669654888,"filename":"image_20012025_08_43_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4aa1f5125de87937dd6ce2c75a78beb1.jpg","text":"TemporaryFile(/tmp/multipartBody5676100760560613214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669654888,"filename":"image_20012025_08_44_14_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5a03a8184cbac92c69d282e98110817.jpg","text":"TemporaryFile(/tmp/multipartBody7900581987172481807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669654888,"filename":"image_20012025_08_44_05_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882244","file1":"1330882241","file0":"1330882240","file4":"1330882254","file5":"1330882258","file3":"1330882250"},"map_files_photo_id_array":[{"photo_id":"1330882258","filename":"file5"},{"photo_id":"1330882244","filename":"file2"},{"photo_id":"1330882254","filename":"file4"},{"photo_id":"1330882241","filename":"file1"},{"photo_id":"1330882240","filename":"file0"},{"photo_id":"1330882250","filename":"file3"}],"portfolio_id":19747569,"hashtag_by_photo_ids":[{"1330882258":["hashtag1","hashtag2"]},{"1330882240":["hashtag1","hashtag2"]},{"1330882254":["hashtag1","hashtag2"]},{"1330882241":["hashtag1","hashtag2"]},{"1330882250":["hashtag1","hashtag2"]},{"1330882244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19747569 used, photo_id : ArrayBuffer(1330882258, 1330882240, 1330882254, 1330882241, 1330882250, 1330882244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.882416009902954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:00:42.882849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_15_10378.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_24_9425.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_35_10403.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_44_9445.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_54_10353.jpg', '/home/pi/Desktop/images/23012025/19/40/image_23012025_19_41_05_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_15_10378.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_24_9425.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_35_10403.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_44_9445.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_40_54_10353.jpg
/home/pi/Desktop/images/23012025/19/40/image_23012025_19_41_05_10360.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":["1330882276","1330882273","1330882269","1330882286","1330882289","1330882280"],"photo_ids_order":["1330882269","1330882273","1330882276","1330882280","1330882286","1330882289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a197e2e1347f7721d37ee00017fc93fc.jpg","text":"TemporaryFile(/tmp/multipartBody2876716853834941153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669703888,"filename":"image_23012025_19_40_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c5d37aee8dd692da101b9936412b887.jpg","text":"TemporaryFile(/tmp/multipartBody6224398937397802895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669703888,"filename":"image_23012025_19_40_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db35e4e7cfd75efa9daaefcef4e0669b.jpg","text":"TemporaryFile(/tmp/multipartBody5964611795886055354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669703888,"filename":"image_23012025_19_40_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6e4609a1c23512db97ceaa072eb445a2.jpg","text":"TemporaryFile(/tmp/multipartBody8177428392750661437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669703888,"filename":"image_23012025_19_40_54_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6747ffad21641c34dcf0a27fed4ad9e.jpg","text":"TemporaryFile(/tmp/multipartBody2571046976519197862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669703888,"filename":"image_23012025_19_41_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bbe5d9607c0a72d257fb22108046fb77.jpg","text":"TemporaryFile(/tmp/multipartBody3477558433304528455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669703888,"filename":"image_23012025_19_40_44_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882276","file1":"1330882273","file0":"1330882269","file4":"1330882286","file5":"1330882289","file3":"1330882280"},"map_files_photo_id_array":[{"photo_id":"1330882289","filename":"file5"},{"photo_id":"1330882276","filename":"file2"},{"photo_id":"1330882286","filename":"file4"},{"photo_id":"1330882273","filename":"file1"},{"photo_id":"1330882269","filename":"file0"},{"photo_id":"1330882280","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882276":["hashtag1","hashtag2"]},{"1330882273":["hashtag1","hashtag2"]},{"1330882269":["hashtag1","hashtag2"]},{"1330882286":["hashtag1","hashtag2"]},{"1330882289":["hashtag1","hashtag2"]},{"1330882280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882276, 1330882273, 1330882269, 1330882286, 1330882289, 1330882280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12859892845154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:01:32.999513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_25_10353.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_34_9336.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_44_10337.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_55_10346.jpg', '/home/pi/Desktop/images/23012025/19/41/image_23012025_19_42_04_9426.jpg', '/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_14_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_25_10353.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_34_9336.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_44_10337.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_41_55_10346.jpg
/home/pi/Desktop/images/23012025/19/41/image_23012025_19_42_04_9426.jpg
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_14_10334.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":["1330882345","1330882331","1330882349","1330882328","1330882387","1330882325"],"photo_ids_order":["1330882325","1330882328","1330882331","1330882345","1330882349","1330882387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/58c96bc7be48bf9cf21705ebc500d7fe.jpg","text":"TemporaryFile(/tmp/multipartBody1875048120601028600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669754044,"filename":"image_23012025_19_41_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c40e1d824620fe41bc9e2949092d0b20.jpg","text":"TemporaryFile(/tmp/multipartBody5436022105724158528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669754044,"filename":"image_23012025_19_41_44_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c93f2f1227a43ca59d9ce01855e38982.jpg","text":"TemporaryFile(/tmp/multipartBody1006668329636960961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669754044,"filename":"image_23012025_19_42_04_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/578974f4b54a5a8fb6f1af84d7396c1b.jpg","text":"TemporaryFile(/tmp/multipartBody5506478097623345648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669754044,"filename":"image_23012025_19_41_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c84bf59858e2c52443cd2ab2e526d235.jpg","text":"TemporaryFile(/tmp/multipartBody842481692161219514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669754044,"filename":"image_23012025_19_42_14_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3cf5f69dfa70ff1e656f186dcfdffcb6.jpg","text":"TemporaryFile(/tmp/multipartBody1614049829779453129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669754044,"filename":"image_23012025_19_41_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882331","file1":"1330882328","file0":"1330882325","file4":"1330882349","file5":"1330882387","file3":"1330882345"},"map_files_photo_id_array":[{"photo_id":"1330882387","filename":"file5"},{"photo_id":"1330882331","filename":"file2"},{"photo_id":"1330882349","filename":"file4"},{"photo_id":"1330882328","filename":"file1"},{"photo_id":"1330882325","filename":"file0"},{"photo_id":"1330882345","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882345":["hashtag1","hashtag2"]},{"1330882331":["hashtag1","hashtag2"]},{"1330882349":["hashtag1","hashtag2"]},{"1330882328":["hashtag1","hashtag2"]},{"1330882387":["hashtag1","hashtag2"]},{"1330882325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882345, 1330882331, 1330882349, 1330882328, 1330882387, 1330882325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90978002548218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:02:33.069596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_34_9343.jpg', '/home/pi/Desktop/images/23012025/19/42/image_23012025_19_43_04_9451.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_34_10350.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_45_10345.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_54_9423.jpg', '/home/pi/Desktop/images/23012025/19/43/image_23012025_19_44_05_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_42_34_9343.jpg
/home/pi/Desktop/images/23012025/19/42/image_23012025_19_43_04_9451.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_34_10350.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_45_10345.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_43_54_9423.jpg
/home/pi/Desktop/images/23012025/19/43/image_23012025_19_44_05_10354.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":["1330882438","1330882452","1330882434","1330882431","1330882445","1330882448"],"photo_ids_order":["1330882431","1330882434","1330882438","1330882445","1330882448","1330882452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e343fe340b53de07f85461c4816f4e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7994328385410938413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669814058,"filename":"image_23012025_19_43_34_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d5431d0b5944cb41ec28ccba995711c.jpg","text":"TemporaryFile(/tmp/multipartBody6304891835745422764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669814058,"filename":"image_23012025_19_44_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee83d1aa4c31df814161273e1679f942.jpg","text":"TemporaryFile(/tmp/multipartBody2403956881077653202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669814058,"filename":"image_23012025_19_43_04_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c5c4d751dcd52cb8a826009604384c8.jpg","text":"TemporaryFile(/tmp/multipartBody608808224270409412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669814058,"filename":"image_23012025_19_42_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c00bb43c5bfd60635a3137612c9e12e1.jpg","text":"TemporaryFile(/tmp/multipartBody1630402573270217378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669814058,"filename":"image_23012025_19_43_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc571536072ca86105e560c5a1043fb1.jpg","text":"TemporaryFile(/tmp/multipartBody2568439331035972921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669814058,"filename":"image_23012025_19_43_54_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882438","file1":"1330882434","file0":"1330882431","file4":"1330882448","file5":"1330882452","file3":"1330882445"},"map_files_photo_id_array":[{"photo_id":"1330882452","filename":"file5"},{"photo_id":"1330882438","filename":"file2"},{"photo_id":"1330882448","filename":"file4"},{"photo_id":"1330882434","filename":"file1"},{"photo_id":"1330882431","filename":"file0"},{"photo_id":"1330882445","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882438":["hashtag1","hashtag2"]},{"1330882452":["hashtag1","hashtag2"]},{"1330882434":["hashtag1","hashtag2"]},{"1330882431":["hashtag1","hashtag2"]},{"1330882445":["hashtag1","hashtag2"]},{"1330882448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882438, 1330882452, 1330882434, 1330882431, 1330882445, 1330882448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75874185562134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:03:33.357663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_14_9317.jpg', '/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_35_10454.jpg', '/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_55_10333.jpg', '/home/pi/Desktop/images/23012025/19/44/image_23012025_19_45_04_9356.jpg', '/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_14_10400.jpg', '/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_14_9317.jpg
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_35_10454.jpg
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_44_55_10333.jpg
/home/pi/Desktop/images/23012025/19/44/image_23012025_19_45_04_9356.jpg
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_14_10400.jpg
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_45_55_10360.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":["1330882510","1330882581","1330882563","1330882536","1330882577","1330882559"],"photo_ids_order":["1330882510","1330882536","1330882559","1330882563","1330882577","1330882581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/104999e45b287edcd925ef471215b573.jpg","text":"TemporaryFile(/tmp/multipartBody9156316160678707723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669874359,"filename":"image_23012025_19_44_14_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6b34beb392a578ce6dad0fe4f880c07.jpg","text":"TemporaryFile(/tmp/multipartBody8261493183309212767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669874359,"filename":"image_23012025_19_45_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4932be8b99f5a8c24e804f9d3e2abef7.jpg","text":"TemporaryFile(/tmp/multipartBody3767301796414925811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669874359,"filename":"image_23012025_19_45_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de698916404010e356478076f4993cd6.jpg","text":"TemporaryFile(/tmp/multipartBody601026303631411978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669874359,"filename":"image_23012025_19_44_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c5a0798bac6a7bc5f3a38ba9241bb7c.jpg","text":"TemporaryFile(/tmp/multipartBody3749748015532827811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669874359,"filename":"image_23012025_19_45_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d5e7d9d0bc0080e787511efed7983714.jpg","text":"TemporaryFile(/tmp/multipartBody9214858426315533722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669874359,"filename":"image_23012025_19_44_55_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882559","file1":"1330882536","file0":"1330882510","file4":"1330882577","file5":"1330882581","file3":"1330882563"},"map_files_photo_id_array":[{"photo_id":"1330882581","filename":"file5"},{"photo_id":"1330882559","filename":"file2"},{"photo_id":"1330882577","filename":"file4"},{"photo_id":"1330882536","filename":"file1"},{"photo_id":"1330882510","filename":"file0"},{"photo_id":"1330882563","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882510":["hashtag1","hashtag2"]},{"1330882581":["hashtag1","hashtag2"]},{"1330882563":["hashtag1","hashtag2"]},{"1330882536":["hashtag1","hashtag2"]},{"1330882577":["hashtag1","hashtag2"]},{"1330882559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882510, 1330882581, 1330882563, 1330882536, 1330882577, 1330882559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37922811508179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:04:32.809173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/45/image_23012025_19_46_04_9423.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_15_10457.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_24_9380.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_34_10332.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_45_10376.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_54_9468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_46_04_9423.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_15_10457.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_24_9380.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_34_10332.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_45_10376.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_54_9468.jpg
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: 0.602623701095581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:04:42.708269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/45/image_23012025_19_46_04_9423.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_15_10457.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_24_9380.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_34_10332.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_45_10376.jpg', '/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_54_9468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/45/image_23012025_19_46_04_9423.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_15_10457.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_24_9380.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_34_10332.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_45_10376.jpg
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_46_54_9468.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":["1330882612","1330882632","1330882626","1330882620","1330882716","1330882623"],"photo_ids_order":["1330882612","1330882620","1330882623","1330882626","1330882632","1330882716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1efc667b627ec9057dd46df6cd867f5.jpg","text":"TemporaryFile(/tmp/multipartBody1713918295365119565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669943660,"filename":"image_23012025_19_46_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73e65dbeaf4609a3644aaa83ff0dc59f.jpg","text":"TemporaryFile(/tmp/multipartBody6678514491547431207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669943660,"filename":"image_23012025_19_46_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09690b82203af461976b9bb2c9e9d444.jpg","text":"TemporaryFile(/tmp/multipartBody4971762010409166086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669943660,"filename":"image_23012025_19_46_34_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90922bfbfe999270c199d24349762298.jpg","text":"TemporaryFile(/tmp/multipartBody4618028930523162785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669943660,"filename":"image_23012025_19_46_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de87548c1bad1b5c3d94d94a182bc543.jpg","text":"TemporaryFile(/tmp/multipartBody8003322444824699334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669943660,"filename":"image_23012025_19_46_54_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/61d72962958c9f60d214d34ba5f78446.jpg","text":"TemporaryFile(/tmp/multipartBody2655766859230520504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669943660,"filename":"image_23012025_19_46_24_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882623","file1":"1330882620","file0":"1330882612","file4":"1330882632","file5":"1330882716","file3":"1330882626"},"map_files_photo_id_array":[{"photo_id":"1330882716","filename":"file5"},{"photo_id":"1330882623","filename":"file2"},{"photo_id":"1330882632","filename":"file4"},{"photo_id":"1330882620","filename":"file1"},{"photo_id":"1330882612","filename":"file0"},{"photo_id":"1330882626","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882612":["hashtag1","hashtag2"]},{"1330882632":["hashtag1","hashtag2"]},{"1330882626":["hashtag1","hashtag2"]},{"1330882620":["hashtag1","hashtag2"]},{"1330882716":["hashtag1","hashtag2"]},{"1330882623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882612, 1330882632, 1330882626, 1330882620, 1330882716, 1330882623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77676248550415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:05:32.782293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/46/image_23012025_19_47_05_10446.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_14_9456.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_25_10341.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_34_9341.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_44_10454.jpg', '/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_55_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/46/image_23012025_19_47_05_10446.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_14_9456.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_25_10341.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_34_9341.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_44_10454.jpg
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_47_55_10361.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":["1330882729","1330882743","1330882731","1330882740","1330882736","1330882733"],"photo_ids_order":["1330882729","1330882731","1330882733","1330882736","1330882740","1330882743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/05c9a50ab8bd11f135cc0a36f3b1b766.jpg","text":"TemporaryFile(/tmp/multipartBody2826136049360158057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669993788,"filename":"image_23012025_19_47_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/39e0160b8b8b6e9cbc59c120b890cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody2443386287690470830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669993788,"filename":"image_23012025_19_47_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/369790f0480337a3d4327ed75ccb8063.jpg","text":"TemporaryFile(/tmp/multipartBody6137499115801625369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669993788,"filename":"image_23012025_19_47_14_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b0059760e03f35ae96882d1ae00e0c8.jpg","text":"TemporaryFile(/tmp/multipartBody8474958327537497278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669993788,"filename":"image_23012025_19_47_44_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/04c5f8ec7d92f7f5cc59ff305f32a05e.jpg","text":"TemporaryFile(/tmp/multipartBody683606908746242960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669993788,"filename":"image_23012025_19_47_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bdbea28cb4a967957156af819304684c.jpg","text":"TemporaryFile(/tmp/multipartBody6675159893271622383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737669993788,"filename":"image_23012025_19_47_25_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882733","file1":"1330882731","file0":"1330882729","file4":"1330882740","file5":"1330882743","file3":"1330882736"},"map_files_photo_id_array":[{"photo_id":"1330882743","filename":"file5"},{"photo_id":"1330882733","filename":"file2"},{"photo_id":"1330882740","filename":"file4"},{"photo_id":"1330882731","filename":"file1"},{"photo_id":"1330882729","filename":"file0"},{"photo_id":"1330882736","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882729":["hashtag1","hashtag2"]},{"1330882743":["hashtag1","hashtag2"]},{"1330882731":["hashtag1","hashtag2"]},{"1330882740":["hashtag1","hashtag2"]},{"1330882736":["hashtag1","hashtag2"]},{"1330882733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882729, 1330882743, 1330882731, 1330882740, 1330882736, 1330882733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.376951456069946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:06:33.012542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/47/image_23012025_19_48_04_9429.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_15_10367.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_24_9361.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_34_10370.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_45_10344.jpg', '/home/pi/Desktop/images/23012025/19/48/image_23012025_19_49_04_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/47/image_23012025_19_48_04_9429.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_15_10367.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_24_9361.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_34_10370.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_48_45_10344.jpg
/home/pi/Desktop/images/23012025/19/48/image_23012025_19_49_04_10418.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":["1330882792","1330882786","1330882774","1330882782","1330882799","1330882778"],"photo_ids_order":["1330882774","1330882778","1330882782","1330882786","1330882792","1330882799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c9db91572b291b8c343a04d81c53c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody2324612065628004278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670054001,"filename":"image_23012025_19_48_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a23cdfb19688660c96d9c34f8c0d73a.jpg","text":"TemporaryFile(/tmp/multipartBody4924106743519571920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670054001,"filename":"image_23012025_19_48_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b5f41b49e5ee62f2b63976ed60ead83.jpg","text":"TemporaryFile(/tmp/multipartBody5807334431945311618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670054001,"filename":"image_23012025_19_48_04_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20debef59a30110df59cbc01b1fec5a6.jpg","text":"TemporaryFile(/tmp/multipartBody3909700712483303164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670054001,"filename":"image_23012025_19_48_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b86362c8507a0a39ee1442f4c7eb222d.jpg","text":"TemporaryFile(/tmp/multipartBody2392340562469336079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670054001,"filename":"image_23012025_19_49_04_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ca9326e5100ab7e5c0cc28e6279330d6.jpg","text":"TemporaryFile(/tmp/multipartBody8262871084535932279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670054001,"filename":"image_23012025_19_48_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882782","file1":"1330882778","file0":"1330882774","file4":"1330882792","file5":"1330882799","file3":"1330882786"},"map_files_photo_id_array":[{"photo_id":"1330882799","filename":"file5"},{"photo_id":"1330882782","filename":"file2"},{"photo_id":"1330882792","filename":"file4"},{"photo_id":"1330882778","filename":"file1"},{"photo_id":"1330882774","filename":"file0"},{"photo_id":"1330882786","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882792":["hashtag1","hashtag2"]},{"1330882786":["hashtag1","hashtag2"]},{"1330882774":["hashtag1","hashtag2"]},{"1330882782":["hashtag1","hashtag2"]},{"1330882799":["hashtag1","hashtag2"]},{"1330882778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882792, 1330882786, 1330882774, 1330882782, 1330882799, 1330882778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.426560163497925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:07:32.360976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_15_10420.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_24_9358.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_35_10343.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_44_9344.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_54_10411.jpg', '/home/pi/Desktop/images/23012025/19/49/image_23012025_19_50_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_15_10420.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_24_9358.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_35_10343.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_44_9344.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_49_54_10411.jpg
/home/pi/Desktop/images/23012025/19/49/image_23012025_19_50_05_10346.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":["1330882990","1330883008","1330883005","1330882992","1330883001","1330882996"],"photo_ids_order":["1330882990","1330882992","1330882996","1330883001","1330883005","1330883008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cdd00553b5bbe9eec429afebfc773c7e.jpg","text":"TemporaryFile(/tmp/multipartBody7646365165017743260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670113351,"filename":"image_23012025_19_49_15_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e49e78f2bfce6e40433015466529762e.jpg","text":"TemporaryFile(/tmp/multipartBody5857100614119912774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670113351,"filename":"image_23012025_19_50_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/81cca34a2269bf37821c75079fdd49c8.jpg","text":"TemporaryFile(/tmp/multipartBody3141688682914883568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670113351,"filename":"image_23012025_19_49_54_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45cde24afc92d6f973ab4c3a954ab4b4.jpg","text":"TemporaryFile(/tmp/multipartBody3629172931463025255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670113351,"filename":"image_23012025_19_49_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0965f6801cb5e214b91530f1f28a5823.jpg","text":"TemporaryFile(/tmp/multipartBody247615057479453162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670113351,"filename":"image_23012025_19_49_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c2fbc6e0145035bf809f5a892a1d2fa7.jpg","text":"TemporaryFile(/tmp/multipartBody463127907487241050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670113351,"filename":"image_23012025_19_49_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330882996","file1":"1330882992","file0":"1330882990","file4":"1330883005","file5":"1330883008","file3":"1330883001"},"map_files_photo_id_array":[{"photo_id":"1330883008","filename":"file5"},{"photo_id":"1330882996","filename":"file2"},{"photo_id":"1330883005","filename":"file4"},{"photo_id":"1330882992","filename":"file1"},{"photo_id":"1330882990","filename":"file0"},{"photo_id":"1330883001","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330882990":["hashtag1","hashtag2"]},{"1330883008":["hashtag1","hashtag2"]},{"1330883005":["hashtag1","hashtag2"]},{"1330882992":["hashtag1","hashtag2"]},{"1330883001":["hashtag1","hashtag2"]},{"1330882996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330882990, 1330883008, 1330883005, 1330882992, 1330883001, 1330882996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57458734512329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:08:32.694526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_14_9439.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_24_10387.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_35_10375.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_44_9441.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_55_10373.jpg', '/home/pi/Desktop/images/23012025/19/50/image_23012025_19_51_04_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_14_9439.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_24_10387.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_35_10375.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_44_9441.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_50_55_10373.jpg
/home/pi/Desktop/images/23012025/19/50/image_23012025_19_51_04_9428.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":["1330883880","1330883916","1330883925","1330883894","1330883888","1330883876"],"photo_ids_order":["1330883876","1330883880","1330883888","1330883894","1330883916","1330883925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d7f80fb56e25524ef38610f824196fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1481680879026533512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670173693,"filename":"image_23012025_19_50_24_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59a6737e35d5a81c0cfa6b14b70f9762.jpg","text":"TemporaryFile(/tmp/multipartBody43964924198139625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670173693,"filename":"image_23012025_19_50_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9fddc7267e13d74787142a2fe03cc14.jpg","text":"TemporaryFile(/tmp/multipartBody4655502276715692832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670173693,"filename":"image_23012025_19_51_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e585b590e3bf0efcae369d6f1db56e05.jpg","text":"TemporaryFile(/tmp/multipartBody4888075262479543921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670173693,"filename":"image_23012025_19_50_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ab31469f45aa402fa5e6b4304b67ce73.jpg","text":"TemporaryFile(/tmp/multipartBody7970262725801023497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670173693,"filename":"image_23012025_19_50_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3c81f7683c2287f83f6f6bd7891a41d3.jpg","text":"TemporaryFile(/tmp/multipartBody4428956714410927135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670173693,"filename":"image_23012025_19_50_14_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330883888","file1":"1330883880","file0":"1330883876","file4":"1330883916","file5":"1330883925","file3":"1330883894"},"map_files_photo_id_array":[{"photo_id":"1330883925","filename":"file5"},{"photo_id":"1330883888","filename":"file2"},{"photo_id":"1330883916","filename":"file4"},{"photo_id":"1330883880","filename":"file1"},{"photo_id":"1330883876","filename":"file0"},{"photo_id":"1330883894","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330883880":["hashtag1","hashtag2"]},{"1330883916":["hashtag1","hashtag2"]},{"1330883925":["hashtag1","hashtag2"]},{"1330883894":["hashtag1","hashtag2"]},{"1330883888":["hashtag1","hashtag2"]},{"1330883876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330883880, 1330883916, 1330883925, 1330883894, 1330883888, 1330883876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.492595911026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:09:33.010002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_14_10339.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_25_10427.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_34_9418.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_45_10330.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_54_9452.jpg', '/home/pi/Desktop/images/23012025/19/51/image_23012025_19_52_04_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_14_10339.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_25_10427.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_34_9418.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_45_10330.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_51_54_9452.jpg
/home/pi/Desktop/images/23012025/19/51/image_23012025_19_52_04_10414.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":["1330883979","1330883975","1330883984","1330883972","1330883974","1330883977"],"photo_ids_order":["1330883972","1330883974","1330883975","1330883977","1330883979","1330883984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07ce9ca5c89d40f2bad25274f48dd0b0.jpg","text":"TemporaryFile(/tmp/multipartBody4944221390001881209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670234065,"filename":"image_23012025_19_51_54_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ce9b6de4b15fcfa22d21fe67e04fe3db.jpg","text":"TemporaryFile(/tmp/multipartBody3344624121279913419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670234065,"filename":"image_23012025_19_51_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9459bb0f7e17ea6eccde6afd1652cb2f.jpg","text":"TemporaryFile(/tmp/multipartBody7605511044261011878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670234065,"filename":"image_23012025_19_52_04_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0255c8e25e43f5c4ca1086513a508cc.jpg","text":"TemporaryFile(/tmp/multipartBody7766417199794785186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670234065,"filename":"image_23012025_19_51_14_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/31e9ca3a7fe51e78c51388dc7f796383.jpg","text":"TemporaryFile(/tmp/multipartBody3898426680875747722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670234065,"filename":"image_23012025_19_51_25_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1426ef41c3649b6064baf03dcd4589c9.jpg","text":"TemporaryFile(/tmp/multipartBody8670669382261680134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670234065,"filename":"image_23012025_19_51_45_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330883975","file1":"1330883974","file0":"1330883972","file4":"1330883979","file5":"1330883984","file3":"1330883977"},"map_files_photo_id_array":[{"photo_id":"1330883984","filename":"file5"},{"photo_id":"1330883975","filename":"file2"},{"photo_id":"1330883979","filename":"file4"},{"photo_id":"1330883974","filename":"file1"},{"photo_id":"1330883972","filename":"file0"},{"photo_id":"1330883977","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330883979":["hashtag1","hashtag2"]},{"1330883975":["hashtag1","hashtag2"]},{"1330883984":["hashtag1","hashtag2"]},{"1330883972":["hashtag1","hashtag2"]},{"1330883974":["hashtag1","hashtag2"]},{"1330883977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330883979, 1330883975, 1330883984, 1330883972, 1330883974, 1330883977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.21087574958801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:10:32.494198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_15_10377.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_24_9353.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_35_10359.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_44_9399.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_54_10467.jpg', '/home/pi/Desktop/images/23012025/19/52/image_23012025_19_53_05_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_15_10377.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_24_9353.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_35_10359.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_44_9399.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_52_54_10467.jpg
/home/pi/Desktop/images/23012025/19/52/image_23012025_19_53_05_10340.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":["1330884537","1330884423","1330884452","1330884446","1330884548","1330884440"],"photo_ids_order":["1330884423","1330884440","1330884446","1330884452","1330884537","1330884548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a6a7f8f9627dfde5847ce5451956d157.jpg","text":"TemporaryFile(/tmp/multipartBody1495795040254338795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670293542,"filename":"image_23012025_19_52_54_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba0a45d3bdedc3ee5865ae396a562ff9.jpg","text":"TemporaryFile(/tmp/multipartBody949981342613795405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670293542,"filename":"image_23012025_19_52_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0489578ec2646812558872846785e354.jpg","text":"TemporaryFile(/tmp/multipartBody6653834946350858806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670293542,"filename":"image_23012025_19_52_44_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/95da41eca6b5c53000a5a56e8e3521b7.jpg","text":"TemporaryFile(/tmp/multipartBody9094862144463292078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670293542,"filename":"image_23012025_19_52_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4d258cbfc50cf62082d4740d6fd4874f.jpg","text":"TemporaryFile(/tmp/multipartBody5661801383683932653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670293542,"filename":"image_23012025_19_53_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a880a1b6611239a365c96d12b1e6c6b1.jpg","text":"TemporaryFile(/tmp/multipartBody6204323876799573878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670293542,"filename":"image_23012025_19_52_24_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330884446","file1":"1330884440","file0":"1330884423","file4":"1330884537","file5":"1330884548","file3":"1330884452"},"map_files_photo_id_array":[{"photo_id":"1330884548","filename":"file5"},{"photo_id":"1330884446","filename":"file2"},{"photo_id":"1330884537","filename":"file4"},{"photo_id":"1330884440","filename":"file1"},{"photo_id":"1330884423","filename":"file0"},{"photo_id":"1330884452","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330884537":["hashtag1","hashtag2"]},{"1330884423":["hashtag1","hashtag2"]},{"1330884452":["hashtag1","hashtag2"]},{"1330884446":["hashtag1","hashtag2"]},{"1330884548":["hashtag1","hashtag2"]},{"1330884440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330884537, 1330884423, 1330884452, 1330884446, 1330884548, 1330884440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.702085733413696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:11:32.635811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_14_9349.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_24_10348.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_35_10385.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_44_9385.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_55_10381.jpg', '/home/pi/Desktop/images/23012025/19/53/image_23012025_19_54_04_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_14_9349.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_24_10348.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_35_10385.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_44_9385.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_53_55_10381.jpg
/home/pi/Desktop/images/23012025/19/53/image_23012025_19_54_04_9448.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":["1330884680","1330884650","1330884641","1330884658","1330884646","1330884634"],"photo_ids_order":["1330884634","1330884641","1330884646","1330884650","1330884658","1330884680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6815b6934f6a4a32b777c1a195dcf9fa.jpg","text":"TemporaryFile(/tmp/multipartBody4795974993844687948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670353638,"filename":"image_23012025_19_54_04_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/755382a6a16d5dfb5f907bf2bc127dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5613217936639692204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670353638,"filename":"image_23012025_19_53_44_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c0efcc00f078e8b9b7da141adfc78ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8170557097967696655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670353638,"filename":"image_23012025_19_53_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/673b4fca83b81ebdd2d7f6b83517a168.jpg","text":"TemporaryFile(/tmp/multipartBody2359290912831404321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670353638,"filename":"image_23012025_19_53_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb208c5a8e3b8fd3e56e764cd5e39cda.jpg","text":"TemporaryFile(/tmp/multipartBody5991192865153737113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670353638,"filename":"image_23012025_19_53_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8159442b08f13d17f31f8f3690736583.jpg","text":"TemporaryFile(/tmp/multipartBody6337074534194723951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670353638,"filename":"image_23012025_19_53_14_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330884646","file1":"1330884641","file0":"1330884634","file4":"1330884658","file5":"1330884680","file3":"1330884650"},"map_files_photo_id_array":[{"photo_id":"1330884680","filename":"file5"},{"photo_id":"1330884646","filename":"file2"},{"photo_id":"1330884658","filename":"file4"},{"photo_id":"1330884641","filename":"file1"},{"photo_id":"1330884634","filename":"file0"},{"photo_id":"1330884650","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330884680":["hashtag1","hashtag2"]},{"1330884650":["hashtag1","hashtag2"]},{"1330884641":["hashtag1","hashtag2"]},{"1330884658":["hashtag1","hashtag2"]},{"1330884646":["hashtag1","hashtag2"]},{"1330884634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330884680, 1330884650, 1330884641, 1330884658, 1330884646, 1330884634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9676628112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:12:33.032259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_14_10345.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_25_10357.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_34_9339.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_45_10409.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_54_9336.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_55_04_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_14_10345.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_25_10357.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_34_9339.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_45_10409.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_54_9336.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_55_04_10375.jpg
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: 0.6349704265594482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:12:42.953316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_14_10345.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_25_10357.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_34_9339.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_45_10409.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_54_9336.jpg', '/home/pi/Desktop/images/23012025/19/54/image_23012025_19_55_04_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_14_10345.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_25_10357.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_34_9339.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_45_10409.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_54_54_9336.jpg
/home/pi/Desktop/images/23012025/19/54/image_23012025_19_55_04_10375.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":["1330884747","1330884741","1330884737","1330884728","1330884724","1330884733"],"photo_ids_order":["1330884724","1330884728","1330884733","1330884737","1330884741","1330884747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f1169bd295acb94764800bf05854c442.jpg","text":"TemporaryFile(/tmp/multipartBody2881761214110385165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670423868,"filename":"image_23012025_19_55_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6c14b6cb366d615ff87bf5a61b9ec98e.jpg","text":"TemporaryFile(/tmp/multipartBody2607159699660340952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670423868,"filename":"image_23012025_19_54_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/10903b63a187a4f6e327e690288312bf.jpg","text":"TemporaryFile(/tmp/multipartBody7833346494737368182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670423868,"filename":"image_23012025_19_54_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89394052572bad4aa3136a8fe77aad40.jpg","text":"TemporaryFile(/tmp/multipartBody3515875794290256574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670423868,"filename":"image_23012025_19_54_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e7f6bdbb7c66c679fbd504bd311a977e.jpg","text":"TemporaryFile(/tmp/multipartBody3192919235525719821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670423868,"filename":"image_23012025_19_54_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d80bd77bad2aa6b9c7fec5438b87ca7.jpg","text":"TemporaryFile(/tmp/multipartBody389055046185912351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670423868,"filename":"image_23012025_19_54_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330884733","file1":"1330884728","file0":"1330884724","file4":"1330884741","file5":"1330884747","file3":"1330884737"},"map_files_photo_id_array":[{"photo_id":"1330884747","filename":"file5"},{"photo_id":"1330884733","filename":"file2"},{"photo_id":"1330884741","filename":"file4"},{"photo_id":"1330884728","filename":"file1"},{"photo_id":"1330884724","filename":"file0"},{"photo_id":"1330884737","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330884747":["hashtag1","hashtag2"]},{"1330884741":["hashtag1","hashtag2"]},{"1330884737":["hashtag1","hashtag2"]},{"1330884728":["hashtag1","hashtag2"]},{"1330884724":["hashtag1","hashtag2"]},{"1330884733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330884747, 1330884741, 1330884737, 1330884728, 1330884724, 1330884733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44859838485718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:13:33.192147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_14_10086.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_25_10198.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_34_9336.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_44_10452.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_55_10448.jpg', '/home/pi/Desktop/images/23012025/19/55/image_23012025_19_56_04_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_14_10086.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_25_10198.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_34_9336.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_44_10452.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_55_55_10448.jpg
/home/pi/Desktop/images/23012025/19/55/image_23012025_19_56_04_9358.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":["1330884774","1330884800","1330884790","1330884787","1330884811","1330884814"],"photo_ids_order":["1330884774","1330884787","1330884790","1330884800","1330884811","1330884814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ae4e1723f456c2f6a8ca464be49d1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1903726955035397917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670474194,"filename":"image_23012025_19_55_14_10086.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/472a635997237636118da1ddd7162452.jpg","text":"TemporaryFile(/tmp/multipartBody5591731962578501571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670474194,"filename":"image_23012025_19_55_44_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3ca505c0d9fab91db2f1865bf9955885.jpg","text":"TemporaryFile(/tmp/multipartBody2032242418214473656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670474194,"filename":"image_23012025_19_55_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/59796ff00b8f0f010743739150f1e805.jpg","text":"TemporaryFile(/tmp/multipartBody4700739378629290252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670474194,"filename":"image_23012025_19_55_25_10198.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff6cc5e8295c8b1ab1fe54eefa9a7222.jpg","text":"TemporaryFile(/tmp/multipartBody6156172479332148590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670474194,"filename":"image_23012025_19_55_55_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f10a4e2e1777d849b08d93f6f20beedb.jpg","text":"TemporaryFile(/tmp/multipartBody8357340268595515395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670474194,"filename":"image_23012025_19_56_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330884790","file1":"1330884787","file0":"1330884774","file4":"1330884811","file5":"1330884814","file3":"1330884800"},"map_files_photo_id_array":[{"photo_id":"1330884814","filename":"file5"},{"photo_id":"1330884790","filename":"file2"},{"photo_id":"1330884811","filename":"file4"},{"photo_id":"1330884787","filename":"file1"},{"photo_id":"1330884774","filename":"file0"},{"photo_id":"1330884800","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330884774":["hashtag1","hashtag2"]},{"1330884800":["hashtag1","hashtag2"]},{"1330884790":["hashtag1","hashtag2"]},{"1330884787":["hashtag1","hashtag2"]},{"1330884811":["hashtag1","hashtag2"]},{"1330884814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330884774, 1330884800, 1330884790, 1330884787, 1330884811, 1330884814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.71561861038208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:14:32.308642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_15_10626.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_24_9334.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_34_10328.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_45_10448.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_54_9453.jpg', '/home/pi/Desktop/images/23012025/19/56/image_23012025_19_57_05_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_15_10626.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_24_9334.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_34_10328.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_45_10448.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_56_54_9453.jpg
/home/pi/Desktop/images/23012025/19/56/image_23012025_19_57_05_10415.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":["1330884858","1330884884","1330884863","1330884874","1330884868","1330884853"],"photo_ids_order":["1330884853","1330884858","1330884863","1330884868","1330884874","1330884884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43ad039f3d5438806b98f075818c0a45.jpg","text":"TemporaryFile(/tmp/multipartBody1281627882395097004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670533340,"filename":"image_23012025_19_56_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/548f3ed38e1728cd68832138f564ca0f.jpg","text":"TemporaryFile(/tmp/multipartBody7926147776699209389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670533340,"filename":"image_23012025_19_57_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/aaf72d7dacf1e4f88ddfc833e3ebc215.jpg","text":"TemporaryFile(/tmp/multipartBody7702522832463418233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670533340,"filename":"image_23012025_19_56_34_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a052b3acaea23088b30040ca38c34251.jpg","text":"TemporaryFile(/tmp/multipartBody8220941378072425013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670533340,"filename":"image_23012025_19_56_54_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c6817949b246b5981af7c4c65b0fcb1e.jpg","text":"TemporaryFile(/tmp/multipartBody2257036289695672303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670533340,"filename":"image_23012025_19_56_45_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a6e96babed247b04279c11cae7163d4.jpg","text":"TemporaryFile(/tmp/multipartBody4465980906659021392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670533340,"filename":"image_23012025_19_56_15_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330884863","file1":"1330884858","file0":"1330884853","file4":"1330884874","file5":"1330884884","file3":"1330884868"},"map_files_photo_id_array":[{"photo_id":"1330884884","filename":"file5"},{"photo_id":"1330884863","filename":"file2"},{"photo_id":"1330884874","filename":"file4"},{"photo_id":"1330884858","filename":"file1"},{"photo_id":"1330884853","filename":"file0"},{"photo_id":"1330884868","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330884858":["hashtag1","hashtag2"]},{"1330884884":["hashtag1","hashtag2"]},{"1330884863":["hashtag1","hashtag2"]},{"1330884874":["hashtag1","hashtag2"]},{"1330884868":["hashtag1","hashtag2"]},{"1330884853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330884858, 1330884884, 1330884863, 1330884874, 1330884868, 1330884853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.690441608428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:15:32.482505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_14_9432.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_25_10405.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_34_9415.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_44_10356.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_55_10424.jpg', '/home/pi/Desktop/images/23012025/19/57/image_23012025_19_58_04_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_14_9432.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_25_10405.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_34_9415.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_44_10356.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_57_55_10424.jpg
/home/pi/Desktop/images/23012025/19/57/image_23012025_19_58_04_9324.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":["1330885091","1330885055","1330885109","1330885084","1330885057","1330885062"],"photo_ids_order":["1330885055","1330885057","1330885062","1330885084","1330885091","1330885109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dcdfb1cd41550f80ea76b127d4476fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2367128993518713378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670593496,"filename":"image_23012025_19_57_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9dd3aaa19baf67b04722712346cf1172.jpg","text":"TemporaryFile(/tmp/multipartBody516194386063127578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670593496,"filename":"image_23012025_19_57_14_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3bd0c1dfffffcc46a5fed16bf8aec7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4393852527184608676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670593496,"filename":"image_23012025_19_58_04_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d30857c66f251018d342a989cbea6e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7770440568588844826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670593496,"filename":"image_23012025_19_57_44_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33e6b7dee5fc136248f205b0bf5f33b1.jpg","text":"TemporaryFile(/tmp/multipartBody6590768949259798522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670593496,"filename":"image_23012025_19_57_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0d2df794d7b8be49626ac05a246638c6.jpg","text":"TemporaryFile(/tmp/multipartBody8226020816316035292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670593496,"filename":"image_23012025_19_57_34_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330885062","file1":"1330885057","file0":"1330885055","file4":"1330885091","file5":"1330885109","file3":"1330885084"},"map_files_photo_id_array":[{"photo_id":"1330885109","filename":"file5"},{"photo_id":"1330885062","filename":"file2"},{"photo_id":"1330885091","filename":"file4"},{"photo_id":"1330885057","filename":"file1"},{"photo_id":"1330885055","filename":"file0"},{"photo_id":"1330885084","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330885091":["hashtag1","hashtag2"]},{"1330885055":["hashtag1","hashtag2"]},{"1330885109":["hashtag1","hashtag2"]},{"1330885084":["hashtag1","hashtag2"]},{"1330885057":["hashtag1","hashtag2"]},{"1330885062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330885091, 1330885055, 1330885109, 1330885084, 1330885057, 1330885062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.242326498031616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:16:32.657946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_14_10332.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_25_10354.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_34_9334.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_44_10359.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_55_10354.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_59_04_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_14_10332.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_25_10354.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_34_9334.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_44_10359.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_55_10354.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_59_04_9340.jpg
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: 0.6100163459777832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:16:42.703615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_14_10332.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_25_10354.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_34_9334.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_44_10359.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_55_10354.jpg', '/home/pi/Desktop/images/23012025/19/58/image_23012025_19_59_04_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_14_10332.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_25_10354.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_34_9334.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_44_10359.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_58_55_10354.jpg
/home/pi/Desktop/images/23012025/19/58/image_23012025_19_59_04_9340.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":["1330885206","1330885193","1330885202","1330885211","1330885189","1330885198"],"photo_ids_order":["1330885189","1330885193","1330885198","1330885202","1330885206","1330885211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/812bf0ff5d9a86bc403812d6767da02d.jpg","text":"TemporaryFile(/tmp/multipartBody6460154347764942734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670663631,"filename":"image_23012025_19_58_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68cdd367d3b1eeb5aa2f6a1ca283fbd8.jpg","text":"TemporaryFile(/tmp/multipartBody6307375952936211946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670663631,"filename":"image_23012025_19_58_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9376a3a81c1ec170476fbe7f21e18018.jpg","text":"TemporaryFile(/tmp/multipartBody7110727369617577076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670663631,"filename":"image_23012025_19_58_44_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db801c0f210025e3f875db4a963f8227.jpg","text":"TemporaryFile(/tmp/multipartBody6371789503801179443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670663631,"filename":"image_23012025_19_59_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c18e91bacc4ac39c5d64114c806a150a.jpg","text":"TemporaryFile(/tmp/multipartBody1240416333687315827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670663631,"filename":"image_23012025_19_58_14_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5ce9d1bb3a1d05bef6253e7be1ebc23f.jpg","text":"TemporaryFile(/tmp/multipartBody4565218225153430589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670663631,"filename":"image_23012025_19_58_34_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330885198","file1":"1330885193","file0":"1330885189","file4":"1330885206","file5":"1330885211","file3":"1330885202"},"map_files_photo_id_array":[{"photo_id":"1330885211","filename":"file5"},{"photo_id":"1330885198","filename":"file2"},{"photo_id":"1330885206","filename":"file4"},{"photo_id":"1330885193","filename":"file1"},{"photo_id":"1330885189","filename":"file0"},{"photo_id":"1330885202","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330885206":["hashtag1","hashtag2"]},{"1330885193":["hashtag1","hashtag2"]},{"1330885202":["hashtag1","hashtag2"]},{"1330885211":["hashtag1","hashtag2"]},{"1330885189":["hashtag1","hashtag2"]},{"1330885198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330885206, 1330885193, 1330885202, 1330885211, 1330885189, 1330885198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89607262611389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:17:32.756495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_15_10342.jpg', '/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_24_9358.jpg', '/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_34_10449.jpg', '/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_45_10329.jpg', '/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_54_9419.jpg', '/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_14_10070.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_15_10342.jpg
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_24_9358.jpg
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_34_10449.jpg
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_45_10329.jpg
/home/pi/Desktop/images/23012025/19/59/image_23012025_19_59_54_9419.jpg
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_14_10070.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":["1330885239","1330885232","1330885235","1330885225","1330885228","1330885242"],"photo_ids_order":["1330885225","1330885228","1330885232","1330885235","1330885239","1330885242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/47d656dcbf84fb894cd1cb7fb9c36413.jpg","text":"TemporaryFile(/tmp/multipartBody2057361617785095108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670713755,"filename":"image_23012025_19_59_54_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b75c0ebdbc85915b1a4ba0f0d47515a7.jpg","text":"TemporaryFile(/tmp/multipartBody4661532347129574242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670713755,"filename":"image_23012025_19_59_34_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e053e10feadf1b06de652e7c49be5904.jpg","text":"TemporaryFile(/tmp/multipartBody8122889193304363064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670713755,"filename":"image_23012025_19_59_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0e87028a9911c2cfd86db1db1a132de5.jpg","text":"TemporaryFile(/tmp/multipartBody7446346457305588868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670713755,"filename":"image_23012025_19_59_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fdc34221b130d0ea91e090c4b25e7c9f.jpg","text":"TemporaryFile(/tmp/multipartBody7681321254986664219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670713755,"filename":"image_23012025_19_59_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6df76571ec63ad6cf7781db48008309f.jpg","text":"TemporaryFile(/tmp/multipartBody6069631980733062590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670713755,"filename":"image_23012025_20_01_14_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330885232","file1":"1330885228","file0":"1330885225","file4":"1330885239","file5":"1330885242","file3":"1330885235"},"map_files_photo_id_array":[{"photo_id":"1330885242","filename":"file5"},{"photo_id":"1330885232","filename":"file2"},{"photo_id":"1330885239","filename":"file4"},{"photo_id":"1330885228","filename":"file1"},{"photo_id":"1330885225","filename":"file0"},{"photo_id":"1330885235","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330885239":["hashtag1","hashtag2"]},{"1330885232":["hashtag1","hashtag2"]},{"1330885235":["hashtag1","hashtag2"]},{"1330885225":["hashtag1","hashtag2"]},{"1330885228":["hashtag1","hashtag2"]},{"1330885242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330885239, 1330885232, 1330885235, 1330885225, 1330885228, 1330885242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24578666687012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:18:32.892100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_24_10353.jpg', '/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_35_10358.jpg', '/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_44_9384.jpg', '/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_54_10334.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_14_9419.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_25_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_24_10353.jpg
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_35_10358.jpg
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_44_9384.jpg
/home/pi/Desktop/images/23012025/20/01/image_23012025_20_01_54_10334.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_14_9419.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_25_10367.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":["1330885274","1330885262","1330885279","1330885264","1330885284","1330885269"],"photo_ids_order":["1330885262","1330885264","1330885269","1330885274","1330885279","1330885284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be467a263dc303c41de8a1c42bddb698.jpg","text":"TemporaryFile(/tmp/multipartBody1260628792800844153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670773894,"filename":"image_23012025_20_01_54_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dd749129c10af1d13cabd20b8c80b9fc.jpg","text":"TemporaryFile(/tmp/multipartBody2141424366610242713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670773894,"filename":"image_23012025_20_01_24_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/68119a5a021c1b22ea305818e5e0fe43.jpg","text":"TemporaryFile(/tmp/multipartBody1777135960770425645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670773894,"filename":"image_23012025_20_02_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/11f541ce5818029f437a947eab3e66e0.jpg","text":"TemporaryFile(/tmp/multipartBody8662967157549130240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670773894,"filename":"image_23012025_20_01_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7dc1a3a7f407e892bdcfc5aa3463043f.jpg","text":"TemporaryFile(/tmp/multipartBody6815899183346001213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670773894,"filename":"image_23012025_20_02_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c17e05cbb16e238bad8580f8425920f.jpg","text":"TemporaryFile(/tmp/multipartBody4469493733003680438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670773894,"filename":"image_23012025_20_01_44_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330885269","file1":"1330885264","file0":"1330885262","file4":"1330885279","file5":"1330885284","file3":"1330885274"},"map_files_photo_id_array":[{"photo_id":"1330885284","filename":"file5"},{"photo_id":"1330885269","filename":"file2"},{"photo_id":"1330885279","filename":"file4"},{"photo_id":"1330885264","filename":"file1"},{"photo_id":"1330885262","filename":"file0"},{"photo_id":"1330885274","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330885274":["hashtag1","hashtag2"]},{"1330885262":["hashtag1","hashtag2"]},{"1330885279":["hashtag1","hashtag2"]},{"1330885264":["hashtag1","hashtag2"]},{"1330885284":["hashtag1","hashtag2"]},{"1330885269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330885274, 1330885262, 1330885279, 1330885264, 1330885284, 1330885269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.228753089904785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:19:32.254672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_34_9420.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_44_10350.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_55_10357.jpg', '/home/pi/Desktop/images/23012025/20/02/image_23012025_20_03_04_9406.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_15_10371.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_24_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_34_9420.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_44_10350.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_02_55_10357.jpg
/home/pi/Desktop/images/23012025/20/02/image_23012025_20_03_04_9406.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_15_10371.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_24_9405.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":["1330885338","1330885352","1330885331","1330885366","1330885333","1330885335"],"photo_ids_order":["1330885331","1330885333","1330885335","1330885338","1330885352","1330885366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9919f7a74cb5975f18fdb371db8e401.jpg","text":"TemporaryFile(/tmp/multipartBody1781638706555240474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670833527,"filename":"image_23012025_20_03_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5fd860bd1828b68ce38c7a60fd2d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody4245466870740941868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670833527,"filename":"image_23012025_20_03_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d4ce49496d6a5962d5f110157b289654.jpg","text":"TemporaryFile(/tmp/multipartBody7309599770257967070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670833527,"filename":"image_23012025_20_02_34_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f40f166b335c042fb66a3627040f9a87.jpg","text":"TemporaryFile(/tmp/multipartBody5047857159252215835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670833527,"filename":"image_23012025_20_03_24_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/57610bcbec41988daf8820ea9ce5f84a.jpg","text":"TemporaryFile(/tmp/multipartBody598492337692355003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670833527,"filename":"image_23012025_20_02_44_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6167556917b0c7b730a036c95dedca13.jpg","text":"TemporaryFile(/tmp/multipartBody7959603176855633435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670833527,"filename":"image_23012025_20_02_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330885335","file1":"1330885333","file0":"1330885331","file4":"1330885352","file5":"1330885366","file3":"1330885338"},"map_files_photo_id_array":[{"photo_id":"1330885366","filename":"file5"},{"photo_id":"1330885335","filename":"file2"},{"photo_id":"1330885352","filename":"file4"},{"photo_id":"1330885333","filename":"file1"},{"photo_id":"1330885331","filename":"file0"},{"photo_id":"1330885338","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330885338":["hashtag1","hashtag2"]},{"1330885352":["hashtag1","hashtag2"]},{"1330885331":["hashtag1","hashtag2"]},{"1330885366":["hashtag1","hashtag2"]},{"1330885333":["hashtag1","hashtag2"]},{"1330885335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330885338, 1330885352, 1330885331, 1330885366, 1330885333, 1330885335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07554602622986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:20:32.453969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_34_10357.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_45_10347.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_54_9472.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_04_05_10361.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_15_10358.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_24_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_34_10357.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_45_10347.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_54_9472.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_04_05_10361.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_15_10358.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_24_9395.jpg
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: 0.6075038909912109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:20:42.522579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_34_10357.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_45_10347.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_54_9472.jpg', '/home/pi/Desktop/images/23012025/20/03/image_23012025_20_04_05_10361.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_15_10358.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_24_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_34_10357.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_45_10347.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_03_54_9472.jpg
/home/pi/Desktop/images/23012025/20/03/image_23012025_20_04_05_10361.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_15_10358.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_24_9395.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":["1330885416","1330885412","1330885426","1330885405","1330885420","1330885398"],"photo_ids_order":["1330885398","1330885405","1330885412","1330885416","1330885420","1330885426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c7064e59028b9112855abe7029a452c7.jpg","text":"TemporaryFile(/tmp/multipartBody3968396672159697876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670903451,"filename":"image_23012025_20_04_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a3d34149f23d54ce3505151c7b8e7e0e.jpg","text":"TemporaryFile(/tmp/multipartBody5316229410089707602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670903451,"filename":"image_23012025_20_03_54_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/beb240bfa88aa42bc176c845ad26a62c.jpg","text":"TemporaryFile(/tmp/multipartBody5118778425763677162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670903451,"filename":"image_23012025_20_04_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/00d6c974a73ee6bc46d4521d2149fdd9.jpg","text":"TemporaryFile(/tmp/multipartBody5075552004392578582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670903451,"filename":"image_23012025_20_03_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42d096d53b9b13c338b1e60e10d06e27.jpg","text":"TemporaryFile(/tmp/multipartBody1937104095126827156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670903451,"filename":"image_23012025_20_04_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/97801817e89afe57913834b4d81df8da.jpg","text":"TemporaryFile(/tmp/multipartBody3612411398725436067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670903451,"filename":"image_23012025_20_03_34_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330885412","file1":"1330885405","file0":"1330885398","file4":"1330885420","file5":"1330885426","file3":"1330885416"},"map_files_photo_id_array":[{"photo_id":"1330885426","filename":"file5"},{"photo_id":"1330885412","filename":"file2"},{"photo_id":"1330885420","filename":"file4"},{"photo_id":"1330885405","filename":"file1"},{"photo_id":"1330885398","filename":"file0"},{"photo_id":"1330885416","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330885416":["hashtag1","hashtag2"]},{"1330885412":["hashtag1","hashtag2"]},{"1330885426":["hashtag1","hashtag2"]},{"1330885405":["hashtag1","hashtag2"]},{"1330885420":["hashtag1","hashtag2"]},{"1330885398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330885416, 1330885412, 1330885426, 1330885405, 1330885420, 1330885398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.455421686172485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:21:32.668020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_35_10386.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_44_9444.jpg', '/home/pi/Desktop/images/23012025/20/04/image_23012025_20_05_05_10424.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_14_9402.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_25_10376.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_34_9482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_35_10386.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_04_44_9444.jpg
/home/pi/Desktop/images/23012025/20/04/image_23012025_20_05_05_10424.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_14_9402.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_25_10376.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_34_9482.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":["1330885437","1330885457","1330885439","1330885435","1330885449","1330885434"],"photo_ids_order":["1330885434","1330885435","1330885437","1330885439","1330885449","1330885457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/215461c49fbdf23ffd9bd01bb7128923.jpg","text":"TemporaryFile(/tmp/multipartBody303211463910907110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670953672,"filename":"image_23012025_20_05_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5047604d3b76b3731599035c2a4e6399.jpg","text":"TemporaryFile(/tmp/multipartBody4059631430234334750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670953672,"filename":"image_23012025_20_05_34_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/66334da0376160cf9cb652e32b118051.jpg","text":"TemporaryFile(/tmp/multipartBody9143796010389192399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670953672,"filename":"image_23012025_20_05_14_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b5176c39d947a734896fff6e176a81a1.jpg","text":"TemporaryFile(/tmp/multipartBody2870915722308375178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670953672,"filename":"image_23012025_20_04_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/908ecaf675088d65e433df790b9092c9.jpg","text":"TemporaryFile(/tmp/multipartBody790990702282186880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670953672,"filename":"image_23012025_20_05_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e5edff9486ec14f637afffb28525b23b.jpg","text":"TemporaryFile(/tmp/multipartBody1518830181830778273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737670953672,"filename":"image_23012025_20_04_35_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330885437","file1":"1330885435","file0":"1330885434","file4":"1330885449","file5":"1330885457","file3":"1330885439"},"map_files_photo_id_array":[{"photo_id":"1330885457","filename":"file5"},{"photo_id":"1330885437","filename":"file2"},{"photo_id":"1330885449","filename":"file4"},{"photo_id":"1330885435","filename":"file1"},{"photo_id":"1330885434","filename":"file0"},{"photo_id":"1330885439","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330885437":["hashtag1","hashtag2"]},{"1330885457":["hashtag1","hashtag2"]},{"1330885439":["hashtag1","hashtag2"]},{"1330885435":["hashtag1","hashtag2"]},{"1330885449":["hashtag1","hashtag2"]},{"1330885434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330885437, 1330885457, 1330885439, 1330885435, 1330885449, 1330885434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13973593711853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:22:32.732227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_44_10344.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_55_10357.jpg', '/home/pi/Desktop/images/23012025/20/05/image_23012025_20_06_04_9412.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_15_10335.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_24_9454.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_34_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_44_10344.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_05_55_10357.jpg
/home/pi/Desktop/images/23012025/20/05/image_23012025_20_06_04_9412.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_15_10335.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_24_9454.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_34_10356.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":["1330886675","1330886660","1330886677","1330886671","1330886667","1330886663"],"photo_ids_order":["1330886660","1330886663","1330886667","1330886671","1330886675","1330886677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/037ee4908e9a12d5ec4e111bbc69a36a.jpg","text":"TemporaryFile(/tmp/multipartBody7614926936699884337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671013731,"filename":"image_23012025_20_06_24_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/21409ac9ab5e0dde021ff368c8f10817.jpg","text":"TemporaryFile(/tmp/multipartBody1916385971860561981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671013731,"filename":"image_23012025_20_05_44_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33b0337537ed9f9266b7199307b02230.jpg","text":"TemporaryFile(/tmp/multipartBody3960886580210356024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671013731,"filename":"image_23012025_20_06_34_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3383acba89d5948056b4e338b3531c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1260457799572749765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671013731,"filename":"image_23012025_20_06_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ed60ff52d743f60f9fcb2981ccadb527.jpg","text":"TemporaryFile(/tmp/multipartBody7646080481309700005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671013731,"filename":"image_23012025_20_06_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/525e064f4cdf1df4c906335007eab71f.jpg","text":"TemporaryFile(/tmp/multipartBody8471922287904796837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671013731,"filename":"image_23012025_20_05_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330886667","file1":"1330886663","file0":"1330886660","file4":"1330886675","file5":"1330886677","file3":"1330886671"},"map_files_photo_id_array":[{"photo_id":"1330886677","filename":"file5"},{"photo_id":"1330886667","filename":"file2"},{"photo_id":"1330886675","filename":"file4"},{"photo_id":"1330886663","filename":"file1"},{"photo_id":"1330886660","filename":"file0"},{"photo_id":"1330886671","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330886675":["hashtag1","hashtag2"]},{"1330886660":["hashtag1","hashtag2"]},{"1330886677":["hashtag1","hashtag2"]},{"1330886671":["hashtag1","hashtag2"]},{"1330886667":["hashtag1","hashtag2"]},{"1330886663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330886675, 1330886660, 1330886677, 1330886671, 1330886667, 1330886663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48358178138733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:23:32.924846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_45_10368.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_54_9435.jpg', '/home/pi/Desktop/images/23012025/20/06/image_23012025_20_07_05_10366.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_15_10343.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_24_9409.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_45_10368.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_06_54_9435.jpg
/home/pi/Desktop/images/23012025/20/06/image_23012025_20_07_05_10366.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_15_10343.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_24_9409.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_35_10362.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":["1330886714","1330887130","1330886722","1330887120","1330886862","1330886718"],"photo_ids_order":["1330886714","1330886718","1330886722","1330886862","1330887120","1330887130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54d01d33b78da9da761621b673b70eee.jpg","text":"TemporaryFile(/tmp/multipartBody4543559990966829132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671073926,"filename":"image_23012025_20_06_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c076d254c750c996ac7db8d12c92b460.jpg","text":"TemporaryFile(/tmp/multipartBody2577248770509753275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671073926,"filename":"image_23012025_20_07_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a17b503b1bd138c34d8612fab028540.jpg","text":"TemporaryFile(/tmp/multipartBody3676501808507812143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671073926,"filename":"image_23012025_20_07_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f62e5484a96b8918458059d65968eaca.jpg","text":"TemporaryFile(/tmp/multipartBody406928409582720348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671073926,"filename":"image_23012025_20_07_24_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bfc67943aa07eaa386b2b43dcfbe7a6b.jpg","text":"TemporaryFile(/tmp/multipartBody8588440709783287979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671073926,"filename":"image_23012025_20_07_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/43d3e10777b87e7c5517fcc9433e93f3.jpg","text":"TemporaryFile(/tmp/multipartBody8113366766430520890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671073926,"filename":"image_23012025_20_06_54_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330886722","file1":"1330886718","file0":"1330886714","file4":"1330887120","file5":"1330887130","file3":"1330886862"},"map_files_photo_id_array":[{"photo_id":"1330887130","filename":"file5"},{"photo_id":"1330886722","filename":"file2"},{"photo_id":"1330887120","filename":"file4"},{"photo_id":"1330886718","filename":"file1"},{"photo_id":"1330886714","filename":"file0"},{"photo_id":"1330886862","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330886714":["hashtag1","hashtag2"]},{"1330887130":["hashtag1","hashtag2"]},{"1330886722":["hashtag1","hashtag2"]},{"1330887120":["hashtag1","hashtag2"]},{"1330886862":["hashtag1","hashtag2"]},{"1330886718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330886714, 1330887130, 1330886722, 1330887120, 1330886862, 1330886718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30919671058655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:24:33.175724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_44_9423.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_55_10409.jpg', '/home/pi/Desktop/images/23012025/20/07/image_23012025_20_08_05_10354.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_14_9384.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_25_10343.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_34_9473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_44_9423.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_07_55_10409.jpg
/home/pi/Desktop/images/23012025/20/07/image_23012025_20_08_05_10354.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_14_9384.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_25_10343.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_34_9473.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":["1330887326","1330887289","1330887322","1330887288","1330887318","1330887329"],"photo_ids_order":["1330887288","1330887289","1330887318","1330887322","1330887326","1330887329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12999802c9fb2722312542ab73ca3a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7255039248190395749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671134165,"filename":"image_23012025_20_08_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a284d0815898614f70aa77dc48cd3837.jpg","text":"TemporaryFile(/tmp/multipartBody3347549813888303118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671134165,"filename":"image_23012025_20_07_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8d692a1ef06cf0dbc0eebae4ce5c5f88.jpg","text":"TemporaryFile(/tmp/multipartBody5752408138609904343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671134165,"filename":"image_23012025_20_08_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cc496c000fc78f835e999c85ce6b10e5.jpg","text":"TemporaryFile(/tmp/multipartBody6375577942907828421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671134165,"filename":"image_23012025_20_07_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b2899a22b620eb7119f54027896fed3f.jpg","text":"TemporaryFile(/tmp/multipartBody1804879063978154454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671134165,"filename":"image_23012025_20_08_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/358db90fde58c655d949550f2f2c2fb0.jpg","text":"TemporaryFile(/tmp/multipartBody1674457950416808280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671134165,"filename":"image_23012025_20_08_34_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887318","file1":"1330887289","file0":"1330887288","file4":"1330887326","file5":"1330887329","file3":"1330887322"},"map_files_photo_id_array":[{"photo_id":"1330887329","filename":"file5"},{"photo_id":"1330887318","filename":"file2"},{"photo_id":"1330887326","filename":"file4"},{"photo_id":"1330887289","filename":"file1"},{"photo_id":"1330887288","filename":"file0"},{"photo_id":"1330887322","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887326":["hashtag1","hashtag2"]},{"1330887289":["hashtag1","hashtag2"]},{"1330887322":["hashtag1","hashtag2"]},{"1330887288":["hashtag1","hashtag2"]},{"1330887318":["hashtag1","hashtag2"]},{"1330887329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887326, 1330887289, 1330887322, 1330887288, 1330887318, 1330887329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27998495101929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:25:32.280956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_44_10349.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_55_10375.jpg', '/home/pi/Desktop/images/23012025/20/08/image_23012025_20_09_04_9386.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_15_10432.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_24_9405.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_34_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_44_10349.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_08_55_10375.jpg
/home/pi/Desktop/images/23012025/20/08/image_23012025_20_09_04_9386.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_15_10432.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_24_9405.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_34_10345.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":["1330887410","1330887358","1330887355","1330887360","1330887413","1330887356"],"photo_ids_order":["1330887355","1330887356","1330887358","1330887360","1330887410","1330887413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dad85a5f255b4f59d023c3f12299067d.jpg","text":"TemporaryFile(/tmp/multipartBody8397867872981695676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671193555,"filename":"image_23012025_20_09_24_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/877460073a6ad600b14e114d4133d5db.jpg","text":"TemporaryFile(/tmp/multipartBody1006098308328814747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671193555,"filename":"image_23012025_20_09_04_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d085130093ac63f23dc816c3fdd3f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8326539804254212176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671193555,"filename":"image_23012025_20_08_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/354427b1aa53958b49a52e8a162d1e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7332123885739723695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671193555,"filename":"image_23012025_20_09_15_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/287539b923c5212956990e87f47b49b9.jpg","text":"TemporaryFile(/tmp/multipartBody2983674704729446552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671193555,"filename":"image_23012025_20_09_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/26be769b758833f2c7341bb5e9f1adeb.jpg","text":"TemporaryFile(/tmp/multipartBody6366460511433120803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671193555,"filename":"image_23012025_20_08_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887358","file1":"1330887356","file0":"1330887355","file4":"1330887410","file5":"1330887413","file3":"1330887360"},"map_files_photo_id_array":[{"photo_id":"1330887413","filename":"file5"},{"photo_id":"1330887358","filename":"file2"},{"photo_id":"1330887410","filename":"file4"},{"photo_id":"1330887356","filename":"file1"},{"photo_id":"1330887355","filename":"file0"},{"photo_id":"1330887360","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887410":["hashtag1","hashtag2"]},{"1330887358":["hashtag1","hashtag2"]},{"1330887355":["hashtag1","hashtag2"]},{"1330887360":["hashtag1","hashtag2"]},{"1330887413":["hashtag1","hashtag2"]},{"1330887356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887410, 1330887358, 1330887355, 1330887360, 1330887413, 1330887356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.187779903411865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:26:32.476520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_45_10374.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_54_9447.jpg', '/home/pi/Desktop/images/23012025/20/09/image_23012025_20_10_05_10359.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_15_10363.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_24_9354.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_45_10374.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_09_54_9447.jpg
/home/pi/Desktop/images/23012025/20/09/image_23012025_20_10_05_10359.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_15_10363.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_24_9354.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_35_10354.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":["1330887472","1330887474","1330887468","1330887462","1330887456","1330887452"],"photo_ids_order":["1330887452","1330887456","1330887462","1330887468","1330887472","1330887474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1c42a15bf53caf21464ec71b681fee9d.jpg","text":"TemporaryFile(/tmp/multipartBody3859104727652084787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671253503,"filename":"image_23012025_20_10_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a404f379a91c0aae1edd8a48c5642d7.jpg","text":"TemporaryFile(/tmp/multipartBody6871712369094947514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671253503,"filename":"image_23012025_20_10_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a71bc0cb996fd590a1619cb196c8408f.jpg","text":"TemporaryFile(/tmp/multipartBody8220564697757424513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671253503,"filename":"image_23012025_20_10_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9306d3e8587ab5e3caffb4e33b3b27a7.jpg","text":"TemporaryFile(/tmp/multipartBody4877164668710995385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671253503,"filename":"image_23012025_20_10_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b00c0ad7387e566232285c0b3c8ecd47.jpg","text":"TemporaryFile(/tmp/multipartBody1633263371686207487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671253503,"filename":"image_23012025_20_09_54_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4dcf310f82c9f930b1704e396053e32.jpg","text":"TemporaryFile(/tmp/multipartBody3497839789076189256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671253503,"filename":"image_23012025_20_09_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887462","file1":"1330887456","file0":"1330887452","file4":"1330887472","file5":"1330887474","file3":"1330887468"},"map_files_photo_id_array":[{"photo_id":"1330887474","filename":"file5"},{"photo_id":"1330887462","filename":"file2"},{"photo_id":"1330887472","filename":"file4"},{"photo_id":"1330887456","filename":"file1"},{"photo_id":"1330887452","filename":"file0"},{"photo_id":"1330887468","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887472":["hashtag1","hashtag2"]},{"1330887474":["hashtag1","hashtag2"]},{"1330887468":["hashtag1","hashtag2"]},{"1330887462":["hashtag1","hashtag2"]},{"1330887456":["hashtag1","hashtag2"]},{"1330887452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887472, 1330887474, 1330887468, 1330887462, 1330887456, 1330887452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.157188415527344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:27:32.630125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_44_9438.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_54_10370.jpg', '/home/pi/Desktop/images/23012025/20/10/image_23012025_20_11_05_10398.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_14_9406.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_25_10336.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_35_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_44_9438.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_10_54_10370.jpg
/home/pi/Desktop/images/23012025/20/10/image_23012025_20_11_05_10398.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_14_9406.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_25_10336.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_35_10393.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":["1330887580","1330887577","1330887562","1330887565","1330887573","1330887569"],"photo_ids_order":["1330887562","1330887565","1330887569","1330887573","1330887577","1330887580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7aaceac5c1b08865c9447c208d440a0.jpg","text":"TemporaryFile(/tmp/multipartBody8629597960465778783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671313651,"filename":"image_23012025_20_11_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ced6f61fbf4cb698a497e3596100ee38.jpg","text":"TemporaryFile(/tmp/multipartBody8814565303614779869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671313651,"filename":"image_23012025_20_11_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fc76771ce82a9e4868d8c0fb24f6e46e.jpg","text":"TemporaryFile(/tmp/multipartBody6081476701336366168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671313651,"filename":"image_23012025_20_10_44_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/88b98515ef574c6ab7ac5234469c1f38.jpg","text":"TemporaryFile(/tmp/multipartBody3026980882159204032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671313651,"filename":"image_23012025_20_10_54_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24c162858cfbaf21b19bcd436c52ea74.jpg","text":"TemporaryFile(/tmp/multipartBody376014923152018901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671313651,"filename":"image_23012025_20_11_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cd8ba3525bc9b4813165ccb547086ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1036352844284515865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671313651,"filename":"image_23012025_20_11_05_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887569","file1":"1330887565","file0":"1330887562","file4":"1330887577","file5":"1330887580","file3":"1330887573"},"map_files_photo_id_array":[{"photo_id":"1330887580","filename":"file5"},{"photo_id":"1330887569","filename":"file2"},{"photo_id":"1330887577","filename":"file4"},{"photo_id":"1330887565","filename":"file1"},{"photo_id":"1330887562","filename":"file0"},{"photo_id":"1330887573","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887580":["hashtag1","hashtag2"]},{"1330887577":["hashtag1","hashtag2"]},{"1330887562":["hashtag1","hashtag2"]},{"1330887565":["hashtag1","hashtag2"]},{"1330887573":["hashtag1","hashtag2"]},{"1330887569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887580, 1330887577, 1330887562, 1330887565, 1330887573, 1330887569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7624568939209 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:28:32.876398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_44_9372.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_55_10345.jpg', '/home/pi/Desktop/images/23012025/20/11/image_23012025_20_12_04_9345.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_14_10358.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_25_10348.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_34_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_44_9372.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_11_55_10345.jpg
/home/pi/Desktop/images/23012025/20/11/image_23012025_20_12_04_9345.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_14_10358.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_25_10348.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_34_9339.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":["1330887608","1330887602","1330887619","1330887597","1330887616","1330887611"],"photo_ids_order":["1330887597","1330887602","1330887608","1330887611","1330887616","1330887619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/590db684341b3a446378af01e341e863.jpg","text":"TemporaryFile(/tmp/multipartBody8612711373866131018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671373884,"filename":"image_23012025_20_12_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1b0628cf0f80da7e44ec542ad26abc5e.jpg","text":"TemporaryFile(/tmp/multipartBody5887143733159195509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671373884,"filename":"image_23012025_20_11_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/46f7cd53cd195b27b62c9e78aad76f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2059418227298105945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671373884,"filename":"image_23012025_20_12_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cfcdb56286f9629748a521369b87235e.jpg","text":"TemporaryFile(/tmp/multipartBody1505921440131062845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671373884,"filename":"image_23012025_20_11_44_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8788268a13f3c5ee92ac9a4373cbf15.jpg","text":"TemporaryFile(/tmp/multipartBody7078751108589018571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671373884,"filename":"image_23012025_20_12_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8851b89f69fa494a24d6394d02949456.jpg","text":"TemporaryFile(/tmp/multipartBody8479405445514343739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671373884,"filename":"image_23012025_20_12_14_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887608","file1":"1330887602","file0":"1330887597","file4":"1330887616","file5":"1330887619","file3":"1330887611"},"map_files_photo_id_array":[{"photo_id":"1330887619","filename":"file5"},{"photo_id":"1330887608","filename":"file2"},{"photo_id":"1330887616","filename":"file4"},{"photo_id":"1330887602","filename":"file1"},{"photo_id":"1330887597","filename":"file0"},{"photo_id":"1330887611","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887608":["hashtag1","hashtag2"]},{"1330887602":["hashtag1","hashtag2"]},{"1330887619":["hashtag1","hashtag2"]},{"1330887597":["hashtag1","hashtag2"]},{"1330887616":["hashtag1","hashtag2"]},{"1330887611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887608, 1330887602, 1330887619, 1330887597, 1330887616, 1330887611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0028235912323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:29:33.167347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_44_10347.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_55_10406.jpg', '/home/pi/Desktop/images/23012025/20/12/image_23012025_20_13_04_9458.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_15_10324.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_24_9425.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_34_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_44_10347.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_12_55_10406.jpg
/home/pi/Desktop/images/23012025/20/12/image_23012025_20_13_04_9458.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_15_10324.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_24_9425.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_34_10354.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":["1330887655","1330887649","1330887670","1330887664","1330887659","1330887668"],"photo_ids_order":["1330887649","1330887655","1330887659","1330887664","1330887668","1330887670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6333c877dcc166bed27922b39470e788.jpg","text":"TemporaryFile(/tmp/multipartBody6857284675452031184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671434186,"filename":"image_23012025_20_12_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8af911673dcacb8f2f4b63a85f828e94.jpg","text":"TemporaryFile(/tmp/multipartBody3880816888725842613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671434186,"filename":"image_23012025_20_12_44_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f05515a96b803b52a8210ecf58166c94.jpg","text":"TemporaryFile(/tmp/multipartBody1222401689946474465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671434186,"filename":"image_23012025_20_13_34_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09ca9937a51a11bfd9e425826ea9a97a.jpg","text":"TemporaryFile(/tmp/multipartBody4405120790428352196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671434186,"filename":"image_23012025_20_13_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/02a1ecce44e9bb333597f3914a8a6676.jpg","text":"TemporaryFile(/tmp/multipartBody4354368041580653066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671434186,"filename":"image_23012025_20_13_04_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5fa20f093d52200d5bc980a056b3442f.jpg","text":"TemporaryFile(/tmp/multipartBody8094829946189893779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671434186,"filename":"image_23012025_20_13_24_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887659","file1":"1330887655","file0":"1330887649","file4":"1330887668","file5":"1330887670","file3":"1330887664"},"map_files_photo_id_array":[{"photo_id":"1330887670","filename":"file5"},{"photo_id":"1330887659","filename":"file2"},{"photo_id":"1330887668","filename":"file4"},{"photo_id":"1330887655","filename":"file1"},{"photo_id":"1330887649","filename":"file0"},{"photo_id":"1330887664","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887655":["hashtag1","hashtag2"]},{"1330887649":["hashtag1","hashtag2"]},{"1330887670":["hashtag1","hashtag2"]},{"1330887664":["hashtag1","hashtag2"]},{"1330887659":["hashtag1","hashtag2"]},{"1330887668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887655, 1330887649, 1330887670, 1330887664, 1330887659, 1330887668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.490721225738525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:30:33.114441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_45_10333.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_54_9362.jpg', '/home/pi/Desktop/images/23012025/20/13/image_23012025_20_14_05_10454.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_15_10352.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_24_9407.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_35_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_45_10333.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_13_54_9362.jpg
/home/pi/Desktop/images/23012025/20/13/image_23012025_20_14_05_10454.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_15_10352.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_24_9407.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_35_10358.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":["1330887691","1330887703","1330887684","1330887708","1330887711","1330887698"],"photo_ids_order":["1330887684","1330887691","1330887698","1330887703","1330887708","1330887711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/09bc5eee72464059fc0683bea04bfb62.jpg","text":"TemporaryFile(/tmp/multipartBody5897733796232983121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671494096,"filename":"image_23012025_20_13_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0585b547f3bcd31fbe41ddec222f53f1.jpg","text":"TemporaryFile(/tmp/multipartBody5805026609094920577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671494096,"filename":"image_23012025_20_14_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f6be05589b43775fea87c0200a576fa7.jpg","text":"TemporaryFile(/tmp/multipartBody6755809365318456885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671494096,"filename":"image_23012025_20_13_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4b34dfe7cf1d3171bcf2e2ba74583253.jpg","text":"TemporaryFile(/tmp/multipartBody5595687025520889440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671494096,"filename":"image_23012025_20_14_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6dc388ee6613e8b1205b01d0e5d8eccf.jpg","text":"TemporaryFile(/tmp/multipartBody2446313557253480608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671494096,"filename":"image_23012025_20_14_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/709492b4518f57ac94d550217297e179.jpg","text":"TemporaryFile(/tmp/multipartBody4449301847275200380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671494096,"filename":"image_23012025_20_14_05_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887698","file1":"1330887691","file0":"1330887684","file4":"1330887708","file5":"1330887711","file3":"1330887703"},"map_files_photo_id_array":[{"photo_id":"1330887711","filename":"file5"},{"photo_id":"1330887698","filename":"file2"},{"photo_id":"1330887708","filename":"file4"},{"photo_id":"1330887691","filename":"file1"},{"photo_id":"1330887684","filename":"file0"},{"photo_id":"1330887703","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887691":["hashtag1","hashtag2"]},{"1330887703":["hashtag1","hashtag2"]},{"1330887684":["hashtag1","hashtag2"]},{"1330887708":["hashtag1","hashtag2"]},{"1330887711":["hashtag1","hashtag2"]},{"1330887698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887691, 1330887703, 1330887684, 1330887708, 1330887711, 1330887698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97578835487366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:31:32.245469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_44_9476.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_54_10337.jpg', '/home/pi/Desktop/images/23012025/20/14/image_23012025_20_15_05_10341.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_14_9440.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_25_10349.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_34_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_44_9476.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_14_54_10337.jpg
/home/pi/Desktop/images/23012025/20/14/image_23012025_20_15_05_10341.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_14_9440.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_25_10349.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_34_9445.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":["1330887763","1330887777","1330887750","1330887755","1330887779","1330887746"],"photo_ids_order":["1330887746","1330887750","1330887755","1330887763","1330887777","1330887779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e3c088eb967bd804b6b336e51e73a38d.jpg","text":"TemporaryFile(/tmp/multipartBody5247995193604527934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671553260,"filename":"image_23012025_20_15_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f31cf351797ffddef90be113c763fc94.jpg","text":"TemporaryFile(/tmp/multipartBody3568324627369917861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671553260,"filename":"image_23012025_20_15_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/624d7ba25701430f2b45a2adcaad3a00.jpg","text":"TemporaryFile(/tmp/multipartBody5291412876262519933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671553260,"filename":"image_23012025_20_14_54_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/08e306d23eb2cce58bcb333138c0f30f.jpg","text":"TemporaryFile(/tmp/multipartBody1618029901552536858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671553260,"filename":"image_23012025_20_15_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f3cfad6caef8d070952d72f1f8514498.jpg","text":"TemporaryFile(/tmp/multipartBody8421700741784550594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671553260,"filename":"image_23012025_20_15_34_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/12705a2bf7ed1c0b1c2002738a9e3459.jpg","text":"TemporaryFile(/tmp/multipartBody6319614417556815811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671553260,"filename":"image_23012025_20_14_44_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887755","file1":"1330887750","file0":"1330887746","file4":"1330887777","file5":"1330887779","file3":"1330887763"},"map_files_photo_id_array":[{"photo_id":"1330887779","filename":"file5"},{"photo_id":"1330887755","filename":"file2"},{"photo_id":"1330887777","filename":"file4"},{"photo_id":"1330887750","filename":"file1"},{"photo_id":"1330887746","filename":"file0"},{"photo_id":"1330887763","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887763":["hashtag1","hashtag2"]},{"1330887777":["hashtag1","hashtag2"]},{"1330887750":["hashtag1","hashtag2"]},{"1330887755":["hashtag1","hashtag2"]},{"1330887779":["hashtag1","hashtag2"]},{"1330887746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887763, 1330887777, 1330887750, 1330887755, 1330887779, 1330887746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.842904567718506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:32:32.514146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_44_10333.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_55_10359.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_16_04_9312.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_14_10332.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_25_10436.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_34_9483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_44_10333.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_55_10359.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_16_04_9312.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_14_10332.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_25_10436.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_34_9483.jpg
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: 0.6005058288574219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:32:42.533612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_44_10333.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_55_10359.jpg', '/home/pi/Desktop/images/23012025/20/15/image_23012025_20_16_04_9312.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_14_10332.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_25_10436.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_34_9483.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_44_10333.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_15_55_10359.jpg
/home/pi/Desktop/images/23012025/20/15/image_23012025_20_16_04_9312.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_14_10332.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_25_10436.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_34_9483.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":["1330887920","1330887916","1330887907","1330887927","1330887912","1330887923"],"photo_ids_order":["1330887907","1330887912","1330887916","1330887920","1330887923","1330887927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/469e4daba2a9f5da53b617987a15116c.jpg","text":"TemporaryFile(/tmp/multipartBody3873487392440441010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671623461,"filename":"image_23012025_20_16_14_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de668ecba99ab8da8ad2d78169fd8570.jpg","text":"TemporaryFile(/tmp/multipartBody4812434597880447742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671623461,"filename":"image_23012025_20_16_04_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bb2e1dbe33340cb93ef21fa4e3e99f0a.jpg","text":"TemporaryFile(/tmp/multipartBody1316807885310470002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671623461,"filename":"image_23012025_20_15_44_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/90d039771af8a5d079e81edac9cfa6b8.jpg","text":"TemporaryFile(/tmp/multipartBody296200960129620367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671623461,"filename":"image_23012025_20_16_34_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9c550318930684382ddff2af86a5f8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4295455648365365536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671623461,"filename":"image_23012025_20_15_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f4aaf10af850606095612509479fe40.jpg","text":"TemporaryFile(/tmp/multipartBody7673547778807779900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671623461,"filename":"image_23012025_20_16_25_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887916","file1":"1330887912","file0":"1330887907","file4":"1330887923","file5":"1330887927","file3":"1330887920"},"map_files_photo_id_array":[{"photo_id":"1330887927","filename":"file5"},{"photo_id":"1330887916","filename":"file2"},{"photo_id":"1330887923","filename":"file4"},{"photo_id":"1330887912","filename":"file1"},{"photo_id":"1330887907","filename":"file0"},{"photo_id":"1330887920","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887920":["hashtag1","hashtag2"]},{"1330887916":["hashtag1","hashtag2"]},{"1330887907":["hashtag1","hashtag2"]},{"1330887927":["hashtag1","hashtag2"]},{"1330887912":["hashtag1","hashtag2"]},{"1330887923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887920, 1330887916, 1330887907, 1330887927, 1330887912, 1330887923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29659843444824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:33:32.759714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_45_10346.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_54_9383.jpg', '/home/pi/Desktop/images/23012025/20/16/image_23012025_20_17_04_10416.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_15_10345.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_24_9424.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_45_10346.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_16_54_9383.jpg
/home/pi/Desktop/images/23012025/20/16/image_23012025_20_17_04_10416.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_15_10345.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_24_9424.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_35_10352.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":["1330887969","1330887963","1330887972","1330887966","1330887974","1330887947"],"photo_ids_order":["1330887947","1330887963","1330887966","1330887969","1330887972","1330887974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/977e98dc3955c70e9cc7faf3e224c1f4.jpg","text":"TemporaryFile(/tmp/multipartBody1543228757618086742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671673803,"filename":"image_23012025_20_17_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/14e8ddd84c39c0a1318b8af4dc488819.jpg","text":"TemporaryFile(/tmp/multipartBody6590950836008834036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671673803,"filename":"image_23012025_20_16_54_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/491de524dc2825512f1849581a05a550.jpg","text":"TemporaryFile(/tmp/multipartBody2135273902442453581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671673803,"filename":"image_23012025_20_17_24_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1d7609ad0e9c85422751605d42533aca.jpg","text":"TemporaryFile(/tmp/multipartBody6619843370456620165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671673803,"filename":"image_23012025_20_17_04_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9ef069cb8d08bce347d8da8e3fc966b7.jpg","text":"TemporaryFile(/tmp/multipartBody9044342565511192025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671673803,"filename":"image_23012025_20_17_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2228cd57224b45f5417d2cfb95b26ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5397569818420252098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671673803,"filename":"image_23012025_20_16_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330887966","file1":"1330887963","file0":"1330887947","file4":"1330887972","file5":"1330887974","file3":"1330887969"},"map_files_photo_id_array":[{"photo_id":"1330887974","filename":"file5"},{"photo_id":"1330887966","filename":"file2"},{"photo_id":"1330887972","filename":"file4"},{"photo_id":"1330887963","filename":"file1"},{"photo_id":"1330887947","filename":"file0"},{"photo_id":"1330887969","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887969":["hashtag1","hashtag2"]},{"1330887963":["hashtag1","hashtag2"]},{"1330887972":["hashtag1","hashtag2"]},{"1330887966":["hashtag1","hashtag2"]},{"1330887974":["hashtag1","hashtag2"]},{"1330887947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887969, 1330887963, 1330887972, 1330887966, 1330887974, 1330887947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09799289703369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:34:32.900942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_44_9435.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_54_10359.jpg', '/home/pi/Desktop/images/23012025/20/17/image_23012025_20_18_05_10372.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_14_9336.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_24_10401.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_35_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_44_9435.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_17_54_10359.jpg
/home/pi/Desktop/images/23012025/20/17/image_23012025_20_18_05_10372.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_14_9336.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_24_10401.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_35_10419.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":["1330887994","1330888021","1330888000","1330888005","1330887989","1330888010"],"photo_ids_order":["1330887989","1330887994","1330888000","1330888005","1330888010","1330888021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b70fc107f9270c8feeba60adddb9fc9f.jpg","text":"TemporaryFile(/tmp/multipartBody981632243666961904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671733902,"filename":"image_23012025_20_17_54_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/29b2ba03b0cc42286573fda08287119a.jpg","text":"TemporaryFile(/tmp/multipartBody3217203900514728369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671733902,"filename":"image_23012025_20_18_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/714444bbfaf3d9a0ed579e9e46c905b7.jpg","text":"TemporaryFile(/tmp/multipartBody1986399439678884318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671733902,"filename":"image_23012025_20_18_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e2b4bb003b953355477f68897d4f2a7d.jpg","text":"TemporaryFile(/tmp/multipartBody1616888513370909475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671733902,"filename":"image_23012025_20_18_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a26ccf3e7a02c3d44c7afb994e299715.jpg","text":"TemporaryFile(/tmp/multipartBody2420306639053846591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671733902,"filename":"image_23012025_20_17_44_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/55415862161cdfbe5294839929c55e85.jpg","text":"TemporaryFile(/tmp/multipartBody6520657218681746875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671733902,"filename":"image_23012025_20_18_24_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330888000","file1":"1330887994","file0":"1330887989","file4":"1330888010","file5":"1330888021","file3":"1330888005"},"map_files_photo_id_array":[{"photo_id":"1330888021","filename":"file5"},{"photo_id":"1330888000","filename":"file2"},{"photo_id":"1330888010","filename":"file4"},{"photo_id":"1330887994","filename":"file1"},{"photo_id":"1330887989","filename":"file0"},{"photo_id":"1330888005","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330887994":["hashtag1","hashtag2"]},{"1330888021":["hashtag1","hashtag2"]},{"1330888000":["hashtag1","hashtag2"]},{"1330888005":["hashtag1","hashtag2"]},{"1330887989":["hashtag1","hashtag2"]},{"1330888010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330887994, 1330888021, 1330888000, 1330888005, 1330887989, 1330888010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.049917697906494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:35:33.137545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_44_9393.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_55_10345.jpg', '/home/pi/Desktop/images/23012025/20/18/image_23012025_20_19_04_9404.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_14_10414.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_25_10428.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_34_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_44_9393.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_18_55_10345.jpg
/home/pi/Desktop/images/23012025/20/18/image_23012025_20_19_04_9404.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_14_10414.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_25_10428.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_34_9349.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":["1330888045","1330888041","1330888053","1330888097","1330888049","1330888100"],"photo_ids_order":["1330888041","1330888045","1330888049","1330888053","1330888097","1330888100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/904357af8f2a1f24869901eed14be94b.jpg","text":"TemporaryFile(/tmp/multipartBody5918333059371516640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671794130,"filename":"image_23012025_20_18_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5bbd238288ea1423aa0bba325bb644c1.jpg","text":"TemporaryFile(/tmp/multipartBody6624921442417996730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671794130,"filename":"image_23012025_20_18_44_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef82b9e44da253b1b85324ef7b6699f2.jpg","text":"TemporaryFile(/tmp/multipartBody7372584591608499692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671794130,"filename":"image_23012025_20_19_14_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a31a58f8844c150327b99ae4d00b54a1.jpg","text":"TemporaryFile(/tmp/multipartBody4352873784450822133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671794130,"filename":"image_23012025_20_19_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bf60c21639aafba852a65856ed354167.jpg","text":"TemporaryFile(/tmp/multipartBody6440302963322129105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671794130,"filename":"image_23012025_20_19_04_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e8bf2df66d63e654adf9647841159d9.jpg","text":"TemporaryFile(/tmp/multipartBody6470933378656583460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671794130,"filename":"image_23012025_20_19_34_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330888049","file1":"1330888045","file0":"1330888041","file4":"1330888097","file5":"1330888100","file3":"1330888053"},"map_files_photo_id_array":[{"photo_id":"1330888100","filename":"file5"},{"photo_id":"1330888049","filename":"file2"},{"photo_id":"1330888097","filename":"file4"},{"photo_id":"1330888045","filename":"file1"},{"photo_id":"1330888041","filename":"file0"},{"photo_id":"1330888053","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330888045":["hashtag1","hashtag2"]},{"1330888041":["hashtag1","hashtag2"]},{"1330888053":["hashtag1","hashtag2"]},{"1330888097":["hashtag1","hashtag2"]},{"1330888049":["hashtag1","hashtag2"]},{"1330888100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330888045, 1330888041, 1330888053, 1330888097, 1330888049, 1330888100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59285807609558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:36:32.420567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_45_10417.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_54_9383.jpg', '/home/pi/Desktop/images/23012025/20/19/image_23012025_20_20_04_10361.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_15_10348.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_24_9353.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_35_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_45_10417.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_19_54_9383.jpg
/home/pi/Desktop/images/23012025/20/19/image_23012025_20_20_04_10361.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_15_10348.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_24_9353.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_35_10403.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":["1330888144","1330888126","1330888114","1330888119","1330888133","1330888109"],"photo_ids_order":["1330888109","1330888114","1330888119","1330888126","1330888133","1330888144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1bf426beb5d9a688b4aaef3a3dfef991.jpg","text":"TemporaryFile(/tmp/multipartBody2937084128849044647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671853427,"filename":"image_23012025_20_20_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8464bfb7f5b6540f6a9a15c3f40f7631.jpg","text":"TemporaryFile(/tmp/multipartBody8742855415300259489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671853427,"filename":"image_23012025_20_20_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/52111a8e7bfc97307585905f1488a5d4.jpg","text":"TemporaryFile(/tmp/multipartBody2760690235603785590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671853427,"filename":"image_23012025_20_19_54_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cf68ef03ecc49b25190a47d977311c0.jpg","text":"TemporaryFile(/tmp/multipartBody390669202106423757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671853427,"filename":"image_23012025_20_20_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c3b1cd2e6f2d635af30bf5a7b785d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody8826081449108230310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671853427,"filename":"image_23012025_20_20_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be25b9e54a185b4ae9f8e3ae29322fd3.jpg","text":"TemporaryFile(/tmp/multipartBody8268954016244126116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671853427,"filename":"image_23012025_20_19_45_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330888119","file1":"1330888114","file0":"1330888109","file4":"1330888133","file5":"1330888144","file3":"1330888126"},"map_files_photo_id_array":[{"photo_id":"1330888144","filename":"file5"},{"photo_id":"1330888119","filename":"file2"},{"photo_id":"1330888133","filename":"file4"},{"photo_id":"1330888114","filename":"file1"},{"photo_id":"1330888109","filename":"file0"},{"photo_id":"1330888126","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330888144":["hashtag1","hashtag2"]},{"1330888126":["hashtag1","hashtag2"]},{"1330888114":["hashtag1","hashtag2"]},{"1330888119":["hashtag1","hashtag2"]},{"1330888133":["hashtag1","hashtag2"]},{"1330888109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330888144, 1330888126, 1330888114, 1330888119, 1330888133, 1330888109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88634634017944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:37:32.599613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_45_10340.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_54_9383.jpg', '/home/pi/Desktop/images/23012025/20/20/image_23012025_20_21_05_10349.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_15_10385.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_24_9350.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_35_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_45_10340.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_20_54_9383.jpg
/home/pi/Desktop/images/23012025/20/20/image_23012025_20_21_05_10349.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_15_10385.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_24_9350.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_35_10418.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":["1330888248","1330888236","1330888245","1330888268","1330888241","1330888238"],"photo_ids_order":["1330888236","1330888238","1330888241","1330888245","1330888248","1330888268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1dd5245f150428b97016d9f37446d3ef.jpg","text":"TemporaryFile(/tmp/multipartBody3491980793234726422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671913611,"filename":"image_23012025_20_21_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f383896fe65c740f47d63304aefd568.jpg","text":"TemporaryFile(/tmp/multipartBody8886581361566557929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671913611,"filename":"image_23012025_20_20_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7a64d0e6baad5984d762c36db72d1df.jpg","text":"TemporaryFile(/tmp/multipartBody1308601854182939844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671913611,"filename":"image_23012025_20_21_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d9de4c393766aaf1c50355925d7e3888.jpg","text":"TemporaryFile(/tmp/multipartBody7824721745171572713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671913611,"filename":"image_23012025_20_21_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ef6cdd2c2cdec8f5f528444a8fc78e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4887942145677697431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671913611,"filename":"image_23012025_20_21_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5a4cf5d4c4f6f366946aa91b99874185.jpg","text":"TemporaryFile(/tmp/multipartBody8244954306445995344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671913611,"filename":"image_23012025_20_20_54_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330888241","file1":"1330888238","file0":"1330888236","file4":"1330888248","file5":"1330888268","file3":"1330888245"},"map_files_photo_id_array":[{"photo_id":"1330888268","filename":"file5"},{"photo_id":"1330888241","filename":"file2"},{"photo_id":"1330888248","filename":"file4"},{"photo_id":"1330888238","filename":"file1"},{"photo_id":"1330888236","filename":"file0"},{"photo_id":"1330888245","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330888248":["hashtag1","hashtag2"]},{"1330888236":["hashtag1","hashtag2"]},{"1330888245":["hashtag1","hashtag2"]},{"1330888268":["hashtag1","hashtag2"]},{"1330888241":["hashtag1","hashtag2"]},{"1330888238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330888248, 1330888236, 1330888245, 1330888268, 1330888241, 1330888238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82321500778198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:38:32.824783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_44_9366.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_54_10361.jpg', '/home/pi/Desktop/images/23012025/20/21/image_23012025_20_22_05_10349.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_14_9406.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_25_10339.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_34_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_44_9366.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_21_54_10361.jpg
/home/pi/Desktop/images/23012025/20/21/image_23012025_20_22_05_10349.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_14_9406.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_25_10339.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_34_9434.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":["1330888296","1330888300","1330888303","1330888305","1330888292","1330888286"],"photo_ids_order":["1330888286","1330888292","1330888296","1330888300","1330888303","1330888305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07deb3fce9800431ee88b7db055da711.jpg","text":"TemporaryFile(/tmp/multipartBody3414818327304447102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671973811,"filename":"image_23012025_20_22_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e05085fab95b9fbec3ba974b0a0cbb0e.jpg","text":"TemporaryFile(/tmp/multipartBody8473367784951862489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671973811,"filename":"image_23012025_20_22_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3d082fdd94c317cac9f2a05dce9c76d2.jpg","text":"TemporaryFile(/tmp/multipartBody6158735202873055880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671973811,"filename":"image_23012025_20_22_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b90f3081bbda5db5aebc442b847d503f.jpg","text":"TemporaryFile(/tmp/multipartBody7121882595654844058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671973811,"filename":"image_23012025_20_22_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/24a1953d01ca11a5f4df386d0fc2c429.jpg","text":"TemporaryFile(/tmp/multipartBody1567441205839093083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671973811,"filename":"image_23012025_20_21_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e91dc490b84c0c82672bc8d7bb07bdb6.jpg","text":"TemporaryFile(/tmp/multipartBody8320587300507047047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737671973811,"filename":"image_23012025_20_21_44_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330888296","file1":"1330888292","file0":"1330888286","file4":"1330888303","file5":"1330888305","file3":"1330888300"},"map_files_photo_id_array":[{"photo_id":"1330888305","filename":"file5"},{"photo_id":"1330888296","filename":"file2"},{"photo_id":"1330888303","filename":"file4"},{"photo_id":"1330888292","filename":"file1"},{"photo_id":"1330888286","filename":"file0"},{"photo_id":"1330888300","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330888296":["hashtag1","hashtag2"]},{"1330888300":["hashtag1","hashtag2"]},{"1330888303":["hashtag1","hashtag2"]},{"1330888305":["hashtag1","hashtag2"]},{"1330888292":["hashtag1","hashtag2"]},{"1330888286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330888296, 1330888300, 1330888303, 1330888305, 1330888292, 1330888286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43902015686035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:39:32.891042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_44_10352.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_55_10335.jpg', '/home/pi/Desktop/images/23012025/20/22/image_23012025_20_23_04_9420.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_14_10330.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_25_10355.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_34_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_44_10352.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_22_55_10335.jpg
/home/pi/Desktop/images/23012025/20/22/image_23012025_20_23_04_9420.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_14_10330.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_25_10355.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_34_9411.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":["1330888417","1330888419","1330888407","1330888412","1330888415","1330888403"],"photo_ids_order":["1330888403","1330888407","1330888412","1330888415","1330888417","1330888419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2087097743e284b324fdba743cb27317.jpg","text":"TemporaryFile(/tmp/multipartBody3703153726760407691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672033888,"filename":"image_23012025_20_23_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/42ed907d07e70c82edbf688cec2d1c46.jpg","text":"TemporaryFile(/tmp/multipartBody7699253710727596677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672033888,"filename":"image_23012025_20_23_34_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/28d273d5eb198396987d125a7ba0026c.jpg","text":"TemporaryFile(/tmp/multipartBody8397037530890635971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672033888,"filename":"image_23012025_20_22_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1f80da6e5f98fac9d0fadd4eac2bcf0f.jpg","text":"TemporaryFile(/tmp/multipartBody3665664424382436949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672033888,"filename":"image_23012025_20_23_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/de897c66659c5061ac96b493e028b216.jpg","text":"TemporaryFile(/tmp/multipartBody4227073440407050072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672033888,"filename":"image_23012025_20_23_14_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/01722beea23ddfebc3df7cae7c7e9b60.jpg","text":"TemporaryFile(/tmp/multipartBody2085758232520552558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672033888,"filename":"image_23012025_20_22_44_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330888412","file1":"1330888407","file0":"1330888403","file4":"1330888417","file5":"1330888419","file3":"1330888415"},"map_files_photo_id_array":[{"photo_id":"1330888419","filename":"file5"},{"photo_id":"1330888412","filename":"file2"},{"photo_id":"1330888417","filename":"file4"},{"photo_id":"1330888407","filename":"file1"},{"photo_id":"1330888403","filename":"file0"},{"photo_id":"1330888415","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330888417":["hashtag1","hashtag2"]},{"1330888419":["hashtag1","hashtag2"]},{"1330888407":["hashtag1","hashtag2"]},{"1330888412":["hashtag1","hashtag2"]},{"1330888415":["hashtag1","hashtag2"]},{"1330888403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330888417, 1330888419, 1330888407, 1330888412, 1330888415, 1330888403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98578715324402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:40:33.126238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_45_10343.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_55_10381.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_24_04_9337.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_15_10364.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_24_9386.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_34_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_45_10343.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_55_10381.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_24_04_9337.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_15_10364.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_24_9386.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_34_10340.jpg
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: 0.6055254936218262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:40:43.089663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_45_10343.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_55_10381.jpg', '/home/pi/Desktop/images/23012025/20/23/image_23012025_20_24_04_9337.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_15_10364.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_24_9386.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_34_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_45_10343.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_23_55_10381.jpg
/home/pi/Desktop/images/23012025/20/23/image_23012025_20_24_04_9337.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_15_10364.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_24_9386.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_34_10340.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":["1330889066","1330888496","1330888760","1330889414","1330889941","1330889719"],"photo_ids_order":["1330888496","1330888760","1330889066","1330889414","1330889719","1330889941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3e16ae70957c00ea769cb3d3dce5c3e2.jpg","text":"TemporaryFile(/tmp/multipartBody4664703591398796414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672103999,"filename":"image_23012025_20_24_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f423bc14b77732b28ef4ffe8a11cdf0b.jpg","text":"TemporaryFile(/tmp/multipartBody5407085937106645289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672103999,"filename":"image_23012025_20_23_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c118f77749d52a0926d94f65251e7919.jpg","text":"TemporaryFile(/tmp/multipartBody9071505156245879669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672103999,"filename":"image_23012025_20_23_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/396fdca7d3a2bc7b3fe8fd253e57d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody513993774902777482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672103999,"filename":"image_23012025_20_24_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fb64ea8c471ba2ffdf85c86d12181851.jpg","text":"TemporaryFile(/tmp/multipartBody7402973978104051486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672103999,"filename":"image_23012025_20_24_34_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a53148b676c0a75d181a37586ce684e.jpg","text":"TemporaryFile(/tmp/multipartBody8309687791454321371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672103999,"filename":"image_23012025_20_24_24_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330889066","file1":"1330888760","file0":"1330888496","file4":"1330889719","file5":"1330889941","file3":"1330889414"},"map_files_photo_id_array":[{"photo_id":"1330889941","filename":"file5"},{"photo_id":"1330889066","filename":"file2"},{"photo_id":"1330889719","filename":"file4"},{"photo_id":"1330888760","filename":"file1"},{"photo_id":"1330888496","filename":"file0"},{"photo_id":"1330889414","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330889066":["hashtag1","hashtag2"]},{"1330888496":["hashtag1","hashtag2"]},{"1330888760":["hashtag1","hashtag2"]},{"1330889414":["hashtag1","hashtag2"]},{"1330889941":["hashtag1","hashtag2"]},{"1330889719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330889066, 1330888496, 1330888760, 1330889414, 1330889941, 1330889719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10283064842224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:41:32.343178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_45_10404.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_54_9453.jpg', '/home/pi/Desktop/images/23012025/20/24/image_23012025_20_25_05_10341.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_15_10350.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_24_9412.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_45_10404.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_24_54_9453.jpg
/home/pi/Desktop/images/23012025/20/24/image_23012025_20_25_05_10341.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_15_10350.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_24_9412.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_35_10354.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":["1330889994","1330889985","1330889964","1330889975","1330889968","1330890020"],"photo_ids_order":["1330889964","1330889968","1330889975","1330889985","1330889994","1330890020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/df114432f088a128b9f8b151283e8ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8735508899859328696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672153332,"filename":"image_23012025_20_25_24_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7f4fdca6bc5fb1a5aff1b057336b036.jpg","text":"TemporaryFile(/tmp/multipartBody2348759993708984982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672153332,"filename":"image_23012025_20_25_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c4785769ee30db2f057a7e1a2e999392.jpg","text":"TemporaryFile(/tmp/multipartBody8355651441687244234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672153332,"filename":"image_23012025_20_24_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c8439fb4f369a66f401515ed3d1f6910.jpg","text":"TemporaryFile(/tmp/multipartBody2094876360053955468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672153332,"filename":"image_23012025_20_25_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6fc097d1023dfef618927f1f26b085b3.jpg","text":"TemporaryFile(/tmp/multipartBody4509379986741070018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672153332,"filename":"image_23012025_20_24_54_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b028d6b8ddcab7b99072076ccbef5b75.jpg","text":"TemporaryFile(/tmp/multipartBody8918032589354410528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672153332,"filename":"image_23012025_20_25_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330889975","file1":"1330889968","file0":"1330889964","file4":"1330889994","file5":"1330890020","file3":"1330889985"},"map_files_photo_id_array":[{"photo_id":"1330890020","filename":"file5"},{"photo_id":"1330889975","filename":"file2"},{"photo_id":"1330889994","filename":"file4"},{"photo_id":"1330889968","filename":"file1"},{"photo_id":"1330889964","filename":"file0"},{"photo_id":"1330889985","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330889994":["hashtag1","hashtag2"]},{"1330889985":["hashtag1","hashtag2"]},{"1330889964":["hashtag1","hashtag2"]},{"1330889975":["hashtag1","hashtag2"]},{"1330889968":["hashtag1","hashtag2"]},{"1330890020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330889994, 1330889985, 1330889964, 1330889975, 1330889968, 1330890020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08903789520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:42:32.508931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_44_9358.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_54_10334.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_26_05_10349.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_14_9330.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_24_10349.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_35_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_44_9358.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_54_10334.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_26_05_10349.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_14_9330.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_24_10349.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_35_10331.jpg
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: 0.5925908088684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:42:42.427311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_44_9358.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_54_10334.jpg', '/home/pi/Desktop/images/23012025/20/25/image_23012025_20_26_05_10349.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_14_9330.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_24_10349.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_35_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_44_9358.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_25_54_10334.jpg
/home/pi/Desktop/images/23012025/20/25/image_23012025_20_26_05_10349.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_14_9330.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_24_10349.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_35_10331.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":["1330890511","1330890567","1330890417","1330890563","1330890452","1330890518"],"photo_ids_order":["1330890417","1330890452","1330890511","1330890518","1330890563","1330890567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/33d2754c8bc3180294b2be71b15a2609.jpg","text":"TemporaryFile(/tmp/multipartBody5234142476466255540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672223334,"filename":"image_23012025_20_26_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ec40e8cd2185cbc9fd47e867e8142119.jpg","text":"TemporaryFile(/tmp/multipartBody4105369441738443144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672223334,"filename":"image_23012025_20_26_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e1a43c6a56b306225645f00ef1fc69c2.jpg","text":"TemporaryFile(/tmp/multipartBody2645447195623801990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672223334,"filename":"image_23012025_20_25_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/281b5425af6dbfce11c64e6acf2274d7.jpg","text":"TemporaryFile(/tmp/multipartBody2243712769876553524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672223334,"filename":"image_23012025_20_26_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ced68f7879815960a736f35b0a2921f6.jpg","text":"TemporaryFile(/tmp/multipartBody5483134451414818221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672223334,"filename":"image_23012025_20_25_54_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3eb4fd78776b205d93f8afe1bc95854e.jpg","text":"TemporaryFile(/tmp/multipartBody8145760778360399756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672223334,"filename":"image_23012025_20_26_14_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330890511","file1":"1330890452","file0":"1330890417","file4":"1330890563","file5":"1330890567","file3":"1330890518"},"map_files_photo_id_array":[{"photo_id":"1330890567","filename":"file5"},{"photo_id":"1330890511","filename":"file2"},{"photo_id":"1330890563","filename":"file4"},{"photo_id":"1330890452","filename":"file1"},{"photo_id":"1330890417","filename":"file0"},{"photo_id":"1330890518","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330890511":["hashtag1","hashtag2"]},{"1330890567":["hashtag1","hashtag2"]},{"1330890417":["hashtag1","hashtag2"]},{"1330890563":["hashtag1","hashtag2"]},{"1330890452":["hashtag1","hashtag2"]},{"1330890518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330890511, 1330890567, 1330890417, 1330890563, 1330890452, 1330890518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.499521255493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:43:32.578036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_44_9392.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_54_10348.jpg', '/home/pi/Desktop/images/23012025/20/26/image_23012025_20_27_05_10325.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_14_9433.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_25_10353.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_35_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_44_9392.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_26_54_10348.jpg
/home/pi/Desktop/images/23012025/20/26/image_23012025_20_27_05_10325.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_14_9433.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_25_10353.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_35_10388.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":["1330890582","1330890593","1330890590","1330890578","1330890614","1330890574"],"photo_ids_order":["1330890574","1330890578","1330890582","1330890590","1330890593","1330890614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6eeac28a970d3ab50efcf51db6a7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8893549728643155169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672273561,"filename":"image_23012025_20_27_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/49a7cddcde5410aeb435fdedfb15bdbc.jpg","text":"TemporaryFile(/tmp/multipartBody1497597053945846657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672273561,"filename":"image_23012025_20_27_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/40677ece89c1ddbfb05451ab5515ee24.jpg","text":"TemporaryFile(/tmp/multipartBody8479020858090293461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672273561,"filename":"image_23012025_20_27_14_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7a4962aa21af7dcdf83426ec956fb6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3960717464619659507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672273561,"filename":"image_23012025_20_26_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/bded310133025e36aa6e91d63e70faa4.jpg","text":"TemporaryFile(/tmp/multipartBody7269552043245318557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672273561,"filename":"image_23012025_20_27_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b9b6050eaaf5e3faec3365c89847740f.jpg","text":"TemporaryFile(/tmp/multipartBody4519122303090928557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672273561,"filename":"image_23012025_20_26_44_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330890582","file1":"1330890578","file0":"1330890574","file4":"1330890593","file5":"1330890614","file3":"1330890590"},"map_files_photo_id_array":[{"photo_id":"1330890614","filename":"file5"},{"photo_id":"1330890582","filename":"file2"},{"photo_id":"1330890593","filename":"file4"},{"photo_id":"1330890578","filename":"file1"},{"photo_id":"1330890574","filename":"file0"},{"photo_id":"1330890590","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330890582":["hashtag1","hashtag2"]},{"1330890593":["hashtag1","hashtag2"]},{"1330890590":["hashtag1","hashtag2"]},{"1330890578":["hashtag1","hashtag2"]},{"1330890614":["hashtag1","hashtag2"]},{"1330890574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330890582, 1330890593, 1330890590, 1330890578, 1330890614, 1330890574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.534311056137085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:44:32.768386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_44_9326.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_55_10365.jpg', '/home/pi/Desktop/images/23012025/20/27/image_23012025_20_28_04_9419.jpg', '/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_25_10358.jpg', '/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_34_9362.jpg', '/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_45_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_44_9326.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_27_55_10365.jpg
/home/pi/Desktop/images/23012025/20/27/image_23012025_20_28_04_9419.jpg
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_25_10358.jpg
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_34_9362.jpg
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_45_10407.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":["1330890696","1330890690","1330890684","1330890693","1330890687","1330890679"],"photo_ids_order":["1330890679","1330890684","1330890687","1330890690","1330890693","1330890696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7330b202829180e0ee5fd2abd5ee53df.jpg","text":"TemporaryFile(/tmp/multipartBody7692540263151587603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672333774,"filename":"image_23012025_20_28_45_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/07a36925aacccf341121a39326f8f874.jpg","text":"TemporaryFile(/tmp/multipartBody2980580049095028478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672333774,"filename":"image_23012025_20_28_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d45a46ac2a53c351c75d9cdd06de7321.jpg","text":"TemporaryFile(/tmp/multipartBody8213410543289119686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672333774,"filename":"image_23012025_20_27_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cb84348531a89d55d7c98ebbc50a70b.jpg","text":"TemporaryFile(/tmp/multipartBody8151872385248542569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672333774,"filename":"image_23012025_20_28_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2406698d7216a0bbd0f39ad08d0501c.jpg","text":"TemporaryFile(/tmp/multipartBody555334318306309367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672333774,"filename":"image_23012025_20_28_04_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/03413354d0f02da3ca5f197cf6baa8bd.jpg","text":"TemporaryFile(/tmp/multipartBody916274450043561095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672333774,"filename":"image_23012025_20_27_44_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330890687","file1":"1330890684","file0":"1330890679","file4":"1330890693","file5":"1330890696","file3":"1330890690"},"map_files_photo_id_array":[{"photo_id":"1330890696","filename":"file5"},{"photo_id":"1330890687","filename":"file2"},{"photo_id":"1330890693","filename":"file4"},{"photo_id":"1330890684","filename":"file1"},{"photo_id":"1330890679","filename":"file0"},{"photo_id":"1330890690","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330890696":["hashtag1","hashtag2"]},{"1330890690":["hashtag1","hashtag2"]},{"1330890684":["hashtag1","hashtag2"]},{"1330890693":["hashtag1","hashtag2"]},{"1330890687":["hashtag1","hashtag2"]},{"1330890679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330890696, 1330890690, 1330890684, 1330890693, 1330890687, 1330890679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.7720263004303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:45:33.042122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_54_9433.jpg', '/home/pi/Desktop/images/23012025/20/28/image_23012025_20_29_04_10342.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_15_10331.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_24_9360.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_34_10348.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_45_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_28_54_9433.jpg
/home/pi/Desktop/images/23012025/20/28/image_23012025_20_29_04_10342.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_15_10331.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_24_9360.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_34_10348.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_45_10329.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":["1330890742","1330890745","1330890712","1330890738","1330890734","1330890716"],"photo_ids_order":["1330890712","1330890716","1330890734","1330890738","1330890742","1330890745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ffd7def7558f112e60928d4f90c0159c.jpg","text":"TemporaryFile(/tmp/multipartBody1890115586232909183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672394063,"filename":"image_23012025_20_29_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2385242058d43dfae45a53adbb45999e.jpg","text":"TemporaryFile(/tmp/multipartBody6733681142968586354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672394063,"filename":"image_23012025_20_29_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3db28c957a66fcff534d1c06a667cb10.jpg","text":"TemporaryFile(/tmp/multipartBody6052040343836186495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672394063,"filename":"image_23012025_20_28_54_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4ce04ecb4bb01d73168b0579b351da0d.jpg","text":"TemporaryFile(/tmp/multipartBody1870861506552647833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672394063,"filename":"image_23012025_20_29_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b94493cdb1dc9af9d0a9458dabdcb664.jpg","text":"TemporaryFile(/tmp/multipartBody3577751481360348385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672394063,"filename":"image_23012025_20_29_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ab17cbe092d55504b23f34f291ed538.jpg","text":"TemporaryFile(/tmp/multipartBody857391574943382337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672394063,"filename":"image_23012025_20_29_04_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330890734","file1":"1330890716","file0":"1330890712","file4":"1330890742","file5":"1330890745","file3":"1330890738"},"map_files_photo_id_array":[{"photo_id":"1330890745","filename":"file5"},{"photo_id":"1330890734","filename":"file2"},{"photo_id":"1330890742","filename":"file4"},{"photo_id":"1330890716","filename":"file1"},{"photo_id":"1330890712","filename":"file0"},{"photo_id":"1330890738","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330890742":["hashtag1","hashtag2"]},{"1330890745":["hashtag1","hashtag2"]},{"1330890712":["hashtag1","hashtag2"]},{"1330890738":["hashtag1","hashtag2"]},{"1330890734":["hashtag1","hashtag2"]},{"1330890716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330890742, 1330890745, 1330890712, 1330890738, 1330890734, 1330890716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87154245376587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:46:33.095120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_54_9351.jpg', '/home/pi/Desktop/images/23012025/20/29/image_23012025_20_30_04_10348.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_15_10344.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_24_9401.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_35_10350.jpg', '/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_54_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_29_54_9351.jpg
/home/pi/Desktop/images/23012025/20/29/image_23012025_20_30_04_10348.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_15_10344.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_24_9401.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_35_10350.jpg
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_30_54_9435.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":["1330890775","1330890820","1330890802","1330890780","1330890771","1330890790"],"photo_ids_order":["1330890771","1330890775","1330890780","1330890790","1330890802","1330890820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c36d7ee60e69b393f4f911069cfa0e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2415197162191603035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672454078,"filename":"image_23012025_20_30_04_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0c740513bbe2f8b0cc5b857dffbe60a6.jpg","text":"TemporaryFile(/tmp/multipartBody39210809712592523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672454078,"filename":"image_23012025_20_30_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5e63022181d5501e44767e5697f072d3.jpg","text":"TemporaryFile(/tmp/multipartBody590130707486660913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672454078,"filename":"image_23012025_20_30_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/fd36eacb5dc3f414798fcdb094f5cb2e.jpg","text":"TemporaryFile(/tmp/multipartBody2987060915326489240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672454078,"filename":"image_23012025_20_30_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/37517563a61eaf271fe3c565a3e9e12d.jpg","text":"TemporaryFile(/tmp/multipartBody8932705304059862020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672454078,"filename":"image_23012025_20_29_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5deb8f416518588b2bb7239609a0b365.jpg","text":"TemporaryFile(/tmp/multipartBody5607645596844753478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672454078,"filename":"image_23012025_20_30_24_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330890780","file1":"1330890775","file0":"1330890771","file4":"1330890802","file5":"1330890820","file3":"1330890790"},"map_files_photo_id_array":[{"photo_id":"1330890820","filename":"file5"},{"photo_id":"1330890780","filename":"file2"},{"photo_id":"1330890802","filename":"file4"},{"photo_id":"1330890775","filename":"file1"},{"photo_id":"1330890771","filename":"file0"},{"photo_id":"1330890790","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330890775":["hashtag1","hashtag2"]},{"1330890820":["hashtag1","hashtag2"]},{"1330890802":["hashtag1","hashtag2"]},{"1330890780":["hashtag1","hashtag2"]},{"1330890771":["hashtag1","hashtag2"]},{"1330890790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330890775, 1330890820, 1330890802, 1330890780, 1330890771, 1330890790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40443301200867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:47:32.182506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/30/image_23012025_20_31_05_10335.jpg', '/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_14_9374.jpg', '/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_35_10457.jpg', '/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_55_10356.jpg', '/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_14_10345.jpg', '/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_24_9645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/30/image_23012025_20_31_05_10335.jpg
/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_14_9374.jpg
/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_35_10457.jpg
/home/pi/Desktop/images/23012025/20/31/image_23012025_20_31_55_10356.jpg
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_14_10345.jpg
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_24_9645.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":["1330890882","1330890876","1330890870","1330890873","1330890890","1330890865"],"photo_ids_order":["1330890865","1330890870","1330890873","1330890876","1330890882","1330890890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/415c3c96ea67b94a4426ca71c231045a.jpg","text":"TemporaryFile(/tmp/multipartBody3334445451844714797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672513168,"filename":"image_23012025_20_32_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ff405b1e1339330acbe4b0bd0011b97e.jpg","text":"TemporaryFile(/tmp/multipartBody3471048622241101417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672513168,"filename":"image_23012025_20_31_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a42239b00725240d3c3fadf6130593b1.jpg","text":"TemporaryFile(/tmp/multipartBody2579242399811190065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672513168,"filename":"image_23012025_20_31_14_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9a829b0e7e7957b87c065834b07be713.jpg","text":"TemporaryFile(/tmp/multipartBody4387816311239111632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672513168,"filename":"image_23012025_20_31_35_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba374f04788b5cef821700b574df0c9f.jpg","text":"TemporaryFile(/tmp/multipartBody7590387297809824808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672513168,"filename":"image_23012025_20_32_24_9645.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/5c96daed39547a81a306e605aaa8fcad.jpg","text":"TemporaryFile(/tmp/multipartBody2757638871678488860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672513168,"filename":"image_23012025_20_31_05_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330890873","file1":"1330890870","file0":"1330890865","file4":"1330890882","file5":"1330890890","file3":"1330890876"},"map_files_photo_id_array":[{"photo_id":"1330890890","filename":"file5"},{"photo_id":"1330890873","filename":"file2"},{"photo_id":"1330890882","filename":"file4"},{"photo_id":"1330890870","filename":"file1"},{"photo_id":"1330890865","filename":"file0"},{"photo_id":"1330890876","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330890882":["hashtag1","hashtag2"]},{"1330890876":["hashtag1","hashtag2"]},{"1330890870":["hashtag1","hashtag2"]},{"1330890873":["hashtag1","hashtag2"]},{"1330890890":["hashtag1","hashtag2"]},{"1330890865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330890882, 1330890876, 1330890870, 1330890873, 1330890890, 1330890865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56159257888794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:48:32.496133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_34_10357.jpg', '/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_45_10522.jpg', '/home/pi/Desktop/images/23012025/20/32/image_23012025_20_33_05_10346.jpg', '/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_24_10454.jpg', '/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_44_9335.jpg', '/home/pi/Desktop/images/23012025/20/33/image_23012025_20_34_05_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_34_10357.jpg
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_32_45_10522.jpg
/home/pi/Desktop/images/23012025/20/32/image_23012025_20_33_05_10346.jpg
/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_24_10454.jpg
/home/pi/Desktop/images/23012025/20/33/image_23012025_20_33_44_9335.jpg
/home/pi/Desktop/images/23012025/20/33/image_23012025_20_34_05_10351.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":["1330890937","1330890942","1330890933","1330890947","1330890956","1330890950"],"photo_ids_order":["1330890933","1330890937","1330890942","1330890947","1330890950","1330890956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2cfbbecc0630083ab9131e59e900dfcf.jpg","text":"TemporaryFile(/tmp/multipartBody4943194860122195262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672573473,"filename":"image_23012025_20_32_45_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a7e137e190f8fd7ae20e3c55d657d41c.jpg","text":"TemporaryFile(/tmp/multipartBody8478728058982808694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672573473,"filename":"image_23012025_20_33_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2a6913548b03cd82eec9411b663280c6.jpg","text":"TemporaryFile(/tmp/multipartBody8050240764574679359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672573473,"filename":"image_23012025_20_32_34_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/db7b4dcf9b6c3b187d6c1b0355529292.jpg","text":"TemporaryFile(/tmp/multipartBody1462486931568112433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672573473,"filename":"image_23012025_20_33_24_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/be4d3ba97b96b0ef5a6b3b74f9933228.jpg","text":"TemporaryFile(/tmp/multipartBody8519060793153371577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672573473,"filename":"image_23012025_20_34_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/53a0dda97470f18f3061edda47c3d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody2620226240440381109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672573473,"filename":"image_23012025_20_33_44_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330890942","file1":"1330890937","file0":"1330890933","file4":"1330890950","file5":"1330890956","file3":"1330890947"},"map_files_photo_id_array":[{"photo_id":"1330890956","filename":"file5"},{"photo_id":"1330890942","filename":"file2"},{"photo_id":"1330890950","filename":"file4"},{"photo_id":"1330890937","filename":"file1"},{"photo_id":"1330890933","filename":"file0"},{"photo_id":"1330890947","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330890937":["hashtag1","hashtag2"]},{"1330890942":["hashtag1","hashtag2"]},{"1330890933":["hashtag1","hashtag2"]},{"1330890947":["hashtag1","hashtag2"]},{"1330890956":["hashtag1","hashtag2"]},{"1330890950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330890937, 1330890942, 1330890933, 1330890947, 1330890956, 1330890950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.066349029541016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:49:32.627134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_25_10360.jpg', '/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_34_9390.jpg', '/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_55_10344.jpg', '/home/pi/Desktop/images/23012025/20/34/image_23012025_20_35_04_9428.jpg', '/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_15_10395.jpg', '/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_34_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_25_10360.jpg
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_34_9390.jpg
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_34_55_10344.jpg
/home/pi/Desktop/images/23012025/20/34/image_23012025_20_35_04_9428.jpg
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_15_10395.jpg
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_34_9434.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":["1330891921","1330891899","1330891918","1330891887","1330891928","1330891894"],"photo_ids_order":["1330891887","1330891894","1330891899","1330891918","1330891921","1330891928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6194fcfb39e40a903b3f150a55b43dd0.jpg","text":"TemporaryFile(/tmp/multipartBody4920907495630564806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672633623,"filename":"image_23012025_20_35_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3164c2215ec3fdc6f813cf07146caeaf.jpg","text":"TemporaryFile(/tmp/multipartBody343182033459353501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672633623,"filename":"image_23012025_20_34_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8b02a6babb4ed74a671c148fadcf808d.jpg","text":"TemporaryFile(/tmp/multipartBody6598312589180420274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672633623,"filename":"image_23012025_20_35_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/9aae217028f4c50b477e42a0959be15f.jpg","text":"TemporaryFile(/tmp/multipartBody6826955907213233131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672633623,"filename":"image_23012025_20_34_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d3e1bb98c01eaf0858861546dfbd0e27.jpg","text":"TemporaryFile(/tmp/multipartBody149184669040476856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672633623,"filename":"image_23012025_20_35_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/23302c040d537b4cedc1f8c11ed98501.jpg","text":"TemporaryFile(/tmp/multipartBody6041771457411691103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672633623,"filename":"image_23012025_20_34_34_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330891899","file1":"1330891894","file0":"1330891887","file4":"1330891921","file5":"1330891928","file3":"1330891918"},"map_files_photo_id_array":[{"photo_id":"1330891928","filename":"file5"},{"photo_id":"1330891899","filename":"file2"},{"photo_id":"1330891921","filename":"file4"},{"photo_id":"1330891894","filename":"file1"},{"photo_id":"1330891887","filename":"file0"},{"photo_id":"1330891918","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330891921":["hashtag1","hashtag2"]},{"1330891899":["hashtag1","hashtag2"]},{"1330891918":["hashtag1","hashtag2"]},{"1330891887":["hashtag1","hashtag2"]},{"1330891928":["hashtag1","hashtag2"]},{"1330891894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330891921, 1330891899, 1330891918, 1330891887, 1330891928, 1330891894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.74563479423523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:50:32.784183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_45_10375.jpg', '/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_54_9349.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_15_10348.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_34_10360.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_45_10338.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_37_05_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_45_10375.jpg
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_54_9349.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_15_10348.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_34_10360.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_45_10338.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_37_05_10357.jpg
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: 0.617957592010498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:50:42.772664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_45_10375.jpg', '/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_54_9349.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_15_10348.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_34_10360.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_45_10338.jpg', '/home/pi/Desktop/images/23012025/20/36/image_23012025_20_37_05_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_45_10375.jpg
/home/pi/Desktop/images/23012025/20/35/image_23012025_20_35_54_9349.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_15_10348.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_34_10360.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_36_45_10338.jpg
/home/pi/Desktop/images/23012025/20/36/image_23012025_20_37_05_10357.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":["1330892354","1330892392","1330892422","1330892416","1330892311","1330892305"],"photo_ids_order":["1330892305","1330892311","1330892354","1330892392","1330892416","1330892422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ee1d26fc84d1dd57c5d2e56118b3b63c.jpg","text":"TemporaryFile(/tmp/multipartBody7737879062089285405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672703706,"filename":"image_23012025_20_36_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/1adc9410f54abca9338d9b2f060c2f97.jpg","text":"TemporaryFile(/tmp/multipartBody4334964039436297484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672703706,"filename":"image_23012025_20_36_34_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/363ab608fe337956270b754f31d99685.jpg","text":"TemporaryFile(/tmp/multipartBody6539380661617432528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672703706,"filename":"image_23012025_20_37_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cad1c8cf9a0132842fc68baa47fe788e.jpg","text":"TemporaryFile(/tmp/multipartBody1542320740602619921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672703706,"filename":"image_23012025_20_36_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/87b3eb61749f79c94d6da5daf2345390.jpg","text":"TemporaryFile(/tmp/multipartBody2968563802086261721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672703706,"filename":"image_23012025_20_35_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7159987a3300a079c07ab6caf6b42841.jpg","text":"TemporaryFile(/tmp/multipartBody4079055604231010204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672703706,"filename":"image_23012025_20_35_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330892354","file1":"1330892311","file0":"1330892305","file4":"1330892416","file5":"1330892422","file3":"1330892392"},"map_files_photo_id_array":[{"photo_id":"1330892422","filename":"file5"},{"photo_id":"1330892354","filename":"file2"},{"photo_id":"1330892416","filename":"file4"},{"photo_id":"1330892311","filename":"file1"},{"photo_id":"1330892305","filename":"file0"},{"photo_id":"1330892392","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330892354":["hashtag1","hashtag2"]},{"1330892392":["hashtag1","hashtag2"]},{"1330892422":["hashtag1","hashtag2"]},{"1330892416":["hashtag1","hashtag2"]},{"1330892311":["hashtag1","hashtag2"]},{"1330892305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330892354, 1330892392, 1330892422, 1330892416, 1330892311, 1330892305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.996378660202026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:51:33.010193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_15_10367.jpg', '/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_24_9391.jpg', '/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_35_10346.jpg', '/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_44_9401.jpg', '/home/pi/Desktop/images/23012025/20/37/image_23012025_20_38_05_10344.jpg', '/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_14_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_15_10367.jpg
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_24_9391.jpg
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_35_10346.jpg
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_37_44_9401.jpg
/home/pi/Desktop/images/23012025/20/37/image_23012025_20_38_05_10344.jpg
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_14_9421.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":["1330892498","1330892546","1330892519","1330892491","1330892479","1330892548"],"photo_ids_order":["1330892479","1330892491","1330892498","1330892519","1330892546","1330892548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ad3286cf8d68b4e2fa186cc3bddcc463.jpg","text":"TemporaryFile(/tmp/multipartBody1318285381085064033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672754013,"filename":"image_23012025_20_37_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b699b75c6ff677099026c832c8de451a.jpg","text":"TemporaryFile(/tmp/multipartBody6894670337084545007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672754013,"filename":"image_23012025_20_38_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0ac8f544d2c3a5de096389e70a75cf09.jpg","text":"TemporaryFile(/tmp/multipartBody1623281045432709530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672754013,"filename":"image_23012025_20_37_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/73b635be29fab3c5922be08f98e2be1c.jpg","text":"TemporaryFile(/tmp/multipartBody3705333207603105740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672754013,"filename":"image_23012025_20_37_24_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ba6aa983bebd0d515268166cd7b95b74.jpg","text":"TemporaryFile(/tmp/multipartBody6627394931004404607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672754013,"filename":"image_23012025_20_37_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6cac1f170f01f9c4d9fd351538daa22f.jpg","text":"TemporaryFile(/tmp/multipartBody8080653928066868185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672754013,"filename":"image_23012025_20_38_14_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330892498","file1":"1330892491","file0":"1330892479","file4":"1330892546","file5":"1330892548","file3":"1330892519"},"map_files_photo_id_array":[{"photo_id":"1330892548","filename":"file5"},{"photo_id":"1330892498","filename":"file2"},{"photo_id":"1330892546","filename":"file4"},{"photo_id":"1330892491","filename":"file1"},{"photo_id":"1330892479","filename":"file0"},{"photo_id":"1330892519","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330892498":["hashtag1","hashtag2"]},{"1330892546":["hashtag1","hashtag2"]},{"1330892519":["hashtag1","hashtag2"]},{"1330892491":["hashtag1","hashtag2"]},{"1330892479":["hashtag1","hashtag2"]},{"1330892548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330892498, 1330892546, 1330892519, 1330892491, 1330892479, 1330892548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.85102558135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:52:32.169942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_24_10342.jpg', '/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_35_10343.jpg', '/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_55_10378.jpg', '/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_34_9447.jpg', '/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_44_10344.jpg', '/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_55_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_24_10342.jpg
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_35_10343.jpg
/home/pi/Desktop/images/23012025/20/38/image_23012025_20_38_55_10378.jpg
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_34_9447.jpg
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_44_10344.jpg
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_39_55_10372.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":["1330892583","1330892687","1330892596","1330892650","1330892602","1330892589"],"photo_ids_order":["1330892583","1330892589","1330892596","1330892602","1330892650","1330892687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/763018dc4f38639bcbbae139b48d3d9d.jpg","text":"TemporaryFile(/tmp/multipartBody8754683179423132280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672813164,"filename":"image_23012025_20_38_24_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/293384f948cf8ebb2de62db7836af23f.jpg","text":"TemporaryFile(/tmp/multipartBody6262903785219466210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672813164,"filename":"image_23012025_20_39_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/45f28d6ff3908ea5b83426ef9c3b9995.jpg","text":"TemporaryFile(/tmp/multipartBody7075105900607446904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672813164,"filename":"image_23012025_20_38_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/dc09b163bcbb4df94772aada9f240ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6724328093996575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672813164,"filename":"image_23012025_20_39_44_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7cf489c98d568bc94e91003c696c2c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6049376648554573520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672813164,"filename":"image_23012025_20_39_34_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/54a918d3b0f65302db1aa7b5c6d0cf4d.jpg","text":"TemporaryFile(/tmp/multipartBody8761283069026353045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672813164,"filename":"image_23012025_20_38_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330892596","file1":"1330892589","file0":"1330892583","file4":"1330892650","file5":"1330892687","file3":"1330892602"},"map_files_photo_id_array":[{"photo_id":"1330892687","filename":"file5"},{"photo_id":"1330892596","filename":"file2"},{"photo_id":"1330892650","filename":"file4"},{"photo_id":"1330892589","filename":"file1"},{"photo_id":"1330892583","filename":"file0"},{"photo_id":"1330892602","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330892583":["hashtag1","hashtag2"]},{"1330892687":["hashtag1","hashtag2"]},{"1330892596":["hashtag1","hashtag2"]},{"1330892650":["hashtag1","hashtag2"]},{"1330892602":["hashtag1","hashtag2"]},{"1330892589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330892583, 1330892687, 1330892596, 1330892650, 1330892602, 1330892589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39942646026611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:53:32.414659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/39/image_23012025_20_40_04_9446.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_15_10370.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_25_10417.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_34_9330.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_45_10369.jpg', '/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_54_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/39/image_23012025_20_40_04_9446.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_15_10370.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_25_10417.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_34_9330.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_45_10369.jpg
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_40_54_9362.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":["1330892775","1330892760","1330892762","1330892767","1330892779","1330892799"],"photo_ids_order":["1330892760","1330892762","1330892767","1330892775","1330892779","1330892799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2b77b0b32b69a4309feec02ced542250.jpg","text":"TemporaryFile(/tmp/multipartBody3113738043603946069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672873425,"filename":"image_23012025_20_40_34_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/215a1cea0452f1db386e41ddfb584e53.jpg","text":"TemporaryFile(/tmp/multipartBody4293873902862226771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672873425,"filename":"image_23012025_20_40_04_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/8f7382aeb7f8cd870341fa995676a806.jpg","text":"TemporaryFile(/tmp/multipartBody5220522824905194448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672873425,"filename":"image_23012025_20_40_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d6cb75f04eb990cbe795a84ea527b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody932650470483441803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672873425,"filename":"image_23012025_20_40_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/4be505857a89afecf41a1a7a0ce793f7.jpg","text":"TemporaryFile(/tmp/multipartBody1067191621437758987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672873425,"filename":"image_23012025_20_40_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cea64ca83931343a68a905470133bd91.jpg","text":"TemporaryFile(/tmp/multipartBody1147943832140915555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672873425,"filename":"image_23012025_20_40_54_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330892767","file1":"1330892762","file0":"1330892760","file4":"1330892779","file5":"1330892799","file3":"1330892775"},"map_files_photo_id_array":[{"photo_id":"1330892799","filename":"file5"},{"photo_id":"1330892767","filename":"file2"},{"photo_id":"1330892779","filename":"file4"},{"photo_id":"1330892762","filename":"file1"},{"photo_id":"1330892760","filename":"file0"},{"photo_id":"1330892775","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330892775":["hashtag1","hashtag2"]},{"1330892760":["hashtag1","hashtag2"]},{"1330892762":["hashtag1","hashtag2"]},{"1330892767":["hashtag1","hashtag2"]},{"1330892779":["hashtag1","hashtag2"]},{"1330892799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330892775, 1330892760, 1330892762, 1330892767, 1330892779, 1330892799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34533500671387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:54:32.520472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/40/image_23012025_20_41_04_10363.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_15_10344.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_24_9409.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_35_10357.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_45_10349.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_42_05_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_41_04_10363.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_15_10344.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_24_9409.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_35_10357.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_45_10349.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_42_05_10363.jpg
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: 0.6276507377624512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-23 23:54:42.497901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/40/image_23012025_20_41_04_10363.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_15_10344.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_24_9409.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_35_10357.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_45_10349.jpg', '/home/pi/Desktop/images/23012025/20/41/image_23012025_20_42_05_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/40/image_23012025_20_41_04_10363.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_15_10344.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_24_9409.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_35_10357.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_41_45_10349.jpg
/home/pi/Desktop/images/23012025/20/41/image_23012025_20_42_05_10363.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":["1330892841","1330892843","1330892831","1330892825","1330892848","1330892836"],"photo_ids_order":["1330892825","1330892831","1330892836","1330892841","1330892843","1330892848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d0481d7d0f08fc8661451e78a296886d.jpg","text":"TemporaryFile(/tmp/multipartBody7257338899274511680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672943436,"filename":"image_23012025_20_41_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/93adad21929d2b76880f43203285c8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3013788733710009596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672943436,"filename":"image_23012025_20_41_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/cf15e171c4cdb547ea13cd56a5e8b413.jpg","text":"TemporaryFile(/tmp/multipartBody7511809858929315459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672943436,"filename":"image_23012025_20_41_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/65b6f7d8033b16bc2032d28be3e7fa58.jpg","text":"TemporaryFile(/tmp/multipartBody645032294838176972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672943436,"filename":"image_23012025_20_41_04_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/6b50be85e6642fd703937a680eb2b4ba.jpg","text":"TemporaryFile(/tmp/multipartBody8842693028770586157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672943436,"filename":"image_23012025_20_42_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/06964fa66c25a6d776b379c1c1a662eb.jpg","text":"TemporaryFile(/tmp/multipartBody3073655211420258946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672943436,"filename":"image_23012025_20_41_24_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330892836","file1":"1330892831","file0":"1330892825","file4":"1330892843","file5":"1330892848","file3":"1330892841"},"map_files_photo_id_array":[{"photo_id":"1330892848","filename":"file5"},{"photo_id":"1330892836","filename":"file2"},{"photo_id":"1330892843","filename":"file4"},{"photo_id":"1330892831","filename":"file1"},{"photo_id":"1330892825","filename":"file0"},{"photo_id":"1330892841","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330892841":["hashtag1","hashtag2"]},{"1330892843":["hashtag1","hashtag2"]},{"1330892831":["hashtag1","hashtag2"]},{"1330892825":["hashtag1","hashtag2"]},{"1330892848":["hashtag1","hashtag2"]},{"1330892836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330892841, 1330892843, 1330892831, 1330892825, 1330892848, 1330892836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04895091056824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:55:32.770440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_14_9422.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_24_10376.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_35_10355.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_44_9432.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_55_10349.jpg', '/home/pi/Desktop/images/23012025/20/42/image_23012025_20_43_04_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_14_9422.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_24_10376.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_35_10355.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_44_9432.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_42_55_10349.jpg
/home/pi/Desktop/images/23012025/20/42/image_23012025_20_43_04_9406.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":["1330892856","1330892861","1330892858","1330892878","1330892863","1330892871"],"photo_ids_order":["1330892856","1330892858","1330892861","1330892863","1330892871","1330892878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/0090db900a605916998c4d6bdb8dfda4.jpg","text":"TemporaryFile(/tmp/multipartBody2264753383630882831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672993759,"filename":"image_23012025_20_42_14_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c892cdcb3ee52207deaf22c5326a0707.jpg","text":"TemporaryFile(/tmp/multipartBody7368789435074527166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672993759,"filename":"image_23012025_20_42_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/e9f583fb19998f74947fe549165b5185.jpg","text":"TemporaryFile(/tmp/multipartBody2117333849997952942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672993759,"filename":"image_23012025_20_42_24_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/059533216243190a202ea24b58452e20.jpg","text":"TemporaryFile(/tmp/multipartBody2458194989450782225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672993759,"filename":"image_23012025_20_43_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/a0e03864b15f78216d83f884692aeb8b.jpg","text":"TemporaryFile(/tmp/multipartBody6570176685394915404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672993759,"filename":"image_23012025_20_42_44_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/20a5cb83ae12ca964170be601c47e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody5251279105335488034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737672993759,"filename":"image_23012025_20_42_55_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330892861","file1":"1330892858","file0":"1330892856","file4":"1330892871","file5":"1330892878","file3":"1330892863"},"map_files_photo_id_array":[{"photo_id":"1330892878","filename":"file5"},{"photo_id":"1330892861","filename":"file2"},{"photo_id":"1330892871","filename":"file4"},{"photo_id":"1330892858","filename":"file1"},{"photo_id":"1330892856","filename":"file0"},{"photo_id":"1330892863","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330892856":["hashtag1","hashtag2"]},{"1330892861":["hashtag1","hashtag2"]},{"1330892858":["hashtag1","hashtag2"]},{"1330892878":["hashtag1","hashtag2"]},{"1330892863":["hashtag1","hashtag2"]},{"1330892871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330892856, 1330892861, 1330892858, 1330892878, 1330892863, 1330892871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.932196855545044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:56:32.811448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_14_10338.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_25_10334.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_34_9384.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_44_10324.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_55_10358.jpg', '/home/pi/Desktop/images/23012025/20/43/image_23012025_20_44_04_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_14_10338.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_25_10334.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_34_9384.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_44_10324.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_43_55_10358.jpg
/home/pi/Desktop/images/23012025/20/43/image_23012025_20_44_04_9446.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":["1330892934","1330892943","1330892924","1330892929","1330892920","1330892964"],"photo_ids_order":["1330892920","1330892924","1330892929","1330892934","1330892943","1330892964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89b7c22eca4c90fe72922ba789d2dbd9.jpg","text":"TemporaryFile(/tmp/multipartBody5626282420814164792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673053785,"filename":"image_23012025_20_43_44_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/3459495ebb7cba9dbd05b876c88df074.jpg","text":"TemporaryFile(/tmp/multipartBody365765266091578791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673053785,"filename":"image_23012025_20_43_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/2d3ac3ebfa92253b7804e510d864a494.jpg","text":"TemporaryFile(/tmp/multipartBody3112002113276993302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673053785,"filename":"image_23012025_20_43_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/89736887d44e3794f1e27b2ab10c0546.jpg","text":"TemporaryFile(/tmp/multipartBody6665575286519985895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673053785,"filename":"image_23012025_20_43_34_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/7799e543d549a6130ff4d5e88b622470.jpg","text":"TemporaryFile(/tmp/multipartBody7825134657066495997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673053785,"filename":"image_23012025_20_43_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/99baa60486fbfdfb3a399115e71fc7fa.jpg","text":"TemporaryFile(/tmp/multipartBody1859816050805223778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737673053785,"filename":"image_23012025_20_44_04_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1330892929","file1":"1330892924","file0":"1330892920","file4":"1330892943","file5":"1330892964","file3":"1330892934"},"map_files_photo_id_array":[{"photo_id":"1330892964","filename":"file5"},{"photo_id":"1330892929","filename":"file2"},{"photo_id":"1330892943","filename":"file4"},{"photo_id":"1330892924","filename":"file1"},{"photo_id":"1330892920","filename":"file0"},{"photo_id":"1330892934","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1330892934":["hashtag1","hashtag2"]},{"1330892943":["hashtag1","hashtag2"]},{"1330892924":["hashtag1","hashtag2"]},{"1330892929":["hashtag1","hashtag2"]},{"1330892920":["hashtag1","hashtag2"]},{"1330892964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1330892934, 1330892943, 1330892924, 1330892929, 1330892920, 1330892964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.075562953948975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-23 23:57:33.100897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_15_10351.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_24_9412.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_34_10362.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_45_10340.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_54_9366.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_45_04_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_15_10351.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_24_9412.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_34_10362.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_45_10340.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_54_9366.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_45_04_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
